Home
last modified time | relevance | path

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

/PHP-8.0/Zend/
H A Dzend_interfaces.c93 ce->iterator_funcs_ptr->zf_new_iterator, Z_OBJ_P(object), retval); in zend_user_it_new_iterator()
129 …zend_call_method_with_0_params(Z_OBJ_P(object), iter->ce, &iter->ce->iterator_funcs_ptr->zf_valid,… in zend_user_it_valid()
145 …zend_call_method_with_0_params(Z_OBJ_P(object), iter->ce, &iter->ce->iterator_funcs_ptr->zf_curren… in zend_user_it_get_current_data()
156 …zend_call_method_with_0_params(Z_OBJ_P(object), iter->ce, &iter->ce->iterator_funcs_ptr->zf_key, "… in zend_user_it_get_current_key()
170 …zend_call_method_with_0_params(Z_OBJ_P(object), iter->ce, &iter->ce->iterator_funcs_ptr->zf_next, … in zend_user_it_move_forward()
181 …zend_call_method_with_0_params(Z_OBJ_P(object), iter->ce, &iter->ce->iterator_funcs_ptr->zf_rewind… in zend_user_it_rewind()
297 ZEND_ASSERT(!class_type->iterator_funcs_ptr && "Iterator funcs already set?"); in zend_implement_aggregate()
302 class_type->iterator_funcs_ptr = funcs_ptr; in zend_implement_aggregate()
336 ZEND_ASSERT(!class_type->iterator_funcs_ptr && "Iterator funcs already set?"); in zend_implement_iterator()
341 class_type->iterator_funcs_ptr = funcs_ptr; in zend_implement_iterator()
H A Dzend.h147 zend_class_iterator_funcs *iterator_funcs_ptr; member
H A Dzend_opcode.c434 if (ce->iterator_funcs_ptr) { in destroy_zend_class()
435 free(ce->iterator_funcs_ptr); in destroy_zend_class()
H A Dzend_API.h269 class_container.iterator_funcs_ptr = NULL; \
H A Dzend_compile.c1857 ce->iterator_funcs_ptr = NULL; in zend_initialize_class_data()
/PHP-8.0/ext/spl/
H A Dspl_observer.c1032 …arams(Z_OBJ_P(it), Z_OBJCE_P(it), Z_OBJCE_P(it)->iterator_funcs_ptr ? &Z_OBJCE_P(it)->iterator_fun… in PHP_METHOD()
1054 …arams(Z_OBJ_P(it), Z_OBJCE_P(it), Z_OBJCE_P(it)->iterator_funcs_ptr ? &Z_OBJCE_P(it)->iterator_fun… in PHP_METHOD()
1083 …arams(Z_OBJ_P(it), Z_OBJCE_P(it), Z_OBJCE_P(it)->iterator_funcs_ptr ? &Z_OBJCE_P(it)->iterator_fun… in PHP_METHOD()
1119 …arams(Z_OBJ_P(it), Z_OBJCE_P(it), Z_OBJCE_P(it)->iterator_funcs_ptr ? &Z_OBJCE_P(it)->iterator_fun… in spl_multiple_iterator_get_all()
1130 …arams(Z_OBJ_P(it), Z_OBJCE_P(it), Z_OBJCE_P(it)->iterator_funcs_ptr ? &Z_OBJCE_P(it)->iterator_fun… in spl_multiple_iterator_get_all()
1132 …arams(Z_OBJ_P(it), Z_OBJCE_P(it), Z_OBJCE_P(it)->iterator_funcs_ptr ? &Z_OBJCE_P(it)->iterator_fun… in spl_multiple_iterator_get_all()
H A Dspl_iterators.c465 ce->iterator_funcs_ptr ? &ce->iterator_funcs_ptr->zf_new_iterator : NULL; in spl_get_iterator_from_aggregate()
H A Dspl_array.c235 zend_class_iterator_funcs *funcs_ptr = class_type->iterator_funcs_ptr; in spl_array_object_new_ex()
/PHP-8.0/ext/opcache/
H A Dzend_file_cache.c848 if (ce->iterator_funcs_ptr) {
850 SERIALIZE_PTR(ce->iterator_funcs_ptr->zf_rewind);
851 SERIALIZE_PTR(ce->iterator_funcs_ptr->zf_valid);
852 SERIALIZE_PTR(ce->iterator_funcs_ptr->zf_key);
853 SERIALIZE_PTR(ce->iterator_funcs_ptr->zf_current);
854 SERIALIZE_PTR(ce->iterator_funcs_ptr->zf_next);
855 SERIALIZE_PTR(ce->iterator_funcs_ptr);
1600 if (ce->iterator_funcs_ptr) {
1601 UNSERIALIZE_PTR(ce->iterator_funcs_ptr);
1605 UNSERIALIZE_PTR(ce->iterator_funcs_ptr->zf_key);
[all …]
H A Dzend_persist.c976 if (ce->iterator_funcs_ptr) { in zend_persist_class_entry()
977 …ce->iterator_funcs_ptr = zend_shared_memdup(ce->iterator_funcs_ptr, sizeof(zend_class_iterator_fun… in zend_persist_class_entry()
1024 if (ce->iterator_funcs_ptr) { in zend_update_parent_ce()
1025 memset(ce->iterator_funcs_ptr, 0, sizeof(zend_class_iterator_funcs)); in zend_update_parent_ce()
1027 …ce->iterator_funcs_ptr->zf_new_iterator = zend_hash_str_find_ptr(&ce->function_table, "getiterator… in zend_update_parent_ce()
1030 …ce->iterator_funcs_ptr->zf_rewind = zend_hash_str_find_ptr(&ce->function_table, "rewind", sizeof("… in zend_update_parent_ce()
1031 …ce->iterator_funcs_ptr->zf_valid = zend_hash_str_find_ptr(&ce->function_table, "valid", sizeof("va… in zend_update_parent_ce()
1032 …ce->iterator_funcs_ptr->zf_key = zend_hash_str_find_ptr(&ce->function_table, "key", sizeof("key") … in zend_update_parent_ce()
1033 …ce->iterator_funcs_ptr->zf_current = zend_hash_str_find_ptr(&ce->function_table, "current", sizeof… in zend_update_parent_ce()
1034 …ce->iterator_funcs_ptr->zf_next = zend_hash_str_find_ptr(&ce->function_table, "next", sizeof("next… in zend_update_parent_ce()
H A Dzend_persist_calc.c527 if (ce->iterator_funcs_ptr) { in zend_persist_class_entry_calc()

Completed in 89 milliseconds