Lines Matching refs:fbc

3501 		zend_ast *ast, zend_function *fbc, bool *may_have_extra_named_args) /* {{{ */  in zend_compile_args()  argument
3532 fbc = NULL; in zend_compile_args()
3541 if (!fbc || (fbc->common.fn_flags & ZEND_ACC_VARIADIC)) { in zend_compile_args()
3552 if (fbc && !uses_arg_unpack) { in zend_compile_args()
3553 arg_num = zend_get_arg_num(fbc, arg_name); in zend_compile_args()
3561 if (arg_num == (uint32_t) -1 && (fbc->common.fn_flags & ZEND_ACC_VARIADIC)) { in zend_compile_args()
3590 if (!fbc || ARG_MUST_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args()
3596 if (fbc && arg_num != (uint32_t) -1) { in zend_compile_args()
3597 if (ARG_MUST_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args()
3599 } else if (ARG_MAY_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args()
3609 if (fbc && arg_num != (uint32_t) -1) { in zend_compile_args()
3610 if (ARG_SHOULD_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args()
3648 if (fbc && arg_num != (uint32_t) -1) { in zend_compile_args()
3649 if (ARG_MUST_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args()
3651 } else if (ARG_MAY_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args()
3660 if (fbc && arg_num != (uint32_t) -1) { in zend_compile_args()
3661 if (ARG_SHOULD_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args()
3671 if (fbc && arg_num != (uint32_t) -1 && !ARG_MUST_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args()
3699 ZEND_API zend_uchar zend_get_call_op(const zend_op *init_op, zend_function *fbc) /* {{{ */ in zend_get_call_op() argument
3701 if (fbc) { in zend_get_call_op()
3702 …if (fbc->type == ZEND_INTERNAL_FUNCTION && !(CG(compiler_options) & ZEND_COMPILE_IGNORE_INTERNAL_F… in zend_get_call_op()
3704 if (!(fbc->common.fn_flags & (ZEND_ACC_ABSTRACT|ZEND_ACC_DEPRECATED))) { in zend_get_call_op()
3711 if (zend_execute_ex == execute_ex && !(fbc->common.fn_flags & ZEND_ACC_ABSTRACT)) { in zend_get_call_op()
3725 static bool zend_compile_call_common(znode *result, zend_ast *args_ast, zend_function *fbc) /* {{{ … in zend_compile_call_common() argument
3739 opline->op1.num = zend_vm_calc_used_stack(0, fbc); in zend_compile_call_common()
3747 uint32_t arg_count = zend_compile_args(args_ast, fbc, &may_have_extra_named_args); in zend_compile_call_common()
3755 opline->op1.num = zend_vm_calc_used_stack(arg_count, fbc); in zend_compile_call_common()
3758 opline = zend_emit_op(result, zend_get_call_op(opline, fbc), NULL, NULL); in zend_compile_call_common()
3983 static bool fbc_is_finalized(zend_function *fbc) { in fbc_is_finalized() argument
3984 return !ZEND_USER_CODE(fbc->type) || (fbc->common.fn_flags & ZEND_ACC_DONE_PASS_TWO); in fbc_is_finalized()
3990 zend_function *fbc; in zend_try_compile_ct_bound_init_user_func() local
4000 fbc = zend_hash_find_ptr(CG(function_table), lcname); in zend_try_compile_ct_bound_init_user_func()
4001 if (!fbc || !fbc_is_finalized(fbc) in zend_try_compile_ct_bound_init_user_func()
4002 …|| (fbc->type == ZEND_INTERNAL_FUNCTION && (CG(compiler_options) & ZEND_COMPILE_IGNORE_INTERNAL_FU… in zend_try_compile_ct_bound_init_user_func()
4003 …|| (fbc->type == ZEND_USER_FUNCTION && (CG(compiler_options) & ZEND_COMPILE_IGNORE_USER_FUNCTIONS)) in zend_try_compile_ct_bound_init_user_func()
4004 …|| (fbc->type == ZEND_USER_FUNCTION && (CG(compiler_options) & ZEND_COMPILE_IGNORE_OTHER_FILES) &&… in zend_try_compile_ct_bound_init_user_func()
4012 opline->op1.num = zend_vm_calc_used_stack(num_args, fbc); in zend_try_compile_ct_bound_init_user_func()
4119 …compile_assert(znode *result, zend_ast_list *args, zend_string *name, zend_function *fbc) /* {{{ */ in zend_compile_assert() argument
4128 if (fbc && fbc_is_finalized(fbc)) { in zend_compile_assert()
4154 zend_compile_call_common(result, (zend_ast*)args, fbc); in zend_compile_assert()
4160 if (!fbc) { in zend_compile_assert()
4385 …nc(znode *result, zend_string *lcname, zend_ast_list *args, zend_function *fbc, uint32_t type) /* … in zend_try_compile_special_func() argument
4391 if (fbc->type != ZEND_INTERNAL_FUNCTION) { in zend_try_compile_special_func()
4508 zend_function *fbc; in zend_compile_call() local
4512 fbc = zend_hash_find_ptr(CG(function_table), lcname); in zend_compile_call()
4515 if (fbc && zend_string_equals_literal(lcname, "assert") && !is_callable_convert) { in zend_compile_call()
4517 zend_compile_assert(result, zend_ast_get_list(args_ast), lcname, fbc); in zend_compile_call()
4529 if (!fbc || !fbc_is_finalized(fbc) in zend_compile_call()
4530 …|| (fbc->type == ZEND_INTERNAL_FUNCTION && (CG(compiler_options) & ZEND_COMPILE_IGNORE_INTERNAL_FU… in zend_compile_call()
4531 …|| (fbc->type == ZEND_USER_FUNCTION && (CG(compiler_options) & ZEND_COMPILE_IGNORE_USER_FUNCTIONS)) in zend_compile_call()
4532 …|| (fbc->type == ZEND_USER_FUNCTION && (CG(compiler_options) & ZEND_COMPILE_IGNORE_OTHER_FILES) &&… in zend_compile_call()
4541 zend_ast_get_list(args_ast), fbc, type) == SUCCESS in zend_compile_call()
4554 zend_compile_call_common(result, args_ast, fbc); in zend_compile_call()
4567 zend_function *fbc = NULL; in zend_compile_method_call() local
4609 fbc = zend_hash_find_ptr(&CG(active_class_entry)->function_table, lcname); in zend_compile_method_call()
4613 if (fbc && !(fbc->common.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_FINAL))) { in zend_compile_method_call()
4614 fbc = NULL; in zend_compile_method_call()
4618 if (zend_compile_call_common(result, args_ast, fbc)) { in zend_compile_method_call()
4635 zend_function *fbc = zend_hash_find_ptr(&ce->function_table, lcname); in zend_get_compatible_func_or_null() local
4636 if (!fbc || (fbc->common.fn_flags & ZEND_ACC_PUBLIC) || ce == CG(active_class_entry)) { in zend_get_compatible_func_or_null()
4637 return fbc; in zend_get_compatible_func_or_null()
4640 if (!(fbc->common.fn_flags & ZEND_ACC_PRIVATE) in zend_get_compatible_func_or_null()
4641 && (fbc->common.scope->ce_flags & ZEND_ACC_LINKED) in zend_get_compatible_func_or_null()
4643 && zend_check_protected(zend_get_function_root_class(fbc), CG(active_class_entry))) { in zend_get_compatible_func_or_null()
4644 return fbc; in zend_get_compatible_func_or_null()
4659 zend_function *fbc = NULL; in zend_compile_static_call() local
4711 fbc = zend_get_compatible_func_or_null(ce, lcname); in zend_compile_static_call()
4715 zend_compile_call_common(result, args_ast, fbc); in zend_compile_static_call()