Lines Matching refs:fbc

2978 uint32_t zend_compile_args(zend_ast *ast, zend_function *fbc) /* {{{ */  in zend_compile_args()  argument
2995 fbc = NULL; in zend_compile_args()
3015 if (!fbc || ARG_MUST_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args()
3021 if (fbc) { in zend_compile_args()
3022 if (ARG_MUST_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args()
3024 } else if (ARG_MAY_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args()
3033 } else if (fbc) { in zend_compile_args()
3034 if (ARG_SHOULD_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args()
3065 if (fbc) { in zend_compile_args()
3066 if (ARG_MUST_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args()
3068 } else if (ARG_MAY_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args()
3077 if (fbc) { in zend_compile_args()
3078 if (ARG_SHOULD_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args()
3087 if (fbc) { in zend_compile_args()
3089 if (ARG_MUST_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args()
3107 ZEND_API zend_uchar zend_get_call_op(const zend_op *init_op, zend_function *fbc) /* {{{ */ in zend_get_call_op() argument
3109 if (fbc) { in zend_get_call_op()
3110 …if (fbc->type == ZEND_INTERNAL_FUNCTION && !(CG(compiler_options) & ZEND_COMPILE_IGNORE_INTERNAL_F… in zend_get_call_op()
3112 …if (!(fbc->common.fn_flags & (ZEND_ACC_ABSTRACT|ZEND_ACC_DEPRECATED|ZEND_ACC_HAS_TYPE_HINTS|ZEND_A… in zend_get_call_op()
3119 if (zend_execute_ex == execute_ex && !(fbc->common.fn_flags & ZEND_ACC_ABSTRACT)) { in zend_get_call_op()
3133 void zend_compile_call_common(znode *result, zend_ast *args_ast, zend_function *fbc) /* {{{ */ in zend_compile_call_common() argument
3139 arg_count = zend_compile_args(args_ast, fbc); in zend_compile_call_common()
3147 opline->op1.num = zend_vm_calc_used_stack(arg_count, fbc); in zend_compile_call_common()
3150 opline = zend_emit_op(result, zend_get_call_op(opline, fbc), NULL, NULL); in zend_compile_call_common()
3360 static zend_bool fbc_is_finalized(zend_function *fbc) { in fbc_is_finalized() argument
3361 return !ZEND_USER_CODE(fbc->type) || (fbc->common.fn_flags & ZEND_ACC_DONE_PASS_TWO); in fbc_is_finalized()
3367 zend_function *fbc; in zend_try_compile_ct_bound_init_user_func() local
3377 fbc = zend_hash_find_ptr(CG(function_table), lcname); in zend_try_compile_ct_bound_init_user_func()
3378 if (!fbc || !fbc_is_finalized(fbc) in zend_try_compile_ct_bound_init_user_func()
3379 …|| (fbc->type == ZEND_INTERNAL_FUNCTION && (CG(compiler_options) & ZEND_COMPILE_IGNORE_INTERNAL_FU… in zend_try_compile_ct_bound_init_user_func()
3380 …|| (fbc->type == ZEND_USER_FUNCTION && (CG(compiler_options) & ZEND_COMPILE_IGNORE_USER_FUNCTIONS)) in zend_try_compile_ct_bound_init_user_func()
3381 …|| (fbc->type == ZEND_USER_FUNCTION && (CG(compiler_options) & ZEND_COMPILE_IGNORE_OTHER_FILES) &&… in zend_try_compile_ct_bound_init_user_func()
3389 opline->op1.num = zend_vm_calc_used_stack(num_args, fbc); in zend_try_compile_ct_bound_init_user_func()
3492 …compile_assert(znode *result, zend_ast_list *args, zend_string *name, zend_function *fbc) /* {{{ */ in zend_compile_assert() argument
3501 if (fbc && fbc_is_finalized(fbc)) { in zend_compile_assert()
3522 zend_compile_call_common(result, (zend_ast*)args, fbc); in zend_compile_assert()
3528 if (!fbc) { in zend_compile_assert()
3753 …nc(znode *result, zend_string *lcname, zend_ast_list *args, zend_function *fbc, uint32_t type) /* … in zend_try_compile_special_func() argument
3755 if (fbc->internal_function.handler == ZEND_FN(display_disabled_function)) { in zend_try_compile_special_func()
3863 zend_function *fbc; in zend_compile_call() local
3867 fbc = zend_hash_find_ptr(CG(function_table), lcname); in zend_compile_call()
3870 if (fbc && zend_string_equals_literal(lcname, "assert")) { in zend_compile_call()
3871 zend_compile_assert(result, zend_ast_get_list(args_ast), lcname, fbc); in zend_compile_call()
3877 if (!fbc || !fbc_is_finalized(fbc) in zend_compile_call()
3878 …|| (fbc->type == ZEND_INTERNAL_FUNCTION && (CG(compiler_options) & ZEND_COMPILE_IGNORE_INTERNAL_FU… in zend_compile_call()
3879 …|| (fbc->type == ZEND_USER_FUNCTION && (CG(compiler_options) & ZEND_COMPILE_IGNORE_USER_FUNCTIONS)) in zend_compile_call()
3880 …|| (fbc->type == ZEND_USER_FUNCTION && (CG(compiler_options) & ZEND_COMPILE_IGNORE_OTHER_FILES) &&… in zend_compile_call()
3888 zend_ast_get_list(args_ast), fbc, type) == SUCCESS in zend_compile_call()
3901 zend_compile_call_common(result, args_ast, fbc); in zend_compile_call()
3914 zend_function *fbc = NULL; in zend_compile_method_call() local
3943 fbc = zend_hash_find_ptr(&CG(active_class_entry)->function_table, lcname); in zend_compile_method_call()
3947 if (fbc && !(fbc->common.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_FINAL))) { in zend_compile_method_call()
3948 fbc = NULL; in zend_compile_method_call()
3952 zend_compile_call_common(result, args_ast, fbc); in zend_compile_method_call()
3970 zend_function *fbc = NULL; in zend_compile_static_call() local
4020 fbc = zend_hash_find_ptr(&ce->function_table, lcname); in zend_compile_static_call()
4021 if (fbc && !(fbc->common.fn_flags & ZEND_ACC_PUBLIC)) { in zend_compile_static_call()
4023 && ((fbc->common.fn_flags & ZEND_ACC_PRIVATE) in zend_compile_static_call()
4024 || !(fbc->common.scope->ce_flags & ZEND_ACC_LINKED) in zend_compile_static_call()
4027 || !zend_check_protected(zend_get_function_root_class(fbc), CG(active_class_entry)))) { in zend_compile_static_call()
4029 fbc = NULL; in zend_compile_static_call()
4035 zend_compile_call_common(result, args_ast, fbc); in zend_compile_static_call()