Home
last modified time | relevance | path

Searched refs:function_name (Results 1 – 25 of 79) sorted by relevance

1234

/PHP-7.2/Zend/
H A Dzend_interfaces.h42 …t_pp, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t functi…
44 #define zend_call_method_with_0_params(obj, obj_ce, fn_proxy, function_name, retval) \ argument
45 …zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 0, NULL, N…
47 #define zend_call_method_with_1_params(obj, obj_ce, fn_proxy, function_name, retval, arg1) \ argument
48 …zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 1, arg1, N…
50 #define zend_call_method_with_2_params(obj, obj_ce, fn_proxy, function_name, retval, arg1, arg2) \ argument
51 …zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 2, arg1, a…
H A Dzend_dtrace.d31 …probe function__entry(char* function_name, char* request_file, int lineno, char* classname, char* …
32 …probe function__return(char* function_name, char* request_file, int lineno, char* classname, char*…
H A Dzend_builtin_functions.c173 ZEND_ARG_INFO(0, function_name)
1860 zend_string *function_name; in ZEND_FUNCTION() local
2209 const char *function_name; in ZEND_FUNCTION() local
2287 function_name = NULL; in ZEND_FUNCTION()
2290 if (function_name) { in ZEND_FUNCTION()
2319 function_name = "unknown"; in ZEND_FUNCTION()
2324 function_name = "eval"; in ZEND_FUNCTION()
2328 function_name = "include"; in ZEND_FUNCTION()
2407 zend_string *function_name; in zend_fetch_debug_backtrace() local
2516 function_name = NULL; in zend_fetch_debug_backtrace()
[all …]
H A Dzend_interfaces.c35 …ject, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t functi… in zend_call_method() argument
59 ZVAL_STRINGL(&fci.function_name, function_name, function_name_len); in zend_call_method()
61 zval_ptr_dtor(&fci.function_name); in zend_call_method()
64 ZVAL_UNDEF(&fci.function_name); /* Unused */ in zend_call_method()
73 function_table, function_name, function_name_len); in zend_call_method()
76 …ation for method %s%s%s", obj_ce ? ZSTR_VAL(obj_ce->name) : "", obj_ce ? "::" : "", function_name); in zend_call_method()
108 …t execute method %s%s%s", obj_ce ? ZSTR_VAL(obj_ce->name) : "", obj_ce ? "::" : "", function_name); in zend_call_method()
H A Dzend_object_handlers.c1078 if ((func = zend_hash_find(&ce->function_table, function_name))) { in zend_check_private_int()
1095 return zend_check_private_int(fbc, ce, function_name) != NULL; in zend_check_private()
1136 if (EXPECTED(EG(trampoline).common.function_name == NULL)) { in zend_get_call_trampoline_func()
1165 func->function_name = zend_string_copy(method_name); in zend_get_call_trampoline_func()
1284 lc_function_name = zend_string_tolower(function_name); in zend_std_get_static_method()
1297 && (ZSTR_VAL(ce->constructor->common.function_name)[0] != '_' in zend_std_get_static_method()
1298 || ZSTR_VAL(ce->constructor->common.function_name)[1] != '_')) { in zend_std_get_static_method()
1315 return zend_get_user_call_function(call_ce, function_name); in zend_std_get_static_method()
1317 return zend_get_user_callstatic_function(ce, function_name); in zend_std_get_static_method()
1344 fbc = zend_get_user_callstatic_function(ce, function_name); in zend_std_get_static_method()
[all …]
H A Dzend_execute_API.c443 zend_string *function_name = func->common.function_name; in get_active_function_name() local
445 if (function_name) { in get_active_function_name()
446 return ZSTR_VAL(function_name); in get_active_function_name()
453 return ZSTR_VAL(func->common.function_name); in get_active_function_name()
649 ZVAL_COPY_VALUE(&fci.function_name, function_name); in _call_user_function_ex()
717 = zend_get_callable_name_ex(&fci->function_name, fci->object); in zend_call_function()
753 ZSTR_VAL(func->common.function_name)); in zend_call_function()
779 ZSTR_VAL(func->common.function_name)); in zend_call_function()
866 zend_string_release(func->common.function_name); in zend_call_function()
977 ZVAL_STR_COPY(&fcall_info.function_name, EG(autoload_func)->common.function_name); in zend_lookup_class_ex()
[all …]
H A Dzend_opcode.c70 op_array->function_name = NULL; in init_op_array()
111 ZEND_ASSERT(function->common.function_name); in destroy_zend_function()
112 zend_string_release(function->common.function_name); in destroy_zend_function()
138 ZEND_ASSERT(function->common.function_name); in zend_function_dtor()
143 ZEND_ASSERT(function->common.function_name); in zend_function_dtor()
144 zend_string_release(function->common.function_name); in zend_function_dtor()
384 if (op_array->run_time_cache && !op_array->function_name) { in destroy_op_array()
414 if (op_array->function_name) { in destroy_op_array()
415 zend_string_release(op_array->function_name); in destroy_op_array()
H A Dzend_API.c245 ZSTR_VAL(active_function->common.function_name), in zend_wrong_parameters_count_error()
911 ZSTR_VAL(active_function->common.function_name), in zend_parse_va_args()
2090 name_len = ZSTR_LEN(fptr->common.function_name); in zend_check_magic_method_implementation()
3376 fcc->function_handler->common.function_name) { in zend_is_callable_impl()
3435 fcc->function_handler->common.function_name) { in zend_is_callable_impl()
3523 ZVAL_COPY_VALUE(&fci->function_name, callable); in zend_fcall_info_init()
4303 return f->common.function_name; in zend_resolve_method_name()
4310 return f->common.function_name; in zend_resolve_method_name()
4313 …!strncasecmp(ZSTR_VAL(name), ZSTR_VAL(f->common.function_name), ZSTR_LEN(f->common.function_name))… in zend_resolve_method_name()
4314 return f->common.function_name; in zend_resolve_method_name()
[all …]
H A Dzend_closures.c59 zend_string_release(func->internal_function.function_name); in ZEND_METHOD()
83 ZSTR_VAL(func->common.function_name), in zend_valid_closure_binding()
244 ZVAL_STR(&fci.params[0], EX(func)->common.function_name); in ZEND_NAMED_FUNCTION()
273 && zend_string_equals_literal(mptr->common.function_name, "__invoke")) { in zend_create_closure_from_callable()
283 call.function_name = mptr->common.function_name; in zend_create_closure_from_callable()
371 invoke->internal_function.function_name = ZSTR_KNOWN(ZEND_STR_MAGIC_INVOKE); in zend_get_closure_invoke_method()
/PHP-7.2/ext/spl/
H A Dspl_functions.h71 #define SPL_ME(class_name, function_name, arg_info, flags) \ argument
72 PHP_ME( spl_ ## class_name, function_name, arg_info, flags)
74 #define SPL_ABSTRACT_ME(class_name, function_name, arg_info) \ argument
75 ZEND_ABSTRACT_ME( spl_ ## class_name, function_name, arg_info)
77 #define SPL_METHOD(class_name, function_name) \ argument
78 PHP_METHOD(spl_ ## class_name, function_name)
80 #define SPL_MA(class_name, function_name, alias_class, alias_function, arg_info, flags) \ argument
81 PHP_MALIAS(spl_ ## alias_class, function_name, alias_function, arg_info, flags)
H A Dspl_engine.h38 …l_method(retval, pce, &func, ZSTR_VAL(func->common.function_name), ZSTR_LEN(func->common.function_… in spl_instantiate_arg_ex1()
49 …l_method(retval, pce, &func, ZSTR_VAL(func->common.function_name), ZSTR_LEN(func->common.function_… in spl_instantiate_arg_ex2()
65 ZVAL_STR(&fci.function_name, func->common.function_name); in spl_instantiate_arg_n()
/PHP-7.2/sapi/phpdbg/
H A Dphpdbg_print.c69 ZSTR_VAL(method->common.function_name), in phpdbg_print_function_helper()
77 method->common.function_name ? ZSTR_VAL(method->common.function_name) : "{main}", in phpdbg_print_function_helper()
99 …", "type=\"Internal\" function=\"%s\"", "\tInternal %s()", ZSTR_VAL(method->common.function_name)); in phpdbg_print_function_helper()
128 if (ops->function_name) { in PHPDBG_PRINT()
130 …"Stack in %s::%s() (%d ops)", ZSTR_VAL(ops->scope->name), ZSTR_VAL(ops->function_name), ops->last); in PHPDBG_PRINT()
132 …, "function=\"%s\" num=\"%d\"", "Stack in %s() (%d ops)", ZSTR_VAL(ops->function_name), ops->last); in PHPDBG_PRINT()
195 ZSTR_VAL(fbc->common.function_name), in PHPDBG_PRINT()
246 ZSTR_VAL(fbc->common.function_name), in PHPDBG_PRINT()
274 …->op_array.function_name->len == len && !zend_binary_strcasecmp(function, len, func->op_array.func… in phpdbg_print_opcodes_function()
283 …tion name: %.*s\n", (int) ZSTR_LEN(func->op_array.function_name), ZSTR_VAL(func->op_array.function… in phpdbg_print_opcodes_function()
[all …]
H A Dphpdbg_info.c213 if (ops->function_name) { in phpdbg_print_symbols()
215 …um=\"%d\"", "Variables in %s::%s() (%d)", ops->scope->name->val, ops->function_name->val, zend_has… in phpdbg_print_symbols()
217 …"function=\"%s\" num=\"%d\"", "Variables in %s() (%d)", ZSTR_VAL(ops->function_name), zend_hash_nu… in phpdbg_print_symbols()
314 if (ops->function_name) { in PHPDBG_INFO()
316 …d\"", "Literal Constants in %s::%s() (%d)", ops->scope->name->val, ops->function_name->val, count); in PHPDBG_INFO()
318 …", "function=\"%s\" num=\"%d\"", "Literal Constants in %s() (%d)", ops->function_name->val, count); in PHPDBG_INFO()
452 …function", "name=\"%s\"", "|-------- %s", op_array->function_name ? ZSTR_VAL(op_array->function_na… in PHPDBG_INFO()
H A Dphpdbg_opcode.h33 zend_string *function_name; member
H A Dphpdbg_opcode.c182 cur->function_name = op_array->function_name; in phpdbg_print_opline_ex()
/PHP-7.2/sapi/fpm/fpm/
H A Dfpm_php_trace.c79 long function_name; in fpm_php_trace_dump() local
91 if (0 > fpm_trace_get_long(function + offsetof(zend_function, common.function_name), &l)) { in fpm_php_trace_dump()
95 function_name = l; in fpm_php_trace_dump()
97 if (function_name == 0) { in fpm_php_trace_dump()
111 if (0 > fpm_trace_get_strz(buf, buf_size, function_name + offsetof(zend_string, val))) { in fpm_php_trace_dump()
/PHP-7.2/scripts/dev/generate-phpt/src/texts/
H A Dhelp.txt2 php generate-phpt.php -f <function_name> |-c <class_name> -m <method_name> -b|e|v [-s skipif:ini:c…
5 -f function_name ................. Name of PHP function, eg cos
/PHP-7.2/ext/opcache/
H A Dzend_persist_calc.c173 if (op_array->function_name) { in zend_persist_op_array_calc_ex()
174 zend_string *new_name = zend_shared_alloc_get_xlat_entry(op_array->function_name); in zend_persist_op_array_calc_ex()
176 op_array->function_name = new_name; in zend_persist_op_array_calc_ex()
194 if (op_array->function_name) { in zend_persist_op_array_calc_ex()
195 zend_string *old_name = op_array->function_name; in zend_persist_op_array_calc_ex()
199 op_array->function_name = new_name; in zend_persist_op_array_calc_ex()
201 ADD_INTERNED_STRING(op_array->function_name, 0); in zend_persist_op_array_calc_ex()
202 zend_shared_alloc_register_xlat_entry(old_name, op_array->function_name); in zend_persist_op_array_calc_ex()
/PHP-7.2/ext/soap/
H A Dsoap.c323 ZEND_ARG_INFO(0, function_name)
328 ZEND_ARG_INFO(0, function_name)
657 fe.function_name = NULL; in PHP_MINIT_FUNCTION()
1450 zend_str_tolower_copy(ZSTR_VAL(key), Z_STRVAL_P(function_name), Z_STRLEN_P(function_name)); in PHP_METHOD()
1804 fn_name = estrndup(Z_STRVAL(h->function_name),Z_STRLEN(h->function_name));
1843 fn_name = estrndup(Z_STRVAL(function_name),Z_STRLEN(function_name));
1897 memcpy(response_name,Z_STRVAL(function_name),Z_STRLEN(function_name));
1976 zval_dtor(&h->function_name);
1989 zval_dtor(&function_name);
3625 smart_str_appendl(&key, Z_STRVAL(h->function_name), Z_STRLEN(h->function_name));
[all …]
/PHP-7.2/ext/soap/tests/bugs/
H A Dbug41477.phpt16 string(13) "function_name"
/PHP-7.2/Zend/tests/
H A Dfunction_exists_error.phpt6 * proto bool function_exists(string function_name)
H A Dfunction_exists_basic.phpt6 * proto bool function_exists(string function_name)
/PHP-7.2/ext/standard/
H A Dbasic_functions.h263 PHPAPI extern zend_bool register_user_shutdown_function(char *function_name, size_t function_len, p…
264 PHPAPI extern zend_bool remove_user_shutdown_function(char *function_name, size_t function_len);
/PHP-7.2/ext/standard/tests/general_functions/
H A Dcall_user_func_array_variation_003.phpt5 /* Prototype : mixed call_user_func_array(string function_name, array parameters)
25 $function_name = 'test_func';
103 var_dump( call_user_func_array($function_name, $value) );
/PHP-7.2/ext/zend_test/
H A Dtest.c143 fptr->function_name = zend_string_copy(name); in zend_test_class_method_get()
159 fptr->function_name = name; in zend_test_class_static_method_get()

Completed in 70 milliseconds

1234