Home
last modified time | relevance | path

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

1234

/PHP-8.1/Zend/
H A Dzend_interfaces.h41 …ject, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t functi…
43 #define zend_call_method_with_0_params(obj, obj_ce, fn_proxy, function_name, retval) \ argument
44 …zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 0, NULL, N…
46 #define zend_call_method_with_1_params(obj, obj_ce, fn_proxy, function_name, retval, arg1) \ argument
47 …zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 1, arg1, N…
49 #define zend_call_method_with_2_params(obj, obj_ce, fn_proxy, function_name, retval, arg1, arg2) \ argument
50 …zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 2, arg1, a…
H A Dzend_dtrace.d29 …probe function__entry(char* function_name, char* request_file, int lineno, char* classname, char* …
30 …probe function__return(char* function_name, char* request_file, int lineno, char* classname, char*…
H A Dzend_closures.c83 ZSTR_VAL(func->common.function_name), in zend_valid_closure_binding()
179 ZVAL_OBJ(&fci.function_name, &closure->std); in ZEND_METHOD()
279 ZVAL_STR(&fci.params[0], EX(func)->common.function_name); in ZEND_NAMED_FUNCTION()
333 call.function_name = mptr->common.function_name; in zend_create_closure_from_callable()
348 zend_string_release(mptr->common.function_name); in zend_create_closure_from_callable()
420 if (!zend_string_equals(lhs->func.common.function_name, rhs->func.common.function_name)) { in zend_closure_compare()
493 zend_string_release(closure->func.common.function_name); in zend_closure_free_storage()
692 zend_string_addref(closure->func.op_array.function_name); in zend_create_closure_ex()
757 zend_string_addref(closure->func.op_array.function_name); in zend_create_closure_ex()
817 trampoline.function_name = mptr->common.function_name; in zend_closure_from_frame()
[all …]
H A Dzend_execute_API.c181 EG(trampoline).common.function_name = NULL; in init_executor()
533 zend_string *function_name = func->common.function_name; in get_active_function_name() local
535 if (function_name) { in get_active_function_name()
536 return ZSTR_VAL(function_name); in get_active_function_name()
543 return ZSTR_VAL(func->common.function_name); in get_active_function_name()
561 if (func->common.scope && func->common.function_name) { in get_function_or_method_name()
565 …return func->common.function_name ? zend_string_copy(func->common.function_name) : zend_string_ini… in get_function_or_method_name()
723 ZVAL_COPY_VALUE(&fci.function_name, function_name); in _call_user_function_impl()
765 = zend_get_callable_name_ex(&fci->function_name, fci->object); in zend_call_function()
1014 ZVAL_UNDEF(&fci.function_name); /* Unused */ in zend_call_known_function()
[all …]
H A Dzend_object_handlers.c1185 func = zend_hash_find(&scope->function_table, function_name); in zend_get_parent_private_method()
1240 if (EXPECTED(EG(trampoline).common.function_name == NULL)) { in zend_get_call_trampoline_func()
1274 func->function_name = zend_string_copy(method_name); in zend_get_call_trampoline_func()
1305 ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); in zend_abstract_method_call()
1387 zend_class_entry *ce, zend_string *function_name) in get_static_method_fallback() argument
1397 return zend_get_user_call_function(object->ce, function_name); in get_static_method_fallback()
1399 return zend_get_user_callstatic_function(ce, function_name); in get_static_method_fallback()
1411 lc_function_name = zend_string_tolower(function_name); in zend_std_get_static_method()
1425 zend_bad_method_call(fbc, function_name, scope); in zend_std_get_static_method()
1432 fbc = get_static_method_fallback(ce, function_name); in zend_std_get_static_method()
[all …]
H A Dzend_interfaces.c38 …ject, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t functi… in zend_call_method() argument
57 &obj_ce->function_table, function_name, function_name_len); in zend_call_method()
60 …RE_ERROR, "Couldn't find implementation for method %s::%s", ZSTR_VAL(obj_ce->name), function_name); in zend_call_method()
63 fn = zend_fetch_function_str(function_name, function_name_len); in zend_call_method()
66 … zend_error_noreturn(E_CORE_ERROR, "Couldn't find implementation for function %s", function_name); in zend_call_method()
H A Dzend_fibers.c487 zval_ptr_dtor(&fiber->fci.function_name); in zend_fiber_execute()
488 ZVAL_UNDEF(&fiber->fci.function_name); in zend_fiber_execute()
638 zval_ptr_dtor(&fiber->fci.function_name); in zend_fiber_object_free()
649 zend_get_gc_buffer_add_zval(buf, &fiber->fci.function_name); in zend_fiber_object_gc()
689 Z_TRY_ADDREF(fiber->fci.function_name); in ZEND_METHOD()
H A Dzend_API.c1028 ZSTR_VAL(active_function->common.function_name), msg); in zend_parse_parameters_debug_error()
2444 ZSTR_VAL(ce->name), ZSTR_VAL(fptr->common.function_name), in zend_check_magic_method_arg_type()
2471 ZSTR_VAL(ce->name), ZSTR_VAL(fptr->common.function_name), in zend_check_magic_method_return_type()
2481 ZSTR_VAL(ce->name), ZSTR_VAL(fptr->common.function_name)); in zend_check_magic_method_non_static()
2490 ZSTR_VAL(ce->name), ZSTR_VAL(fptr->common.function_name)); in zend_check_magic_method_static()
2500 ZSTR_VAL(ce->name), ZSTR_VAL(fptr->common.function_name)); in zend_check_magic_method_public()
2509 ZSTR_VAL(ce->name), ZSTR_VAL(fptr->common.function_name)); in zend_check_magic_method_no_return_type()
2515 if (ZSTR_VAL(fptr->common.function_name)[0] != '_' in zend_check_magic_method_implementation()
2516 || ZSTR_VAL(fptr->common.function_name)[1] != '_') { in zend_check_magic_method_implementation()
3449 if (fcc->function_handler->common.function_name) { in zend_release_fcall_info_cache()
[all …]
/PHP-8.1/ext/zend_test/
H A Dobserver.c76 if (execute_data->func && execute_data->func->common.function_name) { in observer_begin()
80 …<%s>\n", 2 * ZT_G(observer_nesting_depth), "", ZSTR_VAL(execute_data->func->common.function_name)); in observer_begin()
124 if (execute_data->func && execute_data->func->common.function_name) { in observer_end()
140 if (fbc->common.function_name) { in observer_show_init()
144 …s<!-- init %s() -->\n", 2 * ZT_G(observer_nesting_depth), "", ZSTR_VAL(fbc->common.function_name)); in observer_show_init()
158 if (fbc->common.function_name) { in observer_show_init_backtrace()
160 …*s%s::%s()\n", indent, "", ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); in observer_show_init_backtrace()
162 php_printf("%*s%s()\n", indent, "", ZSTR_VAL(fbc->common.function_name)); in observer_show_init_backtrace()
184 } else if (fbc->common.function_name) { in observer_fcall_init()
263 if (fbc->common.function_name) { in zend_test_execute_internal()
[all …]
H A Dtest.c66 RETVAL_STR_COPY(EX(func)->common.function_name); in ZEND_FUNCTION()
70 zend_string_release(EX(func)->common.function_name); in ZEND_FUNCTION()
277 …zend_string *function_name = get_function_or_method_name(EG(current_execute_data)->prev_execute_da… in ZEND_FUNCTION() local
279 RETURN_STR(function_name); in ZEND_FUNCTION()
482 if (EXPECTED(EG(trampoline).common.function_name == NULL)) { in zend_test_class_method_get()
492 fptr->function_name = zend_string_copy(name); in zend_test_class_method_get()
505 if (EXPECTED(EG(trampoline).common.function_name == NULL)) { in zend_test_class_static_method_get()
515 fptr->function_name = zend_string_copy(name); in zend_test_class_static_method_get()
H A Dfiber.c103 zval_ptr_dtor(&fiber->fci.function_name); in zend_test_fiber_execute()
198 zval_ptr_dtor(&fiber->fci.function_name); in zend_test_fiber_object_free()
235 Z_TRY_ADDREF(fiber->fci.function_name); in ZEND_METHOD()
330 Z_TRY_ADDREF(target->fci.function_name); in ZEND_METHOD()
/PHP-8.1/sapi/phpdbg/
H A Dphpdbg_print.c64 i, (int) ZSTR_LEN(def->function_name), ZSTR_VAL(def->function_name)); in phpdbg_print_function_helper()
72 …tInternal %s::%s()", ZSTR_VAL(method->common.scope->name), ZSTR_VAL(method->common.function_name)); in phpdbg_print_function_helper()
74 phpdbg_writeln("\tInternal %s()", ZSTR_VAL(method->common.function_name)); in phpdbg_print_function_helper()
103 if (ops->function_name) { in PHPDBG_PRINT()
105 …"Stack in %s::%s() (%d ops)", ZSTR_VAL(ops->scope->name), ZSTR_VAL(ops->function_name), ops->last); in PHPDBG_PRINT()
107 phpdbg_notice("Stack in %s() (%d ops)", ZSTR_VAL(ops->function_name), ops->last); in PHPDBG_PRINT()
166 ZSTR_VAL(fbc->common.function_name), in PHPDBG_PRINT()
217 ZSTR_VAL(fbc->common.function_name), in PHPDBG_PRINT()
300 phpdbg_out("%s", ZSTR_VAL(method->common.function_name)); in phpdbg_print_opcodes_ce()
378 cur->function_name = op_array->function_name; in phpdbg_print_opline()
H A Dphpdbg_info.c213 if (ops->function_name) { in phpdbg_print_symbols()
215 …phpdbg_notice("Variables in %s::%s() (%d)", ops->scope->name->val, ops->function_name->val, zend_h… in phpdbg_print_symbols()
217 …phpdbg_notice("Variables in %s() (%d)", ZSTR_VAL(ops->function_name), zend_hash_num_elements(&vars… in phpdbg_print_symbols()
312 if (ops->function_name) { in PHPDBG_INFO()
314 …phpdbg_notice("Literal Constants in %s::%s() (%d)", ops->scope->name->val, ops->function_name->val… in PHPDBG_INFO()
316 phpdbg_notice("Literal Constants in %s() (%d)", ops->function_name->val, count); in PHPDBG_INFO()
448 …phpdbg_write("|-------- %s", op_array->function_name ? ZSTR_VAL(op_array->function_name) : "{main}… in PHPDBG_INFO()
H A Dphpdbg_bp.c523 } else if (op_array->function_name) { in phpdbg_resolve_op_array_break()
546 if (op_array->function_name == NULL) { in phpdbg_resolve_op_array_breaks()
550 …} else if (!op_array->function_name || !(oplines_table = zend_hash_find_ptr(func_table, op_array-> in phpdbg_resolve_op_array_breaks()
592 …if (op_array->function_name == NULL && op_array->scope == NULL && new_break->class_len == ZSTR_LEN… in phpdbg_resolve_opline_break()
970 if (ops->function_name) { in phpdbg_find_breakpoint_symbol()
972 zend_string *fname = zend_string_tolower(ops->function_name); in phpdbg_find_breakpoint_symbol()
990 zend_string *lcname = zend_string_tolower(ops->function_name); in phpdbg_find_breakpoint_method()
1040 str = ops->function_name ? ZSTR_VAL(ops->function_name) : "main"; in phpdbg_find_breakpoint_param()
1041 len = ops->function_name ? ZSTR_LEN(ops->function_name) : strlen(str); in phpdbg_find_breakpoint_param()
1074 lengths[1] = ZSTR_LEN(ops->function_name); in phpdbg_find_breakpoint_param()
[all …]
/PHP-8.1/sapi/fpm/fpm/
H A Dfpm_php_trace.c74 long function_name; in fpm_php_trace_dump() local
86 if (0 > fpm_trace_get_long(function + offsetof(zend_function, common.function_name), &l)) { in fpm_php_trace_dump()
90 function_name = l; in fpm_php_trace_dump()
92 if (function_name == 0) { in fpm_php_trace_dump()
106 if (0 > fpm_trace_get_strz(buf, buf_size, function_name + offsetof(zend_string, val))) { in fpm_php_trace_dump()
/PHP-8.1/ext/spl/
H A Dphp_spl.c371 zend_string_release_ex(alfi->func_ptr->common.function_name, 0); in autoload_func_info_destroy()
394 if (Z_TYPE(fci->function_name) == IS_OBJECT) { in autoload_func_info_from_fci()
395 alfi->closure = Z_OBJ(fci->function_name); in autoload_func_info_from_fci()
412 …&& zend_string_equals(alfi1->func_ptr->common.function_name, alfi2->func_ptr->common.function_name) in autoload_func_info_equals()
441 zend_string_addref(func->op_array.function_name); in spl_perform_autoload()
536 zend_is_callable_ex(&fci.function_name, NULL, 0, NULL, &fcc, NULL); in PHP_FUNCTION()
550 alfi->func_ptr->common.function_name = NULL; in PHP_FUNCTION()
587 fcc.function_handler->common.function_name, "spl_autoload_call")) { in PHP_FUNCTION()
597 zend_is_callable_ex(&fci.function_name, NULL, 0, NULL, &fcc, NULL); in PHP_FUNCTION()
636 add_next_index_str(&tmp, zend_string_copy(alfi->func_ptr->common.function_name)); in PHP_FUNCTION()
[all …]
/PHP-8.1/ext/standard/
H A Dbasic_functions.h141 PHPAPI extern bool register_user_shutdown_function(const char *function_name, size_t function_len, …
142 PHPAPI extern bool remove_user_shutdown_function(const char *function_name, size_t function_len);
H A Dphp_var.h62 …eturn_value, const char *buf, const size_t buf_len, HashTable *options, const char* function_name);
/PHP-8.1/win32/
H A Dsignal.c122 zend_string *func_name = zend_get_callable_name(&fci.function_name); in PHP_FUNCTION()
129 ZVAL_COPY(&ctrl_handler, &fci.function_name); in PHP_FUNCTION()
/PHP-8.1/ext/soap/
H A Dsoap.c38 zval function_name; member
1089 zval *function_name, function_copy; in PHP_METHOD() local
1101 if (Z_TYPE_P(function_name) == IS_ARRAY) { in PHP_METHOD()
1552 memcpy(response_name,Z_STRVAL(function_name),Z_STRLEN(function_name));
1633 zval_ptr_dtor_str(&h->function_name);
1646 zval_ptr_dtor_str(&function_name);
1705 ZVAL_NULL(&(*p)->function_name);
3204 smart_str_appendl(&key, Z_STRVAL(h->function_name), Z_STRLEN(h->function_name));
3826 if (function_name) {
4071 int len = strlen(function_name);
[all …]
/PHP-8.1/ext/opcache/
H A Dzend_persist_calc.c188 if (op_array->function_name) { in zend_persist_op_array_calc_ex()
189 zend_string *old_name = op_array->function_name; in zend_persist_op_array_calc_ex()
190 ADD_INTERNED_STRING(op_array->function_name); in zend_persist_op_array_calc_ex()
192 if (op_array->function_name != old_name in zend_persist_op_array_calc_ex()
193 && !zend_shared_alloc_get_xlat_entry(&op_array->function_name)) { in zend_persist_op_array_calc_ex()
194 zend_shared_alloc_register_xlat_entry(&op_array->function_name, old_name); in zend_persist_op_array_calc_ex()
348 zend_shared_alloc_get_xlat_entry(&old_op_array->function_name); in zend_persist_class_method_calc()
/PHP-8.1/ext/com_dotnet/
H A Dcom_handlers.c242 zend_string_release_ex(f->function_name, 0); in function_dtor()
252 zend_string *method = EX(func)->common.function_name; in PHP_FUNCTION()
285 zend_string_release(EX(func)->common.function_name); in PHP_FUNCTION()
313 f.function_name = zend_string_copy(name); in com_method_get()
381 zend_string_addref(fptr->function_name); in com_method_get()
/PHP-8.1/ext/pdo_sqlite/
H A Dsqlite_driver.c343 ZVAL_COPY_VALUE(&fc->fci.function_name, cb); in do_callback()
493 ZVAL_COPY_VALUE(&collation->fc.fci.function_name, &collation->callback); in php_sqlite3_collation_callback()
559 ZVAL_COPY(&func->func, &fci.function_name); in PHP_METHOD()
625 ZVAL_COPY(&func->step, &step_fci.function_name); in PHP_METHOD()
627 ZVAL_COPY(&func->fini, &fini_fci.function_name); in PHP_METHOD()
671 ZVAL_COPY(&collation->callback, &fci.function_name); in PHP_METHOD()
/PHP-8.1/Zend/Optimizer/
H A Dzend_func_info.c108 zend_string *name = callee_func->common.function_name; in zend_get_internal_func_info()
149 zend_string *name = callee_func->common.function_name; in zend_get_func_info()
/PHP-8.1/ext/dom/
H A Dxpath.c143 ZVAL_STRING(&fci.function_name, (char *) obj->stringval); in dom_xpath_ext_function_php()
150 if (!zend_make_callable(&fci.function_name, &callable)) { in dom_xpath_ext_function_php()
185 zval_ptr_dtor_nogc(&fci.function_name); in dom_xpath_ext_function_php()

Completed in 140 milliseconds

1234