Lines Matching refs:fbc

3335 		zend_ast *ast, zend_function *fbc, bool *may_have_extra_named_args) /* {{{ */  in zend_compile_args()  argument
3366 fbc = NULL; in zend_compile_args()
3375 if (!fbc || (fbc->common.fn_flags & ZEND_ACC_VARIADIC)) { in zend_compile_args()
3391 if (fbc) { in zend_compile_args()
3392 arg_num = zend_get_arg_num(fbc, arg_name); in zend_compile_args()
3400 if (arg_num == (uint32_t) -1 && (fbc->common.fn_flags & ZEND_ACC_VARIADIC)) { in zend_compile_args()
3427 if (!fbc || ARG_MUST_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args()
3433 if (fbc && arg_num != (uint32_t) -1) { in zend_compile_args()
3434 if (ARG_MUST_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args()
3436 } else if (ARG_MAY_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args()
3446 if (fbc && arg_num != (uint32_t) -1) { in zend_compile_args()
3447 if (ARG_SHOULD_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args()
3485 if (fbc && arg_num != (uint32_t) -1) { in zend_compile_args()
3486 if (ARG_MUST_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args()
3488 } else if (ARG_MAY_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args()
3497 if (fbc && arg_num != (uint32_t) -1) { in zend_compile_args()
3498 if (ARG_SHOULD_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args()
3508 if (fbc && arg_num != (uint32_t) -1 && !ARG_MUST_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args()
3536 ZEND_API zend_uchar zend_get_call_op(const zend_op *init_op, zend_function *fbc) /* {{{ */ in zend_get_call_op() argument
3538 if (fbc) { in zend_get_call_op()
3539 …if (fbc->type == ZEND_INTERNAL_FUNCTION && !(CG(compiler_options) & ZEND_COMPILE_IGNORE_INTERNAL_F… in zend_get_call_op()
3541 if (!(fbc->common.fn_flags & (ZEND_ACC_ABSTRACT|ZEND_ACC_DEPRECATED))) { in zend_get_call_op()
3548 if (zend_execute_ex == execute_ex && !(fbc->common.fn_flags & ZEND_ACC_ABSTRACT)) { in zend_get_call_op()
3562 void zend_compile_call_common(znode *result, zend_ast *args_ast, zend_function *fbc) /* {{{ */ in zend_compile_call_common() argument
3569 arg_count = zend_compile_args(args_ast, fbc, &may_have_extra_named_args); in zend_compile_call_common()
3577 opline->op1.num = zend_vm_calc_used_stack(arg_count, fbc); in zend_compile_call_common()
3580 opline = zend_emit_op(result, zend_get_call_op(opline, fbc), NULL, NULL); in zend_compile_call_common()
3804 static zend_bool fbc_is_finalized(zend_function *fbc) { in fbc_is_finalized() argument
3805 return !ZEND_USER_CODE(fbc->type) || (fbc->common.fn_flags & ZEND_ACC_DONE_PASS_TWO); in fbc_is_finalized()
3811 zend_function *fbc; in zend_try_compile_ct_bound_init_user_func() local
3821 fbc = zend_hash_find_ptr(CG(function_table), lcname); in zend_try_compile_ct_bound_init_user_func()
3822 if (!fbc || !fbc_is_finalized(fbc) in zend_try_compile_ct_bound_init_user_func()
3823 …|| (fbc->type == ZEND_INTERNAL_FUNCTION && (CG(compiler_options) & ZEND_COMPILE_IGNORE_INTERNAL_FU… in zend_try_compile_ct_bound_init_user_func()
3824 …|| (fbc->type == ZEND_USER_FUNCTION && (CG(compiler_options) & ZEND_COMPILE_IGNORE_USER_FUNCTIONS)) in zend_try_compile_ct_bound_init_user_func()
3825 …|| (fbc->type == ZEND_USER_FUNCTION && (CG(compiler_options) & ZEND_COMPILE_IGNORE_OTHER_FILES) &&… in zend_try_compile_ct_bound_init_user_func()
3833 opline->op1.num = zend_vm_calc_used_stack(num_args, fbc); in zend_try_compile_ct_bound_init_user_func()
3940 …compile_assert(znode *result, zend_ast_list *args, zend_string *name, zend_function *fbc) /* {{{ */ in zend_compile_assert() argument
3949 if (fbc && fbc_is_finalized(fbc)) { in zend_compile_assert()
3975 zend_compile_call_common(result, (zend_ast*)args, fbc); in zend_compile_assert()
3981 if (!fbc) { in zend_compile_assert()
4206 …nc(znode *result, zend_string *lcname, zend_ast_list *args, zend_function *fbc, uint32_t type) /* … in zend_try_compile_special_func() argument
4212 if (fbc->type != ZEND_INTERNAL_FUNCTION) { in zend_try_compile_special_func()
4320 zend_function *fbc; in zend_compile_call() local
4324 fbc = zend_hash_find_ptr(CG(function_table), lcname); in zend_compile_call()
4327 if (fbc && zend_string_equals_literal(lcname, "assert")) { in zend_compile_call()
4328 zend_compile_assert(result, zend_ast_get_list(args_ast), lcname, fbc); in zend_compile_call()
4334 if (!fbc || !fbc_is_finalized(fbc) in zend_compile_call()
4335 …|| (fbc->type == ZEND_INTERNAL_FUNCTION && (CG(compiler_options) & ZEND_COMPILE_IGNORE_INTERNAL_FU… in zend_compile_call()
4336 …|| (fbc->type == ZEND_USER_FUNCTION && (CG(compiler_options) & ZEND_COMPILE_IGNORE_USER_FUNCTIONS)) in zend_compile_call()
4337 …|| (fbc->type == ZEND_USER_FUNCTION && (CG(compiler_options) & ZEND_COMPILE_IGNORE_OTHER_FILES) &&… in zend_compile_call()
4345 zend_ast_get_list(args_ast), fbc, type) == SUCCESS in zend_compile_call()
4358 zend_compile_call_common(result, args_ast, fbc); in zend_compile_call()
4371 zend_function *fbc = NULL; in zend_compile_method_call() local
4412 fbc = zend_hash_find_ptr(&CG(active_class_entry)->function_table, lcname); in zend_compile_method_call()
4416 if (fbc && !(fbc->common.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_FINAL))) { in zend_compile_method_call()
4417 fbc = NULL; in zend_compile_method_call()
4421 zend_compile_call_common(result, args_ast, fbc); in zend_compile_method_call()
4433 zend_function *fbc = zend_hash_find_ptr(&ce->function_table, lcname); in zend_get_compatible_func_or_null() local
4434 if (!fbc || (fbc->common.fn_flags & ZEND_ACC_PUBLIC) || ce == CG(active_class_entry)) { in zend_get_compatible_func_or_null()
4435 return fbc; in zend_get_compatible_func_or_null()
4438 if (!(fbc->common.fn_flags & ZEND_ACC_PRIVATE) in zend_get_compatible_func_or_null()
4439 && (fbc->common.scope->ce_flags & ZEND_ACC_LINKED) in zend_get_compatible_func_or_null()
4441 && zend_check_protected(zend_get_function_root_class(fbc), CG(active_class_entry))) { in zend_get_compatible_func_or_null()
4442 return fbc; in zend_get_compatible_func_or_null()
4457 zend_function *fbc = NULL; in zend_compile_static_call() local
4509 fbc = zend_get_compatible_func_or_null(ce, lcname); in zend_compile_static_call()
4513 zend_compile_call_common(result, args_ast, fbc); in zend_compile_static_call()