Lines Matching refs:ce

74 	zend_class_entry        *ce;  member
94 zend_class_entry *ce; member
107 zend_class_entry *ce; member
229 …zend_call_method_with_0_params(Z_OBJ_P(zthis), object->ce, &object->endIteration, "endIteration", … in spl_recursive_it_valid_ex()
263 zend_class_entry *ce; in spl_recursive_it_move_forward_ex() local
294 …zend_call_method_with_0_params(Z_OBJ_P(zthis), object->ce, &object->callHasChildren, "callHasChild… in spl_recursive_it_move_forward_ex()
296 zend_class_entry *ce = object->iterators[object->level].ce; in spl_recursive_it_move_forward_ex() local
300 zend_call_method_with_0_params(obj, ce, cache, "haschildren", &retval); in spl_recursive_it_move_forward_ex()
335 …zend_call_method_with_0_params(Z_OBJ_P(zthis), object->ce, &object->nextElement, "nextelement", NU… in spl_recursive_it_move_forward_ex()
348 …zend_call_method_with_0_params(Z_OBJ_P(zthis), object->ce, &object->nextElement, "nextelement", NU… in spl_recursive_it_move_forward_ex()
358 …zend_call_method_with_0_params(Z_OBJ_P(zthis), object->ce, &object->callGetChildren, "callGetChild… in spl_recursive_it_move_forward_ex()
360 zend_class_entry *ce = object->iterators[object->level].ce; in spl_recursive_it_move_forward_ex() local
364 zend_call_method_with_0_params(obj, ce, cache, "getchildren", &child); in spl_recursive_it_move_forward_ex()
379 !((ce = Z_OBJCE(child)) && instanceof_function(ce, spl_ce_RecursiveIterator))) { in spl_recursive_it_move_forward_ex()
391 sub_iter = ce->get_iterator(ce, &child, 0); in spl_recursive_it_move_forward_ex()
394 object->iterators[object->level].ce = ce; in spl_recursive_it_move_forward_ex()
397 && object->iterators[object->level - 1].ce == 0) { in spl_recursive_it_move_forward_ex()
410 …zend_call_method_with_0_params(Z_OBJ_P(zthis), object->ce, &object->beginChildren, "beginchildren"… in spl_recursive_it_move_forward_ex()
424 …zend_call_method_with_0_params(Z_OBJ_P(zthis), object->ce, &object->endChildren, "endchildren", NU… in spl_recursive_it_move_forward_ex()
458 …zend_call_method_with_0_params(Z_OBJ_P(zthis), object->ce, &object->endChildren, "endchildren", NU… in spl_recursive_it_rewind_ex()
468 …zend_call_method_with_0_params(Z_OBJ_P(zthis), object->ce, &object->beginIteration, "beginIteratio… in spl_recursive_it_rewind_ex()
495 static zend_object_iterator *spl_recursive_it_get_iterator(zend_class_entry *ce, zval *zobject, int… in spl_recursive_it_get_iterator() argument
516 static zend_result spl_get_iterator_from_aggregate(zval *retval, zend_class_entry *ce, zend_object … in spl_get_iterator_from_aggregate() argument
518 ce->iterator_funcs_ptr ? &ce->iterator_funcs_ptr->zf_new_iterator : NULL; in spl_get_iterator_from_aggregate()
519 zend_call_method_with_0_params(obj, ce, getiterator_cache, "getiterator", retval); in spl_get_iterator_from_aggregate()
527 ZSTR_VAL(ce->name)); in spl_get_iterator_from_aggregate()
606 intern->ce = Z_OBJCE_P(object); in spl_recursive_it_it_construct()
608 …intern->beginIteration = zend_hash_str_find_ptr(&intern->ce->function_table, "beginiteration", siz… in spl_recursive_it_it_construct()
612 …intern->endIteration = zend_hash_str_find_ptr(&intern->ce->function_table, "enditeration", sizeof(… in spl_recursive_it_it_construct()
616 …intern->callHasChildren = zend_hash_str_find_ptr(&intern->ce->function_table, "callhaschildren", s… in spl_recursive_it_it_construct()
620 …intern->callGetChildren = zend_hash_str_find_ptr(&intern->ce->function_table, "callgetchildren", s… in spl_recursive_it_it_construct()
624 …intern->beginChildren = zend_hash_str_find_ptr(&intern->ce->function_table, "beginchildren", sizeo… in spl_recursive_it_it_construct()
628 …intern->endChildren = zend_hash_str_find_ptr(&intern->ce->function_table, "endchildren", sizeof("e… in spl_recursive_it_it_construct()
632 …intern->nextElement = zend_hash_str_find_ptr(&intern->ce->function_table, "nextelement", sizeof("n… in spl_recursive_it_it_construct()
640 intern->iterators[0].ce = ce_iterator; in spl_recursive_it_it_construct()
814 zend_class_entry *ce; in PHP_METHOD() local
825 SPL_FETCH_SUB_ELEMENT(ce, object, ce); in PHP_METHOD()
831 …zend_call_method_with_0_params(Z_OBJ_P(zobject), ce, &object->iterators[object->level].haschildren… in PHP_METHOD()
842 zend_class_entry *ce; in PHP_METHOD() local
849 SPL_FETCH_SUB_ELEMENT(ce, object, ce); in PHP_METHOD()
855 …zend_call_method_with_0_params(Z_OBJ_P(zobject), ce, &object->iterators[object->level].getchildren… in PHP_METHOD()
932 …zend_throw_error(NULL, "The %s instance wasn't initialized properly", ZSTR_VAL((*zobject)->ce->nam… in spl_recursive_it_get_method()
1042 …0_params(Z_OBJ(object->iterators[level].zobject), object->iterators[level].ce, NULL, "hasnext", &h… in spl_recursive_tree_iterator_get_prefix()
1052 …0_params(Z_OBJ(object->iterators[level].zobject), object->iterators[level].ce, NULL, "hasnext", &h… in spl_recursive_tree_iterator_get_prefix()
1280 if (!function_handler && intern->inner.ce) { in spl_dual_it_get_method()
1281 if ((function_handler = zend_hash_find_ptr(&intern->inner.ce->function_table, method)) == NULL) { in spl_dual_it_get_method()
1321 zend_class_entry *ce = NULL; in spl_dual_it_construct() local
1372 ce = Z_OBJCE_P(zobject); in spl_dual_it_construct()
1373 if (!instanceof_function(ce, zend_ce_iterator)) { in spl_dual_it_construct()
1376 || !instanceof_function(ce, ce_cast) in spl_dual_it_construct()
1382 ce = ce_cast; in spl_dual_it_construct()
1384 if (instanceof_function(ce, zend_ce_aggregate)) { in spl_dual_it_construct()
1385 if (spl_get_iterator_from_aggregate(&retval, ce, Z_OBJ_P(zobject)) == FAILURE) { in spl_dual_it_construct()
1389 ce = Z_OBJCE_P(zobject); in spl_dual_it_construct()
1456 intern->inner.ce = dit_type == DIT_IteratorIterator ? ce : Z_OBJCE_P(zobject); in spl_dual_it_construct()
1458 intern->inner.iterator = intern->inner.ce->get_iterator(intern->inner.ce, zobject, 0); in spl_dual_it_construct()
1659 zend_call_method_with_0_params(Z_OBJ_P(zthis), intern->std.ce, NULL, "accept", &retval); in spl_filter_it_fetch()
1737 …zend_call_method_with_0_params(Z_OBJ(intern->inner.zobject), intern->inner.ce, NULL, "haschildren"… in PHP_METHOD()
1752 …zend_call_method_with_0_params(Z_OBJ(intern->inner.zobject), intern->inner.ce, NULL, "getchildren"… in PHP_METHOD()
1771 …zend_call_method_with_0_params(Z_OBJ(intern->inner.zobject), intern->inner.ce, NULL, "getchildren"… in PHP_METHOD()
1890 …zval *replacement = zend_read_property(intern->std.ce, Z_OBJ_P(ZEND_THIS), "replacement", sizeof("… in PHP_METHOD()
2043 …zend_call_method_with_0_params(Z_OBJ(intern->inner.zobject), intern->inner.ce, NULL, "getchildren"… in PHP_METHOD()
2210 if (pos != intern->current.pos && instanceof_function(intern->inner.ce, spl_ce_SeekableIterator)) { in spl_limit_it_seek()
2213 …zend_call_method_with_1_params(Z_OBJ(intern->inner.zobject), intern->inner.ce, NULL, "seek", NULL,… in spl_limit_it_seek()
2340 …zend_call_method_with_0_params(Z_OBJ(intern->inner.zobject), intern->inner.ce, NULL, "haschildren"… in spl_caching_it_next()
2350 …zend_call_method_with_0_params(Z_OBJ(intern->inner.zobject), intern->inner.ce, NULL, "getchildren"… in spl_caching_it_next()
2873 intern->inner.ce = NULL; in spl_append_it_next_iterator()
2884 intern->inner.ce = Z_OBJCE_P(it); in spl_append_it_next_iterator()
2885 intern->inner.iterator = intern->inner.ce->get_iterator(intern->inner.ce, it, 0); in spl_append_it_next_iterator()
3046 zend_class_entry *ce = Z_OBJCE_P(obj); in spl_iterator_apply() local
3048 iter = ce->get_iterator(ce, obj, 0); in spl_iterator_apply()