Home
last modified time | relevance | path

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

1234

/PHP-8.3/ext/sodium/
H A Dlibsodium_arginfo.h1111 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box", sizeo… in register_libsodium_symbols()
1113 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box", sizeo… in register_libsodium_symbols()
1229 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_compare", sizeof("… in register_libsodium_symbols()
1231 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_compare", sizeof("… in register_libsodium_symbols()
1233 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_memcmp", sizeof("s… in register_libsodium_symbols()
1235 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_memcmp", sizeof("s… in register_libsodium_symbols()
1237 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_memzero", sizeof("… in register_libsodium_symbols()
1239 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_pad", sizeof("sodi… in register_libsodium_symbols()
1241 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_unpad", sizeof("so… in register_libsodium_symbols()
1243 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_bin2hex", sizeof("… in register_libsodium_symbols()
[all …]
/PHP-8.3/ext/openssl/
H A Dopenssl_arginfo.h653 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_csr_sign", sizeof… in register_openssl_symbols()
655 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_csr_new", sizeof(… in register_openssl_symbols()
673 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pbkdf2", sizeof("… in register_openssl_symbols()
681 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_cms_sign", sizeof… in register_openssl_symbols()
699 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_sign", sizeof("op… in register_openssl_symbols()
701 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_seal", sizeof("op… in register_openssl_symbols()
703 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_open", sizeof("op… in register_openssl_symbols()
705 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_open", sizeof("op… in register_openssl_symbols()
707 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_encrypt", sizeof(… in register_openssl_symbols()
709 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_encrypt", sizeof(… in register_openssl_symbols()
[all …]
/PHP-8.3/sapi/phpdbg/
H A Dphpdbg_print.c138 zend_hash_num_elements(&ce->function_table)); in PHPDBG_PRINT()
140 if (zend_hash_num_elements(&ce->function_table)) { in PHPDBG_PRINT()
143 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, method) { in PHPDBG_PRINT()
163 if ((fbc = zend_hash_find_ptr(&ce->function_table, lcname))) { in PHPDBG_PRINT()
184 HashTable *func_table = EG(function_table); in PHPDBG_PRINT()
197 func_table = &scope->function_table; in PHPDBG_PRINT()
202 } else if (!EG(function_table)) { in PHPDBG_PRINT()
206 func_table = EG(function_table); in PHPDBG_PRINT()
294 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, method) { in phpdbg_print_opcodes_ce()
307 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, method) { in phpdbg_print_opcodes_ce()
[all …]
H A Dphpdbg_list.c95 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-8.3/ext/hash/
H A Dhash_arginfo.h219 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_hmac", sizeof("hash_… in register_hash_symbols()
221 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_hmac_file", sizeof("… in register_hash_symbols()
223 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_init", sizeof("hash_… in register_hash_symbols()
225 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_pbkdf2", sizeof("has… in register_hash_symbols()
227 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_equals", sizeof("has… in register_hash_symbols()
229 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_equals", sizeof("has… in register_hash_symbols()
231 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_hkdf", sizeof("hash_… in register_hash_symbols()
/PHP-8.3/Zend/
H A Dzend_interfaces.c57 &obj_ce->function_table, function_name, function_name_len); in zend_call_method()
305 &class_type->function_table, "getiterator", sizeof("getiterator") - 1); in zend_implement_aggregate()
344 &class_type->function_table, "rewind", sizeof("rewind") - 1); in zend_implement_iterator()
346 &class_type->function_table, "valid", sizeof("valid") - 1); in zend_implement_iterator()
348 &class_type->function_table, ZSTR_KNOWN(ZEND_STR_KEY)); in zend_implement_iterator()
350 &class_type->function_table, "current", sizeof("current") - 1); in zend_implement_iterator()
352 &class_type->function_table, "next", sizeof("next") - 1); in zend_implement_iterator()
389 &class_type->function_table, "offsetget", sizeof("offsetget") - 1); in zend_implement_arrayaccess()
391 &class_type->function_table, "offsetexists", sizeof("offsetexists") - 1); in zend_implement_arrayaccess()
393 &class_type->function_table, "offsetset", sizeof("offsetset") - 1); in zend_implement_arrayaccess()
[all …]
H A Dzend_globals.h69 #undef function_table
93 HashTable *function_table; /* function symbol table */ member
182 HashTable *function_table; /* function symbol table */ member
H A Dzend_extensions.c311 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 Dzend.c67 # define GLOBAL_FUNCTION_TABLE CG(function_table)
744 if (compiler_globals->function_table != GLOBAL_FUNCTION_TABLE) { in compiler_globals_dtor()
749 compiler_globals->function_table->nNumUsed = 0; in compiler_globals_dtor()
751 Bucket *p = compiler_globals->function_table->arData; in compiler_globals_dtor()
753 compiler_globals->function_table->nNumOfElements -= n; in compiler_globals_dtor()
760 zend_hash_destroy(compiler_globals->function_table); in compiler_globals_dtor()
761 free(compiler_globals->function_table); in compiler_globals_dtor()
1003 *compiler_globals->function_table = *GLOBAL_FUNCTION_TABLE; in zend_startup()
1082 *GLOBAL_FUNCTION_TABLE = *compiler_globals->function_table; in zend_post_startup()
1091 free(compiler_globals->function_table); in zend_post_startup()
[all …]
H A Dzend_inheritance.c1645 zend_hash_extend(&ce->function_table, in zend_do_inheritance_ex()
1646 zend_hash_num_elements(&ce->function_table) + in zend_do_inheritance_ex()
1939 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, f) { in zend_inheritance_check_override()
2336 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, fn) { in zend_do_traits_method_binding()
2637 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, func) { in zend_verify_abstract_class()
2912 ce->function_table.pDestructor = ZEND_FUNCTION_DTOR; in zend_lazy_class_load()
2914 p = emalloc(HT_SIZE(&ce->function_table)); in zend_lazy_class_load()
2915 memcpy(p, HT_GET_DATA_ADDR(&ce->function_table), HT_USED_SIZE(&ce->function_table)); in zend_lazy_class_load()
2916 HT_SET_DATA_ADDR(&ce->function_table, p); in zend_lazy_class_load()
2917 p = ce->function_table.arData; in zend_lazy_class_load()
[all …]
H A Dzend_enum.c106 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()
513 ce, unit_enum_methods, &ce->function_table, EG(current_module)->type); in zend_register_internal_enum()
517 ce, backed_enum_methods, &ce->function_table, EG(current_module)->type); in zend_register_internal_enum()
H A Dzend_observer.c90 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-8.3/ext/opcache/
H A Dzend_accelerator_util_funcs.c43 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 Dzend_persist_calc.c432 zend_hash_persist_calc(&ce->function_table); in zend_persist_class_entry_calc()
433 ZEND_HASH_MAP_FOREACH_BUCKET(&ce->function_table, p) { in zend_persist_class_entry_calc()
623 …if (new_persistent_script->script.function_table.nNumUsed != new_persistent_script->script.functio… in zend_accel_script_persist_calc()
624 zend_hash_rehash(&new_persistent_script->script.function_table); in zend_accel_script_persist_calc()
626 zend_hash_persist_calc(&new_persistent_script->script.function_table); in zend_accel_script_persist_calc()
627 ZEND_HASH_MAP_FOREACH_BUCKET(&new_persistent_script->script.function_table, p) { in zend_accel_script_persist_calc()
H A Dzend_persist.c896 zend_hash_persist(&ce->function_table); in zend_persist_class_entry()
897 ZEND_HASH_MAP_FOREACH_BUCKET(&ce->function_table, p) { in zend_persist_class_entry()
902 HT_FLAGS(&ce->function_table) &= (HASH_FLAG_UNINITIALIZED | HASH_FLAG_STATIC_KEYS); in zend_persist_class_entry()
1133 …ce->iterator_funcs_ptr->zf_rewind = zend_hash_str_find_ptr(&ce->function_table, "rewind", sizeof("… in zend_update_parent_ce()
1134 …ce->iterator_funcs_ptr->zf_valid = zend_hash_str_find_ptr(&ce->function_table, "valid", sizeof("va… in zend_update_parent_ce()
1135 …ce->iterator_funcs_ptr->zf_key = zend_hash_find_ptr(&ce->function_table, ZSTR_KNOWN(ZEND_STR_KEY)); in zend_update_parent_ce()
1137 …ce->iterator_funcs_ptr->zf_next = zend_hash_str_find_ptr(&ce->function_table, "next", sizeof("next… in zend_update_parent_ce()
1261 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, op_array) { in zend_accel_persist_class_table()
1278 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, op_array) { in zend_accel_persist_class_table()
1362 zend_hash_persist(&script->script.function_table); in zend_accel_script_persist()
[all …]
H A DZendAccelerator.c644 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()
3493 if (EG(function_table)) {
4278 Bucket *p = script->function_table.arData;
4279 Bucket *end = p + script->function_table.nNumUsed;
4281 zend_hash_extend(CG(function_table),
4282 CG(function_table)->nNumUsed + script->function_table.nNumUsed, 0);
4302 if (EG(function_table)) {
4491 preload_move_user_functions(CG(function_table), &script->script.function_table);
[all …]
/PHP-8.3/Zend/Optimizer/
H A Dzend_optimizer.h89 HashTable function_table; member
H A Dzend_optimizer.c130 zend_internal_function *func = zend_hash_find_ptr(EG(function_table), lc_name); in zend_optimizer_eval_special_func_call()
838 if (script && (func = zend_hash_find_ptr(&script->function_table, function_name)) != NULL) { in zend_optimizer_get_called_func()
840 } else if ((func = zend_hash_find_ptr(EG(function_table), function_name)) != NULL) { in zend_optimizer_get_called_func()
856 if (script && (func = zend_hash_find_ptr(&script->function_table, Z_STR_P(function_name)))) { in zend_optimizer_get_called_func()
875 zend_function *fbc = zend_hash_find_ptr(&ce->function_table, func_name); in zend_optimizer_get_called_func()
894 &op_array->scope->function_table, method_name); in zend_optimizer_get_called_func()
1364 &ctx->script->function_table, in zend_adjust_fcall_stack_size()
1428 ZEND_HASH_MAP_FOREACH_PTR(&script->function_table, op_array) { in zend_foreach_op_array()
1437 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, op_array) { in zend_foreach_op_array()
1599 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(&ce->function_table, name, op_array) { in zend_optimize_script()
[all …]
/PHP-8.3/ext/ldap/
H A Dldap_arginfo.h867 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_connect", sizeof("ld… in register_ldap_symbols()
871 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_connect_wallet", siz… in register_ldap_symbols()
874 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_bind", sizeof("ldap_… in register_ldap_symbols()
876 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_bind_ext", sizeof("l… in register_ldap_symbols()
879 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_sasl_bind", sizeof("… in register_ldap_symbols()
883 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_exop_passwd", sizeof… in register_ldap_symbols()
885 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_exop_passwd", sizeof… in register_ldap_symbols()
/PHP-8.3/sapi/fuzzer/
H A Dfuzzer-execute-common.h130 call_user_function(CG(function_table), NULL, &func, &retval, 2, args); in opcache_invalidate()
H A Dfuzzer-sapi.c301 call_user_function(CG(function_table), NULL, &func, &retval, nargs, args); in fuzzer_call_php_func_zval()
/PHP-8.3/ext/soap/
H A Dsoap.c1014 ft = &(Z_OBJCE(service->soap_object)->function_table); in PHP_METHOD()
1016 ft = &service->soap_class.ce->function_table; in PHP_METHOD()
1018 ft = EG(function_table); in PHP_METHOD()
1078 if ((f = zend_hash_find_ptr(EG(function_table), key)) == NULL) { in PHP_METHOD()
1097 if ((f = zend_hash_find_ptr(EG(function_table), key)) == NULL) { in PHP_METHOD()
1162 HashTable *function_table; local
1340 function_table = &((Z_OBJCE_P(soap_obj))->function_table);
1400 function_table = &((Z_OBJCE_P(soap_obj))->function_table);
1403 function_table = EG(function_table);
1405 function_table = service->soap_functions.ft;
[all …]
/PHP-8.3/ext/oci8/
H A Doci8_arginfo.h883 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "oci_new_connect", sizeof(… in register_oci8_symbols()
885 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ocinlogon", sizeof("ocinl… in register_oci8_symbols()
887 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "oci_connect", sizeof("oci… in register_oci8_symbols()
889 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ocilogon", sizeof("ocilog… in register_oci8_symbols()
891 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "oci_pconnect", sizeof("oc… in register_oci8_symbols()
893 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ociplogon", sizeof("ocipl… in register_oci8_symbols()
/PHP-8.3/ext/com_dotnet/
H A Dcom_wrapper.c491 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-8.3/ext/spl/
H A Dspl_dllist.c366 …intern->fptr_offset_get = zend_hash_str_find_ptr(&class_type->function_table, "offsetget", sizeof(… in spl_dllist_object_new_ex()
370 …intern->fptr_offset_set = zend_hash_str_find_ptr(&class_type->function_table, "offsetset", sizeof(… in spl_dllist_object_new_ex()
374 …intern->fptr_offset_has = zend_hash_str_find_ptr(&class_type->function_table, "offsetexists", size… in spl_dllist_object_new_ex()
378 …intern->fptr_offset_del = zend_hash_str_find_ptr(&class_type->function_table, "offsetunset", sizeo… in spl_dllist_object_new_ex()
383 intern->fptr_count = zend_hash_find_ptr(&class_type->function_table, ZSTR_KNOWN(ZEND_STR_COUNT)); in spl_dllist_object_new_ex()

Completed in 84 milliseconds

1234