Searched refs:iterator_funcs (Results 1 – 14 of 14) sorted by relevance
/PHP-7.0/Zend/ |
H A D | zend_interfaces.c | 213 zend_call_method_with_0_params(object, iter->ce, &iter->ce->iterator_funcs.zf_key, "key", &retval); in zend_user_it_get_current_key() 234 zend_call_method_with_0_params(object, iter->ce, &iter->ce->iterator_funcs.zf_next, "next", NULL); in zend_user_it_move_forward() 274 iterator->it.funcs = ce->iterator_funcs.funcs; in zend_user_it_get_iterator() 359 class_type->iterator_funcs.zf_new_iterator = NULL; in zend_implement_aggregate() 384 class_type->iterator_funcs.zf_valid = NULL; in zend_implement_iterator() 385 class_type->iterator_funcs.zf_current = NULL; in zend_implement_iterator() 386 class_type->iterator_funcs.zf_key = NULL; in zend_implement_iterator() 387 class_type->iterator_funcs.zf_next = NULL; in zend_implement_iterator() 388 class_type->iterator_funcs.zf_rewind = NULL; in zend_implement_iterator() 389 if (!class_type->iterator_funcs.funcs) { in zend_implement_iterator() [all …]
|
H A D | zend.h | 161 zend_class_iterator_funcs iterator_funcs; member
|
H A D | zend_inheritance.c | 102 if (EXPECTED(!ce->iterator_funcs.funcs)) { in do_inherit_parent_constructor() 103 ce->iterator_funcs.funcs = ce->parent->iterator_funcs.funcs; in do_inherit_parent_constructor()
|
H A D | zend_generators.c | 1133 zend_ce_generator->iterator_funcs.funcs = &zend_generator_iterator_functions; in zend_register_generator_ce()
|
H A D | zend_API.h | 222 class_container.iterator_funcs.funcs = NULL; \
|
H A D | zend_compile.c | 1670 ce->iterator_funcs.funcs = NULL; in zend_initialize_class_data()
|
/PHP-7.0/ext/spl/ |
H A D | spl_fixedarray.c | 257 if (!class_type->iterator_funcs.zf_current) { in spl_fixedarray_object_new_ex() 258 …class_type->iterator_funcs.zf_rewind = zend_hash_str_find_ptr(&class_type->function_table, "rewind… in spl_fixedarray_object_new_ex() 259 …class_type->iterator_funcs.zf_valid = zend_hash_str_find_ptr(&class_type->function_table, "valid",… in spl_fixedarray_object_new_ex() 260 …class_type->iterator_funcs.zf_key = zend_hash_str_find_ptr(&class_type->function_table, "key", siz… in spl_fixedarray_object_new_ex() 261 …class_type->iterator_funcs.zf_current = zend_hash_str_find_ptr(&class_type->function_table, "curre… in spl_fixedarray_object_new_ex() 262 …class_type->iterator_funcs.zf_next = zend_hash_str_find_ptr(&class_type->function_table, "next", s… in spl_fixedarray_object_new_ex() 265 if (class_type->iterator_funcs.zf_rewind->common.scope != parent) { in spl_fixedarray_object_new_ex() 268 if (class_type->iterator_funcs.zf_valid->common.scope != parent) { in spl_fixedarray_object_new_ex() 271 if (class_type->iterator_funcs.zf_key->common.scope != parent) { in spl_fixedarray_object_new_ex() 274 if (class_type->iterator_funcs.zf_current->common.scope != parent) { in spl_fixedarray_object_new_ex() [all …]
|
H A D | spl_array.c | 248 if (!class_type->iterator_funcs.zf_current) { in spl_array_object_new_ex() 249 …class_type->iterator_funcs.zf_rewind = zend_hash_str_find_ptr(&class_type->function_table, "rewind… in spl_array_object_new_ex() 250 …class_type->iterator_funcs.zf_valid = zend_hash_str_find_ptr(&class_type->function_table, "valid",… in spl_array_object_new_ex() 251 …class_type->iterator_funcs.zf_key = zend_hash_str_find_ptr(&class_type->function_table, "key", siz… in spl_array_object_new_ex() 252 …class_type->iterator_funcs.zf_current = zend_hash_str_find_ptr(&class_type->function_table, "curre… in spl_array_object_new_ex() 253 …class_type->iterator_funcs.zf_next = zend_hash_str_find_ptr(&class_type->function_table, "next", s… in spl_array_object_new_ex() 256 …if (class_type->iterator_funcs.zf_rewind->common.scope != parent) intern->ar_flags |= SPL_ARRAY_O… in spl_array_object_new_ex() 257 …if (class_type->iterator_funcs.zf_valid->common.scope != parent) intern->ar_flags |= SPL_ARRAY_O… in spl_array_object_new_ex() 258 …if (class_type->iterator_funcs.zf_key->common.scope != parent) intern->ar_flags |= SPL_ARRAY_O… in spl_array_object_new_ex() 259 …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 D | spl_observer.c | 1021 …zend_call_method_with_0_params(it, Z_OBJCE_P(it), &Z_OBJCE_P(it)->iterator_funcs.zf_rewind, "rewin… in SPL_METHOD() 1044 …zend_call_method_with_0_params(it, Z_OBJCE_P(it), &Z_OBJCE_P(it)->iterator_funcs.zf_next, "next", … in SPL_METHOD() 1074 …zend_call_method_with_0_params(it, Z_OBJCE_P(it), &Z_OBJCE_P(it)->iterator_funcs.zf_valid, "valid"… in SPL_METHOD() 1110 …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() 1121 …zend_call_method_with_0_params(it, Z_OBJCE_P(it), &Z_OBJCE_P(it)->iterator_funcs.zf_current, "curr… in spl_multiple_iterator_get_all() 1123 …zend_call_method_with_0_params(it, Z_OBJCE_P(it), &Z_OBJCE_P(it)->iterator_funcs.zf_key, "key", &r… in spl_multiple_iterator_get_all()
|
H A D | spl_iterators.c | 465 iterator->intern.funcs = ce->iterator_funcs.funcs; in spl_recursive_it_get_iterator() 498 …d_with_0_params(iterator, Z_OBJCE_P(iterator), &Z_OBJCE_P(iterator)->iterator_funcs.zf_new_iterato… in spl_recursive_it_it_construct() 1355 class_type->iterator_funcs.zf_valid = NULL; in spl_dual_it_gets_implemented() 1356 class_type->iterator_funcs.zf_current = NULL; in spl_dual_it_gets_implemented() 1357 class_type->iterator_funcs.zf_key = NULL; in spl_dual_it_gets_implemented() 1358 class_type->iterator_funcs.zf_next = NULL; in spl_dual_it_gets_implemented() 1359 class_type->iterator_funcs.zf_rewind = NULL; in spl_dual_it_gets_implemented() 1360 if (!class_type->iterator_funcs.funcs) { in spl_dual_it_gets_implemented() 1361 class_type->iterator_funcs.funcs = &zend_interface_iterator_funcs_iterator; in spl_dual_it_gets_implemented() 1524 …zend_call_method_with_0_params(zobject, ce, &ce->iterator_funcs.zf_new_iterator, "getiterator", &r… in spl_dual_it_construct() [all …]
|
/PHP-7.0/ext/simplexml/ |
H A D | sxe.c | 51 ce_SimpleXMLElement->iterator_funcs.funcs->rewind((zend_object_iterator*)&iter); in PHP_METHOD() 127 ce_SimpleXMLElement->iterator_funcs.funcs->move_forward((zend_object_iterator*)&iter); in PHP_METHOD()
|
H A D | simplexml.c | 2733 sxe_class_entry->iterator_funcs.funcs = &php_sxe_iterator_funcs; in PHP_MINIT_FUNCTION()
|
/PHP-7.0/ext/mysqli/ |
H A D | mysqli.c | 673 mysqli_result_class_entry->iterator_funcs.funcs = &php_mysqli_result_iterator_funcs; in PHP_MINIT_FUNCTION()
|
/PHP-7.0/ext/date/ |
H A D | php_date.c | 2128 date_ce_period->iterator_funcs.funcs = &date_period_it_funcs; in date_register_classes()
|
Completed in 99 milliseconds