Lines Matching refs:zobject

85 	zval                    zobject;  member
162 if (!Z_ISUNDEF(object->iterators[object->level].zobject)) { in spl_recursive_it_dtor()
165 zval_ptr_dtor(&object->iterators[object->level].zobject); in spl_recursive_it_dtor()
225 zval *zobject; in spl_recursive_it_move_forward_ex() local
255 zobject = &object->iterators[object->level].zobject; in spl_recursive_it_move_forward_ex()
259 zend_call_method_with_0_params(Z_OBJ_P(zobject), ce, NULL, "haschildren", &retval); in spl_recursive_it_move_forward_ex()
317 zobject = &object->iterators[object->level].zobject; in spl_recursive_it_move_forward_ex()
321 zend_call_method_with_0_params(Z_OBJ_P(zobject), ce, NULL, "getchildren", &child); in spl_recursive_it_move_forward_ex()
349 ZVAL_COPY_VALUE(&object->iterators[object->level].zobject, &child); in spl_recursive_it_move_forward_ex()
382 ZVAL_COPY_VALUE(&garbage, &object->iterators[object->level].zobject); in spl_recursive_it_move_forward_ex()
383 ZVAL_UNDEF(&object->iterators[object->level].zobject); in spl_recursive_it_move_forward_ex()
403 zval_ptr_dtor(&object->iterators[object->level--].zobject); in spl_recursive_it_rewind_ex()
442 static zend_object_iterator *spl_recursive_it_get_iterator(zend_class_entry *ce, zval *zobject, int… in spl_recursive_it_get_iterator() argument
449 spl_recursive_it_object *object = Z_SPLRECURSIVE_IT_P(zobject); in spl_recursive_it_get_iterator()
458 ZVAL_OBJ_COPY(&iterator->intern.data, Z_OBJ_P(zobject)); in spl_recursive_it_get_iterator()
590 ZVAL_OBJ(&intern->iterators[0].zobject, Z_OBJ_P(iterator)); in spl_recursive_it_it_construct()
602 zval_ptr_dtor(&intern->iterators[intern->level--].zobject); in spl_recursive_it_it_construct()
724 value = &object->iterators[level].zobject; in PHP_METHOD()
732 zval *zobject; in PHP_METHOD() local
738 SPL_FETCH_SUB_ELEMENT_ADDR(zobject, object, zobject); in PHP_METHOD()
740 ZVAL_COPY_DEREF(return_value, zobject); in PHP_METHOD()
766 zval *zobject; in PHP_METHOD() local
778 zobject = &object->iterators[object->level].zobject; in PHP_METHOD()
779 if (Z_TYPE_P(zobject) == IS_UNDEF) { in PHP_METHOD()
782 zend_call_method_with_0_params(Z_OBJ_P(zobject), ce, NULL, "haschildren", return_value); in PHP_METHOD()
794 zval *zobject; in PHP_METHOD() local
802 zobject = &object->iterators[object->level].zobject; in PHP_METHOD()
803 if (Z_TYPE_P(zobject) == IS_UNDEF) { in PHP_METHOD()
806 zend_call_method_with_0_params(Z_OBJ_P(zobject), ce, NULL, "getchildren", return_value); in PHP_METHOD()
875 static zend_function *spl_recursive_it_get_method(zend_object **zobject, zend_string *method, const… in spl_recursive_it_get_method() argument
878 spl_recursive_it_object *object = spl_recursive_it_from_obj(*zobject); in spl_recursive_it_get_method()
883 …zend_throw_error(NULL, "The %s instance wasn't initialized properly", ZSTR_VAL((*zobject)->ce->nam… in spl_recursive_it_get_method()
886 zobj = &object->iterators[level].zobject; in spl_recursive_it_get_method()
888 function_handler = zend_std_get_method(zobject, method, key); in spl_recursive_it_get_method()
891 *zobject = Z_OBJ_P(zobj); in spl_recursive_it_get_method()
892 function_handler = (*zobject)->handlers->get_method(zobject, method, key); in spl_recursive_it_get_method()
894 *zobject = Z_OBJ_P(zobj); in spl_recursive_it_get_method()
913 zval_ptr_dtor(&object->iterators[object->level--].zobject); in spl_RecursiveIteratorIterator_dtor()
993 …zend_call_method_with_0_params(Z_OBJ(object->iterators[level].zobject), object->iterators[level].c… in spl_recursive_tree_iterator_get_prefix()
1003 …zend_call_method_with_0_params(Z_OBJ(object->iterators[level].zobject), object->iterators[level].c… in spl_recursive_tree_iterator_get_prefix()
1258 if (Z_OBJ_HT(intern->inner.zobject)->get_method) { in spl_dual_it_get_method()
1259 *object = Z_OBJ(intern->inner.zobject); in spl_dual_it_get_method()
1263 *object = Z_OBJ(intern->inner.zobject); in spl_dual_it_get_method()
1295 zval *zobject, retval; in spl_dual_it_construct() local
1312 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "O|ll", &zobject, ce_inner, &intern->u.limit.offset, &i… in spl_dual_it_construct()
1328 if (zend_parse_parameters(ZEND_NUM_ARGS(), "O|l", &zobject, ce_inner, &flags) == FAILURE) { in spl_dual_it_construct()
1345 if (zend_parse_parameters(ZEND_NUM_ARGS(), "O|S!", &zobject, ce_inner, &class_name) == FAILURE) { in spl_dual_it_construct()
1348 ce = Z_OBJCE_P(zobject); in spl_dual_it_construct()
1361 if (spl_get_iterator_from_aggregate(&retval, ce, Z_OBJ_P(zobject)) == FAILURE) { in spl_dual_it_construct()
1364 zobject = &retval; in spl_dual_it_construct()
1365 ce = Z_OBJCE_P(zobject); in spl_dual_it_construct()
1390 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "OS|lll", &zobject, ce_inner, &regex, &mode, &intern->u… in spl_dual_it_construct()
1416 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "Of", &zobject, ce_inner, &cfi->fci, &cfi->fcc) == FAIL… in spl_dual_it_construct()
1427 if (zend_parse_parameters(ZEND_NUM_ARGS(), "O", &zobject, ce_inner) == FAILURE) { in spl_dual_it_construct()
1435 Z_ADDREF_P(zobject); in spl_dual_it_construct()
1437 ZVAL_OBJ(&intern->inner.zobject, Z_OBJ_P(zobject)); in spl_dual_it_construct()
1439 intern->inner.ce = dit_type == DIT_IteratorIterator ? ce : Z_OBJCE_P(zobject); in spl_dual_it_construct()
1440 intern->inner.object = Z_OBJ_P(zobject); in spl_dual_it_construct()
1441 intern->inner.iterator = intern->inner.ce->get_iterator(intern->inner.ce, zobject, 0); in spl_dual_it_construct()
1469 if (!Z_ISUNDEF(intern->inner.zobject)) { in PHP_METHOD()
1470 zval *value = &intern->inner.zobject; in PHP_METHOD()
1725 …zend_call_method_with_0_params(Z_OBJ(intern->inner.zobject), intern->inner.ce, NULL, "haschildren"… in PHP_METHOD()
1740 …zend_call_method_with_0_params(Z_OBJ(intern->inner.zobject), intern->inner.ce, NULL, "getchildren"… in PHP_METHOD()
1759 …zend_call_method_with_0_params(Z_OBJ(intern->inner.zobject), intern->inner.ce, NULL, "getchildren"… in PHP_METHOD()
1795 ZVAL_COPY_VALUE(&params[2], &intern->inner.zobject); in PHP_METHOD()
2033 …zend_call_method_with_0_params(Z_OBJ(intern->inner.zobject), intern->inner.ce, NULL, "getchildren"… in PHP_METHOD()
2092 if (!Z_ISUNDEF(object->inner.zobject)) { in spl_dual_it_free_storage()
2093 zval_ptr_dtor(&object->inner.zobject); in spl_dual_it_free_storage()
2137 if (!Z_ISUNDEF(object->inner.zobject)) { in spl_dual_it_get_gc()
2138 zend_get_gc_buffer_add_zval(gc_buffer, &object->inner.zobject); in spl_dual_it_get_gc()
2219 …zend_call_method_with_1_params(Z_OBJ(intern->inner.zobject), intern->inner.ce, NULL, "seek", NULL,… in spl_limit_it_seek()
2346 …zend_call_method_with_0_params(Z_OBJ(intern->inner.zobject), intern->inner.ce, NULL, "haschildren"… in spl_caching_it_next()
2356 …zend_call_method_with_0_params(Z_OBJ(intern->inner.zobject), intern->inner.ce, NULL, "getchildren"… in spl_caching_it_next()
2385 ZVAL_COPY_VALUE(&intern->u.caching.zstr, &intern->inner.zobject); in spl_caching_it_next()
2884 if (!Z_ISUNDEF(intern->inner.zobject)) { in spl_append_it_next_iterator()
2885 zval_ptr_dtor(&intern->inner.zobject); in spl_append_it_next_iterator()
2886 ZVAL_UNDEF(&intern->inner.zobject); in spl_append_it_next_iterator()
2897 ZVAL_COPY(&intern->inner.zobject, it); in spl_append_it_next_iterator()
2957 } while (Z_OBJ(intern->inner.zobject) != Z_OBJ_P(it)); in PHP_METHOD()