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

/PHP_TRUNK/Zend/
H A Dzend_object_handlers.h143 zend_object_cast_t cast_object; member in struct:_zend_object_handlers
H A Dzend_operators.c308 if (Z_OBJ_HT_P(op)->cast_object) { \
309 if (Z_OBJ_HT_P(op)->cast_object(op, dst, ctype TSRMLS_CC) == FAILURE) { \
454 if (Z_OBJ_HT_P(op)->cast_object) {
459 if (Z_OBJ_HT_P(op)->cast_object(&org, op, IS_NULL TSRMLS_CC) == SUCCESS) {
850 if (Z_OBJ_HT_P(op)->cast_object) {
851 if (Z_OBJ_HT_P(op)->cast_object(op, &tmp, IS_STRING TSRMLS_CC) == SUCCESS) {
1805 } else if (Z_TYPE_P(op2) != IS_OBJECT && Z_OBJ_HT_P(op1)->cast_object) {
1807 if (Z_OBJ_HT_P(op1)->cast_object(op1, &tmp_free, ((Z_TYPE_P(op2) == IS_FALSE || Z_TYPE_P(op2) == IS_TRUE) ? _IS_BOOL : Z_TYPE_P(op2)) TSRMLS_CC) == FAILURE) {
1824 } else if (Z_TYPE_P(op1) != IS_OBJECT && Z_OBJ_HT_P(op2)->cast_object) {
1826 if (Z_OBJ_HT_P(op2)->cast_object(op
[all...]
H A Dzend_API.c227 if (Z_OBJ_HANDLER_P(arg, cast_object)) {
229 if (Z_OBJ_HANDLER_P(arg, cast_object)(arg, &obj, type TSRMLS_CC) == SUCCESS) {
238 if (Z_OBJ_HT_P(arg) == &std_object_handlers || !Z_OBJ_HANDLER_P(arg, cast_object)) {
246 if (!Z_OBJ_HANDLER_P(arg, cast_object) && Z_OBJ_HANDLER_P(arg, get)) {
268 if (Z_OBJ_HANDLER_P(arg, cast_object)) {
270 if (Z_OBJ_HANDLER_P(arg, cast_object)(arg, &obj, type TSRMLS_CC) == SUCCESS) {
278 if (Z_OBJ_HT_P(arg) == &std_object_handlers || !Z_OBJ_HANDLER_P(arg, cast_object)) {
285 if (!Z_OBJ_HANDLER_P(arg, cast_object) && Z_OBJ_HANDLER_P(arg, get)) {
H A Dzend_builtin_functions.c743 } else if (Z_OBJ_HT_P(val)->cast_object) {
744 if (Z_OBJ_HT_P(val)->cast_object(val, &val_free, IS_STRING TSRMLS_CC) == SUCCESS) {
H A Dzend_execute.h102 if (Z_OBJ_HT_P(op)->cast_object) {
104 if (Z_OBJ_HT_P(op)->cast_object(op, &tmp, _IS_BOOL TSRMLS_CC) == SUCCESS) {
H A Dzend_vm_def.h3934 * be relevant if a cast_object handler for IS_NULL has some kind of side-effect. */
3939 if (Z_TYPE_P(expr) == IS_OBJECT && Z_OBJ_HT_P(expr)->cast_object) {
3940 if (Z_OBJ_HT_P(expr)->cast_object(expr, result, IS_NULL TSRMLS_CC) == SUCCESS) {
H A Dzend_vm_execute.h2807 * be relevant if a cast_object handler for IS_NULL has some kind of side-effect. */
2812 if (Z_TYPE_P(expr) == IS_OBJECT && Z_OBJ_HT_P(expr)->cast_object) {
2813 if (Z_OBJ_HT_P(expr)->cast_object(expr, result, IS_NULL TSRMLS_CC) == SUCCESS) {
9544 * be relevant if a cast_object handler for IS_NULL has some kind of side-effect. */
9549 if (Z_TYPE_P(expr) == IS_OBJECT && Z_OBJ_HT_P(expr)->cast_object) {
9550 if (Z_OBJ_HT_P(expr)->cast_object(expr, result, IS_NULL TSRMLS_CC) == SUCCESS) {
16131 * be relevant if a cast_object handler for IS_NULL has some kind of side-effect. */
16136 if (Z_TYPE_P(expr) == IS_OBJECT && Z_OBJ_HT_P(expr)->cast_object) {
16137 if (Z_OBJ_HT_P(expr)->cast_object(expr, result, IS_NULL TSRMLS_CC) == SUCCESS) {
33414 * be relevant if a cast_object handle
[all...]
/PHP_TRUNK/ext/intl/collator/
H A Dcollator_convert.c264 else if( Z_OBJ_HT_P(obj)->cast_object )
268 if( Z_OBJ_HT_P(obj)->cast_object( obj, zstr, IS_STRING CAST_OBJECT_SHOULD_FREE TSRMLS_CC ) == FAILURE )
270 /* cast_object failed => bail out. */
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c1754 /* {{{ cast_object()
1756 static int cast_object(zval *object, int type, char *contents TSRMLS_DC) function
1830 rv = cast_object(writeobj, type, (char *)contents TSRMLS_CC);
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c1854 return std_object_handlers.cast_object(readobj, writeobj, type TSRMLS_CC);
3104 spl_filesystem_object_handlers.cast_object = spl_filesystem_object_cast;
/PHP_TRUNK/ext/tidy/
H A Dtidy.c1040 tidy_object_handlers_doc.cast_object = tidy_doc_cast_handler;
1041 tidy_object_handlers_node.cast_object = tidy_node_cast_handler;
/PHP_TRUNK/ext/gmp/
H A Dgmp.c659 gmp_object_handlers.cast_object = gmp_cast_object;

Completed in 148 milliseconds