Home
last modified time | relevance | path

Searched refs:iterator_funcs_ptr (Results 1 – 11 of 11) sorted by relevance

/PHP-7.3/Zend/
H A Dzend_interfaces.c339 if (class_type->iterator_funcs_ptr != NULL) { in zend_implement_aggregate()
340 class_type->iterator_funcs_ptr->zf_new_iterator = NULL; in zend_implement_aggregate()
342 class_type->iterator_funcs_ptr = calloc(1, sizeof(zend_class_iterator_funcs)); in zend_implement_aggregate()
345 memset(class_type->iterator_funcs_ptr, 0, sizeof(zend_class_iterator_funcs)); in zend_implement_aggregate()
373 if (class_type->iterator_funcs_ptr != NULL) { in zend_implement_iterator()
374 class_type->iterator_funcs_ptr->zf_valid = NULL; in zend_implement_iterator()
375 class_type->iterator_funcs_ptr->zf_current = NULL; in zend_implement_iterator()
376 class_type->iterator_funcs_ptr->zf_key = NULL; in zend_implement_iterator()
377 class_type->iterator_funcs_ptr->zf_next = NULL; in zend_implement_iterator()
378 class_type->iterator_funcs_ptr->zf_rewind = NULL; in zend_implement_iterator()
[all …]
H A Dzend_inheritance.c102 if (EXPECTED(!ce->iterator_funcs_ptr) && UNEXPECTED(ce->parent->iterator_funcs_ptr)) { in do_inherit_parent_constructor()
104 ce->iterator_funcs_ptr = calloc(1, sizeof(zend_class_iterator_funcs)); in do_inherit_parent_constructor()
105 if (ce->parent->iterator_funcs_ptr->zf_new_iterator) { in do_inherit_parent_constructor()
108 if (ce->parent->iterator_funcs_ptr->zf_current) { in do_inherit_parent_constructor()
109 …ce->iterator_funcs_ptr->zf_rewind = zend_hash_str_find_ptr(&ce->function_table, "rewind", sizeof("… in do_inherit_parent_constructor()
110 …ce->iterator_funcs_ptr->zf_valid = zend_hash_str_find_ptr(&ce->function_table, "valid", sizeof("va… in do_inherit_parent_constructor()
111 …ce->iterator_funcs_ptr->zf_key = zend_hash_str_find_ptr(&ce->function_table, "key", sizeof("key") … in do_inherit_parent_constructor()
112 …ce->iterator_funcs_ptr->zf_current = zend_hash_str_find_ptr(&ce->function_table, "current", sizeof… in do_inherit_parent_constructor()
113 …ce->iterator_funcs_ptr->zf_next = zend_hash_str_find_ptr(&ce->function_table, "next", sizeof("next… in do_inherit_parent_constructor()
116 ce->iterator_funcs_ptr = zend_arena_alloc(&CG(arena), sizeof(zend_class_iterator_funcs)); in do_inherit_parent_constructor()
[all …]
H A Dzend.h141 zend_class_iterator_funcs *iterator_funcs_ptr; member
H A Dzend_opcode.c320 if (ce->iterator_funcs_ptr) { in destroy_zend_class()
321 free(ce->iterator_funcs_ptr); in destroy_zend_class()
H A Dzend_API.h222 class_container.iterator_funcs_ptr = NULL; \
H A Dzend_compile.c1762 ce->iterator_funcs_ptr = NULL; in zend_initialize_class_data()
/PHP-7.3/ext/spl/
H A Dspl_fixedarray.c241 if (!class_type->iterator_funcs_ptr->zf_current) { in spl_fixedarray_object_new_ex()
242 …class_type->iterator_funcs_ptr->zf_rewind = zend_hash_str_find_ptr(&class_type->function_table, "r… in spl_fixedarray_object_new_ex()
243 …class_type->iterator_funcs_ptr->zf_valid = zend_hash_str_find_ptr(&class_type->function_table, "va… in spl_fixedarray_object_new_ex()
244 …class_type->iterator_funcs_ptr->zf_key = zend_hash_str_find_ptr(&class_type->function_table, "key"… in spl_fixedarray_object_new_ex()
245 …class_type->iterator_funcs_ptr->zf_current = zend_hash_str_find_ptr(&class_type->function_table, "… in spl_fixedarray_object_new_ex()
246 …class_type->iterator_funcs_ptr->zf_next = zend_hash_str_find_ptr(&class_type->function_table, "nex… in spl_fixedarray_object_new_ex()
249 if (class_type->iterator_funcs_ptr->zf_rewind->common.scope != parent) { in spl_fixedarray_object_new_ex()
252 if (class_type->iterator_funcs_ptr->zf_valid->common.scope != parent) { in spl_fixedarray_object_new_ex()
255 if (class_type->iterator_funcs_ptr->zf_key->common.scope != parent) { in spl_fixedarray_object_new_ex()
258 if (class_type->iterator_funcs_ptr->zf_current->common.scope != parent) { in spl_fixedarray_object_new_ex()
[all …]
H A Dspl_array.c246 if (!class_type->iterator_funcs_ptr->zf_current) { in spl_array_object_new_ex()
247 …class_type->iterator_funcs_ptr->zf_rewind = zend_hash_str_find_ptr(&class_type->function_table, "r… in spl_array_object_new_ex()
248 …class_type->iterator_funcs_ptr->zf_valid = zend_hash_str_find_ptr(&class_type->function_table, "va… in spl_array_object_new_ex()
249 …class_type->iterator_funcs_ptr->zf_key = zend_hash_str_find_ptr(&class_type->function_table, "key"… in spl_array_object_new_ex()
250 …class_type->iterator_funcs_ptr->zf_current = zend_hash_str_find_ptr(&class_type->function_table, "… in spl_array_object_new_ex()
251 …class_type->iterator_funcs_ptr->zf_next = zend_hash_str_find_ptr(&class_type->function_table, "nex… in spl_array_object_new_ex()
254 …if (class_type->iterator_funcs_ptr->zf_rewind->common.scope != parent) intern->ar_flags |= SPL_AR… in spl_array_object_new_ex()
255 …if (class_type->iterator_funcs_ptr->zf_valid->common.scope != parent) intern->ar_flags |= SPL_AR… in spl_array_object_new_ex()
256 …if (class_type->iterator_funcs_ptr->zf_key->common.scope != parent) intern->ar_flags |= SPL_AR… in spl_array_object_new_ex()
257 …if (class_type->iterator_funcs_ptr->zf_current->common.scope != parent) intern->ar_flags |= SPL_AR… in spl_array_object_new_ex()
[all …]
H A Dspl_observer.c1037 …zend_call_method_with_0_params(it, Z_OBJCE_P(it), &Z_OBJCE_P(it)->iterator_funcs_ptr->zf_rewind, "… in SPL_METHOD()
1060 …zend_call_method_with_0_params(it, Z_OBJCE_P(it), &Z_OBJCE_P(it)->iterator_funcs_ptr->zf_next, "ne… in SPL_METHOD()
1090 …zend_call_method_with_0_params(it, Z_OBJCE_P(it), &Z_OBJCE_P(it)->iterator_funcs_ptr->zf_valid, "v… in SPL_METHOD()
1126 …zend_call_method_with_0_params(it, Z_OBJCE_P(it), &Z_OBJCE_P(it)->iterator_funcs_ptr->zf_valid, "v… in spl_multiple_iterator_get_all()
1137 …zend_call_method_with_0_params(it, Z_OBJCE_P(it), &Z_OBJCE_P(it)->iterator_funcs_ptr->zf_current, … in spl_multiple_iterator_get_all()
1139 …zend_call_method_with_0_params(it, Z_OBJCE_P(it), &Z_OBJCE_P(it)->iterator_funcs_ptr->zf_key, "key… in spl_multiple_iterator_get_all()
H A Dspl_iterators.c497 …with_0_params(iterator, Z_OBJCE_P(iterator), &Z_OBJCE_P(iterator)->iterator_funcs_ptr->zf_new_iter… in spl_recursive_it_it_construct()
525 …with_0_params(iterator, Z_OBJCE_P(iterator), &Z_OBJCE_P(iterator)->iterator_funcs_ptr->zf_new_iter… in spl_recursive_it_it_construct()
1354 class_type->iterator_funcs_ptr->zf_valid = NULL; in spl_dual_it_gets_implemented()
1355 class_type->iterator_funcs_ptr->zf_current = NULL; in spl_dual_it_gets_implemented()
1356 class_type->iterator_funcs_ptr->zf_key = NULL; in spl_dual_it_gets_implemented()
1357 class_type->iterator_funcs_ptr->zf_next = NULL; in spl_dual_it_gets_implemented()
1358 class_type->iterator_funcs_ptr->zf_rewind = NULL; in spl_dual_it_gets_implemented()
1516 …zend_call_method_with_0_params(zobject, ce, &ce->iterator_funcs_ptr->zf_new_iterator, "getiterator… in spl_dual_it_construct()
/PHP-7.3/
H A DUPGRADING.INTERNALS156 w. zend_class_entry.iterator_funcs have been replaced by iterator_funcs_ptr.

Completed in 79 milliseconds