Home
last modified time | relevance | path

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

1234

/php-src/ext/sodium/
H A Dlibsodium_arginfo.h1018 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box", sizeo… in register_libsodium_symbols()
1020 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box", sizeo… in register_libsodium_symbols()
1120 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_compare", sizeof("… in register_libsodium_symbols()
1122 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_compare", sizeof("… in register_libsodium_symbols()
1124 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_memcmp", sizeof("s… in register_libsodium_symbols()
1126 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_memcmp", sizeof("s… in register_libsodium_symbols()
1128 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_memzero", sizeof("… in register_libsodium_symbols()
1130 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_pad", sizeof("sodi… in register_libsodium_symbols()
1132 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_unpad", sizeof("so… in register_libsodium_symbols()
1134 …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 Dopenssl_arginfo.h683 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_csr_sign", sizeof… in register_openssl_symbols()
685 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_csr_new", sizeof(… in register_openssl_symbols()
727 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pbkdf2", sizeof("… in register_openssl_symbols()
735 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_cms_sign", sizeof… in register_openssl_symbols()
753 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_sign", sizeof("op… in register_openssl_symbols()
755 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_seal", sizeof("op… in register_openssl_symbols()
757 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_open", sizeof("op… in register_openssl_symbols()
759 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_open", sizeof("op… in register_openssl_symbols()
761 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_encrypt", sizeof(… in register_openssl_symbols()
763 …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 Dphpdbg_print.c136 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 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-src/ext/hash/
H A Dhash_arginfo.h196 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_hmac", sizeof("hash_… in register_hash_symbols()
198 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_hmac_file", sizeof("… in register_hash_symbols()
200 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_init", sizeof("hash_… in register_hash_symbols()
202 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_pbkdf2", sizeof("has… in register_hash_symbols()
204 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_equals", sizeof("has… in register_hash_symbols()
206 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_equals", sizeof("has… in register_hash_symbols()
208 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_hkdf", sizeof("hash_… in register_hash_symbols()
218 …_hash_name_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "mhash_get_h… in register_hash_symbols()
225 …keygen_s2k_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "mhash_keyge… in register_hash_symbols()
232 …hash_count_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "mhash_count… in register_hash_symbols()
[all …]
/php-src/Zend/
H A Dzend_interfaces.c58 &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()
346 &class_type->function_table, "rewind", sizeof("rewind") - 1); in zend_implement_iterator()
348 &class_type->function_table, "valid", sizeof("valid") - 1); in zend_implement_iterator()
350 &class_type->function_table, ZSTR_KNOWN(ZEND_STR_KEY)); in zend_implement_iterator()
352 &class_type->function_table, "current", sizeof("current") - 1); in zend_implement_iterator()
354 &class_type->function_table, "next", sizeof("next") - 1); in zend_implement_iterator()
393 &class_type->function_table, "offsetget", sizeof("offsetget") - 1); in zend_implement_arrayaccess()
395 &class_type->function_table, "offsetexists", sizeof("offsetexists") - 1); in zend_implement_arrayaccess()
397 &class_type->function_table, "offsetset", sizeof("offsetset") - 1); in zend_implement_arrayaccess()
[all …]
H A Dzend_globals.h71 #undef function_table
95 HashTable *function_table; /* function symbol table */ member
187 HashTable *function_table; /* function symbol table */ member
H A Dzend_extensions.c328 size_t functions = zend_hash_num_elements(CG(function_table)); in zend_init_internal_run_time_cache()
331 functions += zend_hash_num_elements(&ce->function_table); in zend_init_internal_run_time_cache()
341 ZEND_HASH_MAP_FOREACH_PTR(CG(function_table), zif) { in zend_init_internal_run_time_cache()
348 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)
755 if (compiler_globals->function_table != GLOBAL_FUNCTION_TABLE) { in compiler_globals_dtor()
760 compiler_globals->function_table->nNumUsed = 0; in compiler_globals_dtor()
762 Bucket *p = compiler_globals->function_table->arData; in compiler_globals_dtor()
764 compiler_globals->function_table->nNumOfElements -= n; in compiler_globals_dtor()
771 zend_hash_destroy(compiler_globals->function_table); in compiler_globals_dtor()
772 free(compiler_globals->function_table); in compiler_globals_dtor()
1032 *compiler_globals->function_table = *GLOBAL_FUNCTION_TABLE; in zend_startup()
1111 *GLOBAL_FUNCTION_TABLE = *compiler_globals->function_table; in zend_post_startup()
1120 free(compiler_globals->function_table); in zend_post_startup()
[all …]
H A Dzend_inheritance.c1952 zend_hash_extend(&ce->function_table, in zend_do_inheritance_ex()
1953 zend_hash_num_elements(&ce->function_table) + in zend_do_inheritance_ex()
2255 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, f) { in zend_inheritance_check_override()
2672 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, fn) { in zend_do_traits_method_binding()
3013 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, func) { in zend_verify_abstract_class()
3348 ce->function_table.pDestructor = ZEND_FUNCTION_DTOR; in zend_lazy_class_load()
3350 p = emalloc(HT_SIZE(&ce->function_table)); in zend_lazy_class_load()
3351 memcpy(p, HT_GET_DATA_ADDR(&ce->function_table), HT_USED_SIZE(&ce->function_table)); in zend_lazy_class_load()
3352 HT_SET_DATA_ADDR(&ce->function_table, p); in zend_lazy_class_load()
3353 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()
431 if (!zend_hash_add_ptr(&ce->function_table, name, zif)) { in zend_enum_register_func()
520 ce, unit_enum_methods, &ce->function_table, EG(current_module)->type); in zend_register_internal_enum()
524 ce, backed_enum_methods, &ce->function_table, EG(current_module)->type); in zend_register_internal_enum()
/php-src/ext/enchant/
H A Denchant_arginfo.h158 …roker_free_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "enchant_bro… in register_enchant_symbols()
170 …_dict_path_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "enchant_bro… in register_enchant_symbols()
177 …_dict_path_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "enchant_bro… in register_enchant_symbols()
184 …_free_dict_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "enchant_bro… in register_enchant_symbols()
196 …o_personal_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "enchant_dic… in register_enchant_symbols()
208 …in_session_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "enchant_dic… in register_enchant_symbols()
/php-src/ext/pgsql/
H A Dpgsql_arginfo.h867 …pg_numrows_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "pg_numrows"… in register_pgsql_symbols()
939 …g_fieldnum_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "pg_fieldnum… in register_pgsql_symbols()
951 …_pg_result_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "pg_result",… in register_pgsql_symbols()
1011 …g_locreate_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "pg_locreate… in register_pgsql_symbols()
1023 …g_lounlink_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "pg_lounlink… in register_pgsql_symbols()
1035 …_pg_loopen_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "pg_loopen",… in register_pgsql_symbols()
1047 …pg_loclose_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "pg_loclose"… in register_pgsql_symbols()
1059 …_pg_loread_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "pg_loread",… in register_pgsql_symbols()
1071 …pg_lowrite_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "pg_lowrite"… in register_pgsql_symbols()
1095 …g_loimport_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "pg_loimport… in register_pgsql_symbols()
[all …]
/php-src/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()
400 if (zend_hash_num_elements(&persistent_script->script.function_table) > 0) { in zend_accel_load_script()
402 zend_accel_function_hash_copy(CG(function_table), &persistent_script->script.function_table); in zend_accel_load_script()
404 …zend_accel_function_hash_copy_notify(CG(function_table), &persistent_script->script.function_table in zend_accel_load_script()
H A Dzend_persist.c930 zend_hash_persist(&ce->function_table); in zend_persist_class_entry()
931 ZEND_HASH_MAP_FOREACH_BUCKET(&ce->function_table, p) { in zend_persist_class_entry()
936 HT_FLAGS(&ce->function_table) &= (HASH_FLAG_UNINITIALIZED | HASH_FLAG_STATIC_KEYS); in zend_persist_class_entry()
1167 …ce->iterator_funcs_ptr->zf_rewind = zend_hash_str_find_ptr(&ce->function_table, "rewind", sizeof("… in zend_update_parent_ce()
1168 …ce->iterator_funcs_ptr->zf_valid = zend_hash_str_find_ptr(&ce->function_table, "valid", sizeof("va… in zend_update_parent_ce()
1169 …ce->iterator_funcs_ptr->zf_key = zend_hash_find_ptr(&ce->function_table, ZSTR_KNOWN(ZEND_STR_KEY)); in zend_update_parent_ce()
1171 …ce->iterator_funcs_ptr->zf_next = zend_hash_str_find_ptr(&ce->function_table, "next", sizeof("next… in zend_update_parent_ce()
1295 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, op_array) { in zend_accel_persist_class_table()
1312 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, op_array) { in zend_accel_persist_class_table()
1396 zend_hash_persist(&script->script.function_table); in zend_accel_script_persist()
[all …]
H A Dzend_persist_calc.c442 zend_hash_persist_calc(&ce->function_table); in zend_persist_class_entry_calc()
443 ZEND_HASH_MAP_FOREACH_BUCKET(&ce->function_table, p) { in zend_persist_class_entry_calc()
633 …if (new_persistent_script->script.function_table.nNumUsed != new_persistent_script->script.functio… in zend_accel_script_persist_calc()
634 zend_hash_rehash(&new_persistent_script->script.function_table); in zend_accel_script_persist_calc()
636 zend_hash_persist_calc(&new_persistent_script->script.function_table); in zend_accel_script_persist_calc()
637 ZEND_HASH_MAP_FOREACH_BUCKET(&new_persistent_script->script.function_table, p) { in zend_accel_script_persist_calc()
H A DZendAccelerator.c649 ZEND_HASH_MAP_FOREACH_BUCKET(CG(function_table), p) { in accel_copy_permanent_strings()
1801 orig_functions_count = EG(function_table)->nNumUsed; in opcache_compile_file()
1857 …zend_accel_move_user_functions(CG(function_table), CG(function_table)->nNumUsed - orig_functions_c… in opcache_compile_file()
3574 if (EG(function_table)) {
4359 Bucket *p = script->function_table.arData;
4360 Bucket *end = p + script->function_table.nNumUsed;
4362 zend_hash_extend(CG(function_table),
4363 CG(function_table)->nNumUsed + script->function_table.nNumUsed, 0);
4383 if (EG(function_table)) {
4578 preload_move_user_functions(CG(function_table), &script->script.function_table);
[all …]
/php-src/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()
821 size_t offset = fbc_bucket - EG(function_table)->arData; in zend_optimizer_ignore_function()
931 if (script && (func = zend_hash_find_ptr(&script->function_table, function_name)) != NULL) { in zend_optimizer_get_called_func()
933 } else if ((func_zv = zend_hash_find(EG(function_table), function_name)) != NULL) { in zend_optimizer_get_called_func()
961 zend_function *fbc = zend_hash_find_ptr(&ce->function_table, func_name); in zend_optimizer_get_called_func()
980 &op_array->scope->function_table, method_name); in zend_optimizer_get_called_func()
1494 &ctx->script->function_table, in zend_adjust_fcall_stack_size()
1558 ZEND_HASH_MAP_FOREACH_PTR(&script->function_table, op_array) { in zend_foreach_op_array()
1567 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, op_array) { in zend_foreach_op_array()
1742 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(&ce->function_table, name, op_array) { in zend_optimize_script()
[all …]
/php-src/ext/ldap/
H A Dldap_arginfo.h808 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_connect", sizeof("ld… in register_ldap_symbols()
812 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_connect_wallet", siz… in register_ldap_symbols()
815 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_bind", sizeof("ldap_… in register_ldap_symbols()
817 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_bind_ext", sizeof("l… in register_ldap_symbols()
820 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_sasl_bind", sizeof("… in register_ldap_symbols()
824 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_exop_passwd", sizeof… in register_ldap_symbols()
826 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_exop_passwd", sizeof… in register_ldap_symbols()
/php-src/ext/shmop/
H A Dshmop_arginfo.h55 …hmop_close_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "shmop_close… in register_shmop_symbols()
/php-src/ext/mysqli/
H A Dmysqli_arginfo.h1149 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "mysqli_change_user", size… in register_mysqli_symbols()
1151 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "mysqli_connect", sizeof("… in register_mysqli_symbols()
1177 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "mysqli_real_connect", siz… in register_mysqli_symbols()
1342 …zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "__construct", s… in register_class_mysqli()
1344 …zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "change_user", s… in register_class_mysqli()
1346 …zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "connect", sizeo… in register_class_mysqli()
1360 …0 = zend_add_function_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "init", sizeo… in register_class_mysqli()
1372 …0 = zend_add_function_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "kill", sizeo… in register_class_mysqli()
1384 …0 = zend_add_function_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "ping", sizeo… in register_class_mysqli()
1396 …zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "real_connect", … in register_class_mysqli()
[all …]
/php-src/sapi/fuzzer/
H A Dfuzzer-execute-common.h130 call_user_function(CG(function_table), NULL, &func, &retval, 2, args); in opcache_invalidate()
/php-src/ext/zip/
H A Dphp_zip_arginfo.h467 …c_zip_open_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "zip_open", … in register_php_zip_symbols()
479 …_zip_close_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "zip_close",… in register_php_zip_symbols()
491 …c_zip_read_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "zip_read", … in register_php_zip_symbols()
503 …entry_open_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "zip_entry_o… in register_php_zip_symbols()
510 …ntry_close_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "zip_entry_c… in register_php_zip_symbols()
517 …entry_read_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "zip_entry_r… in register_php_zip_symbols()
529 …entry_name_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "zip_entry_n… in register_php_zip_symbols()
553 …y_filesize_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "zip_entry_f… in register_php_zip_symbols()
1378 …zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "setpassword", s… in register_class_ZipArchive()
1381 …zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "setencryptionna… in register_class_ZipArchive()
[all …]
/php-src/ext/com_dotnet/
H A Dcom_wrapper.c472 zend_hash_internal_pointer_reset_ex(&Z_OBJCE(disp->object)->function_table, &pos); in generate_dispids()
474 zend_hash_get_current_key_ex(&Z_OBJCE(disp->object)->function_table, in generate_dispids()
485 zend_hash_move_forward_ex(&Z_OBJCE(disp->object)->function_table, &pos); in generate_dispids()

Completed in 146 milliseconds

1234