Lines Matching refs:ce

96 	zend_class_entry        *ce;  member
114 zend_class_entry *ce; member
204 zend_call_method_with_0_params(zthis, object->ce, &object->endIteration, "endIteration", NULL); in spl_recursive_it_valid_ex()
239 zend_class_entry *ce; in spl_recursive_it_move_forward_ex() local
267 ce = object->iterators[object->level].ce; in spl_recursive_it_move_forward_ex()
270 …zend_call_method_with_0_params(zthis, object->ce, &object->callHasChildren, "callHasChildren", &re… in spl_recursive_it_move_forward_ex()
272 zend_call_method_with_0_params(zobject, ce, NULL, "haschildren", &retval); in spl_recursive_it_move_forward_ex()
307 zend_call_method_with_0_params(zthis, object->ce, &object->nextElement, "nextelement", NULL); in spl_recursive_it_move_forward_ex()
320 zend_call_method_with_0_params(zthis, object->ce, &object->nextElement, "nextelement", NULL); in spl_recursive_it_move_forward_ex()
329 ce = object->iterators[object->level].ce; in spl_recursive_it_move_forward_ex()
332 …zend_call_method_with_0_params(zthis, object->ce, &object->callGetChildren, "callGetChildren", &ch… in spl_recursive_it_move_forward_ex()
334 zend_call_method_with_0_params(zobject, ce, NULL, "getchildren", &child); in spl_recursive_it_move_forward_ex()
349 !((ce = Z_OBJCE(child)) && instanceof_function(ce, spl_ce_RecursiveIterator))) { in spl_recursive_it_move_forward_ex()
361 sub_iter = ce->get_iterator(ce, &child, 0); in spl_recursive_it_move_forward_ex()
364 object->iterators[object->level].ce = ce; in spl_recursive_it_move_forward_ex()
370 … zend_call_method_with_0_params(zthis, object->ce, &object->beginChildren, "beginchildren", NULL); in spl_recursive_it_move_forward_ex()
384 zend_call_method_with_0_params(zthis, object->ce, &object->endChildren, "endchildren", NULL); in spl_recursive_it_move_forward_ex()
418 zend_call_method_with_0_params(zthis, object->ce, &object->endChildren, "endchildren", NULL); in spl_recursive_it_rewind_ex()
428 …zend_call_method_with_0_params(zthis, object->ce, &object->beginIteration, "beginIteration", NULL); in spl_recursive_it_rewind_ex()
454 static zend_object_iterator *spl_recursive_it_get_iterator(zend_class_entry *ce, zval *zobject, int… in spl_recursive_it_get_iterator() argument
553 intern->ce = Z_OBJCE_P(object); in spl_recursive_it_it_construct()
555 …intern->beginIteration = zend_hash_str_find_ptr(&intern->ce->function_table, "beginiteration", siz… in spl_recursive_it_it_construct()
559 …intern->endIteration = zend_hash_str_find_ptr(&intern->ce->function_table, "enditeration", sizeof(… in spl_recursive_it_it_construct()
563 …intern->callHasChildren = zend_hash_str_find_ptr(&intern->ce->function_table, "callhaschildren", s… in spl_recursive_it_it_construct()
567 …intern->callGetChildren = zend_hash_str_find_ptr(&intern->ce->function_table, "callgetchildren", s… in spl_recursive_it_it_construct()
571 …intern->beginChildren = zend_hash_str_find_ptr(&intern->ce->function_table, "beginchildren", sizeo… in spl_recursive_it_it_construct()
575 …intern->endChildren = zend_hash_str_find_ptr(&intern->ce->function_table, "endchildren", sizeof("e… in spl_recursive_it_it_construct()
579 …intern->nextElement = zend_hash_str_find_ptr(&intern->ce->function_table, "nextelement", sizeof("n… in spl_recursive_it_it_construct()
587 intern->iterators[0].ce = ce_iterator; in spl_recursive_it_it_construct()
770 zend_class_entry *ce; in SPL_METHOD() local
781 SPL_FETCH_SUB_ELEMENT(ce, object, ce); in SPL_METHOD()
787 zend_call_method_with_0_params(zobject, ce, NULL, "haschildren", return_value); in SPL_METHOD()
799 zend_class_entry *ce; in SPL_METHOD() local
806 SPL_FETCH_SUB_ELEMENT(ce, object, ce); in SPL_METHOD()
812 zend_call_method_with_0_params(zobject, ce, NULL, "getchildren", return_value); in SPL_METHOD()
894 …cref(NULL, E_ERROR, "The %s instance wasn't initialized properly", ZSTR_VAL((*zobject)->ce->name)); in spl_recursive_it_get_method()
1039 …zend_call_method_with_0_params(&object->iterators[level].zobject, object->iterators[level].ce, NUL… in spl_recursive_tree_iterator_get_prefix()
1049 …zend_call_method_with_0_params(&object->iterators[level].zobject, object->iterators[level].ce, NUL… in spl_recursive_tree_iterator_get_prefix()
1353 if (!function_handler && intern->inner.ce) { in spl_dual_it_get_method()
1354 if ((function_handler = zend_hash_find_ptr(&intern->inner.ce->function_table, method)) == NULL) { in spl_dual_it_get_method()
1398 zend_throw_error(NULL, "Unable to call %s::%s()", intern->inner.ce->name, method); in spl_dual_it_call_method()
1434 zend_class_entry *ce = NULL; in spl_dual_it_construct() local
1484 ce = Z_OBJCE_P(zobject); in spl_dual_it_construct()
1485 if (!instanceof_function(ce, zend_ce_iterator)) { in spl_dual_it_construct()
1488 || !instanceof_function(ce, ce_cast) in spl_dual_it_construct()
1494 ce = ce_cast; in spl_dual_it_construct()
1496 if (instanceof_function(ce, zend_ce_aggregate)) { in spl_dual_it_construct()
1497 …zend_call_method_with_0_params(zobject, ce, &ce->iterator_funcs_ptr->zf_new_iterator, "getiterator… in spl_dual_it_construct()
1503 …ion, 0, "%s::getIterator() must return an object that implements Traversable", ZSTR_VAL(ce->name)); in spl_dual_it_construct()
1507 ce = Z_OBJCE_P(zobject); in spl_dual_it_construct()
1575 intern->inner.ce = dit_type == DIT_IteratorIterator ? ce : Z_OBJCE_P(zobject); in spl_dual_it_construct()
1577 intern->inner.iterator = intern->inner.ce->get_iterator(intern->inner.ce, zobject, 0); in spl_dual_it_construct()
1812 zend_call_method_with_0_params(zthis, intern->std.ce, NULL, "accept", &retval); in spl_filter_it_fetch()
1896 …zend_call_method_with_0_params(&intern->inner.zobject, intern->inner.ce, NULL, "haschildren", &ret… in SPL_METHOD()
1917 …zend_call_method_with_0_params(&intern->inner.zobject, intern->inner.ce, NULL, "getchildren", &ret… in SPL_METHOD()
1937 …zend_call_method_with_0_params(&intern->inner.zobject, intern->inner.ce, NULL, "getchildren", &ret… in SPL_METHOD()
2065 …zval *replacement = zend_read_property(intern->std.ce, ZEND_THIS, "replacement", sizeof("replaceme… in SPL_METHOD()
2230 …zend_call_method_with_0_params(&intern->inner.zobject, intern->inner.ce, NULL, "getchildren", &ret… in SPL_METHOD()
2473 if (pos != intern->current.pos && instanceof_function(intern->inner.ce, spl_ce_SeekableIterator)) { in spl_limit_it_seek()
2476 …zend_call_method_with_1_params(&intern->inner.zobject, intern->inner.ce, NULL, "seek", NULL, &zpos… in spl_limit_it_seek()
2626 …zend_call_method_with_0_params(&intern->inner.zobject, intern->inner.ce, NULL, "haschildren", &ret… in spl_caching_it_next()
2636 …zend_call_method_with_0_params(&intern->inner.zobject, intern->inner.ce, NULL, "getchildren", &zch… in spl_caching_it_next()
3284 intern->inner.ce = NULL; in spl_append_it_next_iterator()
3295 intern->inner.ce = Z_OBJCE_P(it); in spl_append_it_next_iterator()
3296 intern->inner.iterator = intern->inner.ce->get_iterator(intern->inner.ce, it, 0); in spl_append_it_next_iterator()
3484 zend_class_entry *ce = Z_OBJCE_P(obj); in spl_iterator_apply() local
3486 iter = ce->get_iterator(ce, obj, 0); in spl_iterator_apply()