Home
last modified time | relevance | path

Searched refs:function_table (Results 1 – 25 of 59) sorted by path

123

/PHP-7.4/Zend/
H A Dzend.c54 # define GLOBAL_FUNCTION_TABLE CG(function_table)
634 compiler_globals->function_table = (HashTable *) malloc(sizeof(HashTable)); in compiler_globals_ctor()
635 zend_hash_init_ex(compiler_globals->function_table, 1024, NULL, ZEND_FUNCTION_DTOR, 1, 0); in compiler_globals_ctor()
669 if (compiler_globals->function_table != GLOBAL_FUNCTION_TABLE) { in compiler_globals_dtor()
670 zend_hash_destroy(compiler_globals->function_table); in compiler_globals_dtor()
671 free(compiler_globals->function_table); in compiler_globals_dtor()
892 compiler_globals->function_table = (HashTable *) malloc(sizeof(HashTable)); in zend_startup()
895 *compiler_globals->function_table = *GLOBAL_FUNCTION_TABLE; in zend_startup()
1015 *GLOBAL_FUNCTION_TABLE = *compiler_globals->function_table; in zend_post_startup()
1024 free(compiler_globals->function_table); in zend_post_startup()
[all …]
H A Dzend.h126 HashTable function_table; member
H A Dzend_API.c2146 HashTable *target_function_table = function_table; in zend_register_functions()
2161 target_function_table = CG(function_table); in zend_register_functions()
2492 HashTable *target_function_table = function_table; in zend_unregister_functions()
2497 target_function_table = CG(function_table); in zend_unregister_functions()
2903 zend_hash_clean(&disabled_class->function_table); in zend_disable_class()
3087 ftable = &fcc->calling_scope->function_table; in zend_is_callable_check_func()
3097 ftable = &ce_org->function_table; in zend_is_callable_check_func()
3124 zv = zend_hash_find(&scope->function_table, lmname); in zend_is_callable_check_func()
4420 HashTable *function_table; in zend_resolve_method_name() local
4430 function_table = &ce->function_table; in zend_resolve_method_name()
[all …]
H A Dzend_API.h271 …end_class_entry *scope, const zend_function_entry *functions, HashTable *function_table, int type);
272 …d_unregister_functions(const zend_function_entry *functions, int count, HashTable *function_table);
465 #define call_user_function(function_table, object, function_name, retval_ptr, param_count, params) \ argument
467 #define call_user_function_ex(function_table, object, function_name, retval_ptr, param_count, param… argument
H A Dzend_builtin_functions.c1321 ZEND_HASH_FOREACH_STR_KEY_PTR(&ce->function_table, key, mptr) { in ZEND_FUNCTION()
1370 func = zend_hash_find_ptr(&ce->function_table, lcname); in ZEND_FUNCTION()
1528 func = zend_hash_find_ptr(EG(function_table), lcname); in ZEND_FUNCTION()
1820 ZEND_HASH_FOREACH_STR_KEY_PTR(EG(function_table), key, func) { in ZEND_FUNCTION()
1899 …func = zend_hash_str_find_ptr(EG(function_table), LAMBDA_TEMP_FUNCNAME, sizeof(LAMBDA_TEMP_FUNCNAM… in ZEND_FUNCTION()
1909 zend_hash_str_del(EG(function_table), LAMBDA_TEMP_FUNCNAME, sizeof(LAMBDA_TEMP_FUNCNAME)-1); in ZEND_FUNCTION()
1917 } while (zend_hash_add_ptr(EG(function_table), function_name, func) == NULL); in ZEND_FUNCTION()
1920 zend_hash_str_del(EG(function_table), LAMBDA_TEMP_FUNCNAME, sizeof(LAMBDA_TEMP_FUNCNAME)-1); in ZEND_FUNCTION()
2675 ZEND_HASH_FOREACH_PTR(CG(function_table), zif) { in ZEND_FUNCTION()
H A Dzend_closures.c52 …if (call_user_function(CG(function_table), NULL, ZEND_THIS, return_value, ZEND_NUM_ARGS(), argumen… in ZEND_METHOD()
H A Dzend_compile.c1023 zval *zv = zend_hash_find_ex(compile_time ? CG(function_table) : EG(function_table), lcname, 1); in do_bind_function_error()
1047 zv = zend_hash_find_ex(EG(function_table), Z_STR_P(rtd_key), 1); in do_bind_function()
1055 zv = zend_hash_add(EG(function_table), Z_STR_P(lcname), zv); in do_bind_function()
1057 zv = zend_hash_set_bucket_key(EG(function_table), (Bucket*)zv, Z_STR_P(lcname)); in do_bind_function()
3377 fbc = zend_hash_find_ptr(CG(function_table), lcname); in zend_try_compile_ct_bound_init_user_func()
3867 fbc = zend_hash_find_ptr(CG(function_table), lcname); in zend_compile_call()
3943 fbc = zend_hash_find_ptr(&CG(active_class_entry)->function_table, lcname); in zend_compile_method_call()
4020 fbc = zend_hash_find_ptr(&ce->function_table, lcname); in zend_compile_static_call()
5762 if (zend_hash_add_ptr(&ce->function_table, lcname, op_array) == NULL) { in zend_begin_method_decl()
5943 if (UNEXPECTED(zend_hash_add_ptr(CG(function_table), lcname, op_array) == NULL)) { in zend_begin_func_decl()
[all …]
H A Dzend_execute.c3651 zval *zv = zend_hash_find(EG(function_table), name); in zend_fetch_function()
3666 zval *zv = zend_hash_str_find(EG(function_table), name, len); in zend_fetch_function_str()
4089 if (UNEXPECTED((func = zend_hash_find(EG(function_table), lcname)) == NULL)) { in zend_init_dynamic_call_string()
H A Dzend_execute_API.c139 EG(function_table) = CG(function_table); in init_executor()
186 EG(persistent_functions_count) = EG(function_table)->nNumUsed; in init_executor()
282 ZEND_HASH_REVERSE_FOREACH_VAL(EG(function_table), zv) { in shutdown_executor()
304 ZEND_HASH_FOREACH_PTR(&ce->function_table, op_array) { in shutdown_executor()
357 zend_hash_discard(EG(function_table), EG(persistent_functions_count)); in shutdown_executor()
365 zend_hash_reverse_apply(EG(function_table), clean_non_persistent_function_full); in shutdown_executor()
381 ZEND_HASH_REVERSE_FOREACH_STR_KEY_VAL(EG(function_table), key, zv) { in shutdown_executor()
H A Dzend_globals.h60 #undef function_table
77 HashTable *function_table; /* function symbol table */ member
155 HashTable *function_table; /* function symbol table */ member
H A Dzend_inheritance.c895 _zend_hash_append_ptr(&ce->function_table, key, parent); in do_inherit_method()
897 zend_hash_add_new_ptr(&ce->function_table, key, parent); in do_inherit_method()
1323 if (zend_hash_num_elements(&parent_ce->function_table)) { in zend_do_inheritance_ex()
1324 zend_hash_extend(&ce->function_table, in zend_do_inheritance_ex()
1325 zend_hash_num_elements(&ce->function_table) + in zend_do_inheritance_ex()
1326 zend_hash_num_elements(&parent_ce->function_table), 0); in zend_do_inheritance_ex()
1782 if (!zend_hash_exists(&trait->function_table, lcname)) { in zend_traits_init_trait_structures()
1850 if (!zend_hash_exists(&trait->function_table, lcname)) { in zend_traits_init_trait_structures()
1896 ZEND_HASH_FOREACH_PTR(&ce->function_table, fn) { in zend_do_traits_method_binding()
2073 if (zend_hash_exists(&ce->function_table, in zend_do_check_for_inconsistent_traits_aliasing()
[all …]
H A Dzend_interfaces.c70 &obj_ce->function_table, function_name, function_name_len); in zend_call_method()
357 …funcs_ptr->zf_new_iterator = zend_hash_str_find_ptr(&class_type->function_table, "getiterator", si… in zend_implement_aggregate()
404 …funcs_ptr->zf_rewind = zend_hash_str_find_ptr(&class_type->function_table, "rewind", sizeof("rewin… in zend_implement_iterator()
405 …funcs_ptr->zf_valid = zend_hash_str_find_ptr(&class_type->function_table, "valid", sizeof("valid")… in zend_implement_iterator()
406 … funcs_ptr->zf_key = zend_hash_str_find_ptr(&class_type->function_table, "key", sizeof("key") - 1); in zend_implement_iterator()
407 …funcs_ptr->zf_current = zend_hash_str_find_ptr(&class_type->function_table, "current", sizeof("cur… in zend_implement_iterator()
408 …funcs_ptr->zf_next = zend_hash_str_find_ptr(&class_type->function_table, "next", sizeof("next") - … in zend_implement_iterator()
H A Dzend_object_handlers.c1216 func = zend_hash_find(&scope->function_table, function_name); in zend_get_parent_private_method()
1341 if (UNEXPECTED((func = zend_hash_find(&zobj->ce->function_table, lc_method_name)) == NULL)) { in zend_std_get_method()
1409 zval *func = zend_hash_find(&ce->function_table, lc_function_name); in zend_std_get_static_method()
1859 …if ((func = zend_hash_find_ex(&ce->function_table, ZSTR_KNOWN(ZEND_STR_MAGIC_INVOKE), 1)) == NULL)… in zend_std_get_closure()
H A Dzend_opcode.c256 ZEND_HASH_FOREACH_PTR(&ce->function_table, op_array) { in destroy_zend_class()
313 zend_hash_destroy(&ce->function_table); in destroy_zend_class()
375 ZEND_HASH_FOREACH_PTR(&ce->function_table, fn) { in destroy_zend_class()
382 zend_hash_destroy(&ce->function_table); in destroy_zend_class()
H A Dzend_portability.h495 #undef function_table
H A Dzend_vm_def.h3766 func = zend_hash_find_ex(EG(function_table), Z_STR_P(function_name+1), 1);
3925 func = zend_hash_find_ex(EG(function_table), Z_STR_P(func_name + 1), 1);
3927 func = zend_hash_find_ex(EG(function_table), Z_STR_P(func_name + 2), 1);
3958 func = zend_hash_find_ex(EG(function_table), Z_STR_P(fname), 1);
7646 zfunc = zend_hash_find_ex(EG(function_table), Z_STR_P(RT_CONSTANT(opline, opline->op1)), 1);
H A Dzend_vm_execute.h2913 func = zend_hash_find_ex(EG(function_table), Z_STR_P(function_name+1), 1); in ZEND_INIT_FCALL_BY_NAME_SPEC_CONST_HANDLER()
2996 func = zend_hash_find_ex(EG(function_table), Z_STR_P(func_name + 1), 1); in ZEND_INIT_NS_FCALL_BY_NAME_SPEC_CONST_HANDLER()
2998 func = zend_hash_find_ex(EG(function_table), Z_STR_P(func_name + 2), 1); in ZEND_INIT_NS_FCALL_BY_NAME_SPEC_CONST_HANDLER()
3029 func = zend_hash_find_ex(EG(function_table), Z_STR_P(fname), 1); in ZEND_INIT_FCALL_SPEC_CONST_HANDLER()
9532 zfunc = zend_hash_find_ex(EG(function_table), Z_STR_P(RT_CONSTANT(opline, opline->op1)), 1); in ZEND_DECLARE_LAMBDA_FUNCTION_SPEC_CONST_UNUSED_HANDLER()
/PHP-7.4/ext/com_dotnet/
H A Dcom_wrapper.c495 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.4/ext/ffi/
H A Dffi.c5022 …memcpy(&zend_ffi_new_fn, zend_hash_str_find_ptr(&zend_ffi_ce->function_table, "new", sizeof("new")…
5024 …memcpy(&zend_ffi_cast_fn, zend_hash_str_find_ptr(&zend_ffi_ce->function_table, "cast", sizeof("cas…
5026 …memcpy(&zend_ffi_type_fn, zend_hash_str_find_ptr(&zend_ffi_ce->function_table, "type", sizeof("typ…
/PHP-7.4/ext/ldap/
H A Dldap.c3773 …if (call_user_function_ex(EG(function_table), NULL, &ld->rebindproc, &cb_retval, 2, cb_args, 0, NU… in _ldap_rebind_proc()
/PHP-7.4/ext/mbstring/
H A Dmbstring.c1650 !zend_hash_str_exists(CG(function_table), p->save_func, strlen(p->save_func)) in PHP_MINIT_FUNCTION()
1652 func = zend_hash_str_find_ptr(CG(function_table), p->ovld_func, strlen(p->ovld_func)); in PHP_MINIT_FUNCTION()
1654 …if ((orig = zend_hash_str_find_ptr(CG(function_table), p->orig_func, strlen(p->orig_func))) == NUL… in PHP_MINIT_FUNCTION()
1660 zend_hash_add_mem(CG(function_table), str, orig, sizeof(zend_internal_function)); in PHP_MINIT_FUNCTION()
1665 zend_hash_update_mem(CG(function_table), str, func, sizeof(zend_internal_function)); in PHP_MINIT_FUNCTION()
1689 (orig = zend_hash_str_find_ptr(CG(function_table), p->save_func, strlen(p->save_func)))) { in PHP_MSHUTDOWN_FUNCTION()
1691 …zend_hash_str_update_mem(CG(function_table), p->orig_func, strlen(p->orig_func), orig, sizeof(zend… in PHP_MSHUTDOWN_FUNCTION()
1693 zend_hash_str_del(CG(function_table), p->save_func, strlen(p->save_func)); in PHP_MSHUTDOWN_FUNCTION()
/PHP-7.4/ext/opcache/Optimizer/
H A Dblock_pass.c390 if((function = zend_hash_find_ptr(EG(function_table), Z_STR_P(arg))) != NULL) { in zend_optimize_block()
H A Dpass1_5.c354 if ((func = zend_hash_find_ptr(EG(function_table), lc_name)) != NULL in zend_optimizer_pass1()
H A Dsccp.c1032 func = zend_hash_find_ptr(CG(function_table), name); in ct_eval_func_call()
H A Dzend_call_graph.c63 ZEND_HASH_FOREACH_PTR(&script->function_table, op_array) { in zend_foreach_op_array()
73 ZEND_HASH_FOREACH_PTR(&ce->function_table, op_array) { in zend_foreach_op_array()

Completed in 353 milliseconds

123