Home
last modified time | relevance | path

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

/PHP-8.4/Zend/
H A Dzend_interfaces.c94 ce->iterator_funcs_ptr->zf_new_iterator, Z_OBJ_P(object), retval); in zend_user_it_new_iterator()
129 …zend_call_known_instance_method_with_0_params(iter->ce->iterator_funcs_ptr->zf_valid, Z_OBJ_P(obje… in zend_user_it_valid()
145 …zend_call_known_instance_method_with_0_params(iter->ce->iterator_funcs_ptr->zf_current, Z_OBJ_P(ob… in zend_user_it_get_current_data()
156 …zend_call_known_instance_method_with_0_params(iter->ce->iterator_funcs_ptr->zf_key, Z_OBJ_P(object… in zend_user_it_get_current_key()
170 …zend_call_known_instance_method_with_0_params(iter->ce->iterator_funcs_ptr->zf_next, Z_OBJ_P(objec… in zend_user_it_move_forward()
181 …zend_call_known_instance_method_with_0_params(iter->ce->iterator_funcs_ptr->zf_rewind, Z_OBJ_P(obj… in zend_user_it_rewind()
297 ZEND_ASSERT(!class_type->iterator_funcs_ptr && "Iterator funcs already set?"); in zend_implement_aggregate()
301 class_type->iterator_funcs_ptr = funcs_ptr; in zend_implement_aggregate()
338 ZEND_ASSERT(!class_type->iterator_funcs_ptr && "Iterator funcs already set?"); in zend_implement_iterator()
342 class_type->iterator_funcs_ptr = funcs_ptr; in zend_implement_iterator()
H A Dzend.h189 zend_class_iterator_funcs *iterator_funcs_ptr; member
H A Dzend_opcode.c515 if (ce->iterator_funcs_ptr) { in destroy_zend_class()
516 free(ce->iterator_funcs_ptr); in destroy_zend_class()
H A Dzend_API.h318 class_container.iterator_funcs_ptr = NULL; \
H A Dzend_compile.c2093 ce->iterator_funcs_ptr = NULL; in zend_initialize_class_data()
/PHP-8.4/ext/opcache/
H A Dzend_file_cache.c887 if (ce->iterator_funcs_ptr) {
889 SERIALIZE_PTR(ce->iterator_funcs_ptr->zf_rewind);
890 SERIALIZE_PTR(ce->iterator_funcs_ptr->zf_valid);
891 SERIALIZE_PTR(ce->iterator_funcs_ptr->zf_key);
892 SERIALIZE_PTR(ce->iterator_funcs_ptr->zf_current);
893 SERIALIZE_PTR(ce->iterator_funcs_ptr->zf_next);
894 SERIALIZE_PTR(ce->iterator_funcs_ptr);
1731 if (ce->iterator_funcs_ptr) {
1732 UNSERIALIZE_PTR(ce->iterator_funcs_ptr);
1736 UNSERIALIZE_PTR(ce->iterator_funcs_ptr->zf_key);
[all …]
H A Dzend_persist.c1008 if (ce->iterator_funcs_ptr) { in zend_persist_class_entry()
1009 …ce->iterator_funcs_ptr = zend_shared_memdup(ce->iterator_funcs_ptr, sizeof(zend_class_iterator_fun… in zend_persist_class_entry()
1157 if (ce->iterator_funcs_ptr) { in zend_update_parent_ce()
1158 memset(ce->iterator_funcs_ptr, 0, sizeof(zend_class_iterator_funcs)); in zend_update_parent_ce()
1160 …ce->iterator_funcs_ptr->zf_new_iterator = zend_hash_str_find_ptr(&ce->function_table, "getiterator… in zend_update_parent_ce()
1163 …ce->iterator_funcs_ptr->zf_rewind = zend_hash_str_find_ptr(&ce->function_table, "rewind", sizeof("… in zend_update_parent_ce()
1164 …ce->iterator_funcs_ptr->zf_valid = zend_hash_str_find_ptr(&ce->function_table, "valid", sizeof("va… in zend_update_parent_ce()
1165 …ce->iterator_funcs_ptr->zf_key = zend_hash_find_ptr(&ce->function_table, ZSTR_KNOWN(ZEND_STR_KEY)); in zend_update_parent_ce()
1166 …ce->iterator_funcs_ptr->zf_current = zend_hash_str_find_ptr(&ce->function_table, "current", sizeof… in zend_update_parent_ce()
1167 …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.c488 if (ce->iterator_funcs_ptr) { in zend_persist_class_entry_calc()
/PHP-8.4/ext/spl/
H A Dspl_observer.c1205 zend_call_known_instance_method_with_0_params(it->ce->iterator_funcs_ptr->zf_rewind, it, NULL); in PHP_METHOD()
1226 zend_call_known_instance_method_with_0_params(it->ce->iterator_funcs_ptr->zf_next, it, NULL); in PHP_METHOD()
1255 zend_call_known_instance_method_with_0_params(it->ce->iterator_funcs_ptr->zf_valid, it, &retval); in PHP_METHOD()
1293 zend_call_known_instance_method_with_0_params(it->ce->iterator_funcs_ptr->zf_valid, it, &retval); in spl_multiple_iterator_get_all()
1304 …zend_call_known_instance_method_with_0_params(it->ce->iterator_funcs_ptr->zf_current, it, &retval); in spl_multiple_iterator_get_all()
1306 zend_call_known_instance_method_with_0_params(it->ce->iterator_funcs_ptr->zf_key, it, &retval); in spl_multiple_iterator_get_all()
H A Dspl_iterators.c511 ce->iterator_funcs_ptr ? &ce->iterator_funcs_ptr->zf_new_iterator : NULL; in spl_get_iterator_from_aggregate()

Completed in 122 milliseconds