Home
last modified time | relevance | path

Searched refs:iterator_funcs (Results 1 – 13 of 13) sorted by relevance

/PHP-5.6/Zend/
H A Dzend_interfaces.c204 …zend_call_method_with_0_params(&object, iter->ce, &iter->ce->iterator_funcs.zf_key, "key", &retval… in zend_user_it_get_current_key()
224 zend_call_method_with_0_params(&object, iter->ce, &iter->ce->iterator_funcs.zf_next, "next", NULL); in zend_user_it_move_forward()
262 iterator->it.funcs = ce->iterator_funcs.funcs; in zend_user_it_get_iterator()
346 class_type->iterator_funcs.zf_new_iterator = NULL; in zend_implement_aggregate()
371 class_type->iterator_funcs.zf_valid = NULL; in zend_implement_iterator()
372 class_type->iterator_funcs.zf_current = NULL; in zend_implement_iterator()
373 class_type->iterator_funcs.zf_key = NULL; in zend_implement_iterator()
374 class_type->iterator_funcs.zf_next = NULL; in zend_implement_iterator()
375 class_type->iterator_funcs.zf_rewind = NULL; in zend_implement_iterator()
376 if (!class_type->iterator_funcs.funcs) { in zend_implement_iterator()
[all …]
H A Dzend_generators.c749 zend_ce_generator->iterator_funcs.funcs = &zend_generator_iterator_functions; in zend_register_generator_ce()
H A Dzend.h509 zend_class_iterator_funcs iterator_funcs; member
H A Dzend_API.h213 class_container.iterator_funcs.funcs = NULL; \
H A Dzend_compile.c3132 if (!ce->iterator_funcs.funcs) { in do_inherit_parent_constructor()
3133 ce->iterator_funcs.funcs = ce->parent->iterator_funcs.funcs; in do_inherit_parent_constructor()
6997 ce->iterator_funcs.funcs = NULL; in zend_initialize_class_data()
/PHP-5.6/ext/simplexml/
H A Dsxe.c50 ce_SimpleXMLElement->iterator_funcs.funcs->rewind((zend_object_iterator*)&iter TSRMLS_CC); in PHP_METHOD()
123 ce_SimpleXMLElement->iterator_funcs.funcs->move_forward((zend_object_iterator*)&iter TSRMLS_CC); in PHP_METHOD()
H A Dsimplexml.c2642 sxe_class_entry->iterator_funcs.funcs = &php_sxe_iterator_funcs; in PHP_MINIT_FUNCTION()
/PHP-5.6/ext/spl/
H A Dspl_fixedarray.c269 if (!class_type->iterator_funcs.zf_current) { in spl_fixedarray_object_new_ex()
270 …pe->function_table, "rewind", sizeof("rewind"), (void **) &class_type->iterator_funcs.zf_rewind); in spl_fixedarray_object_new_ex()
271 …ype->function_table, "valid", sizeof("valid"), (void **) &class_type->iterator_funcs.zf_valid); in spl_fixedarray_object_new_ex()
272 …_type->function_table, "key", sizeof("key"), (void **) &class_type->iterator_funcs.zf_key); in spl_fixedarray_object_new_ex()
273 …e->function_table, "current", sizeof("current"), (void **) &class_type->iterator_funcs.zf_current); in spl_fixedarray_object_new_ex()
274 …type->function_table, "next", sizeof("next"), (void **) &class_type->iterator_funcs.zf_next); in spl_fixedarray_object_new_ex()
277 if (class_type->iterator_funcs.zf_rewind->common.scope != parent) { in spl_fixedarray_object_new_ex()
280 if (class_type->iterator_funcs.zf_valid->common.scope != parent) { in spl_fixedarray_object_new_ex()
283 if (class_type->iterator_funcs.zf_key->common.scope != parent) { in spl_fixedarray_object_new_ex()
286 if (class_type->iterator_funcs.zf_current->common.scope != parent) { in spl_fixedarray_object_new_ex()
[all …]
H A Dspl_array.c254 if (!class_type->iterator_funcs.zf_current) { in spl_array_object_new_ex()
255 …pe->function_table, "rewind", sizeof("rewind"), (void **) &class_type->iterator_funcs.zf_rewind); in spl_array_object_new_ex()
256 …ype->function_table, "valid", sizeof("valid"), (void **) &class_type->iterator_funcs.zf_valid); in spl_array_object_new_ex()
257 …_type->function_table, "key", sizeof("key"), (void **) &class_type->iterator_funcs.zf_key); in spl_array_object_new_ex()
258 …e->function_table, "current", sizeof("current"), (void **) &class_type->iterator_funcs.zf_current); in spl_array_object_new_ex()
259 …type->function_table, "next", sizeof("next"), (void **) &class_type->iterator_funcs.zf_next); in spl_array_object_new_ex()
262 …if (class_type->iterator_funcs.zf_rewind->common.scope != parent) intern->ar_flags |= SPL_ARRAY_O… in spl_array_object_new_ex()
263 …if (class_type->iterator_funcs.zf_valid->common.scope != parent) intern->ar_flags |= SPL_ARRAY_O… in spl_array_object_new_ex()
264 …if (class_type->iterator_funcs.zf_key->common.scope != parent) intern->ar_flags |= SPL_ARRAY_O… in spl_array_object_new_ex()
265 …if (class_type->iterator_funcs.zf_current->common.scope != parent) intern->ar_flags |= SPL_ARRAY_O… in spl_array_object_new_ex()
[all …]
H A Dspl_observer.c1108 …zend_call_method_with_0_params(&it, Z_OBJCE_P(it), &Z_OBJCE_P(it)->iterator_funcs.zf_rewind, "rewi… in SPL_METHOD()
1131 …zend_call_method_with_0_params(&it, Z_OBJCE_P(it), &Z_OBJCE_P(it)->iterator_funcs.zf_next, "next",… in SPL_METHOD()
1161 …zend_call_method_with_0_params(&it, Z_OBJCE_P(it), &Z_OBJCE_P(it)->iterator_funcs.zf_valid, "valid… in SPL_METHOD()
1197 …zend_call_method_with_0_params(&it, Z_OBJCE_P(it), &Z_OBJCE_P(it)->iterator_funcs.zf_valid, "valid… in spl_multiple_iterator_get_all()
1208 …zend_call_method_with_0_params(&it, Z_OBJCE_P(it), &Z_OBJCE_P(it)->iterator_funcs.zf_current, "cur… in spl_multiple_iterator_get_all()
1210 …zend_call_method_with_0_params(&it, Z_OBJCE_P(it), &Z_OBJCE_P(it)->iterator_funcs.zf_key, "key… in spl_multiple_iterator_get_all()
H A Dspl_iterators.c448 iterator->intern.funcs = ce->iterator_funcs.funcs; in spl_recursive_it_get_iterator()
485 …th_0_params(&aggregate, Z_OBJCE_P(aggregate), &Z_OBJCE_P(aggregate)->iterator_funcs.zf_new_iterato… in spl_recursive_it_it_construct()
1341 class_type->iterator_funcs.zf_valid = NULL; in spl_dual_it_gets_implemented()
1342 class_type->iterator_funcs.zf_current = NULL; in spl_dual_it_gets_implemented()
1343 class_type->iterator_funcs.zf_key = NULL; in spl_dual_it_gets_implemented()
1344 class_type->iterator_funcs.zf_next = NULL; in spl_dual_it_gets_implemented()
1345 class_type->iterator_funcs.zf_rewind = NULL; in spl_dual_it_gets_implemented()
1346 if (!class_type->iterator_funcs.funcs) { in spl_dual_it_gets_implemented()
1347 class_type->iterator_funcs.funcs = &zend_interface_iterator_funcs_iterator; in spl_dual_it_gets_implemented()
1522 …zend_call_method_with_0_params(&zobject, ce, &ce->iterator_funcs.zf_new_iterator, "getiterator", &… in spl_dual_it_construct()
[all …]
/PHP-5.6/ext/mysqli/
H A Dmysqli.c679 mysqli_result_class_entry->iterator_funcs.funcs = &php_mysqli_result_iterator_funcs; in PHP_MINIT_FUNCTION()
/PHP-5.6/ext/date/
H A Dphp_date.c2106 date_ce_period->iterator_funcs.funcs = &date_period_it_funcs; in date_register_classes()

Completed in 110 milliseconds