/php-src/ext/zend_test/ |
H A D | observer.c | 151 if (fbc->common.function_name) { in observer_show_init() 152 if (fbc->common.scope) { in observer_show_init() 172 zend_function *fbc = ex->func; in observer_show_init_backtrace() local 174 if (fbc->common.function_name) { in observer_show_init_backtrace() 175 if (fbc->common.scope) { in observer_show_init_backtrace() 189 zend_function *fbc = execute_data->func; in observer_fcall_init() local 191 observer_show_init(fbc); in observer_fcall_init() 200 } else if (fbc->common.function_name) { in observer_fcall_init() 291 if (fbc->common.function_name) { in zend_test_execute_internal() 292 if (fbc->common.scope) { in zend_test_execute_internal() [all …]
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_print.c | 157 zend_function *fbc; in PHPDBG_PRINT() local 163 (fbc->type == ZEND_USER_FUNCTION) ? "User" : "Internal", in PHPDBG_PRINT() 164 ZSTR_VAL(fbc->common.function_name), in PHPDBG_PRINT() 165 (fbc->type == ZEND_USER_FUNCTION) ? fbc->op_array.last : 0); in PHPDBG_PRINT() 167 phpdbg_print_function_helper(fbc); in PHPDBG_PRINT() 183 zend_function* fbc; in PHPDBG_PRINT() local 211 if ((fbc = zend_hash_find_ptr(func_table, lcname))) { in PHPDBG_PRINT() 214 (fbc->common.scope) ? "Method" : "Function", in PHPDBG_PRINT() 215 ZSTR_VAL(fbc->common.function_name), in PHPDBG_PRINT() 216 (fbc->type == ZEND_USER_FUNCTION) ? fbc->op_array.last : 0); in PHPDBG_PRINT() [all …]
|
H A D | phpdbg_list.c | 172 void phpdbg_list_function(const zend_function *fbc) /* {{{ */ in phpdbg_list_function() argument 176 if (fbc->type != ZEND_USER_FUNCTION) { in phpdbg_list_function() 177 …phpdbg_error("The function requested (%s) is not user defined", ZSTR_VAL(fbc->common.function_name… in phpdbg_list_function() 181 ops = (zend_op_array *) fbc; in phpdbg_list_function() 189 zend_function* fbc; in phpdbg_list_function_byname() local 216 if ((fbc = zend_hash_str_find_ptr(func_table, func_name, func_name_len))) { in phpdbg_list_function_byname() 217 phpdbg_list_function(fbc); in phpdbg_list_function_byname()
|
H A D | phpdbg_bp.c | 955 static inline phpdbg_breakbase_t *phpdbg_find_breakpoint_symbol(zend_function *fbc) /* {{{ */ in phpdbg_find_breakpoint_symbol() argument 959 if (fbc->type != ZEND_USER_FUNCTION) { in phpdbg_find_breakpoint_symbol() 963 ops = (zend_op_array *) fbc; in phpdbg_find_breakpoint_symbol()
|
/php-src/Zend/ |
H A D | zend_object_handlers.c | 1549 zend_function *fbc; in zend_get_parent_private_method() local 1557 return fbc; in zend_get_parent_private_method() 1605 ZEND_ASSERT(fbc); in zend_get_call_trampoline_func() 1635 …func->T = (fbc->type == ZEND_USER_FUNCTION)? MAX(fbc->op_array.last_var + fbc->op_array.T, min_T) … in zend_get_call_trampoline_func() 1766 zend_function *fbc; in zend_std_get_method() local 1815 fbc = NULL; in zend_std_get_method() 1822 if (fbc && UNEXPECTED(fbc->common.fn_flags & ZEND_ACC_ABSTRACT)) { in zend_std_get_method() 1824 fbc = NULL; in zend_std_get_method() 1829 return fbc; in zend_std_get_method() 1895 fbc = NULL; in zend_std_get_static_method() [all …]
|
H A D | zend_execute.c | 1294 cur_arg_info = &fbc->common.arg_info[fbc->common.num_args]; in zend_verify_internal_arg_types() 1342 fbc->common.scope ? ZSTR_VAL(fbc->common.scope->name) : "", in zend_internal_call_arginfo_violation() 2462 ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); in zend_non_static_method_call() 4299 return fbc; in zend_fetch_function() 4314 return fbc; in zend_fetch_function_str() 4900 zend_function *fbc; in zend_init_dynamic_call_string() local 4980 zend_function *fbc; in zend_init_dynamic_call_object() local 5024 zend_function *fbc; in zend_init_dynamic_call_array() local 5301 *cache_slot = fbc; in zend_get_arg_offset_by_name() 5312 *cache_slot = fbc; in zend_get_arg_offset_by_name() [all …]
|
H A D | zend_object_handlers.h | 241 #define zend_get_function_root_class(fbc) \ argument 242 ((fbc)->common.prototype ? (fbc)->common.prototype->common.scope : (fbc)->common.scope)
|
H A D | zend_vm_def.h | 3542 zend_function *fbc; variable 3698 zend_function *fbc; variable 3828 zend_function *fbc; variable 3839 fbc = Z_FUNC_P(func); 3983 zend_function *fbc; variable 3996 fbc = Z_FUNC_P(func); 4016 zend_function *fbc; variable 4024 fbc = Z_FUNC_P(func); 4043 zend_function *fbc; variable 8891 …call->func = (fbc->op_array.fn_flags & ZEND_ACC_STATIC) ? fbc->op_array.scope->__callstatic : fbc-… [all …]
|
H A D | zend_compile.c | 3753 fbc = NULL; in zend_compile_args() 3762 if (!fbc || (fbc->common.fn_flags & ZEND_ACC_VARIADIC)) { in zend_compile_args() 3811 if (!fbc || ARG_MUST_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args() 3925 if (fbc) { in zend_get_call_op() 4239 if (!fbc in zend_try_compile_ct_bound_init_user_func() 4364 if (fbc && fbc_is_finalized(fbc)) { in zend_compile_assert() 4396 if (!fbc) { in zend_compile_assert() 5176 if (!fbc in zend_compile_call() 5265 fbc = NULL; in zend_compile_method_call() 5288 return fbc; in zend_get_compatible_func_or_null() [all …]
|
H A D | zend_vm_execute.h | 3468 …call->func = (fbc->op_array.fn_flags & ZEND_ACC_STATIC) ? fbc->op_array.scope->__callstatic : fbc-… in ZEND_CALL_TRAMPOLINE_SPEC_HANDLER() 3490 fbc = call->func; in ZEND_CALL_TRAMPOLINE_SPEC_HANDLER() 3633 fbc = call->func; in ZEND_CALL_TRAMPOLINE_SPEC_OBSERVER_HANDLER() 3912 zend_function *fbc; in ZEND_INIT_FCALL_BY_NAME_SPEC_CONST_HANDLER() local 3995 zend_function *fbc; in ZEND_INIT_NS_FCALL_BY_NAME_SPEC_CONST_HANDLER() local 4028 zend_function *fbc; in ZEND_INIT_FCALL_SPEC_CONST_HANDLER() local 4055 zend_function *fbc; in ZEND_INIT_FCALL_OFFSET_SPEC_CONST_HANDLER() local 7128 zend_function *fbc; in ZEND_INIT_METHOD_CALL_SPEC_CONST_CONST_HANDLER() local 7284 zend_function *fbc; in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_CONST_HANDLER() local 9702 zend_function *fbc; in ZEND_INIT_METHOD_CALL_SPEC_CONST_TMPVAR_HANDLER() local [all …]
|
H A D | zend_execute.h | 64 ZEND_API ZEND_COLD void ZEND_FASTCALL zend_deprecated_function(const zend_function *fbc); 111 ZEND_API bool zend_internal_call_should_throw(zend_function *fbc, zend_execute_data *call); 112 ZEND_API ZEND_COLD void zend_internal_call_arginfo_violation(zend_function *fbc); 439 ZEND_API void ZEND_FASTCALL zend_non_static_method_call(const zend_function *fbc);
|
H A D | zend_compile.h | 984 ZEND_API uint8_t zend_get_call_op(const zend_op *init_op, zend_function *fbc);
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit_helpers.c | 64 fbc = _zend_jit_init_func_run_time_cache(&fbc->op_array); in zend_jit_find_func_helper() 66 *cache_slot = fbc; in zend_jit_find_func_helper() 67 return fbc; in zend_jit_find_func_helper() 91 fbc = _zend_jit_init_func_run_time_cache(&fbc->op_array); in zend_jit_find_ns_func_helper() 93 *cache_slot = fbc; in zend_jit_find_ns_func_helper() 94 return fbc; in zend_jit_find_ns_func_helper() 164 return fbc; in zend_jit_find_method_helper() 171 return fbc; in zend_jit_find_method_helper() 179 if (!fbc) { in zend_jit_find_method_tmp_helper() 189 return fbc; in zend_jit_find_method_tmp_helper() [all …]
|
H A D | zend_jit_vm_helpers.c | 172 zend_function *fbc = call->func; in zend_jit_deprecated_helper() local 174 zend_deprecated_function(fbc); in zend_jit_deprecated_helper()
|
H A D | zend_jit_ir.c | 17564 zend_function *fbc = ZEND_FLF_FUNC(opline); local 17566 …ir_ref if_unobserved = jit_observer_fcall_is_unobserved_start(jit, fbc, &observer_handler, IR_UNUS…
|
/php-src/Zend/Optimizer/ |
H A D | zend_optimizer.c | 812 zend_function *fbc = Z_PTR_P(fbc_zv); in zend_optimizer_ignore_function() local 814 if (fbc->type == ZEND_INTERNAL_FUNCTION) { in zend_optimizer_ignore_function() 824 return !fbc->op_array.filename || fbc->op_array.filename != filename; in zend_optimizer_ignore_function() 826 ZEND_ASSERT(fbc->type == ZEND_EVAL_CODE); in zend_optimizer_ignore_function() 960 if (fbc) { in zend_optimizer_get_called_func() 964 return fbc; in zend_optimizer_get_called_func() 979 if (fbc) { in zend_optimizer_get_called_func() 985 return same_scope ? fbc : NULL; in zend_optimizer_get_called_func() 994 return fbc; in zend_optimizer_get_called_func() 1012 if (fbc) { in zend_optimizer_get_called_func() [all …]
|
/php-src/ext/pdo/ |
H A D | pdo_dbh.c | 1407 zend_function *fbc = NULL; in dbh_method_get() local 1411 if ((fbc = zend_std_get_method(object, method_name, key)) == NULL) { in dbh_method_get() 1423 …fbc = zend_hash_find_ptr(dbh_obj->inner->cls_methods[PDO_DBH_DRIVER_METHOD_KIND_DBH], lc_method_na… in dbh_method_get() 1428 return fbc; in dbh_method_get()
|
H A D | pdo_stmt.c | 2033 zend_function *fbc = NULL; in dbstmt_method_get() local 2039 if ((fbc = zend_hash_find_ptr(&object->ce->function_table, lc_method_name)) == NULL) { in dbstmt_method_get() 2055 …if ((fbc = zend_hash_find_ptr(stmt->dbh->cls_methods[PDO_DBH_DRIVER_METHOD_KIND_STMT], lc_method_n… in dbstmt_method_get() 2063 if (!fbc) { in dbstmt_method_get() 2064 fbc = zend_std_get_method(object_pp, method_name, key); in dbstmt_method_get() 2066 return fbc; in dbstmt_method_get()
|