Home
last modified time | relevance | path

Searched refs:function_table (Results 1 – 25 of 76) sorted by relevance

1234

/PHP-7.3/sapi/phpdbg/
H A Dphpdbg_print.c163 zend_hash_num_elements(&ce->function_table)); in PHPDBG_PRINT()
167 if (zend_hash_num_elements(&ce->function_table)) { in PHPDBG_PRINT()
170 ZEND_HASH_FOREACH_PTR(&ce->function_table, method) { in PHPDBG_PRINT()
192 if ((fbc = zend_hash_find_ptr(&ce->function_table, lcname))) { in PHPDBG_PRINT()
213 HashTable *func_table = EG(function_table); in PHPDBG_PRINT()
226 func_table = &scope->function_table; in PHPDBG_PRINT()
231 } else if (!EG(function_table)) { in PHPDBG_PRINT()
235 func_table = EG(function_table); in PHPDBG_PRINT()
341 phpdbg_out("%d methods: ", zend_hash_num_elements(&ce->function_table)); in phpdbg_print_opcodes_ce()
342 ZEND_HASH_FOREACH_PTR(&ce->function_table, method) { in phpdbg_print_opcodes_ce()
[all …]
H A Dphpdbg_list.c97 if ((function = zend_hash_str_find_ptr(&ce->function_table, lcname, strlen(lcname)))) { in PHPDBG_LIST()
194 HashTable *func_table = EG(function_table); in phpdbg_list_function_byname()
206 func_table = &scope->function_table; in phpdbg_list_function_byname()
211 } else if (!EG(function_table)) { in phpdbg_list_function_byname()
215 func_table = EG(function_table); in phpdbg_list_function_byname()
H A Dphpdbg_info.c381 …, type, (int) ZSTR_LEN(ce->name), ZSTR_VAL(ce->name), zend_hash_num_elements(&ce->function_table)); in phpdbg_print_class_name()
438 ZEND_HASH_FOREACH_PTR(EG(function_table), zf) { in PHPDBG_INFO()
/PHP-7.3/ext/opcache/
H A Dzend_accelerator_util_funcs.c64 ce->function_table.pDestructor = zend_accel_destroy_zend_function; in zend_accel_destroy_zend_class()
89 persistent_script->script.function_table.pDestructor = NULL; in free_persistent_script()
93 zend_hash_destroy(&persistent_script->script.function_table); in free_persistent_script()
143 ZEND_HASH_FOREACH_STR_KEY_VAL(CG(function_table), key, val) { in zend_accel_copy_internal_functions()
146 zend_hash_add_new_ptr(&ZCG(function_table), key, function); in zend_accel_copy_internal_functions()
149 ZCG(internal_functions_count) = zend_hash_num_elements(&ZCG(function_table)); in zend_accel_copy_internal_functions()
364 zend_hash_clone_methods(&ce->function_table, &old_ce->function_table, old_ce, ce); in zend_class_copy_ctor()
807 if (zend_hash_num_elements(&persistent_script->script.function_table) > 0) { in zend_accel_load_script()
808 …zend_accel_function_hash_copy_from_shm(CG(function_table), &persistent_script->script.function_tab… in zend_accel_load_script()
827 if (zend_hash_num_elements(&persistent_script->script.function_table) > 0) { in zend_accel_load_script()
[all …]
H A Dzend_persist_calc.c315 zend_hash_persist_calc(&ce->function_table, zend_persist_class_method_calc); in zend_persist_class_entry_calc()
417 …if (new_persistent_script->script.function_table.nNumUsed != new_persistent_script->script.functio… in zend_accel_script_persist_calc()
418 zend_hash_rehash(&new_persistent_script->script.function_table); in zend_accel_script_persist_calc()
420 zend_hash_persist_calc(&new_persistent_script->script.function_table, zend_persist_op_array_calc); in zend_accel_script_persist_calc()
H A DZendAccelerator.c582 ZEND_HASH_FOREACH_BUCKET(CG(function_table), p) { in accel_copy_permanent_strings()
635 ZEND_HASH_FOREACH_BUCKET(&ce->function_table, q) { in accel_copy_permanent_strings()
1755 orig_function_table = CG(function_table); in opcache_compile_file()
1760 CG(function_table) = &ZCG(function_table); in opcache_compile_file()
1785 CG(function_table) = orig_function_table; in opcache_compile_file()
1803 …zend_accel_move_user_functions(&ZCG(function_table), &new_persistent_script->script.function_table in opcache_compile_file()
2378 if (!ZCG(function_table).nTableSize) { in accel_activate()
2379 …zend_hash_init(&ZCG(function_table), zend_hash_num_elements(CG(function_table)), NULL, ZEND_FUNCTI… in accel_activate()
2681 if (accel_globals->function_table.nTableSize) { in accel_globals_dtor()
2682 accel_globals->function_table.pDestructor = NULL; in accel_globals_dtor()
[all …]
H A DZendAccelerator.h193 HashTable function_table; member
/PHP-7.3/Zend/
H A Dzend_globals.h58 #undef function_table
79 HashTable *function_table; /* function symbol table */ member
149 HashTable *function_table; /* function symbol table */ member
H A Dzend_interfaces.c70 &obj_ce->function_table, function_name, function_name_len); in zend_call_method()
348 …tor_funcs_ptr->zf_new_iterator = zend_hash_str_find_ptr(&class_type->function_table, "getiterator"… in zend_implement_aggregate()
386 …class_type->iterator_funcs_ptr->zf_rewind = zend_hash_str_find_ptr(&class_type->function_table, "r… in zend_implement_iterator()
387 …class_type->iterator_funcs_ptr->zf_valid = zend_hash_str_find_ptr(&class_type->function_table, "va… in zend_implement_iterator()
388 …class_type->iterator_funcs_ptr->zf_key = zend_hash_str_find_ptr(&class_type->function_table, "key"… in zend_implement_iterator()
389 …class_type->iterator_funcs_ptr->zf_current = zend_hash_str_find_ptr(&class_type->function_table, "… in zend_implement_iterator()
390 …class_type->iterator_funcs_ptr->zf_next = zend_hash_str_find_ptr(&class_type->function_table, "nex… in zend_implement_iterator()
H A Dzend_inheritance.c641 zval *child = zend_hash_find_ex(&ce->function_table, key, 1); in do_inherit_method()
977 if (zend_hash_num_elements(&parent_ce->function_table)) { in zend_do_inheritance()
978 zend_hash_extend(&ce->function_table, in zend_do_inheritance()
979 zend_hash_num_elements(&ce->function_table) + in zend_do_inheritance()
980 zend_hash_num_elements(&parent_ce->function_table), 0); in zend_do_inheritance()
986 _zend_hash_append_ptr(&ce->function_table, key, new_func); in zend_do_inheritance()
1076 ZEND_HASH_FOREACH_STR_KEY_PTR(&iface->function_table, key, func) { in zend_do_implement_interface()
1080 zend_hash_add_new_ptr(&ce->function_table, key, new_func); in zend_do_implement_interface()
1265 fn = zend_hash_update_ptr(&ce->function_table, key, new_fn); in zend_add_trait_method()
1533 ZEND_HASH_FOREACH_PTR(&ce->function_table, fn) { in zend_do_traits_method_binding()
[all …]
H A Dzend.c50 # define GLOBAL_FUNCTION_TABLE CG(function_table)
619 compiler_globals->function_table = (HashTable *) malloc(sizeof(HashTable)); in compiler_globals_ctor()
620 zend_hash_init_ex(compiler_globals->function_table, 1024, NULL, ZEND_FUNCTION_DTOR, 1, 0); in compiler_globals_ctor()
621 zend_hash_copy(compiler_globals->function_table, global_function_table, function_copy_ctor); in compiler_globals_ctor()
645 if (compiler_globals->function_table != GLOBAL_FUNCTION_TABLE) { in compiler_globals_dtor()
646 zend_hash_destroy(compiler_globals->function_table); in compiler_globals_dtor()
647 free(compiler_globals->function_table); in compiler_globals_dtor()
870 compiler_globals->function_table = (HashTable *) malloc(sizeof(HashTable)); in zend_startup()
873 *compiler_globals->function_table = *GLOBAL_FUNCTION_TABLE; in zend_startup()
935 *GLOBAL_FUNCTION_TABLE = *compiler_globals->function_table; in zend_post_startup()
[all …]
H A Dzend_execute_API.c137 EG(function_table) = CG(function_table); in init_executor()
183 EG(persistent_functions_count) = EG(function_table)->nNumUsed; in init_executor()
285 zend_hash_discard(EG(function_table), EG(persistent_functions_count)); in shutdown_executor()
317 zend_hash_reverse_apply(EG(function_table), clean_non_persistent_function_full); in shutdown_executor()
332 ZEND_HASH_REVERSE_FOREACH_STR_KEY_VAL(EG(function_table), key, zv) { in shutdown_executor()
1423 ZEND_HASH_FOREACH_PTR(&ce->function_table, func) { in zend_verify_abstract_class()
/PHP-7.3/ext/filter/
H A Dcallback_filter.c35 status = call_user_function_ex(EG(function_table), NULL, option_array, &retval, 1, args, 0, NULL); in php_filter_callback()
/PHP-7.3/ext/spl/
H A Dspl_fixedarray.c242 …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()
265 …intern->fptr_offset_get = zend_hash_str_find_ptr(&class_type->function_table, "offsetget", sizeof(… in spl_fixedarray_object_new_ex()
269 …intern->fptr_offset_set = zend_hash_str_find_ptr(&class_type->function_table, "offsetset", sizeof(… in spl_fixedarray_object_new_ex()
273 …intern->fptr_offset_has = zend_hash_str_find_ptr(&class_type->function_table, "offsetexists", size… in spl_fixedarray_object_new_ex()
277 …intern->fptr_offset_del = zend_hash_str_find_ptr(&class_type->function_table, "offsetunset", sizeo… in spl_fixedarray_object_new_ex()
281 …intern->fptr_count = zend_hash_str_find_ptr(&class_type->function_table, "count", sizeof("count") … in spl_fixedarray_object_new_ex()
H A Dspl_array.c222 …intern->fptr_offset_get = zend_hash_str_find_ptr(&class_type->function_table, "offsetget", sizeof(… in spl_array_object_new_ex()
226 …intern->fptr_offset_set = zend_hash_str_find_ptr(&class_type->function_table, "offsetset", sizeof(… in spl_array_object_new_ex()
230 …intern->fptr_offset_has = zend_hash_str_find_ptr(&class_type->function_table, "offsetexists", size… in spl_array_object_new_ex()
234 …intern->fptr_offset_del = zend_hash_str_find_ptr(&class_type->function_table, "offsetunset", size… in spl_array_object_new_ex()
238 …intern->fptr_count = zend_hash_str_find_ptr(&class_type->function_table, "count", sizeof("count") … 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()
251 …class_type->iterator_funcs_ptr->zf_next = zend_hash_str_find_ptr(&class_type->function_table, "nex… in spl_array_object_new_ex()
1479 call_user_function(EG(function_table), NULL, &function_name, return_value, 1, params); in spl_array_method()
1490 call_user_function(EG(function_table), NULL, &function_name, return_value, arg ? 2 : 1, params); in spl_array_method()
[all …]
H A Dspl_dllist.c428 …intern->fptr_offset_get = zend_hash_str_find_ptr(&class_type->function_table, "offsetget", sizeof(… in spl_dllist_object_new_ex()
432 …intern->fptr_offset_set = zend_hash_str_find_ptr(&class_type->function_table, "offsetset", sizeof(… in spl_dllist_object_new_ex()
436 …intern->fptr_offset_has = zend_hash_str_find_ptr(&class_type->function_table, "offsetexists", size… in spl_dllist_object_new_ex()
440 …intern->fptr_offset_del = zend_hash_str_find_ptr(&class_type->function_table, "offsetunset", sizeo… in spl_dllist_object_new_ex()
444 …intern->fptr_count = zend_hash_str_find_ptr(&class_type->function_table, "count", sizeof("count") … in spl_dllist_object_new_ex()
/PHP-7.3/ext/opcache/Optimizer/
H A Dzend_optimizer.c998 } else if ((func = zend_hash_find_ptr(EG(function_table), function_name)) != NULL) { in zend_optimizer_get_called_func()
1033 return zend_hash_find_ptr(&ce->function_table, func_name); in zend_optimizer_get_called_func()
1043 &op_array->scope->function_table, method_name); in zend_optimizer_get_called_func()
1438 &ctx->script->function_table, in zend_adjust_fcall_stack_size()
1486 ZEND_HASH_FOREACH_PTR(&script->function_table, op_array) { in zend_optimize_script()
1491 ZEND_HASH_FOREACH_STR_KEY_PTR(&ce->function_table, name, op_array) { in zend_optimize_script()
1591 ZEND_HASH_FOREACH_STR_KEY_PTR(&ce->function_table, name, op_array) { in zend_optimize_script()
1610 ZEND_HASH_FOREACH_PTR(&script->function_table, op_array) { in zend_optimize_script()
1615 ZEND_HASH_FOREACH_STR_KEY_PTR(&ce->function_table, name, op_array) { in zend_optimize_script()
1634 ZEND_HASH_FOREACH_PTR(&script->function_table, op_array) { in zend_optimize_script()
[all …]
H A Dzend_optimizer.h87 HashTable function_table; member
H A Dzend_call_graph.c62 ZEND_HASH_FOREACH_PTR(&script->function_table, op_array) { in zend_foreach_op_array()
69 ZEND_HASH_FOREACH_PTR(&ce->function_table, op_array) { in zend_foreach_op_array()
/PHP-7.3/ext/oci8/
H A Doci8_failover.c65 …if (call_user_function(EG(function_table), NULL, &connection->taf_callback, &retval, 3, params) ==… in callback_fn()
/PHP-7.3/ext/com_dotnet/
H A Dcom_wrapper.c289 if (SUCCESS == call_user_function(EG(function_table), &disp->object, name, in disp_invokeex()
495 zend_hash_internal_pointer_reset_ex(&Z_OBJCE(disp->object)->function_table, &pos); in generate_dispids()
497 zend_hash_get_current_key_ex(&Z_OBJCE(disp->object)->function_table, in generate_dispids()
508 zend_hash_move_forward_ex(&Z_OBJCE(disp->object)->function_table, &pos); in generate_dispids()
/PHP-7.3/ext/standard/
H A Dassert.c230 call_user_function(CG(function_table), NULL, &ASSERTG(callback), &retval, 3, args); in PHP_FUNCTION()
235 call_user_function(CG(function_table), NULL, &ASSERTG(callback), &retval, 4, args); in PHP_FUNCTION()
/PHP-7.3/ext/soap/
H A Dsoap.c1350 ft = &(Z_OBJCE(service->soap_object)->function_table); in PHP_METHOD()
1352 ft = &service->soap_class.ce->function_table; in PHP_METHOD()
1354 ft = EG(function_table); in PHP_METHOD()
1414 if ((f = zend_hash_find_ptr(EG(function_table), key)) == NULL) { in PHP_METHOD()
1431 if ((f = zend_hash_find_ptr(EG(function_table), key)) == NULL) { in PHP_METHOD()
1494 HashTable *function_table; local
1661 function_table = &((Z_OBJCE_P(soap_obj))->function_table);
1755 function_table = &((Z_OBJCE_P(soap_obj))->function_table);
1758 function_table = EG(function_table);
1760 function_table = service->soap_functions.ft;
[all …]
/PHP-7.3/ext/session/
H A Dmod_user.c38 if (call_user_function(EG(function_table), NULL, func, retval, argc, argv) == FAILURE) { in ps_call_handler()
/PHP-7.3/ext/readline/
H A Dreadline.c516 …if (call_user_function(CG(function_table), NULL, &_readline_completion, &_readline_array, 3, param… in _readline_completion_cb()
575 call_user_function(CG(function_table), NULL, &_prepped_callback, &dummy, 1, params); in php_rl_callback_handler()

Completed in 95 milliseconds

1234