Home
last modified time | relevance | path

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

123

/PHP-5.5/ext/opcache/
H A Dzend_accelerator_util_funcs.c132 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()
664 zend_hash_clone_methods(&ce->function_table, &old_ce->function_table, old_ce, ce TSRMLS_CC);
947 if (zend_hash_num_elements(&persistent_script->function_table) > 0) {
948 …zend_accel_function_hash_copy(CG(function_table), &persistent_script->function_table, (unique_copy…
976 if (zend_hash_num_elements(&persistent_script->function_table) > 0) {
[all …]
H A DZendAccelerator.c392 p = CG(function_table)->pListHead; in accel_use_shm_interned_strings()
428 q = ce->function_table.pListHead; in accel_use_shm_interned_strings()
1362 orig_function_table = CG(function_table); in compile_and_cache_file()
1367 CG(function_table) = &ZCG(function_table); in compile_and_cache_file()
1393 CG(function_table) = orig_function_table; in compile_and_cache_file()
1411 …zend_accel_move_user_functions(&ZCG(function_table), &new_persistent_script->function_table TSRMLS… in compile_and_cache_file()
2311 old_destructor = EG(function_table)->pDestructor;
2312 EG(function_table)->pDestructor = NULL;
2491 …zend_hash_init(&accel_globals->function_table, zend_hash_num_elements(CG(function_table)), NULL, Z…
2497 accel_globals->function_table.pDestructor = NULL;
[all …]
H A DZendAccelerator.h189 HashTable function_table; member
252 HashTable function_table; member
H A Dzend_persist_calc.c241 …ADD_SIZE(zend_hash_persist_calc(&ce->function_table, (int (*)(void* TSRMLS_DC)) zend_persist_op_ar…
337 …ADD_SIZE(zend_hash_persist_calc(&new_persistent_script->function_table, (int (*)(void* TSRMLS_DC))…
/PHP-5.5/ext/spl/
H A Dspl_engine.h66 fci.function_table = &pce->function_table; in spl_instantiate_arg_n()
H A Dspl_fixedarray.c270 …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 Dphp_spl.c585 …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()
690 …zend_hash_find(EG(function_table), "spl_autoload", sizeof("spl_autoload"), (void **) &spl_func_ptr… in PHP_FUNCTION()
715 …if (zend_hash_find(EG(function_table), ZEND_AUTOLOAD_FUNC_NAME, sizeof(ZEND_AUTOLOAD_FUNC_NAME), (… in PHP_FUNCTION()
723 …zend_hash_find(EG(function_table), "spl_autoload_call", sizeof("spl_autoload_call"), (void **) &fp… in PHP_FUNCTION()
H A Dspl_array.c230 …zend_hash_find(&class_type->function_table, "offsetget", sizeof("offsetget"), (void **) &int… in spl_array_object_new_ex()
234 …zend_hash_find(&class_type->function_table, "offsetset", sizeof("offsetset"), (void **) &int… in spl_array_object_new_ex()
238 …zend_hash_find(&class_type->function_table, "offsetexists", sizeof("offsetexists"), (void **) &int… in spl_array_object_new_ex()
242 …zend_hash_find(&class_type->function_table, "offsetunset", sizeof("offsetunset"), (void **) &int… in spl_array_object_new_ex()
246 …zend_hash_find(&class_type->function_table, "count", sizeof("count"), (void **) &int… in spl_array_object_new_ex()
255 …zend_hash_find(&class_type->function_table, "rewind", sizeof("rewind"), (void **) &class_type->i… in spl_array_object_new_ex()
256 …zend_hash_find(&class_type->function_table, "valid", sizeof("valid"), (void **) &class_type->i… in spl_array_object_new_ex()
257 …zend_hash_find(&class_type->function_table, "key", sizeof("key"), (void **) &class_type->i… in spl_array_object_new_ex()
258 …zend_hash_find(&class_type->function_table, "current", sizeof("current"), (void **) &class_type->i… in spl_array_object_new_ex()
259 …zend_hash_find(&class_type->function_table, "next", sizeof("next"), (void **) &class_type->i… in spl_array_object_new_ex()
/PHP-5.5/Zend/
H A Dzend_globals.h58 #undef function_table
94 HashTable *function_table; /* function symbol table */ member
190 HashTable *function_table; /* function symbol table */ member
H A Dzend_interfaces.c40 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 Dzend.c40 # define GLOBAL_FUNCTION_TABLE CG(function_table)
510 compiler_globals->function_table = (HashTable *) malloc(sizeof(HashTable)); in compiler_globals_ctor()
511 zend_hash_init_ex(compiler_globals->function_table, 100, NULL, ZEND_FUNCTION_DTOR, 1, 0); in compiler_globals_ctor()
512 …zend_hash_copy(compiler_globals->function_table, global_function_table, NULL, &tmp_func, sizeof(ze… in compiler_globals_ctor()
538 if (compiler_globals->function_table != GLOBAL_FUNCTION_TABLE) { in compiler_globals_dtor()
539 zend_hash_destroy(compiler_globals->function_table); in compiler_globals_dtor()
540 free(compiler_globals->function_table); in compiler_globals_dtor()
727 compiler_globals->function_table = (HashTable *) malloc(sizeof(HashTable)); in zend_startup()
730 *compiler_globals->function_table = *GLOBAL_FUNCTION_TABLE; in zend_startup()
783 *GLOBAL_FUNCTION_TABLE = *compiler_globals->function_table; in zend_post_startup()
[all …]
H A Dzend_execute_API.c147 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()
680 int call_user_function(HashTable *function_table, zval **object_pp, zval *function_name, zval *retv… in call_user_function() argument
695 …ex_retval = call_user_function_ex(function_table, object_pp, function_name, &local_retval_ptr, par… in call_user_function()
708 int call_user_function_ex(HashTable *function_table, zval **object_pp, zval *function_name, zval **… in call_user_function_ex() argument
713 fci.function_table = function_table; in call_user_function_ex()
1094 fcall_info.function_table = EG(function_table); in zend_lookup_class_ex()
[all …]
H A Dzend_builtin_functions.c1067 zend_hash_internal_pointer_reset_ex(&ce->function_table, &pos); in ZEND_FUNCTION()
1069 while (zend_hash_get_current_data_ex(&ce->function_table, (void **) &mptr, &pos) == SUCCESS) { in ZEND_FUNCTION()
1082 …if (zend_hash_get_current_key_ex(&ce->function_table, &key, &key_len, &num_index, 0, &pos) != HASH… in ZEND_FUNCTION()
1104 zend_hash_move_forward_ex(&ce->function_table, &pos); in ZEND_FUNCTION()
1135 if (zend_hash_exists(&ce->function_table, lcname, method_len+1)) { in ZEND_FUNCTION()
1370 retval = (zend_hash_find(EG(function_table), name, name_len+1, (void **)&func) == SUCCESS); in ZEND_FUNCTION()
1840 zend_hash_del(EG(function_table), LAMBDA_TEMP_FUNCNAME, sizeof(LAMBDA_TEMP_FUNCNAME)); in ZEND_FUNCTION()
1843 zend_hash_del(EG(function_table), LAMBDA_TEMP_FUNCNAME, sizeof(LAMBDA_TEMP_FUNCNAME)); in ZEND_FUNCTION()
2459 zend_hash_internal_pointer_reset_ex(CG(function_table), &iterator); in ZEND_FUNCTION()
2467 while (zend_hash_get_current_data_ex(CG(function_table), (void **) &zif, &iterator) == SUCCESS) { in ZEND_FUNCTION()
[all …]
H A Dzend_API.c2033 HashTable *target_function_table = function_table; in zend_register_functions()
2048 target_function_table = CG(function_table); in zend_register_functions()
2292 HashTable *target_function_table = function_table; in zend_unregister_functions()
2295 target_function_table = CG(function_table); in zend_unregister_functions()
2669 zend_hash_clean(&((*disabled_class)->function_table)); in zend_disable_class()
2806 ftable = &fcc->calling_scope->function_table; in zend_is_callable_check_func()
2816 ftable = &ce_org->function_table; in zend_is_callable_check_func()
3245 …fci->function_table = fcc->calling_scope ? &fcc->calling_scope->function_table : EG(function_table in zend_fcall_info_init()
4008 HashTable *function_table; in zend_resolve_method_name() local
4017 function_table = &ce->function_table; in zend_resolve_method_name()
[all …]
H A Dzend_opcode.c162 zend_hash_apply(&ce->function_table, (apply_func_t) zend_cleanup_function_data_full TSRMLS_CC); in cleanup_user_class_data()
305 zend_hash_destroy(&ce->function_table); in destroy_zend_class()
339 zend_hash_destroy(&ce->function_table); in destroy_zend_class()
800 zend_hash_apply(&class_entry->function_table, (apply_func_t) pass_two TSRMLS_CC); in print_class()
/PHP-5.5/sapi/milter/
H A Dphp_milter.c156 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.5/ext/filter/
H A Dcallback_filter.c39 …status = call_user_function_ex(EG(function_table), NULL, option_array, &retval_ptr, 1, args, 0, NU… in php_filter_callback()
/PHP-5.5/sapi/apache_hooks/
H A Dsapi_apache.c102 … call_user_function_ex(EG(function_table), &class, method, ret, 0, NULL, 0, NULL TSRMLS_CC); in apache_php_module_hook()
/PHP-5.5/ext/reflection/
H A Dphp_reflection.c493 if (&ce->function_table) { in _class_string()
495 count = zend_hash_num_elements(&ce->function_table); in _class_string()
592 if (&ce->function_table) { in _class_string()
1398 fci.function_table = NULL; in _reflection_export()
1434 fci.function_table = &reflection_ptr->function_table; in _reflection_export()
1914 fci.function_table = NULL; in ZEND_METHOD()
1981 fci.function_table = NULL; in ZEND_METHOD()
2886 fci.function_table = NULL; in ZEND_METHOD()
2995 fci.function_table = NULL; in ZEND_METHOD()
4231 fci.function_table = EG(function_table); in ZEND_METHOD()
[all …]
/PHP-5.5/ext/standard/
H A Dassert.c222 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.5/ext/soap/
H A Dsoap.c922 fci.function_table = &Z_OBJCE_P(getThis())->function_table; in PHP_METHOD()
1359 ft = &(Z_OBJCE_P(service->soap_object)->function_table); in PHP_METHOD()
1361 ft = &service->soap_class.ce->function_table; in PHP_METHOD()
1363 ft = EG(function_table); in PHP_METHOD()
1501 HashTable *function_table; local
1669 function_table = &((Z_OBJCE_P(soap_obj))->function_table);
1769 function_table = &((Z_OBJCE_P(soap_obj))->function_table);
1772 function_table = EG(function_table);
1774 function_table = service->soap_functions.ft;
2450 zend_hash_exists(EG(function_table), "gzinflate", sizeof("gzinflate")) &&
[all …]
/PHP-5.5/ext/pdo_sqlite/
H A Dsqlite_driver.c329 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.5/ext/com_dotnet/
H A Dcom_wrapper.c295 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.5/ext/session/
H A Dmod_user.c53 if (call_user_function(EG(function_table), NULL, func, retval, argc, argv TSRMLS_CC) == FAILURE) { in ps_call_handler()
/PHP-5.5/ext/readline/
H A Dreadline.c502 …if (call_user_function(CG(function_table), NULL, _readline_completion, &_readline_array, 3, params… in _readline_completion_cb()
572 call_user_function(CG(function_table), NULL, _prepped_callback, &dummy, 1, params TSRMLS_CC); in php_rl_callback_handler()

Completed in 138 milliseconds

123