Home
last modified time | relevance | path

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

1234

/PHP-7.0/sapi/phpdbg/
H A Dphpdbg_print.c163 zend_hash_num_elements(&ce->function_table)); in PHPDBG_PRINT()
167 if (zend_hash_num_elements(&ce->function_table)) { in PHPDBG_PRINT()
170 ZEND_HASH_FOREACH_PTR(&ce->function_table, method) { in PHPDBG_PRINT()
192 if ((fbc = zend_hash_find_ptr(&ce->function_table, lcname))) { in PHPDBG_PRINT()
213 HashTable *func_table = EG(function_table); in PHPDBG_PRINT()
224 func_table = &EG(scope)->function_table; in PHPDBG_PRINT()
229 } else if (!EG(function_table)) { in PHPDBG_PRINT()
233 func_table = EG(function_table); in PHPDBG_PRINT()
339 phpdbg_out("%d methods: ", zend_hash_num_elements(&ce->function_table)); in phpdbg_print_opcodes_ce()
340 ZEND_HASH_FOREACH_PTR(&ce->function_table, method) { in phpdbg_print_opcodes_ce()
[all …]
H A Dphpdbg_list.c97 if ((function = zend_hash_str_find_ptr(&ce->function_table, lcname, strlen(lcname)))) { in PHPDBG_LIST()
194 HashTable *func_table = EG(function_table); in phpdbg_list_function_byname()
205 func_table = &EG(scope)->function_table; in phpdbg_list_function_byname()
210 } else if (!EG(function_table)) { in phpdbg_list_function_byname()
214 func_table = EG(function_table); in phpdbg_list_function_byname()
/PHP-7.0/ext/opcache/
H A Dzend_accelerator_util_funcs.c66 ce->function_table.pDestructor = zend_accel_destroy_zend_function; in zend_accel_destroy_zend_class()
91 persistent_script->function_table.pDestructor = NULL; in free_persistent_script()
95 zend_hash_destroy(&persistent_script->function_table); in free_persistent_script()
140 static int copy_internal_function(zval *zv, HashTable *function_table) in copy_internal_function() argument
151 …zend_hash_apply_with_argument(CG(function_table), (apply_func_arg_t)copy_internal_function, &ZCG(f… in zend_accel_copy_internal_functions()
152 ZCG(internal_functions_count) = zend_hash_num_elements(&ZCG(function_table)); in zend_accel_copy_internal_functions()
411 zend_hash_clone_methods(&ce->function_table, &old_ce->function_table, old_ce, ce); in zend_class_copy_ctor()
709 if (zend_hash_num_elements(&persistent_script->function_table) > 0) { in zend_accel_load_script()
710 zend_accel_function_hash_copy_from_shm(CG(function_table), &persistent_script->function_table); in zend_accel_load_script()
729 if (zend_hash_num_elements(&persistent_script->function_table) > 0) { in zend_accel_load_script()
[all …]
H A DZendAccelerator.c531 p = CG(function_table)->arData + idx; in accel_use_shm_interned_strings()
575 q = ce->function_table.arData + j; in accel_use_shm_interned_strings()
1522 orig_function_table = CG(function_table); in opcache_compile_file()
1527 CG(function_table) = &ZCG(function_table); in opcache_compile_file()
1547 CG(function_table) = orig_function_table; in opcache_compile_file()
1565 zend_accel_move_user_functions(&ZCG(function_table), &new_persistent_script->function_table); in opcache_compile_file()
2075 if (!ZCG(function_table).nTableSize) { in accel_activate()
2076 …zend_hash_init(&ZCG(function_table), zend_hash_num_elements(CG(function_table)), NULL, ZEND_FUNCTI… in accel_activate()
2376 EG(function_table)->nNumUsed = EG(function_table)->nNumOfElements; in zend_accel_fast_shutdown()
2572 if (accel_globals->function_table.nTableSize) { in accel_globals_dtor()
[all …]
H A DZendAccelerator.h159 HashTable function_table; member
241 HashTable function_table; member
/PHP-7.0/Zend/
H A Dzend_globals.h60 #undef function_table
81 HashTable *function_table; /* function symbol table */ member
155 HashTable *function_table; /* function symbol table */ member
H A Dzend_interfaces.c39 HashTable *function_table; in zend_call_method() local
63 fci.function_table = !object ? EG(function_table) : NULL; in zend_call_method()
74 function_table = &obj_ce->function_table; in zend_call_method()
76 function_table = EG(function_table); in zend_call_method()
79 …if ((fcic.function_handler = zend_hash_find_ptr(function_table, Z_STR(fci.function_name))) == NULL… in zend_call_method()
H A Dzend.c41 # define GLOBAL_FUNCTION_TABLE CG(function_table)
486 compiler_globals->function_table = (HashTable *) malloc(sizeof(HashTable)); in compiler_globals_ctor()
487 zend_hash_init_ex(compiler_globals->function_table, 1024, NULL, ZEND_FUNCTION_DTOR, 1, 0); in compiler_globals_ctor()
488 zend_hash_copy(compiler_globals->function_table, global_function_table, function_copy_ctor); in compiler_globals_ctor()
516 if (compiler_globals->function_table != GLOBAL_FUNCTION_TABLE) { in compiler_globals_dtor()
517 zend_hash_destroy(compiler_globals->function_table); in compiler_globals_dtor()
518 free(compiler_globals->function_table); in compiler_globals_dtor()
740 compiler_globals->function_table = (HashTable *) malloc(sizeof(HashTable)); in zend_startup()
743 *compiler_globals->function_table = *GLOBAL_FUNCTION_TABLE; in zend_startup()
799 *GLOBAL_FUNCTION_TABLE = *compiler_globals->function_table; in zend_post_startup()
[all …]
H A Dzend_execute_API.c143 EG(function_table) = CG(function_table); in init_executor()
313 ZEND_HASH_FOREACH_PTR(EG(function_table), func) { in shutdown_executor()
326 ZEND_HASH_REVERSE_FOREACH_PTR(EG(function_table), func) { in shutdown_executor()
367 zend_hash_reverse_apply(EG(function_table), clean_non_persistent_function_full); in shutdown_executor()
370 zend_hash_reverse_apply(EG(function_table), clean_non_persistent_function); in shutdown_executor()
655 int call_user_function(HashTable *function_table, zval *object, zval *function_name, zval *retval_p… in call_user_function() argument
657 …return call_user_function_ex(function_table, object, function_name, retval_ptr, param_count, param… in call_user_function()
666 fci.function_table = function_table; in call_user_function_ex()
992 …zend_function *func = zend_hash_str_find_ptr(EG(function_table), ZEND_AUTOLOAD_FUNC_NAME, sizeof(Z… in zend_lookup_class_ex()
1033 fcall_info.function_table = EG(function_table); in zend_lookup_class_ex()
[all …]
H A Dzend_inheritance.c609 zval *child = zend_hash_find(&ce->function_table, key); in do_inherit_method()
909 if (zend_hash_num_elements(&parent_ce->function_table)) { in zend_do_inheritance()
910 zend_hash_extend(&ce->function_table, in zend_do_inheritance()
911 zend_hash_num_elements(&ce->function_table) + in zend_do_inheritance()
912 zend_hash_num_elements(&parent_ce->function_table), 0); in zend_do_inheritance()
918 _zend_hash_append_ptr(&ce->function_table, key, new_func); in zend_do_inheritance()
1010 ZEND_HASH_FOREACH_STR_KEY_PTR(&iface->function_table, key, func) { in zend_do_implement_interface()
1014 zend_hash_add_new_ptr(&ce->function_table, key, new_func); in zend_do_implement_interface()
1184 fn = zend_hash_update_ptr(&ce->function_table, key, new_fn); in zend_add_trait_method()
1453 ZEND_HASH_FOREACH_PTR(&ce->function_table, fn) { in zend_do_traits_method_binding()
[all …]
H A Dzend_API.c2127 HashTable *target_function_table = function_table; in zend_register_functions()
2142 target_function_table = CG(function_table); in zend_register_functions()
2434 HashTable *target_function_table = function_table; in zend_unregister_functions()
2439 target_function_table = CG(function_table); in zend_unregister_functions()
2822 zend_hash_clean(&disabled_class->function_table); in zend_disable_class()
2996 ftable = &fcc->calling_scope->function_table; in zend_is_callable_check_func()
3007 ftable = &ce_org->function_table; in zend_is_callable_check_func()
3424 …fci->function_table = fcc->calling_scope ? &fcc->calling_scope->function_table : EG(function_table in zend_fcall_info_init()
4144 HashTable *function_table; in zend_resolve_method_name() local
4154 function_table = &ce->function_table; in zend_resolve_method_name()
[all …]
/PHP-7.0/ext/opcache/Optimizer/
H A Dzend_optimizer.c121 zend_function *fbc = (zend_function *)zend_hash_str_find_ptr(EG(function_table), name, len); in zend_optimizer_is_disabled_func()
673 &ctx->script->function_table, in zend_accel_adjust_fcall_stack_size()
697 for (idx = 0; idx < script->function_table.nNumUsed; idx++) { in zend_accel_script_optimize()
698 p = script->function_table.arData + idx; in zend_accel_script_optimize()
708 for (j = 0; j < ce->function_table.nNumUsed; j++) { in zend_accel_script_optimize()
709 q = ce->function_table.arData + j; in zend_accel_script_optimize()
716 if ((orig_op_array = zend_hash_find_ptr(&op_array->scope->function_table, q->key)) != NULL) { in zend_accel_script_optimize()
728 for (idx = 0; idx < script->function_table.nNumUsed; idx++) { in zend_accel_script_optimize()
729 p = script->function_table.arData + idx; in zend_accel_script_optimize()
739 for (j = 0; j < ce->function_table.nNumUsed; j++) { in zend_accel_script_optimize()
[all …]
/PHP-7.0/ext/spl/
H A Dspl_engine.h65 fci.function_table = &pce->function_table; in spl_instantiate_arg_n()
H A Dspl_fixedarray.c258 …class_type->iterator_funcs.zf_rewind = zend_hash_str_find_ptr(&class_type->function_table, "rewind… in spl_fixedarray_object_new_ex()
259 …class_type->iterator_funcs.zf_valid = zend_hash_str_find_ptr(&class_type->function_table, "valid",… in spl_fixedarray_object_new_ex()
260 …class_type->iterator_funcs.zf_key = zend_hash_str_find_ptr(&class_type->function_table, "key", siz… in spl_fixedarray_object_new_ex()
261 …class_type->iterator_funcs.zf_current = zend_hash_str_find_ptr(&class_type->function_table, "curre… in spl_fixedarray_object_new_ex()
262 …class_type->iterator_funcs.zf_next = zend_hash_str_find_ptr(&class_type->function_table, "next", s… in spl_fixedarray_object_new_ex()
281 …intern->fptr_offset_get = zend_hash_str_find_ptr(&class_type->function_table, "offsetget", sizeof(… in spl_fixedarray_object_new_ex()
285 …intern->fptr_offset_set = zend_hash_str_find_ptr(&class_type->function_table, "offsetset", sizeof(… in spl_fixedarray_object_new_ex()
289 …intern->fptr_offset_has = zend_hash_str_find_ptr(&class_type->function_table, "offsetexists", size… in spl_fixedarray_object_new_ex()
293 …intern->fptr_offset_del = zend_hash_str_find_ptr(&class_type->function_table, "offsetunset", sizeo… in spl_fixedarray_object_new_ex()
297 …intern->fptr_count = zend_hash_str_find_ptr(&class_type->function_table, "count", sizeof("count") … in spl_fixedarray_object_new_ex()
H A Dspl_array.c224 …intern->fptr_offset_get = zend_hash_str_find_ptr(&class_type->function_table, "offsetget", sizeof(… in spl_array_object_new_ex()
228 …intern->fptr_offset_set = zend_hash_str_find_ptr(&class_type->function_table, "offsetset", sizeof(… in spl_array_object_new_ex()
232 …intern->fptr_offset_has = zend_hash_str_find_ptr(&class_type->function_table, "offsetexists", size… in spl_array_object_new_ex()
236 …intern->fptr_offset_del = zend_hash_str_find_ptr(&class_type->function_table, "offsetunset", size… in spl_array_object_new_ex()
240 …intern->fptr_count = zend_hash_str_find_ptr(&class_type->function_table, "count", sizeof("count") … in spl_array_object_new_ex()
250 …class_type->iterator_funcs.zf_valid = zend_hash_str_find_ptr(&class_type->function_table, "valid",… in spl_array_object_new_ex()
251 …class_type->iterator_funcs.zf_key = zend_hash_str_find_ptr(&class_type->function_table, "key", siz… in spl_array_object_new_ex()
253 …class_type->iterator_funcs.zf_next = zend_hash_str_find_ptr(&class_type->function_table, "next", s… in spl_array_object_new_ex()
1451 call_user_function_ex(EG(function_table), NULL, &function_name, return_value, 1, params, 1, NULL); in spl_array_method()
1462 …call_user_function_ex(EG(function_table), NULL, &function_name, return_value, arg ? 2 : 1, params,… in spl_array_method()
[all …]
H A Dphp_spl.c573 …spl_func_ptr = zend_hash_str_find_ptr(EG(function_table), "spl_autoload", sizeof("spl_autoload") -… in PHP_FUNCTION()
618 …EG(autoload_func) = zend_hash_str_find_ptr(EG(function_table), "spl_autoload_call", sizeof("spl_au… in PHP_FUNCTION()
620 …EG(autoload_func) = zend_hash_str_find_ptr(EG(function_table), "spl_autoload", sizeof("spl_autoloa… in PHP_FUNCTION()
699 …spl_func_ptr = zend_hash_str_find_ptr(EG(function_table), "spl_autoload", sizeof("spl_autoload") -… in PHP_FUNCTION()
723 …if ((fptr = zend_hash_str_find_ptr(EG(function_table), ZEND_AUTOLOAD_FUNC_NAME, sizeof(ZEND_AUTOLO… in PHP_FUNCTION()
731 …fptr = zend_hash_str_find_ptr(EG(function_table), "spl_autoload_call", sizeof("spl_autoload_call")… in PHP_FUNCTION()
/PHP-7.0/ext/filter/
H A Dcallback_filter.c38 status = call_user_function_ex(EG(function_table), NULL, option_array, &retval, 1, args, 0, NULL); in php_filter_callback()
/PHP-7.0/ext/oci8/
H A Doci8_failover.c65 …if (call_user_function(EG(function_table), NULL, &connection->taf_callback, &retval, 3, params) ==… in callback_fn()
/PHP-7.0/ext/com_dotnet/
H A Dcom_wrapper.c291 if (SUCCESS == call_user_function_ex(EG(function_table), &disp->object, name, in disp_invokeex()
497 zend_hash_internal_pointer_reset_ex(&Z_OBJCE(disp->object)->function_table, &pos); in generate_dispids()
499 zend_hash_get_current_key_ex(&Z_OBJCE(disp->object)->function_table, in generate_dispids()
510 zend_hash_move_forward_ex(&Z_OBJCE(disp->object)->function_table, &pos); in generate_dispids()
/PHP-7.0/ext/standard/
H A Dassert.c228 call_user_function(CG(function_table), NULL, &ASSERTG(callback), &retval, 3, args); in PHP_FUNCTION()
234 call_user_function(CG(function_table), NULL, &ASSERTG(callback), &retval, 4, args); in PHP_FUNCTION()
/PHP-7.0/ext/pdo_sqlite/
H A Dsqlite_driver.c328 fc->fci.function_table = EG(function_table); in do_callback()
479 collation->fc.fci.function_table = EG(function_table); in php_sqlite3_collation_callback()
/PHP-7.0/ext/soap/
H A Dsoap.c958 fci.function_table = &Z_OBJCE_P(getThis())->function_table; in PHP_METHOD()
1381 ft = &(Z_OBJCE(service->soap_object)->function_table); in PHP_METHOD()
1383 ft = &service->soap_class.ce->function_table; in PHP_METHOD()
1385 ft = EG(function_table); in PHP_METHOD()
1447 if ((f = zend_hash_find_ptr(EG(function_table), key)) == NULL) { in PHP_METHOD()
1465 if ((f = zend_hash_find_ptr(EG(function_table), key)) == NULL) { in PHP_METHOD()
1529 HashTable *function_table; local
1695 function_table = &((Z_OBJCE_P(soap_obj))->function_table);
1792 function_table = &((Z_OBJCE_P(soap_obj))->function_table);
1795 function_table = EG(function_table);
[all …]
/PHP-7.0/ext/session/
H A Dmod_user.c33 if (call_user_function(EG(function_table), NULL, func, retval, argc, argv) == FAILURE) { in ps_call_handler()
/PHP-7.0/ext/readline/
H A Dreadline.c490 …if (call_user_function(CG(function_table), NULL, &_readline_completion, &_readline_array, 3, param… in _readline_completion_cb()
552 call_user_function(CG(function_table), NULL, &_prepped_callback, &dummy, 1, params); in php_rl_callback_handler()
/PHP-7.0/ext/reflection/
H A Dphp_reflection.c516 ZEND_HASH_FOREACH_PTR(&ce->function_table, mptr) { in _class_string()
530 ZEND_HASH_FOREACH_PTR(&ce->function_table, mptr) { in _class_string()
1126 ZEND_HASH_FOREACH_PTR(CG(function_table), fptr) { in _extension_string()
1422 fci.function_table = NULL; in _reflection_export()
1456 fci.function_table = &reflection_ptr->function_table; in _reflection_export()
1951 fci.function_table = NULL; in ZEND_METHOD()
2011 fci.function_table = NULL; in ZEND_METHOD()
3243 fci.function_table = NULL; in ZEND_METHOD()
3350 fci.function_table = NULL; in ZEND_METHOD()
4654 fci.function_table = EG(function_table); in ZEND_METHOD()
[all …]

Completed in 232 milliseconds

1234