/PHP-5.6/sapi/phpdbg/ |
H A D | phpdbg_print.c | 168 phpdbg_writeln("Methods (%d):", zend_hash_num_elements(&(*ce)->function_table)); in PHPDBG_PRINT() 169 if (zend_hash_num_elements(&(*ce)->function_table)) { in PHPDBG_PRINT() 173 for (zend_hash_internal_pointer_reset_ex(&(*ce)->function_table, &position); in PHPDBG_PRINT() 174 … zend_hash_get_current_data_ex(&(*ce)->function_table, (void**) &method, &position) == SUCCESS; in PHPDBG_PRINT() 175 zend_hash_move_forward_ex(&(*ce)->function_table, &position)) { in PHPDBG_PRINT() 194 if (zend_hash_find(&(*ce)->function_table, lcname, strlen(lcname)+1, (void**)&fbc) == SUCCESS) { in PHPDBG_PRINT() 214 HashTable *func_table = EG(function_table); in PHPDBG_PRINT() 225 func_table = &EG(scope)->function_table; in PHPDBG_PRINT() 230 } else if (!EG(function_table)) { in PHPDBG_PRINT() 234 func_table = EG(function_table); in PHPDBG_PRINT()
|
H A D | phpdbg_list.c | 88 …if (zend_hash_find(&(*ce)->function_table, lcname, strlen(lcname)+1, (void**) &function) == SUCCES… in PHPDBG_LIST() 199 HashTable *func_table = EG(function_table); in phpdbg_list_function_byname() 210 func_table = &EG(scope)->function_table; in phpdbg_list_function_byname() 215 } else if (!EG(function_table)) { in phpdbg_list_function_byname() 219 func_table = EG(function_table); in phpdbg_list_function_byname()
|
H A D | phpdbg_info.c | 279 (*ce)->name, zend_hash_num_elements(&(*ce)->function_table)); in phpdbg_print_class_name() 343 for (zend_hash_internal_pointer_reset_ex(EG(function_table), &position); in PHPDBG_INFO() 344 zend_hash_get_current_data_ex(EG(function_table), (void**)&zf, &position) == SUCCESS; in PHPDBG_INFO() 345 zend_hash_move_forward_ex(EG(function_table), &position)) { in PHPDBG_INFO()
|
H A D | phpdbg_utils.c | 185 zend_hash_find(&(*ce)->function_table, lcname, fname_len+1, in phpdbg_get_function() 189 zend_hash_find(EG(function_table), lcname, fname_len+1, in phpdbg_get_function()
|
H A D | phpdbg_prompt.c | 94 fci.function_table = &PHPDBG_G(registered); in phpdbg_call_register() 551 fci.function_table = &Z_OBJCE(exception)->function_table; in phpdbg_handle_exception() 763 phpdbg_writeln("Functions\t%d", zend_hash_num_elements(EG(function_table))); in PHPDBG_COMMAND() 886 if (zend_hash_find(EG(function_table), lcname, lcname_len+1, (void**) &function) == SUCCESS) { in PHPDBG_COMMAND() 926 phpdbg_writeln("Functions\t\t%d", zend_hash_num_elements(EG(function_table))); in PHPDBG_COMMAND()
|
/PHP-5.6/ext/opcache/ |
H A D | zend_accelerator_util_funcs.c | 132 return compact_hash_table(&persistent_script->function_table) && in compact_persistent_script() 142 persistent_script->function_table.pDestructor = NULL; in free_persistent_script() 146 zend_hash_destroy(&persistent_script->function_table); in free_persistent_script() 176 HashTable *function_table = va_arg(args, HashTable *); in move_user_function() local 213 …zend_hash_apply_with_argument(CG(function_table), (apply_func_arg_t)copy_internal_function, &ZCG(f… in zend_accel_copy_internal_functions() 214 ZCG(internal_functions_count) = zend_hash_num_elements(&ZCG(function_table)); in zend_accel_copy_internal_functions() 726 zend_hash_clone_methods(&ce->function_table, &old_ce->function_table, old_ce, ce TSRMLS_CC); 1014 if (zend_hash_num_elements(&persistent_script->function_table) > 0) { 1015 …zend_accel_function_hash_copy(CG(function_table), &persistent_script->function_table, (unique_copy… 1043 if (zend_hash_num_elements(&persistent_script->function_table) > 0) { [all …]
|
H A D | ZendAccelerator.c | 401 p = CG(function_table)->pListHead; in accel_use_shm_interned_strings() 437 q = ce->function_table.pListHead; in accel_use_shm_interned_strings() 1395 orig_function_table = CG(function_table); in compile_and_cache_file() 1400 CG(function_table) = &ZCG(function_table); in compile_and_cache_file() 1426 CG(function_table) = orig_function_table; in compile_and_cache_file() 1444 …zend_accel_move_user_functions(&ZCG(function_table), &new_persistent_script->function_table TSRMLS… in compile_and_cache_file() 2411 old_destructor = EG(function_table)->pDestructor; 2412 EG(function_table)->pDestructor = NULL; 2591 …zend_hash_init(&accel_globals->function_table, zend_hash_num_elements(CG(function_table)), NULL, Z… 2597 accel_globals->function_table.pDestructor = NULL; [all …]
|
/PHP-5.6/ext/spl/ |
H A D | spl_engine.h | 66 fci.function_table = &pce->function_table; in spl_instantiate_arg_n()
|
H A D | spl_fixedarray.c | 270 …zend_hash_find(&class_type->function_table, "rewind", sizeof("rewind"), (void **) &class_type->i… in spl_fixedarray_object_new_ex() 271 …zend_hash_find(&class_type->function_table, "valid", sizeof("valid"), (void **) &class_type->i… in spl_fixedarray_object_new_ex() 272 …zend_hash_find(&class_type->function_table, "key", sizeof("key"), (void **) &class_type->i… in spl_fixedarray_object_new_ex() 273 …zend_hash_find(&class_type->function_table, "current", sizeof("current"), (void **) &class_type->i… in spl_fixedarray_object_new_ex() 274 …zend_hash_find(&class_type->function_table, "next", sizeof("next"), (void **) &class_type->i… in spl_fixedarray_object_new_ex() 293 …zend_hash_find(&class_type->function_table, "offsetget", sizeof("offsetget"), (void **) &int… in spl_fixedarray_object_new_ex() 297 …zend_hash_find(&class_type->function_table, "offsetset", sizeof("offsetset"), (void **) &int… in spl_fixedarray_object_new_ex() 301 …zend_hash_find(&class_type->function_table, "offsetexists", sizeof("offsetexists"), (void **) &int… in spl_fixedarray_object_new_ex() 305 …zend_hash_find(&class_type->function_table, "offsetunset", sizeof("offsetunset"), (void **) &int… in spl_fixedarray_object_new_ex() 309 …zend_hash_find(&class_type->function_table, "count", sizeof("count"), (void **) &int… in spl_fixedarray_object_new_ex()
|
H A D | php_spl.c | 585 …zend_hash_find(EG(function_table), "spl_autoload", sizeof("spl_autoload"), (void **) &spl_func_ptr… in PHP_FUNCTION() 618 …zend_hash_find(EG(function_table), "spl_autoload_call", sizeof("spl_autoload_call"), (void **) &EG… in PHP_FUNCTION() 620 …zend_hash_find(EG(function_table), "spl_autoload", sizeof("spl_autoload"), (void **) &EG(autoload_… in PHP_FUNCTION() 694 …zend_hash_find(EG(function_table), "spl_autoload", sizeof("spl_autoload"), (void **) &spl_func_ptr… in PHP_FUNCTION() 719 …if (zend_hash_find(EG(function_table), ZEND_AUTOLOAD_FUNC_NAME, sizeof(ZEND_AUTOLOAD_FUNC_NAME), (… in PHP_FUNCTION() 727 …zend_hash_find(EG(function_table), "spl_autoload_call", sizeof("spl_autoload_call"), (void **) &fp… in PHP_FUNCTION()
|
/PHP-5.6/Zend/ |
H A D | zend_globals.h | 58 #undef function_table 94 HashTable *function_table; /* function symbol table */ member 197 HashTable *function_table; /* function symbol table */ member
|
H A D | zend_interfaces.c | 40 HashTable *function_table; in zend_call_method() local 61 fci.function_table = !object_pp ? EG(function_table) : NULL; in zend_call_method() 71 function_table = &obj_ce->function_table; in zend_call_method() 73 function_table = EG(function_table); in zend_call_method() 76 …if (zend_hash_find(function_table, function_name, function_name_len+1, (void **) &fcic.function_ha… in zend_call_method()
|
H A D | zend.c | 41 # define GLOBAL_FUNCTION_TABLE CG(function_table) 511 compiler_globals->function_table = (HashTable *) malloc(sizeof(HashTable)); in compiler_globals_ctor() 512 zend_hash_init_ex(compiler_globals->function_table, 100, NULL, ZEND_FUNCTION_DTOR, 1, 0); in compiler_globals_ctor() 513 …zend_hash_copy(compiler_globals->function_table, global_function_table, NULL, &tmp_func, sizeof(ze… in compiler_globals_ctor() 539 if (compiler_globals->function_table != GLOBAL_FUNCTION_TABLE) { in compiler_globals_dtor() 540 zend_hash_destroy(compiler_globals->function_table); in compiler_globals_dtor() 541 free(compiler_globals->function_table); in compiler_globals_dtor() 730 compiler_globals->function_table = (HashTable *) malloc(sizeof(HashTable)); in zend_startup() 733 *compiler_globals->function_table = *GLOBAL_FUNCTION_TABLE; in zend_startup() 786 *GLOBAL_FUNCTION_TABLE = *compiler_globals->function_table; in zend_post_startup() [all …]
|
H A D | zend_execute_API.c | 147 EG(function_table) = CG(function_table); in init_executor() 280 zend_hash_apply(EG(function_table), (apply_func_t) zend_cleanup_function_data_full TSRMLS_CC); in shutdown_executor() 283 zend_hash_reverse_apply(EG(function_table), (apply_func_t) zend_cleanup_function_data TSRMLS_CC); in shutdown_executor() 296 …zend_hash_reverse_apply(EG(function_table), (apply_func_t) clean_non_persistent_function_full TSRM… in shutdown_executor() 299 …zend_hash_reverse_apply(EG(function_table), (apply_func_t) clean_non_persistent_function TSRMLS_CC… in shutdown_executor() 575 int call_user_function(HashTable *function_table, zval **object_pp, zval *function_name, zval *retv… in call_user_function() argument 590 …ex_retval = call_user_function_ex(function_table, object_pp, function_name, &local_retval_ptr, par… in call_user_function() 603 int call_user_function_ex(HashTable *function_table, zval **object_pp, zval *function_name, zval **… in call_user_function_ex() argument 608 fci.function_table = function_table; in call_user_function_ex() 992 fcall_info.function_table = EG(function_table); in zend_lookup_class_ex() [all …]
|
H A D | zend_builtin_functions.c | 1077 zend_hash_internal_pointer_reset_ex(&ce->function_table, &pos); in ZEND_FUNCTION() 1079 while (zend_hash_get_current_data_ex(&ce->function_table, (void **) &mptr, &pos) == SUCCESS) { in ZEND_FUNCTION() 1092 …if (zend_hash_get_current_key_ex(&ce->function_table, &key, &key_len, &num_index, 0, &pos) != HASH… in ZEND_FUNCTION() 1114 zend_hash_move_forward_ex(&ce->function_table, &pos); in ZEND_FUNCTION() 1145 if (zend_hash_exists(&ce->function_table, lcname, method_len+1)) { in ZEND_FUNCTION() 1380 retval = (zend_hash_find(EG(function_table), name, name_len+1, (void **)&func) == SUCCESS); in ZEND_FUNCTION() 1850 zend_hash_del(EG(function_table), LAMBDA_TEMP_FUNCNAME, sizeof(LAMBDA_TEMP_FUNCNAME)); in ZEND_FUNCTION() 1853 zend_hash_del(EG(function_table), LAMBDA_TEMP_FUNCNAME, sizeof(LAMBDA_TEMP_FUNCNAME)); in ZEND_FUNCTION() 2469 zend_hash_internal_pointer_reset_ex(CG(function_table), &iterator); in ZEND_FUNCTION() 2477 while (zend_hash_get_current_data_ex(CG(function_table), (void **) &zif, &iterator) == SUCCESS) { in ZEND_FUNCTION() [all …]
|
H A D | zend_API.c | 2080 HashTable *target_function_table = function_table; in zend_register_functions() 2096 target_function_table = CG(function_table); in zend_register_functions() 2353 HashTable *target_function_table = function_table; in zend_unregister_functions() 2356 target_function_table = CG(function_table); in zend_unregister_functions() 2725 zend_hash_clean(&((*disabled_class)->function_table)); in zend_disable_class() 2862 ftable = &fcc->calling_scope->function_table; in zend_is_callable_check_func() 2872 ftable = &ce_org->function_table; in zend_is_callable_check_func() 3301 …fci->function_table = fcc->calling_scope ? &fcc->calling_scope->function_table : EG(function_table… in zend_fcall_info_init() 4087 HashTable *function_table; in zend_resolve_method_name() local 4096 function_table = &ce->function_table; in zend_resolve_method_name() [all …]
|
/PHP-5.6/sapi/milter/ |
H A D | php_milter.c | 156 status = call_user_function(CG(function_table), NULL, &function_name, &retval, 0, NULL TSRMLS_CC); in ZEND_DECLARE_MODULE_GLOBALS() 227 status = call_user_function(CG(function_table), NULL, &function_name, &retval, 1, param TSRMLS_CC); in mlfi_connect() 261 status = call_user_function(CG(function_table), NULL, &function_name, &retval, 1, param TSRMLS_CC); in mlfi_helo() 301 status = call_user_function(CG(function_table), NULL, &function_name, &retval, 1, param TSRMLS_CC); in mlfi_envfrom() 341 status = call_user_function(CG(function_table), NULL, &function_name, &retval, 1, param TSRMLS_CC); in mlfi_envrcpt() 380 status = call_user_function(CG(function_table), NULL, &function_name, &retval, 2, param TSRMLS_CC); in mlfi_header() 412 status = call_user_function(CG(function_table), NULL, &function_name, &retval, 0, NULL TSRMLS_CC); in mlfi_eoh() 446 status = call_user_function(CG(function_table), NULL, &function_name, &retval, 1, param TSRMLS_CC); in mlfi_body() 477 status = call_user_function(CG(function_table), NULL, &function_name, &retval, 0, NULL TSRMLS_CC); in mlfi_eom() 506 status = call_user_function(CG(function_table), NULL, &function_name, &retval, 0, NULL TSRMLS_CC); in mlfi_abort() [all …]
|
/PHP-5.6/ext/filter/ |
H A D | callback_filter.c | 39 …status = call_user_function_ex(EG(function_table), NULL, option_array, &retval_ptr, 1, args, 0, NU… in php_filter_callback()
|
/PHP-5.6/sapi/apache_hooks/ |
H A D | sapi_apache.c | 102 … call_user_function_ex(EG(function_table), &class, method, ret, 0, NULL, 0, NULL TSRMLS_CC); in apache_php_module_hook()
|
/PHP-5.6/ext/reflection/ |
H A D | php_reflection.c | 512 if (&ce->function_table) { in _class_string() 514 count = zend_hash_num_elements(&ce->function_table); in _class_string() 611 if (&ce->function_table) { in _class_string() 1436 fci.function_table = NULL; in _reflection_export() 1472 fci.function_table = &reflection_ptr->function_table; in _reflection_export() 1952 fci.function_table = NULL; in ZEND_METHOD() 2019 fci.function_table = NULL; in ZEND_METHOD() 2952 fci.function_table = NULL; in ZEND_METHOD() 3061 fci.function_table = NULL; in ZEND_METHOD() 4305 fci.function_table = EG(function_table); in ZEND_METHOD() [all …]
|
/PHP-5.6/ext/standard/ |
H A D | assert.c | 222 call_user_function(CG(function_table), NULL, ASSERTG(callback), retval, 3, args TSRMLS_CC); in PHP_FUNCTION() 230 call_user_function(CG(function_table), NULL, ASSERTG(callback), retval, 4, args TSRMLS_CC); in PHP_FUNCTION()
|
/PHP-5.6/ext/pdo_sqlite/ |
H A D | sqlite_driver.c | 329 fc->fci.function_table = EG(function_table); in do_callback() 493 collation->fc.fci.function_table = EG(function_table); in php_sqlite3_collation_callback()
|
/PHP-5.6/ext/soap/ |
H A D | soap.c | 925 fci.function_table = &Z_OBJCE_P(getThis())->function_table; in PHP_METHOD() 1382 ft = &(Z_OBJCE_P(service->soap_object)->function_table); in PHP_METHOD() 1384 ft = &service->soap_class.ce->function_table; in PHP_METHOD() 1386 ft = EG(function_table); in PHP_METHOD() 1524 HashTable *function_table; local 1689 function_table = &((Z_OBJCE_P(soap_obj))->function_table); 1789 function_table = &((Z_OBJCE_P(soap_obj))->function_table); 1792 function_table = EG(function_table); 1794 function_table = service->soap_functions.ft; 2470 zend_hash_exists(EG(function_table), "gzinflate", sizeof("gzinflate")) && [all …]
|
/PHP-5.6/ext/com_dotnet/ |
H A D | com_wrapper.c | 295 if (SUCCESS == call_user_function_ex(EG(function_table), &disp->object, *name, in disp_invokeex() 500 zend_hash_internal_pointer_reset_ex(&Z_OBJCE_P(disp->object)->function_table, &pos); in generate_dispids() 502 zend_hash_get_current_key_ex(&Z_OBJCE_P(disp->object)->function_table, in generate_dispids()
|
/PHP-5.6/ext/session/ |
H A D | mod_user.c | 53 if (call_user_function(EG(function_table), NULL, func, retval, argc, argv TSRMLS_CC) == FAILURE) { in ps_call_handler()
|