Lines Matching refs:ce

97 	zend_class_entry        *ce;  member
116 zend_class_entry *ce; member
170 zend_call_method_with_0_params(&zthis, object->ce, &object->endIteration, "endIteration", NULL); in spl_recursive_it_valid_ex()
208 zend_class_entry *ce; in spl_recursive_it_move_forward_ex() local
233 ce = object->iterators[object->level].ce; in spl_recursive_it_move_forward_ex()
236 …zend_call_method_with_0_params(&zthis, object->ce, &object->callHasChildren, "callHasChildren", &r… in spl_recursive_it_move_forward_ex()
238 zend_call_method_with_0_params(&zobject, ce, NULL, "haschildren", &retval); in spl_recursive_it_move_forward_ex()
273 zend_call_method_with_0_params(&zthis, object->ce, &object->nextElement, "nextelement", NULL); in spl_recursive_it_move_forward_ex()
286 zend_call_method_with_0_params(&zthis, object->ce, &object->nextElement, "nextelement", NULL); in spl_recursive_it_move_forward_ex()
295 ce = object->iterators[object->level].ce; in spl_recursive_it_move_forward_ex()
298 …zend_call_method_with_0_params(&zthis, object->ce, &object->callGetChildren, "callGetChildren", &c… in spl_recursive_it_move_forward_ex()
300 zend_call_method_with_0_params(&zobject, ce, NULL, "getchildren", &child); in spl_recursive_it_move_forward_ex()
316 ce = child && Z_TYPE_P(child) == IS_OBJECT ? Z_OBJCE_P(child) : NULL; in spl_recursive_it_move_forward_ex()
317 if (!ce || !instanceof_function(ce, spl_ce_RecursiveIterator TSRMLS_CC)) { in spl_recursive_it_move_forward_ex()
330 sub_iter = ce->get_iterator(ce, child, 0 TSRMLS_CC); in spl_recursive_it_move_forward_ex()
333 object->iterators[object->level].ce = ce; in spl_recursive_it_move_forward_ex()
339 … zend_call_method_with_0_params(&zthis, object->ce, &object->beginChildren, "beginchildren", NULL); in spl_recursive_it_move_forward_ex()
353 zend_call_method_with_0_params(&zthis, object->ce, &object->endChildren, "endchildren", 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_rewind_ex()
394 …zend_call_method_with_0_params(&zthis, object->ce, &object->beginIteration, "beginIteration", NULL… in spl_recursive_it_rewind_ex()
410 static zend_object_iterator *spl_recursive_it_get_iterator(zend_class_entry *ce, zval *zobject, int… in spl_recursive_it_get_iterator() argument
427 iterator->intern.funcs = ce->iterator_funcs.funcs; in spl_recursive_it_get_iterator()
518 intern->ce = Z_OBJCE_P(object); in spl_recursive_it_it_construct()
520 …zend_hash_find(&intern->ce->function_table, "beginiteration", sizeof("beginiteration"), (void **) … in spl_recursive_it_it_construct()
524 …zend_hash_find(&intern->ce->function_table, "enditeration", sizeof("enditeration"), (void **) &int… in spl_recursive_it_it_construct()
528 …zend_hash_find(&intern->ce->function_table, "callhaschildren", sizeof("callHasChildren"), (void **… in spl_recursive_it_it_construct()
532 …zend_hash_find(&intern->ce->function_table, "callgetchildren", sizeof("callGetChildren"), (void **… in spl_recursive_it_it_construct()
536 …zend_hash_find(&intern->ce->function_table, "beginchildren", sizeof("beginchildren"), (void **) &i… in spl_recursive_it_it_construct()
540 …zend_hash_find(&intern->ce->function_table, "endchildren", sizeof("endchildren"), (void **) &inter… in spl_recursive_it_it_construct()
544 …zend_hash_find(&intern->ce->function_table, "nextelement", sizeof("nextElement"), (void **) &inter… in spl_recursive_it_it_construct()
554 intern->iterators[0].ce = ce_iterator; in spl_recursive_it_it_construct()
735 zend_class_entry *ce = object->iterators[object->level].ce; in SPL_METHOD() local
746 zend_call_method_with_0_params(&zobject, ce, NULL, "haschildren", &retval); in SPL_METHOD()
760 zend_class_entry *ce = object->iterators[object->level].ce; in SPL_METHOD() local
771 zend_call_method_with_0_params(&zobject, ce, NULL, "getchildren", &retval); in SPL_METHOD()
993 …zend_call_method_with_0_params(&object->iterators[level].zobject, object->iterators[level].ce, NUL… in spl_recursive_tree_iterator_get_prefix()
1003 …zend_call_method_with_0_params(&object->iterators[level].zobject, object->iterators[level].ce, NUL… in spl_recursive_tree_iterator_get_prefix()
1293 if (!function_handler && intern->inner.ce) { in spl_dual_it_get_method()
1294 …if (zend_hash_find(&intern->inner.ce->function_table, method, method_len+1, (void **) &function_ha… in spl_dual_it_get_method()
1321 …php_error_docref(NULL TSRMLS_CC, E_ERROR, "Method %s::%s() does not exist", intern->inner.ce->name… in spl_dual_it_call_method()
1342 …php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to call %s::%s()", intern->inner.ce->name, metho… in spl_dual_it_call_method()
1378 zend_class_entry *ce = NULL; in spl_dual_it_construct() local
1438 ce = Z_OBJCE_P(zobject); in spl_dual_it_construct()
1439 if (!instanceof_function(ce, zend_ce_iterator TSRMLS_CC)) { in spl_dual_it_construct()
1442 || !instanceof_function(ce, *pce_cast TSRMLS_CC) in spl_dual_it_construct()
1449 ce = *pce_cast; in spl_dual_it_construct()
1451 if (instanceof_function(ce, zend_ce_aggregate TSRMLS_CC)) { in spl_dual_it_construct()
1452 …zend_call_method_with_0_params(&zobject, ce, &ce->iterator_funcs.zf_new_iterator, "getiterator", &… in spl_dual_it_construct()
1461 …ion, 0 TSRMLS_CC, "%s::getIterator() must return an object that implements Traversable", ce->name); in spl_dual_it_construct()
1466 ce = Z_OBJCE_P(zobject); in spl_dual_it_construct()
1523 intern->inner.ce = dit_type == DIT_IteratorIterator ? ce : Z_OBJCE_P(zobject); in spl_dual_it_construct()
1525 intern->inner.iterator = intern->inner.ce->get_iterator(intern->inner.ce, zobject, 0 TSRMLS_CC); in spl_dual_it_construct()
1754 zend_call_method_with_0_params(&zthis, intern->std.ce, NULL, "accept", &retval); in spl_filter_it_fetch()
1830 …zend_call_method_with_0_params(&intern->inner.zobject, intern->inner.ce, NULL, "haschildren", &ret… in SPL_METHOD()
1851 …zend_call_method_with_0_params(&intern->inner.zobject, intern->inner.ce, NULL, "getchildren", &ret… in SPL_METHOD()
1950 …replacement = zend_read_property(intern->std.ce, getThis(), "replacement", sizeof("replacement")-1… in SPL_METHOD()
2110 …zend_call_method_with_0_params(&intern->inner.zobject, intern->inner.ce, NULL, "getchildren", &ret… in SPL_METHOD()
2305 …if (pos != intern->current.pos && instanceof_function(intern->inner.ce, spl_ce_SeekableIterator TS… in spl_limit_it_seek()
2309 …zend_call_method_with_1_params(&intern->inner.zobject, intern->inner.ce, NULL, "seek", NULL, zpos); in spl_limit_it_seek()
2462 …zend_call_method_with_0_params(&intern->inner.zobject, intern->inner.ce, NULL, "haschildren", &ret… in spl_caching_it_next()
2474 …zend_call_method_with_0_params(&intern->inner.zobject, intern->inner.ce, NULL, "getchildren", &zch… in spl_caching_it_next()
3148 intern->inner.ce = NULL; in spl_append_it_next_iterator()
3161 intern->inner.ce = Z_OBJCE_PP(it); in spl_append_it_next_iterator()
3163 intern->inner.iterator = intern->inner.ce->get_iterator(intern->inner.ce, *it, 0 TSRMLS_CC); in spl_append_it_next_iterator()
3322 zend_class_entry *ce = Z_OBJCE_P(obj); in spl_iterator_apply() local
3324 iter = ce->get_iterator(ce, obj, 0 TSRMLS_CC); in spl_iterator_apply()