Home
last modified time | relevance | path

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

123

/PHP-5.5/Zend/
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.h429 #undef function_table
484 HashTable function_table; member
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_API.h45 HashTable *function_table; member
265 …class_entry *scope, const zend_function_entry *functions, HashTable *function_table, int type TSRM…
266 …er_functions(const zend_function_entry *functions, int count, HashTable *function_table TSRMLS_DC);
450 ZEND_API int call_user_function(HashTable *function_table, zval **object_pp, zval *function_name, z…
451 ZEND_API int call_user_function_ex(HashTable *function_table, zval **object_pp, zval *function_name…
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_closures.c59 …} else if (call_user_function_ex(CG(function_table), NULL, this_ptr, &closure_result_ptr, ZEND_NUM… in ZEND_METHOD()
H A Dzend_compile.c3069 if (!zend_hash_exists(&ce->function_table, lc_class_name, ce->name_length+1)) { in do_inherit_parent_constructor()
3071 if (!zend_hash_exists(&ce->function_table, lc_parent_class_name, ce->parent->name_length+1) && in do_inherit_parent_constructor()
3722 …zend_hash_merge_ex(&ce->function_table, &parent_ce->function_table, (copy_ctor_func_t) do_inherit_… in zend_do_inheritance()
3791 …zend_hash_merge_ex(&ce->function_table, &iface->function_table, (copy_ctor_func_t) do_inherit_meth… in zend_do_implement_interface()
3886 …if (zend_hash_quick_find(&ce->function_table, arKey, nKeyLength, h, (void**) &existing_fn) == SUCC… in zend_add_trait_method()
4101 method_exists = zend_hash_exists(&cur_method_ref->ce->function_table, in zend_traits_init_trait_structures()
4162 method_exists = zend_hash_exists(&cur_method_ref->ce->function_table, in zend_traits_init_trait_structures()
4397 if (zend_hash_exists(&ce->function_table, in zend_do_check_for_inconsistent_traits_aliasing()
4648 if (do_bind_function(CG(active_op_array), opline, CG(function_table), 1) == FAILURE) { in zend_do_early_binding()
4651 table = CG(function_table); in zend_do_early_binding()
[all …]
H A Dzend_compile.h527 …_function(const zend_op_array *op_array, zend_op *opline, HashTable *function_table, zend_bool com…
H A Dzend_exceptions.c690 fci.function_table = &Z_OBJCE_P(exception)->function_table; in ZEND_METHOD()
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_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_object_handlers.c944 …if (zend_hash_quick_find(&ce->function_table, function_name_strval, function_name_strlen+1, hash_v… in zend_check_private_int()
1027 …if (UNEXPECTED(zend_hash_quick_find(&zobj->ce->function_table, lc_method_name, method_len+1, hash_… in zend_std_get_method()
1064 …if (zend_hash_quick_find(&EG(scope)->function_table, lc_method_name, method_len+1, hash_value, (vo… in zend_std_get_method()
1181 …UNEXPECTED(zend_hash_quick_find(&ce->function_table, lc_function_name, function_name_strlen+1, has… in zend_std_get_static_method()
1607 …if (zend_hash_find(&ce->function_table, ZEND_INVOKE_FUNC_NAME, sizeof(ZEND_INVOKE_FUNC_NAME), (voi… in zend_std_get_closure()
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()
H A Dzend_vm_def.h2636 …} else if (UNEXPECTED(zend_hash_quick_find(EG(function_table), Z_STRVAL_P(function_name), Z_STRLEN…
2665 …if (UNEXPECTED(zend_hash_find(EG(function_table), lcname, function_name_strlen+1, (void **) &call-…
2782 …} else if (zend_hash_quick_find(EG(function_table), Z_STRVAL(func_name->constant), Z_STRLEN(func_n…
2784 …if (UNEXPECTED(zend_hash_quick_find(EG(function_table), Z_STRVAL(func_name->constant), Z_STRLEN(fu…
2816 …} else if (UNEXPECTED(zend_hash_quick_find(EG(function_table), Z_STRVAL_P(fname), Z_STRLEN_P(fname…
4883 do_bind_function(EX(op_array), opline, EG(function_table), 0);
5199 …if (UNEXPECTED(zend_hash_quick_find(EG(function_table), Z_STRVAL_P(opline->op1.zv), Z_STRLEN_P(opl…
H A Dzend_vm_execute.h909 do_bind_function(EX(op_array), opline, EG(function_table), 0); in ZEND_DECLARE_FUNCTION_SPEC_HANDLER()
1233 …} else if (UNEXPECTED(zend_hash_quick_find(EG(function_table), Z_STRVAL_P(function_name), Z_STRLEN… in ZEND_INIT_FCALL_BY_NAME_SPEC_CONST_HANDLER()
1262 …if (UNEXPECTED(zend_hash_find(EG(function_table), lcname, function_name_strlen+1, (void **) &call-… in ZEND_INIT_FCALL_BY_NAME_SPEC_CONST_HANDLER()
1379 …} else if (zend_hash_quick_find(EG(function_table), Z_STRVAL(func_name->constant), Z_STRLEN(func_n… in ZEND_INIT_NS_FCALL_BY_NAME_SPEC_CONST_HANDLER()
1381 …if (UNEXPECTED(zend_hash_quick_find(EG(function_table), Z_STRVAL(func_name->constant), Z_STRLEN(fu… in ZEND_INIT_NS_FCALL_BY_NAME_SPEC_CONST_HANDLER()
1558 …} else if (UNEXPECTED(zend_hash_quick_find(EG(function_table), Z_STRVAL_P(function_name), Z_STRLEN… in ZEND_INIT_FCALL_BY_NAME_SPEC_TMP_HANDLER()
1587 …if (UNEXPECTED(zend_hash_find(EG(function_table), lcname, function_name_strlen+1, (void **) &call-… in ZEND_INIT_FCALL_BY_NAME_SPEC_TMP_HANDLER()
1774 …if (UNEXPECTED(zend_hash_find(EG(function_table), lcname, function_name_strlen+1, (void **) &call-… in ZEND_INIT_FCALL_BY_NAME_SPEC_VAR_HANDLER()
1999 …if (UNEXPECTED(zend_hash_find(EG(function_table), lcname, function_name_strlen+1, (void **) &call-… in ZEND_INIT_FCALL_BY_NAME_SPEC_CV_HANDLER()
2324 …} else if (UNEXPECTED(zend_hash_quick_find(EG(function_table), Z_STRVAL_P(fname), Z_STRLEN_P(fname… in ZEND_DO_FCALL_SPEC_CONST_HANDLER()
[all …]
/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/curl/
H A Dinterface.c1341 fci.function_table = EG(function_table); in curl_write()
1408 fci.function_table = EG(function_table); in curl_fnmatch()
1487 fci.function_table = EG(function_table); in curl_progress()
1562 fci.function_table = EG(function_table); in curl_read()
1639 fci.function_table = EG(function_table); in curl_write_header()
1718 error = call_user_function(EG(function_table), NULL, func, retval, 2, argv TSRMLS_CC); in curl_passwd()
/PHP-5.5/ext/dom/
H A Dxpath.c181 fci.function_table = EG(function_table); in dom_xpath_ext_function_php()
/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/ext/interbase/
H A Dibase_events.c236 if (SUCCESS != call_user_function(EG(function_table), NULL, in _php_ibase_callback()
H A Dphp_ibase_udf.c289 if (FAILURE == call_user_function(EG(function_table), NULL, in call_php()
/PHP-5.5/ext/json/
H A Djson.c575 …if (FAILURE == call_user_function_ex(EG(function_table), &val, &fname, &retval, 0, NULL, 1, NULL T… in json_encode_serializable_object()
/PHP-5.5/ext/ldap/
H A Dldap.c2465 …if (call_user_function_ex(EG(function_table), NULL, ld->rebindproc, &cb_retval, 2, cb_args, 0, NUL… in _ldap_rebind_proc()
/PHP-5.5/ext/mbstring/
H A Dmbstring.c1608 zend_hash_find(EG(function_table), p->save_func, in PHP_RINIT_FUNCTION()
1611 zend_hash_find(EG(function_table), p->ovld_func, strlen(p->ovld_func)+1 , (void **)&func); in PHP_RINIT_FUNCTION()
1613 …if (zend_hash_find(EG(function_table), p->orig_func, strlen(p->orig_func)+1, (void **)&orig) != SU… in PHP_RINIT_FUNCTION()
1617 …zend_hash_add(EG(function_table), p->save_func, strlen(p->save_func)+1, orig, sizeof(zend_function… in PHP_RINIT_FUNCTION()
1619 …if (zend_hash_update(EG(function_table), p->orig_func, strlen(p->orig_func)+1, func, sizeof(zend_f… in PHP_RINIT_FUNCTION()
1667 zend_hash_find(EG(function_table), p->save_func, in PHP_RSHUTDOWN_FUNCTION()
1670 …zend_hash_update(EG(function_table), p->orig_func, strlen(p->orig_func)+1, orig, sizeof(zend_funct… in PHP_RSHUTDOWN_FUNCTION()
1671 zend_hash_del(EG(function_table), p->save_func, strlen(p->save_func)+1); in PHP_RSHUTDOWN_FUNCTION()

Completed in 258 milliseconds

123