Home
last modified time | relevance | path

Searched refs:function_table (Results 1 – 25 of 82) sorted by last modified time

1234

/php-src/ext/simplexml/
H A Dsimplexml.c2146 fptr_count = zend_hash_find_ptr(&ce->function_table, ZSTR_KNOWN(ZEND_STR_COUNT)); in php_sxe_find_fptr_count()
/php-src/ext/readline/
H A Dreadline_cli.c561 …rator_func(lc_text, textlen, &cli_completion_state, ce ? &ce->function_table : EG(function_table)); in cli_completion_generator()
/php-src/ext/xmlreader/
H A Dphp_xmlreader.c1153 …memcpy(&xmlreader_open_fn, zend_hash_str_find_ptr(&xmlreader_class_entry->function_table, "open", … in PHP_MINIT_FUNCTION()
1155 …memcpy(&xmlreader_xml_fn, zend_hash_str_find_ptr(&xmlreader_class_entry->function_table, "xml", si… in PHP_MINIT_FUNCTION()
/php-src/ext/soap/
H A Dsoap.c1063 ft = &(Z_OBJCE(service->soap_object)->function_table); in PHP_METHOD()
1065 ft = &service->soap_class.ce->function_table; in PHP_METHOD()
1067 ft = EG(function_table); in PHP_METHOD()
1143 if ((f = zend_hash_find_ptr(EG(function_table), key)) == NULL) { in PHP_METHOD()
1208 HashTable *function_table; local
1382 function_table = &((Z_OBJCE_P(soap_obj))->function_table);
1446 function_table = &((Z_OBJCE_P(soap_obj))->function_table);
1449 function_table = EG(function_table);
1451 function_table = service->soap_functions.ft;
1472 if (zend_hash_exists(function_table, fn_name) ||
[all …]
H A Dphp_http.c397 if (call_user_function(CG(function_table), (zval*)NULL, &func, &retval, n, params) == SUCCESS && in make_http_soap_request()
1282 zend_hash_str_exists(EG(function_table), "gzinflate", sizeof("gzinflate")-1)) { in make_http_soap_request()
1286 zend_hash_str_exists(EG(function_table), "gzuncompress", sizeof("gzuncompress")-1)) { in make_http_soap_request()
1299 if (call_user_function(CG(function_table), (zval*)NULL, &func, &retval, 1, params) == SUCCESS && in make_http_soap_request()
/php-src/Zend/
H A Dzend_inheritance.c1648 zend_hash_extend(&ce->function_table, in zend_do_inheritance_ex()
1649 zend_hash_num_elements(&ce->function_table) + in zend_do_inheritance_ex()
1942 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, f) { in zend_inheritance_check_override()
2337 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, fn) { in zend_do_traits_method_binding()
2638 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, func) { in zend_verify_abstract_class()
2913 ce->function_table.pDestructor = ZEND_FUNCTION_DTOR; in zend_lazy_class_load()
2915 p = emalloc(HT_SIZE(&ce->function_table)); in zend_lazy_class_load()
2916 memcpy(p, HT_GET_DATA_ADDR(&ce->function_table), HT_USED_SIZE(&ce->function_table)); in zend_lazy_class_load()
2917 HT_SET_DATA_ADDR(&ce->function_table, p); in zend_lazy_class_load()
2918 p = ce->function_table.arData; in zend_lazy_class_load()
[all …]
H A Dzend_compile.c1212 …zval *zv = zend_hash_find_known_hash(compile_time ? CG(function_table) : EG(function_table), lcnam… in do_bind_function_error()
1232 zend_function *added_func = zend_hash_add_ptr(EG(function_table), Z_STR_P(lcname), func); in do_bind_function()
2004 zend_hash_init(&ce->function_table, 8, NULL, ZEND_FUNCTION_DTOR, persistent_hashes); in zend_initialize_class_data()
4167 fbc = zend_hash_find_ptr(CG(function_table), lcname); in zend_try_compile_ct_bound_init_user_func()
4658 frameless_function = zend_hash_find_ptr(CG(function_table), lc_func_name); in zend_compile_ns_call()
4831 zval *fbc_zv = zend_hash_find(CG(function_table), lcname); in zend_compile_call()
4868 Z_EXTRA_P(CT_CONSTANT(opline->op2)) = fbc_bucket - CG(function_table)->arData; in zend_compile_call()
4926 fbc = zend_hash_find_ptr(&CG(active_class_entry)->function_table, lcname); in zend_compile_method_call()
4952 zend_function *fbc = zend_hash_find_ptr(&ce->function_table, lcname); in zend_get_compatible_func_or_null()
7680 if (zend_hash_add_ptr(&ce->function_table, lcname, op_array) == NULL) { in zend_begin_method_decl()
[all …]
H A Dzend_API.h378 …end_class_entry *scope, const zend_function_entry *functions, HashTable *function_table, int type);
379 …d_unregister_functions(const zend_function_entry *functions, int count, HashTable *function_table);
685 #define call_user_function(function_table, object, function_name, retval_ptr, param_count, params) \ argument
688 #define call_user_function_named(function_table, object, function_name, retval_ptr, param_count, pa… argument
H A Dzend_builtin_functions.c865 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, mptr) { in ZEND_FUNCTION()
907 func = zend_hash_find_ptr(&ce->function_table, lcname); in ZEND_FUNCTION()
1127 exists = zend_hash_exists(EG(function_table), lcname); in ZEND_FUNCTION()
1387 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(EG(function_table), key, func) { in ZEND_FUNCTION()
2143 ZEND_HASH_MAP_FOREACH_PTR(CG(function_table), zif) { in ZEND_FUNCTION()
H A Dzend_API.c2860 HashTable *target_function_table = function_table; in zend_register_functions()
2872 target_function_table = CG(function_table); in zend_register_functions()
3146 HashTable *target_function_table = function_table; in zend_unregister_functions()
3151 target_function_table = CG(function_table); in zend_unregister_functions()
3544 zend_hash_str_del(CG(function_table), function_name, function_name_length); in zend_disable_function()
3578 zend_hash_rehash(CG(function_table)); in zend_disable_functions()
3634 ZEND_HASH_MAP_FOREACH_PTR(&disabled_class->function_table, fn) { in zend_disable_class()
3640 zend_hash_clean(&disabled_class->function_table); in zend_disable_class()
3854 ftable = &fcc->calling_scope->function_table; in zend_is_callable_check_func()
3869 ftable = &ce_org->function_table; in zend_is_callable_check_func()
[all …]
H A Dzend_portability.h489 #undef function_table
H A Dzend_globals.h70 #undef function_table
94 HashTable *function_table; /* function symbol table */ member
183 HashTable *function_table; /* function symbol table */ member
H A Dzend.c67 # 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 Dzend_execute_API.c147 EG(function_table) = CG(function_table); in init_executor()
191 EG(persistent_functions_count) = EG(function_table)->nNumUsed; in init_executor()
308 ZEND_HASH_MAP_REVERSE_FOREACH_VAL(EG(function_table), zv) { in zend_shutdown_executor_values()
363 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, op_array) { in zend_shutdown_executor_values()
434 zend_hash_discard(EG(function_table), EG(persistent_functions_count)); in shutdown_executor()
440 zend_hash_reverse_apply(EG(function_table), clean_non_persistent_function_full); in shutdown_executor()
443 ZEND_HASH_MAP_REVERSE_FOREACH_STR_KEY_VAL(EG(function_table), key, zv) { in shutdown_executor()
/php-src/ext/opcache/
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.c892 zend_hash_persist(&ce->function_table); in zend_persist_class_entry()
893 ZEND_HASH_MAP_FOREACH_BUCKET(&ce->function_table, p) { in zend_persist_class_entry()
898 HT_FLAGS(&ce->function_table) &= (HASH_FLAG_UNINITIALIZED | HASH_FLAG_STATIC_KEYS); in zend_persist_class_entry()
1129 …ce->iterator_funcs_ptr->zf_rewind = zend_hash_str_find_ptr(&ce->function_table, "rewind", sizeof("… in zend_update_parent_ce()
1130 …ce->iterator_funcs_ptr->zf_valid = zend_hash_str_find_ptr(&ce->function_table, "valid", sizeof("va… in zend_update_parent_ce()
1131 …ce->iterator_funcs_ptr->zf_key = zend_hash_find_ptr(&ce->function_table, ZSTR_KNOWN(ZEND_STR_KEY)); in zend_update_parent_ce()
1133 …ce->iterator_funcs_ptr->zf_next = zend_hash_str_find_ptr(&ce->function_table, "next", sizeof("next… in zend_update_parent_ce()
1257 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, op_array) { in zend_accel_persist_class_table()
1274 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, op_array) { in zend_accel_persist_class_table()
1358 zend_hash_persist(&script->script.function_table); in zend_accel_script_persist()
[all …]
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()
/php-src/ext/reflection/
H A Dphp_reflection.c427 count = zend_hash_num_elements(&ce->function_table); in _class_string()
431 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, mptr) { in _class_string()
445 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, mptr) { in _class_string()
497 count = zend_hash_num_elements(&ce->function_table) - count_static_funcs; in _class_string()
503 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, mptr) { in _class_string()
1108 ZEND_HASH_MAP_FOREACH_PTR(CG(function_table), fptr) { in _extension_string()
2444 fptr = zend_hash_find_ptr(EG(function_table), lcname); in ZEND_METHOD()
4546 } else if ((mptr = zend_hash_find_ptr(&ce->function_table, lc_name)) != NULL) { in ZEND_METHOD()
4593 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, mptr) { in ZEND_METHOD()
5318 if (zend_hash_exists(&trait->function_table, lcname)) { in ZEND_METHOD()
[all …]
/php-src/ext/spl/
H A Dspl_observer.c274 …zend_function *get_hash = zend_hash_str_find_ptr(&class_type->function_table, "gethash", sizeof("g… in spl_object_storage_new_ex()
/php-src/ext/standard/
H A Darray.c682 …zend_function *count_fn = zend_hash_find_ptr(&zobj->ce->function_table, ZSTR_KNOWN(ZEND_STR_COUNT)… in PHP_FUNCTION()
/php-src/ext/ffi/
H A Dffi.c5412 …memcpy(&zend_ffi_new_fn, zend_hash_str_find_ptr(&zend_ffi_ce->function_table, "new", sizeof("new")…
5414 …memcpy(&zend_ffi_cast_fn, zend_hash_str_find_ptr(&zend_ffi_ce->function_table, "cast", sizeof("cas…
5416 …memcpy(&zend_ffi_type_fn, zend_hash_str_find_ptr(&zend_ffi_ce->function_table, "type", sizeof("typ…
/php-src/ext/xml/
H A Dxml.c1091 zend_function *method_ptr = zend_hash_find_ptr(&ce->function_table, lc_name); in php_xml_check_string_method_arg()
/php-src/ext/zend_test/
H A Dtest_arginfo.h525 …bute_arg0_0 = zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "zend_test_p… in register_test_symbols()
726 …zend_add_function_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "testmethod", siz… in register_class_ZendAttributeTest()
859 … = zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "no_override"… in register_class_ZendTestClassWithMethodWithParameterAttribute()
867 … = zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "override", s… in register_class_ZendTestClassWithMethodWithParameterAttribute()
886 … = zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "override", s… in register_class_ZendTestChildClassWithMethodWithParameterAttribute()
/php-src/ext/odbc/
H A Dodbc_arginfo.h496 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "odbc_connect", sizeof("od… in register_odbc_symbols()
498 …zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "odbc_pconnect", sizeof("o… in register_odbc_symbols()
/php-src/ext/ldap/
H A Dldap_arginfo.h868 …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()

Completed in 286 milliseconds

1234