Home
last modified time | relevance | path

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

1234

/PHP-8.3/Zend/
H A Dzend_interfaces.h41 …ject, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t functi…
44 zend_function **fn_proxy, const char *function_name, zval *retval) in zend_call_method_with_0_params() argument
46 …return zend_call_method(object, obj_ce, fn_proxy, function_name, strlen(function_name), retval, 0,… in zend_call_method_with_0_params()
50 zend_function **fn_proxy, const char *function_name, zval *retval, zval* arg1) in zend_call_method_with_1_params() argument
52 …return zend_call_method(object, obj_ce, fn_proxy, function_name, strlen(function_name), retval, 1,… in zend_call_method_with_1_params()
56 zend_function **fn_proxy, const char *function_name, zval *retval, zval* arg1, zval* arg2) in zend_call_method_with_2_params() argument
58 …return zend_call_method(object, obj_ce, fn_proxy, function_name, strlen(function_name), retval, 2,… in zend_call_method_with_2_params()
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.c88 ZSTR_VAL(func->common.function_name), in zend_valid_closure_binding()
153 ZVAL_OBJ(&fci.function_name, &closure->std); in ZEND_METHOD()
301 ZVAL_STR(&fci.params[0], EX(func)->common.function_name); in ZEND_NAMED_FUNCTION()
366 call.function_name = mptr->common.function_name; in zend_create_closure_from_callable()
381 zend_string_release(mptr->common.function_name); in zend_create_closure_from_callable()
453 if (!zend_string_equals(lhs->func.common.function_name, rhs->func.common.function_name)) { in zend_closure_compare()
527 zend_string_release(closure->func.common.function_name); in zend_closure_free_storage()
601 ZVAL_STR_COPY(&val, closure->func.common.function_name); in zend_closure_get_debug_info()
740 zend_string_addref(closure->func.op_array.function_name); in zend_create_closure_ex()
865 trampoline.function_name = mptr->common.function_name; in zend_closure_from_frame()
[all …]
H A Dzend_execute_API.c182 EG(trampoline).common.function_name = NULL; in init_executor()
543 zend_string *function_name = func->common.function_name; in get_active_function_name() local
545 if (function_name) { in get_active_function_name()
546 return ZSTR_VAL(function_name); in get_active_function_name()
553 return ZSTR_VAL(func->common.function_name); in get_active_function_name()
571 if (func->common.scope && func->common.function_name) { in get_function_or_method_name()
575 …return func->common.function_name ? zend_string_copy(func->common.function_name) : ZSTR_INIT_LITER… in get_function_or_method_name()
747 ZVAL_COPY_VALUE(&fci.function_name, function_name); in _call_user_function_impl()
792 = zend_get_callable_name_ex(&fci->function_name, fci->object); in zend_call_function()
1045 ZVAL_UNDEF(&fci.function_name); /* Unused */ in zend_call_known_function()
[all …]
H A Dzend_object_handlers.c1283 func = zend_hash_find(&scope->function_table, function_name); in zend_get_parent_private_method()
1338 if (EXPECTED(EG(trampoline).common.function_name == NULL)) { in zend_get_call_trampoline_func()
1376 func->function_name = zend_string_copy(method_name); in zend_get_call_trampoline_func()
1407 ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); in zend_abstract_method_call()
1489 zend_class_entry *ce, zend_string *function_name) in get_static_method_fallback() argument
1499 return zend_get_user_call_function(object->ce, function_name); in get_static_method_fallback()
1501 return zend_get_user_callstatic_function(ce, function_name); in get_static_method_fallback()
1513 lc_function_name = zend_string_tolower(function_name); in zend_std_get_static_method()
1527 zend_bad_method_call(fbc, function_name, scope); in zend_std_get_static_method()
1534 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.c600 zval_ptr_dtor(&fiber->fci.function_name); in zend_fiber_execute()
601 ZVAL_UNDEF(&fiber->fci.function_name); in zend_fiber_execute()
746 zval_ptr_dtor(&fiber->fci.function_name); in zend_fiber_object_free()
757 zend_get_gc_buffer_add_zval(buf, &fiber->fci.function_name); in zend_fiber_object_gc()
817 …if (UNEXPECTED(fiber->context.status != ZEND_FIBER_STATUS_INIT || Z_TYPE(fiber->fci.function_name)… in ZEND_METHOD()
826 Z_TRY_ADDREF(fiber->fci.function_name); in ZEND_METHOD()
/PHP-8.3/ext/zend_test/
H A Dobserver.c85 if (execute_data->func && execute_data->func->common.function_name) { in observer_begin()
89 …<%s>\n", 2 * ZT_G(observer_nesting_depth), "", ZSTR_VAL(execute_data->func->common.function_name)); in observer_begin()
135 if (execute_data->func && execute_data->func->common.function_name) { in observer_end()
151 if (fbc->common.function_name) { in observer_show_init()
155 …s<!-- init %s() -->\n", 2 * ZT_G(observer_nesting_depth), "", ZSTR_VAL(fbc->common.function_name)); in observer_show_init()
174 if (fbc->common.function_name) { in observer_show_init_backtrace()
176 …*s%s::%s()\n", indent, "", ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); in observer_show_init_backtrace()
178 php_printf("%*s%s()\n", indent, "", ZSTR_VAL(fbc->common.function_name)); in observer_show_init_backtrace()
200 } else if (fbc->common.function_name) { in observer_fcall_init()
203 } else if (zend_hash_exists(ZT_G(observer_observe_function_names), fbc->common.function_name)) { in observer_fcall_init()
[all …]
H A Dfiber.c108 zval_ptr_dtor(&fiber->fci.function_name); in zend_test_fiber_execute()
202 zval_ptr_dtor(&fiber->fci.function_name); in zend_test_fiber_object_free()
239 Z_TRY_ADDREF(fiber->fci.function_name); in ZEND_METHOD()
334 Z_TRY_ADDREF(target->fci.function_name); in ZEND_METHOD()
H A Dtest.c81 RETVAL_STR_COPY(EX(func)->common.function_name); in ZEND_FUNCTION()
85 zend_string_release(EX(func)->common.function_name); in ZEND_FUNCTION()
371 …zend_string *function_name = get_function_or_method_name(EG(current_execute_data)->prev_execute_da… in ZEND_FUNCTION() local
373 RETURN_STR(function_name); in ZEND_FUNCTION()
820 if (EXPECTED(EG(trampoline).common.function_name == NULL)) { in zend_test_class_method_get()
830 fptr->function_name = zend_string_copy(name); in zend_test_class_method_get()
843 if (EXPECTED(EG(trampoline).common.function_name == NULL)) { in zend_test_class_static_method_get()
853 fptr->function_name = zend_string_copy(name); in zend_test_class_static_method_get()
/PHP-8.3/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()
454 …phpdbg_write("|-------- %s", op_array->function_name ? ZSTR_VAL(op_array->function_name) : "{main}… in PHPDBG_INFO()
H A Dphpdbg_frame.c63 smart_str_append(&s, op_array->function_name); in phpdbg_compile_stackframe()
278 zval *function_name = NULL; in phpdbg_dump_backtrace() local
293 function_name = zend_hash_find(Z_ARRVAL_P(tmp), ZSTR_KNOWN(ZEND_STR_FUNCTION)); in phpdbg_dump_backtrace()
301 phpdbg_writeln(" => %s (internal function)", Z_STRVAL_P(function_name)); in phpdbg_dump_backtrace()
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.3/sapi/fpm/fpm/
H A Dfpm_php_trace.c73 long function_name; in fpm_php_trace_dump() local
85 if (0 > fpm_trace_get_long(function + offsetof(zend_function, common.function_name), &l)) { in fpm_php_trace_dump()
89 function_name = l; in fpm_php_trace_dump()
91 if (function_name == 0) { in fpm_php_trace_dump()
105 if (0 > fpm_trace_get_strz(buf, sizeof(buf), function_name + offsetof(zend_string, val))) { in fpm_php_trace_dump()
/PHP-8.3/ext/spl/
H A Dphp_spl.c373 zend_string_release_ex(alfi->func_ptr->common.function_name, 0); in autoload_func_info_destroy()
396 if (Z_TYPE(fci->function_name) == IS_OBJECT) { in autoload_func_info_from_fci()
397 alfi->closure = Z_OBJ(fci->function_name); in autoload_func_info_from_fci()
414 …&& zend_string_equals(alfi1->func_ptr->common.function_name, alfi2->func_ptr->common.function_name) in autoload_func_info_equals()
443 zend_string_addref(func->op_array.function_name); in spl_perform_autoload()
539 …zend_is_callable_ex(&fci.function_name, NULL, IS_CALLABLE_SUPPRESS_DEPRECATIONS, NULL, &fcc, NULL); in PHP_FUNCTION()
553 alfi->func_ptr->common.function_name = NULL; in PHP_FUNCTION()
590 fcc.function_handler->common.function_name, "spl_autoload_call")) { in PHP_FUNCTION()
602 zend_is_callable_ex(&fci.function_name, NULL, 0, NULL, &fcc, NULL); in PHP_FUNCTION()
641 add_next_index_str(&tmp, zend_string_copy(alfi->func_ptr->common.function_name)); in PHP_FUNCTION()
[all …]
/PHP-8.3/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.3/ext/standard/
H A Dbasic_functions.h134 PHPAPI extern bool register_user_shutdown_function(const char *function_name, size_t function_len, …
135 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.3/ext/soap/
H A Dsoap.c37 zval function_name; member
1045 zval *function_name, function_copy; in PHP_METHOD() local
1057 if (Z_TYPE_P(function_name) == IS_ARRAY) { in PHP_METHOD()
1509 memcpy(response_name,Z_STRVAL(function_name),Z_STRLEN(function_name));
1590 zval_ptr_dtor_str(&h->function_name);
1603 zval_ptr_dtor_str(&function_name);
1663 ZVAL_NULL(&(*p)->function_name);
3165 smart_str_appendl(&key, Z_STRVAL(h->function_name), Z_STRLEN(h->function_name));
3787 if (function_name) {
4032 int len = strlen(function_name);
[all …]
/PHP-8.3/ext/opcache/
H A Dzend_persist_calc.c205 if (op_array->function_name) { in zend_persist_op_array_calc_ex()
206 zend_string *old_name = op_array->function_name; in zend_persist_op_array_calc_ex()
207 ADD_INTERNED_STRING(op_array->function_name); in zend_persist_op_array_calc_ex()
209 if (op_array->function_name != old_name in zend_persist_op_array_calc_ex()
210 && !zend_shared_alloc_get_xlat_entry(&op_array->function_name)) { in zend_persist_op_array_calc_ex()
211 zend_shared_alloc_register_xlat_entry(&op_array->function_name, old_name); in zend_persist_op_array_calc_ex()
365 zend_shared_alloc_get_xlat_entry(&old_op_array->function_name); in zend_persist_class_method_calc()
/PHP-8.3/ext/pdo_sqlite/
H A Dsqlite_driver.c330 ZVAL_COPY_VALUE(&fc->fci.function_name, cb); in do_callback()
479 ZVAL_COPY_VALUE(&collation->fc.fci.function_name, &collation->callback); in php_sqlite3_collation_callback()
545 ZVAL_COPY(&func->func, &fci.function_name); in PHP_METHOD()
611 ZVAL_COPY(&func->step, &step_fci.function_name); in PHP_METHOD()
613 ZVAL_COPY(&func->fini, &fini_fci.function_name); in PHP_METHOD()
657 ZVAL_COPY(&collation->callback, &fci.function_name); in PHP_METHOD()
/PHP-8.3/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()
284 zend_string_release(EX(func)->common.function_name); in PHP_FUNCTION()
312 f.function_name = zend_string_copy(name); in com_method_get()
380 zend_string_addref(fptr->function_name); in com_method_get()
/PHP-8.3/Zend/Optimizer/
H A Dzend_func_info.c106 zend_string *name = callee_func->common.function_name; in zend_get_internal_func_info()
152 zend_string *name = callee_func->common.function_name; in zend_get_func_info()
/PHP-8.3/ext/dom/
H A Dxpath.c146 ZVAL_STRING(&fci.function_name, (char *) obj->stringval); in dom_xpath_ext_function_php()
153 if (!zend_make_callable(&fci.function_name, &callable)) { in dom_xpath_ext_function_php()
188 zval_ptr_dtor_nogc(&fci.function_name); in dom_xpath_ext_function_php()

Completed in 68 milliseconds

1234