Lines Matching refs:arg_info
1538 zend_type return_type = CG(active_op_array)->arg_info[-1].type; in zend_mark_function_as_generator()
2719 zend_arg_info *return_info = CG(active_op_array)->arg_info - 1; in zend_emit_final_return()
3701 zend_arg_info *arg_info = &fn->op_array.arg_info[i]; in zend_get_arg_num() local
3702 if (zend_string_equals(arg_info->name, arg_name)) { in zend_get_arg_num()
3707 ZEND_ASSERT(fn->common.num_args == 0 || fn->internal_function.arg_info); in zend_get_arg_num()
3709 zend_internal_arg_info *arg_info = &fn->internal_function.arg_info[i]; in zend_get_arg_num() local
3710 size_t len = strlen(arg_info->name); in zend_get_arg_num()
3711 if (zend_string_equals_cstr(arg_name, arg_info->name, len)) { in zend_get_arg_num()
4686 zend_internal_arg_info *arg_info = (zend_internal_arg_info *)&fbc->common.arg_info[i]; in zend_compile_frameless_icall_ex() local
4688 if (zend_get_default_from_internal_arg_info(&arg_zvs[i].u.constant, arg_info) == FAILURE) { in zend_compile_frameless_icall_ex()
5713 expr_ast ? &expr_node : NULL, CG(active_op_array)->arg_info - 1, 0); in zend_compile_return()
6930 if (func->common.arg_info) { in zend_set_function_arg_flags()
6934 ZEND_SET_ARG_FLAG(func, i + 1, ZEND_ARG_SEND_MODE(&func->common.arg_info[i])); in zend_set_function_arg_flags()
6937 …ED((func->common.fn_flags & ZEND_ACC_VARIADIC) && ZEND_ARG_SEND_MODE(&func->common.arg_info[i]))) { in zend_set_function_arg_flags()
6938 uint32_t pass_by_reference = ZEND_ARG_SEND_MODE(&func->common.arg_info[i]); in zend_set_function_arg_flags()
7602 zend_arg_info *arg_info; in zend_compile_params() local
7647 arg_info = &arg_infos[i]; in zend_compile_params()
7648 arg_info->name = zend_string_copy(name); in zend_compile_params()
7649 arg_info->type = (zend_type) ZEND_TYPE_INIT_NONE(0); in zend_compile_params()
7664 arg_info->type = zend_compile_typename_ex(type_ast, force_nullable, &forced_allow_nullable); in zend_compile_params()
7673 if (ZEND_TYPE_FULL_MASK(arg_info->type) & MAY_BE_VOID) { in zend_compile_params()
7677 if (ZEND_TYPE_FULL_MASK(arg_info->type) & MAY_BE_NEVER) { in zend_compile_params()
7682 && !zend_is_valid_default_value(arg_info->type, &default_node.u.constant)) { in zend_compile_params()
7683 zend_string *type_str = zend_type_to_string(arg_info->type); in zend_compile_params()
7720 zend_alloc_cache_slots(zend_type_get_num_classes(arg_info->type)); in zend_compile_params()
7725 ZEND_TYPE_FULL_MASK(arg_info->type) |= arg_info_flags; in zend_compile_params()
7728 ZEND_TYPE_FULL_MASK(arg_info->type) : MAY_BE_ANY; in zend_compile_params()
7754 if (ZEND_TYPE_FULL_MASK(arg_info->type) & MAY_BE_CALLABLE) { in zend_compile_params()
7755 zend_string *str = zend_type_to_string(arg_info->type); in zend_compile_params()
7808 op_array->arg_info = arg_infos; in zend_compile_params()
8370 zend_arg_info *return_info = CG(active_op_array)->arg_info - 1; in zend_compile_func_decl_ex()