/php-src/ext/sodium/ |
H A D | libsodium_arginfo.h | 1234 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box", sizeo… in register_libsodium_symbols() 1236 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box", sizeo… in register_libsodium_symbols() 1352 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_compare", sizeof("… in register_libsodium_symbols() 1354 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_compare", sizeof("… in register_libsodium_symbols() 1356 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_memcmp", sizeof("s… in register_libsodium_symbols() 1358 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_memcmp", sizeof("s… in register_libsodium_symbols() 1360 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_memzero", sizeof("… in register_libsodium_symbols() 1362 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_pad", sizeof("sodi… in register_libsodium_symbols() 1364 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_unpad", sizeof("so… in register_libsodium_symbols() 1366 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_bin2hex", sizeof("… in register_libsodium_symbols() [all …]
|
/php-src/ext/openssl/ |
H A D | openssl_arginfo.h | 649 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_csr_sign", sizeof… in register_openssl_symbols() 651 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_csr_new", sizeof(… in register_openssl_symbols() 669 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pbkdf2", sizeof("… in register_openssl_symbols() 677 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_cms_sign", sizeof… in register_openssl_symbols() 695 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_sign", sizeof("op… in register_openssl_symbols() 697 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_seal", sizeof("op… in register_openssl_symbols() 699 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_open", sizeof("op… in register_openssl_symbols() 701 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_open", sizeof("op… in register_openssl_symbols() 703 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_encrypt", sizeof(… in register_openssl_symbols() 705 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_encrypt", sizeof(… in register_openssl_symbols() [all …]
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_print.c | 136 zend_hash_num_elements(&ce->function_table)); in PHPDBG_PRINT() 138 if (zend_hash_num_elements(&ce->function_table)) { in PHPDBG_PRINT() 141 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, method) { in PHPDBG_PRINT() 161 if ((fbc = zend_hash_find_ptr(&ce->function_table, lcname))) { in PHPDBG_PRINT() 182 HashTable *func_table = EG(function_table); in PHPDBG_PRINT() 195 func_table = &scope->function_table; in PHPDBG_PRINT() 200 } else if (!EG(function_table)) { in PHPDBG_PRINT() 204 func_table = EG(function_table); in PHPDBG_PRINT() 292 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, method) { in phpdbg_print_opcodes_ce() 305 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, method) { in phpdbg_print_opcodes_ce() [all …]
|
H A D | phpdbg_list.c | 95 if ((function = zend_hash_str_find_ptr(&ce->function_table, lcname, strlen(lcname)))) { in PHPDBG_LIST() 188 HashTable *func_table = EG(function_table); in phpdbg_list_function_byname() 200 func_table = &scope->function_table; in phpdbg_list_function_byname() 205 } else if (!EG(function_table)) { in phpdbg_list_function_byname() 209 func_table = EG(function_table); in phpdbg_list_function_byname()
|
/php-src/ext/hash/ |
H A D | hash_arginfo.h | 216 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_hmac", sizeof("hash_… in register_hash_symbols() 218 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_hmac_file", sizeof("… in register_hash_symbols() 220 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_init", sizeof("hash_… in register_hash_symbols() 222 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_pbkdf2", sizeof("has… in register_hash_symbols() 224 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_equals", sizeof("has… in register_hash_symbols() 226 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_equals", sizeof("has… in register_hash_symbols() 228 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_hkdf", sizeof("hash_… in register_hash_symbols()
|
/php-src/Zend/ |
H A D | zend_interfaces.c | 57 &obj_ce->function_table, function_name, function_name_len); in zend_call_method() 304 &class_type->function_table, "getiterator", sizeof("getiterator") - 1); in zend_implement_aggregate() 343 &class_type->function_table, "rewind", sizeof("rewind") - 1); in zend_implement_iterator() 345 &class_type->function_table, "valid", sizeof("valid") - 1); in zend_implement_iterator() 347 &class_type->function_table, ZSTR_KNOWN(ZEND_STR_KEY)); in zend_implement_iterator() 349 &class_type->function_table, "current", sizeof("current") - 1); in zend_implement_iterator() 351 &class_type->function_table, "next", sizeof("next") - 1); in zend_implement_iterator() 388 &class_type->function_table, "offsetget", sizeof("offsetget") - 1); in zend_implement_arrayaccess() 390 &class_type->function_table, "offsetexists", sizeof("offsetexists") - 1); in zend_implement_arrayaccess() 392 &class_type->function_table, "offsetset", sizeof("offsetset") - 1); in zend_implement_arrayaccess() [all …]
|
H A D | zend_globals.h | 70 #undef function_table 94 HashTable *function_table; /* function symbol table */ member 183 HashTable *function_table; /* function symbol table */ member
|
H A D | zend_extensions.c | 311 size_t functions = zend_hash_num_elements(CG(function_table)); in zend_init_internal_run_time_cache() 314 functions += zend_hash_num_elements(&ce->function_table); in zend_init_internal_run_time_cache() 319 ZEND_HASH_MAP_FOREACH_PTR(CG(function_table), zif) { in zend_init_internal_run_time_cache() 327 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, zif) { in zend_init_internal_run_time_cache()
|
H A D | zend.c | 67 # define GLOBAL_FUNCTION_TABLE CG(function_table) 743 if (compiler_globals->function_table != GLOBAL_FUNCTION_TABLE) { in compiler_globals_dtor() 748 compiler_globals->function_table->nNumUsed = 0; in compiler_globals_dtor() 750 Bucket *p = compiler_globals->function_table->arData; in compiler_globals_dtor() 752 compiler_globals->function_table->nNumOfElements -= n; in compiler_globals_dtor() 759 zend_hash_destroy(compiler_globals->function_table); in compiler_globals_dtor() 760 free(compiler_globals->function_table); in compiler_globals_dtor() 1008 *compiler_globals->function_table = *GLOBAL_FUNCTION_TABLE; in zend_startup() 1087 *GLOBAL_FUNCTION_TABLE = *compiler_globals->function_table; in zend_post_startup() 1096 free(compiler_globals->function_table); in zend_post_startup() [all …]
|
H A D | zend_inheritance.c | 1652 zend_hash_extend(&ce->function_table, in zend_do_inheritance_ex() 1653 zend_hash_num_elements(&ce->function_table) + in zend_do_inheritance_ex() 1930 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, f) { in zend_inheritance_check_override() 2322 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, fn) { in zend_do_traits_method_binding() 2623 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, func) { in zend_verify_abstract_class() 2898 ce->function_table.pDestructor = ZEND_FUNCTION_DTOR; in zend_lazy_class_load() 2900 p = emalloc(HT_SIZE(&ce->function_table)); in zend_lazy_class_load() 2901 memcpy(p, HT_GET_DATA_ADDR(&ce->function_table), HT_USED_SIZE(&ce->function_table)); in zend_lazy_class_load() 2902 HT_SET_DATA_ADDR(&ce->function_table, p); in zend_lazy_class_load() 2903 p = ce->function_table.arData; in zend_lazy_class_load() [all …]
|
H A D | zend_enum.c | 106 if (zend_hash_str_exists(&ce->function_table, forbidden_method, strlen(forbidden_method))) { in zend_verify_enum_magic_methods() 427 if (!zend_hash_add_ptr(&ce->function_table, name, zif)) { in zend_enum_register_func() 516 ce, unit_enum_methods, &ce->function_table, EG(current_module)->type); in zend_register_internal_enum() 520 ce, backed_enum_methods, &ce->function_table, EG(current_module)->type); in zend_register_internal_enum()
|
H A D | zend_observer.c | 90 ZEND_HASH_FOREACH_PTR(CG(function_table), zif) { in zend_observer_post_startup() 95 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, zif) { in zend_observer_post_startup()
|
/php-src/ext/opcache/ |
H A D | zend_accelerator_util_funcs.c | 43 zend_hash_init(&persistent_script->script.function_table, 0, NULL, ZEND_FUNCTION_DTOR, 0); in create_persistent_script() 58 persistent_script->script.function_table.nNumUsed = 0; in free_persistent_script() 64 zend_hash_destroy(&persistent_script->script.function_table); in free_persistent_script() 98 dst = &script->function_table; in zend_accel_move_user_functions() 402 if (zend_hash_num_elements(&persistent_script->script.function_table) > 0) { in zend_accel_load_script() 404 zend_accel_function_hash_copy(CG(function_table), &persistent_script->script.function_table); in zend_accel_load_script() 406 …zend_accel_function_hash_copy_notify(CG(function_table), &persistent_script->script.function_table… in zend_accel_load_script()
|
H A D | zend_persist.c | 887 zend_hash_persist(&ce->function_table); in zend_persist_class_entry() 888 ZEND_HASH_MAP_FOREACH_BUCKET(&ce->function_table, p) { in zend_persist_class_entry() 893 HT_FLAGS(&ce->function_table) &= (HASH_FLAG_UNINITIALIZED | HASH_FLAG_STATIC_KEYS); in zend_persist_class_entry() 1124 …ce->iterator_funcs_ptr->zf_rewind = zend_hash_str_find_ptr(&ce->function_table, "rewind", sizeof("… in zend_update_parent_ce() 1125 …ce->iterator_funcs_ptr->zf_valid = zend_hash_str_find_ptr(&ce->function_table, "valid", sizeof("va… in zend_update_parent_ce() 1126 …ce->iterator_funcs_ptr->zf_key = zend_hash_find_ptr(&ce->function_table, ZSTR_KNOWN(ZEND_STR_KEY)); in zend_update_parent_ce() 1128 …ce->iterator_funcs_ptr->zf_next = zend_hash_str_find_ptr(&ce->function_table, "next", sizeof("next… in zend_update_parent_ce() 1252 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, op_array) { in zend_accel_persist_class_table() 1269 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, op_array) { in zend_accel_persist_class_table() 1353 zend_hash_persist(&script->script.function_table); in zend_accel_script_persist() [all …]
|
H A D | zend_persist_calc.c | 426 zend_hash_persist_calc(&ce->function_table); in zend_persist_class_entry_calc() 427 ZEND_HASH_MAP_FOREACH_BUCKET(&ce->function_table, p) { in zend_persist_class_entry_calc() 617 …if (new_persistent_script->script.function_table.nNumUsed != new_persistent_script->script.functio… in zend_accel_script_persist_calc() 618 zend_hash_rehash(&new_persistent_script->script.function_table); in zend_accel_script_persist_calc() 620 zend_hash_persist_calc(&new_persistent_script->script.function_table); in zend_accel_script_persist_calc() 621 ZEND_HASH_MAP_FOREACH_BUCKET(&new_persistent_script->script.function_table, p) { in zend_accel_script_persist_calc()
|
H A D | ZendAccelerator.c | 644 ZEND_HASH_MAP_FOREACH_BUCKET(CG(function_table), p) { in accel_copy_permanent_strings() 1796 orig_functions_count = EG(function_table)->nNumUsed; in opcache_compile_file() 1845 …zend_accel_move_user_functions(CG(function_table), CG(function_table)->nNumUsed - orig_functions_c… in opcache_compile_file() 3497 if (EG(function_table)) { 4282 Bucket *p = script->function_table.arData; 4283 Bucket *end = p + script->function_table.nNumUsed; 4285 zend_hash_extend(CG(function_table), 4286 CG(function_table)->nNumUsed + script->function_table.nNumUsed, 0); 4306 if (EG(function_table)) { 4495 preload_move_user_functions(CG(function_table), &script->script.function_table); [all …]
|
/php-src/Zend/Optimizer/ |
H A D | zend_optimizer.h | 89 HashTable function_table; member
|
H A D | zend_optimizer.c | 131 zend_internal_function *func = zend_hash_find_ptr(EG(function_table), lc_name); in zend_optimizer_eval_special_func_call() 901 if (script && (func = zend_hash_find_ptr(&script->function_table, function_name)) != NULL) { in zend_optimizer_get_called_func() 903 } else if ((func = zend_hash_find_ptr(EG(function_table), function_name)) != NULL) { in zend_optimizer_get_called_func() 919 if (script && (func = zend_hash_find_ptr(&script->function_table, Z_STR_P(function_name)))) { in zend_optimizer_get_called_func() 938 zend_function *fbc = zend_hash_find_ptr(&ce->function_table, func_name); in zend_optimizer_get_called_func() 957 &op_array->scope->function_table, method_name); in zend_optimizer_get_called_func() 1453 &ctx->script->function_table, in zend_adjust_fcall_stack_size() 1517 ZEND_HASH_MAP_FOREACH_PTR(&script->function_table, op_array) { in zend_foreach_op_array() 1526 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, op_array) { in zend_foreach_op_array() 1696 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(&ce->function_table, name, op_array) { in zend_optimize_script() [all …]
|
/php-src/ext/ldap/ |
H A D | ldap_arginfo.h | 868 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_connect", sizeof("ld… in register_ldap_symbols() 872 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_connect_wallet", siz… in register_ldap_symbols() 875 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_bind", sizeof("ldap_… in register_ldap_symbols() 877 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_bind_ext", sizeof("l… in register_ldap_symbols() 880 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_sasl_bind", sizeof("… in register_ldap_symbols() 884 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_exop_passwd", sizeof… in register_ldap_symbols() 886 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_exop_passwd", sizeof… in register_ldap_symbols()
|
/php-src/sapi/fuzzer/ |
H A D | fuzzer-execute-common.h | 130 call_user_function(CG(function_table), NULL, &func, &retval, 2, args); in opcache_invalidate()
|
H A D | fuzzer-sapi.c | 299 call_user_function(CG(function_table), NULL, &func, &retval, nargs, args); in fuzzer_call_php_func_zval()
|
/php-src/ext/soap/ |
H A D | soap.c | 1002 ft = &(Z_OBJCE(service->soap_object)->function_table); in PHP_METHOD() 1004 ft = &service->soap_class.ce->function_table; in PHP_METHOD() 1006 ft = EG(function_table); in PHP_METHOD() 1082 if ((f = zend_hash_find_ptr(EG(function_table), key)) == NULL) { in PHP_METHOD() 1147 HashTable *function_table; local 1321 function_table = &((Z_OBJCE_P(soap_obj))->function_table); 1385 function_table = &((Z_OBJCE_P(soap_obj))->function_table); 1388 function_table = EG(function_table); 1390 function_table = service->soap_functions.ft; 1411 if (zend_hash_exists(function_table, fn_name) || [all …]
|
/php-src/ext/com_dotnet/ |
H A D | com_wrapper.c | 491 zend_hash_internal_pointer_reset_ex(&Z_OBJCE(disp->object)->function_table, &pos); in generate_dispids() 493 zend_hash_get_current_key_ex(&Z_OBJCE(disp->object)->function_table, in generate_dispids() 504 zend_hash_move_forward_ex(&Z_OBJCE(disp->object)->function_table, &pos); in generate_dispids()
|
/php-src/ext/spl/ |
H A D | spl_dllist.c | 363 …intern->fptr_offset_get = zend_hash_str_find_ptr(&class_type->function_table, "offsetget", sizeof(… in spl_dllist_object_new_ex() 367 …intern->fptr_offset_set = zend_hash_str_find_ptr(&class_type->function_table, "offsetset", sizeof(… in spl_dllist_object_new_ex() 371 …intern->fptr_offset_has = zend_hash_str_find_ptr(&class_type->function_table, "offsetexists", size… in spl_dllist_object_new_ex() 375 …intern->fptr_offset_del = zend_hash_str_find_ptr(&class_type->function_table, "offsetunset", sizeo… in spl_dllist_object_new_ex() 380 intern->fptr_count = zend_hash_find_ptr(&class_type->function_table, ZSTR_KNOWN(ZEND_STR_COUNT)); in spl_dllist_object_new_ex()
|
H A D | spl_array.c | 195 …intern->fptr_offset_get = zend_hash_str_find_ptr(&class_type->function_table, "offsetget", sizeof(… in spl_array_object_new_ex() 199 …intern->fptr_offset_set = zend_hash_str_find_ptr(&class_type->function_table, "offsetset", sizeof(… in spl_array_object_new_ex() 203 …intern->fptr_offset_has = zend_hash_str_find_ptr(&class_type->function_table, "offsetexists", size… in spl_array_object_new_ex() 207 …intern->fptr_offset_del = zend_hash_str_find_ptr(&class_type->function_table, "offsetunset", size… in spl_array_object_new_ex() 212 intern->fptr_count = zend_hash_find_ptr(&class_type->function_table, ZSTR_KNOWN(ZEND_STR_COUNT)); in spl_array_object_new_ex() 1185 call_user_function(EG(function_table), NULL, &function_name, return_value, 1, params); in spl_array_method() 1194 call_user_function(EG(function_table), NULL, &function_name, return_value, 2, params); in spl_array_method() 1202 call_user_function(EG(function_table), NULL, &function_name, return_value, 2, params); in spl_array_method()
|