/PHP-8.0/Zend/ |
H A D | zend.h | 126 HashTable function_table; member
|
H A D | zend_execute.c | 3690 zval *zv = zend_hash_find(EG(function_table), name); in zend_fetch_function() 3705 zval *zv = zend_hash_str_find(EG(function_table), name, len); in zend_fetch_function_str() 4258 if (UNEXPECTED((func = zend_hash_find(EG(function_table), lcname)) == NULL)) { in zend_init_dynamic_call_string()
|
H A D | zend_vm_execute.h | 3429 func = zend_hash_find_ex(EG(function_table), Z_STR_P(function_name+1), 1); in ZEND_INIT_FCALL_BY_NAME_SPEC_CONST_HANDLER() 3511 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() 3513 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() 3544 func = zend_hash_find_ex(EG(function_table), Z_STR_P(fname), 1); in ZEND_INIT_FCALL_SPEC_CONST_HANDLER() 10206 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()
|
H A D | zend_vm_def.h | 3709 func = zend_hash_find_ex(EG(function_table), Z_STR_P(function_name+1), 1); 3853 func = zend_hash_find_ex(EG(function_table), Z_STR_P(func_name + 1), 1); 3855 func = zend_hash_find_ex(EG(function_table), Z_STR_P(func_name + 2), 1); 3886 func = zend_hash_find_ex(EG(function_table), Z_STR_P(fname), 1); 7921 zfunc = zend_hash_find_ex(EG(function_table), Z_STR_P(RT_CONSTANT(opline, opline->op1)), 1);
|
H A D | zend_compile.c | 1057 zval *zv = zend_hash_find_ex(compile_time ? CG(function_table) : EG(function_table), lcname, 1); in do_bind_function_error() 1081 zv = zend_hash_find_ex(EG(function_table), Z_STR_P(rtd_key), 1); in do_bind_function() 1089 zv = zend_hash_add(EG(function_table), Z_STR_P(lcname), zv); in do_bind_function() 1091 zv = zend_hash_set_bucket_key(EG(function_table), (Bucket*)zv, Z_STR_P(lcname)); in do_bind_function() 1827 zend_hash_init(&ce->function_table, 8, NULL, ZEND_FUNCTION_DTOR, persistent_hashes); in zend_initialize_class_data() 3821 fbc = zend_hash_find_ptr(CG(function_table), lcname); in zend_try_compile_ct_bound_init_user_func() 4324 fbc = zend_hash_find_ptr(CG(function_table), lcname); in zend_compile_call() 4412 fbc = zend_hash_find_ptr(&CG(active_class_entry)->function_table, lcname); in zend_compile_method_call() 4433 zend_function *fbc = zend_hash_find_ptr(&ce->function_table, lcname); in zend_get_compatible_func_or_null() 6823 if (zend_hash_add_ptr(&ce->function_table, lcname, op_array) == NULL) { in zend_begin_method_decl() [all …]
|
H A D | zend_API.c | 2324 HashTable *target_function_table = function_table; in ZEND_END_ARG_INFO() 2336 target_function_table = CG(function_table); in ZEND_END_ARG_INFO() 2560 HashTable *target_function_table = function_table; in zend_unregister_functions() 2565 target_function_table = CG(function_table); in zend_unregister_functions() 2912 zend_hash_str_del(CG(function_table), function_name, function_name_length); in zend_disable_function() 2946 zend_hash_rehash(CG(function_table)); in zend_disable_functions() 2998 ZEND_HASH_FOREACH_PTR(&disabled_class->function_table, fn) { in zend_disable_class() 3004 zend_hash_clean(&disabled_class->function_table); in zend_disable_class() 3184 ftable = &fcc->calling_scope->function_table; in zend_is_callable_check_func() 3194 ftable = &ce_org->function_table; in zend_is_callable_check_func() [all …]
|
H A D | zend_API.h | 319 …end_class_entry *scope, const zend_function_entry *functions, HashTable *function_table, int type); 320 …d_unregister_functions(const zend_function_entry *functions, int count, HashTable *function_table); 513 #define call_user_function(function_table, object, function_name, retval_ptr, param_count, params) \ argument 516 #define call_user_function_named(function_table, object, function_name, retval_ptr, param_count, pa… argument
|
H A D | zend_execute_API.c | 141 EG(function_table) = CG(function_table); in init_executor() 185 EG(persistent_functions_count) = EG(function_table)->nNumUsed; in init_executor() 283 ZEND_HASH_REVERSE_FOREACH_VAL(EG(function_table), zv) { in shutdown_executor() 303 ZEND_HASH_FOREACH_PTR(&ce->function_table, op_array) { in shutdown_executor() 354 zend_hash_discard(EG(function_table), EG(persistent_functions_count)); in shutdown_executor() 362 zend_hash_reverse_apply(EG(function_table), clean_non_persistent_function_full); in shutdown_executor() 378 ZEND_HASH_REVERSE_FOREACH_STR_KEY_VAL(EG(function_table), key, zv) { in shutdown_executor()
|
/PHP-8.0/ext/xmlreader/ |
H A D | php_xmlreader.c | 1189 …memcpy(&xmlreader_open_fn, zend_hash_str_find_ptr(&xmlreader_class_entry->function_table, "open", … in PHP_MINIT_FUNCTION() 1191 …memcpy(&xmlreader_xml_fn, zend_hash_str_find_ptr(&xmlreader_class_entry->function_table, "xml", si… in PHP_MINIT_FUNCTION()
|
/PHP-8.0/ext/simplexml/ |
H A D | simplexml.c | 2217 fptr_count = zend_hash_str_find_ptr(&ce->function_table, "count", sizeof("count") - 1); in php_sxe_find_fptr_count()
|
/PHP-8.0/ext/soap/ |
H A D | php_http.c | 402 if (call_user_function(CG(function_table), (zval*)NULL, &func, &retval, n, params) == SUCCESS && in make_http_soap_request() 1283 zend_hash_str_exists(EG(function_table), "gzinflate", sizeof("gzinflate")-1)) { in make_http_soap_request() 1287 zend_hash_str_exists(EG(function_table), "gzuncompress", sizeof("gzuncompress")-1)) { in make_http_soap_request() 1300 if (call_user_function(CG(function_table), (zval*)NULL, &func, &retval, 1, params) == SUCCESS && in make_http_soap_request()
|
H A D | soap.c | 1066 ft = &(Z_OBJCE(service->soap_object)->function_table); in PHP_METHOD() 1068 ft = &service->soap_class.ce->function_table; in PHP_METHOD() 1070 ft = EG(function_table); in PHP_METHOD() 1129 if ((f = zend_hash_find_ptr(EG(function_table), key)) == NULL) { in PHP_METHOD() 1146 if ((f = zend_hash_find_ptr(EG(function_table), key)) == NULL) { in PHP_METHOD() 1211 HashTable *function_table; local 1388 function_table = &((Z_OBJCE_P(soap_obj))->function_table); 1482 function_table = &((Z_OBJCE_P(soap_obj))->function_table); 1485 function_table = EG(function_table); 1487 function_table = service->soap_functions.ft; [all …]
|
/PHP-8.0/ext/opcache/jit/ |
H A D | zend_jit.c | 3691 void zend_jit_check_funcs(HashTable *function_table, zend_bool is_method) { in zend_jit_check_funcs() argument 3698 ZEND_HASH_REVERSE_FOREACH_PTR(function_table, func) { in zend_jit_check_funcs() 4005 ZEND_HASH_FOREACH_PTR(&ce->function_table, op_array) { in zend_jit_script() 4475 zend_jit_check_funcs(EG(function_table), 0); in zend_jit_deactivate() 4480 zend_jit_check_funcs(&ce->function_table, 1); in zend_jit_deactivate() 4531 ZEND_HASH_FOREACH_PTR(&script->script.function_table, op_array) { in zend_jit_restart_preloaded_script() 4536 ZEND_HASH_FOREACH_PTR(&ce->function_table, op_array) { in zend_jit_restart_preloaded_script()
|
/PHP-8.0/ext/session/ |
H A D | session.c | 1992 ZEND_HASH_FOREACH_STR_KEY(&php_session_iface_entry->function_table, func_name) { in PHP_FUNCTION() 1993 if ((current_mptr = zend_hash_find_ptr(&Z_OBJCE_P(obj)->function_table, func_name))) { in PHP_FUNCTION() 2011 ZEND_HASH_FOREACH_STR_KEY(&php_session_id_iface_entry->function_table, func_name) { in PHP_FUNCTION() 2012 if ((current_mptr = zend_hash_find_ptr(&Z_OBJCE_P(obj)->function_table, func_name))) { in PHP_FUNCTION() 2031 ZEND_HASH_FOREACH_STR_KEY(&php_session_update_timestamp_iface_entry->function_table, func_name) { in PHP_FUNCTION() 2032 if ((current_mptr = zend_hash_find_ptr(&Z_OBJCE_P(obj)->function_table, func_name))) { in PHP_FUNCTION()
|
/PHP-8.0/ext/opcache/ |
H A D | ZendAccelerator.c | 586 ZEND_HASH_FOREACH_BUCKET(CG(function_table), p) { in accel_copy_permanent_strings() 642 ZEND_HASH_FOREACH_BUCKET(&ce->function_table, q) { in accel_copy_permanent_strings() 1773 orig_functions_count = EG(function_table)->nNumUsed; in opcache_compile_file() 1821 …zend_accel_move_user_functions(CG(function_table), CG(function_table)->nNumUsed - orig_functions_c… in opcache_compile_file() 3283 if (EG(function_table)) { 4326 Bucket *p = script->function_table.arData; 4327 Bucket *end = p + script->function_table.nNumUsed; 4329 zend_hash_extend(CG(function_table), 4330 CG(function_table)->nNumUsed + script->function_table.nNumUsed, 0); 4350 if (EG(function_table)) { [all …]
|
/PHP-8.0/ext/reflection/ |
H A D | php_reflection.c | 429 count = zend_hash_num_elements(&ce->function_table); in _class_string() 433 ZEND_HASH_FOREACH_PTR(&ce->function_table, mptr) { in _class_string() 447 ZEND_HASH_FOREACH_PTR(&ce->function_table, mptr) { in _class_string() 499 count = zend_hash_num_elements(&ce->function_table) - count_static_funcs; in _class_string() 505 ZEND_HASH_FOREACH_PTR(&ce->function_table, mptr) { in _class_string() 1053 ZEND_HASH_FOREACH_PTR(CG(function_table), fptr) { in _extension_string() 2289 fptr = zend_hash_find_ptr(EG(function_table), lcname); in ZEND_METHOD() 2339 } else if ((fptr = zend_hash_find_ptr(&ce->function_table, lcname)) == NULL) { in ZEND_METHOD() 4201 } else if ((mptr = zend_hash_find_ptr(&ce->function_table, lc_name)) != NULL) { in ZEND_METHOD() 4248 ZEND_HASH_FOREACH_PTR(&ce->function_table, mptr) { in ZEND_METHOD() [all …]
|
/PHP-8.0/ext/spl/ |
H A D | spl_directory.c | 339 …intern->u.file.func_getCurr = zend_hash_str_find_ptr(&intern->std.ce->function_table, "getcurrentl… in spl_filesystem_file_open()
|
H A D | spl_iterators.c | 559 …intern->beginIteration = zend_hash_str_find_ptr(&intern->ce->function_table, "beginiteration", siz… in spl_recursive_it_it_construct() 563 …intern->endIteration = zend_hash_str_find_ptr(&intern->ce->function_table, "enditeration", sizeof(… in spl_recursive_it_it_construct() 567 …intern->callHasChildren = zend_hash_str_find_ptr(&intern->ce->function_table, "callhaschildren", s… in spl_recursive_it_it_construct() 571 …intern->callGetChildren = zend_hash_str_find_ptr(&intern->ce->function_table, "callgetchildren", s… in spl_recursive_it_it_construct() 575 …intern->beginChildren = zend_hash_str_find_ptr(&intern->ce->function_table, "beginchildren", sizeo… in spl_recursive_it_it_construct() 579 …intern->endChildren = zend_hash_str_find_ptr(&intern->ce->function_table, "endchildren", sizeof("e… in spl_recursive_it_it_construct() 583 …intern->nextElement = zend_hash_str_find_ptr(&intern->ce->function_table, "nextelement", sizeof("n… in spl_recursive_it_it_construct() 890 if ((function_handler = zend_hash_find_ptr(&Z_OBJCE_P(zobj)->function_table, method)) == NULL) { in spl_recursive_it_get_method() 1257 if ((function_handler = zend_hash_find_ptr(&intern->inner.ce->function_table, method)) == NULL) { in spl_dual_it_get_method()
|
/PHP-8.0/sapi/phpdbg/ |
H A D | phpdbg.c | 585 ZEND_HASH_FOREACH_STR_KEY_PTR(EG(function_table), name, func) { in PHP_FUNCTION() 602 ZEND_HASH_FOREACH_PTR(&ce->function_table, func) { in PHP_FUNCTION() 1079 zend_hash_num_elements(EG(function_table)), in phpdbg_welcome()
|
/PHP-8.0/ext/opcache/Optimizer/ |
H A D | block_pass.c | 337 if((function = zend_hash_find_ptr(EG(function_table), Z_STR_P(arg))) != NULL) { in zend_optimize_block()
|
H A D | sccp.c | 910 zend_function *func = zend_hash_find_ptr(CG(function_table), name); in ct_eval_func_call()
|
H A D | zend_optimizer.c | 801 if (script && (func = zend_hash_find_ptr(&script->function_table, function_name)) != NULL) { in zend_optimizer_get_called_func() 803 } else if ((func = zend_hash_find_ptr(EG(function_table), function_name)) != NULL) { in zend_optimizer_get_called_func() 819 if (script && (func = zend_hash_find_ptr(&script->function_table, Z_STR_P(function_name)))) { in zend_optimizer_get_called_func() 821 } else if ((func = zend_hash_find_ptr(EG(function_table), Z_STR_P(function_name))) != NULL) { in zend_optimizer_get_called_func() 838 zend_function *fbc = zend_hash_find_ptr(&ce->function_table, func_name); in zend_optimizer_get_called_func() 857 &op_array->scope->function_table, method_name); in zend_optimizer_get_called_func() 1328 &ctx->script->function_table, in zend_adjust_fcall_stack_size() 1384 ZEND_HASH_FOREACH_PTR(&script->function_table, op_array) { in zend_foreach_op_array() 1392 ZEND_HASH_FOREACH_PTR(&ce->function_table, op_array) { in zend_foreach_op_array() 1542 ZEND_HASH_FOREACH_STR_KEY_PTR(&ce->function_table, name, op_array) { in zend_optimize_script() [all …]
|
/PHP-8.0/ext/zip/ |
H A D | php_zip.c | 2914 …if (call_user_function(EG(function_table), NULL, &obj->progress_callback, &cb_retval, 1, cb_args) … 2958 …if (call_user_function(EG(function_table), NULL, &obj->cancel_callback, &cb_retval, 0, NULL) == SU…
|
/PHP-8.0/ext/pdo/ |
H A D | pdo_stmt.c | 2118 if ((fbc = zend_hash_find_ptr(&object->ce->function_table, lc_method_name)) == NULL) { in dbstmt_method_get() 2535 if ((fbc = zend_hash_find_ptr(&pdo_row_ce->function_table, lc_method_name)) == NULL) { in row_method_get()
|
/PHP-8.0/ext/ffi/ |
H A D | ffi.c | 4954 …memcpy(&zend_ffi_new_fn, zend_hash_str_find_ptr(&zend_ffi_ce->function_table, "new", sizeof("new")… 4956 …memcpy(&zend_ffi_cast_fn, zend_hash_str_find_ptr(&zend_ffi_ce->function_table, "cast", sizeof("cas… 4958 …memcpy(&zend_ffi_type_fn, zend_hash_str_find_ptr(&zend_ffi_ce->function_table, "type", sizeof("typ…
|