Searched refs:cast_object (Results 1 - 11 of 11) sorted by relevance

/PHP_TRUNK/ext/intl/collator/
H A Dcollator_convert.c280 else if( Z_OBJ_HT_P(obj)->cast_object )
284 if( Z_OBJ_HT_P(obj)->cast_object( obj, zstr, IS_STRING CAST_OBJECT_SHOULD_FREE TSRMLS_CC ) == FAILURE )
286 /* cast_object failed => bail out. */
/PHP_TRUNK/Zend/
H A Dzend.c262 if (Z_OBJ_HANDLER_P(expr, cast_object)) {
268 if (Z_OBJ_HANDLER_P(expr, cast_object)(val, expr_copy, IS_STRING TSRMLS_CC) == SUCCESS) {
274 if (!Z_OBJ_HANDLER_P(expr, cast_object) && Z_OBJ_HANDLER_P(expr, get)) {
H A Dzend_builtin_functions.c689 } else if (Z_OBJ_HT_P(val)->cast_object) {
691 if (Z_OBJ_HT_P(val)->cast_object(val, val_free, IS_STRING TSRMLS_CC) == SUCCESS) {
H A Dzend_object_handlers.h143 zend_object_cast_t cast_object; member in struct:_zend_object_handlers
H A Dzend_operators.c335 if (Z_OBJ_HT_P(op)->cast_object) { \
337 if (Z_OBJ_HT_P(op)->cast_object(op, &dst, ctype TSRMLS_CC) == FAILURE) { \
491 if (Z_OBJ_HT_P(op)->cast_object) {
497 if (Z_OBJ_HT_P(op)->cast_object(org, op, IS_NULL TSRMLS_CC) == SUCCESS) {
1689 } else if (Z_TYPE_P(op2) != IS_OBJECT && Z_OBJ_HT_P(op1)->cast_object) {
1691 if (Z_OBJ_HT_P(op1)->cast_object(op1, op_free, Z_TYPE_P(op2) TSRMLS_CC) == FAILURE) {
1707 } else if (Z_TYPE_P(op1) != IS_OBJECT && Z_OBJ_HT_P(op2)->cast_object) {
1709 if (Z_OBJ_HT_P(op2)->cast_object(op2, op_free, Z_TYPE_P(op1) TSRMLS_CC) == FAILURE) {
H A Dzend_API.c263 if (Z_OBJ_HANDLER_PP(arg, cast_object)) {
266 if (Z_OBJ_HANDLER_P(*arg, cast_object)(*arg, obj, type TSRMLS_CC) == SUCCESS) {
276 if (Z_OBJ_HT_PP(arg) == &std_object_handlers || !Z_OBJ_HANDLER_PP(arg, cast_object)) {
284 if (!Z_OBJ_HANDLER_PP(arg, cast_object) && Z_OBJ_HANDLER_PP(arg, get)) {
H A Dzend_execute.h133 if (Z_OBJ_HT_P(op)->cast_object) {
135 if (Z_OBJ_HT_P(op)->cast_object(op, &tmp, IS_BOOL TSRMLS_CC) == SUCCESS) {
/PHP_TRUNK/ext/tidy/
H A Dtidy.c1077 tidy_object_handlers_doc.cast_object = tidy_doc_cast_handler;
1078 tidy_object_handlers_node.cast_object = tidy_node_cast_handler;
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c1882 return std_object_handlers.cast_object(readobj, writeobj, type TSRMLS_CC);
3040 spl_filesystem_object_handlers.cast_object = spl_filesystem_object_cast;
/PHP_TRUNK/ext/gmp/
H A Dgmp.c669 gmp_object_handlers.cast_object = gmp_cast_object;
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c1764 /* {{{ cast_object()
1766 static int cast_object(zval *object, int type, char *contents TSRMLS_DC) function
1842 rv = cast_object(writeobj, type, (char *)contents TSRMLS_CC);

Completed in 36 milliseconds