Lines Matching refs:arg_info
1547 zend_type return_type = CG(active_op_array)->arg_info[-1].type; in zend_mark_function_as_generator()
2728 zend_arg_info *return_info = CG(active_op_array)->arg_info - 1; in zend_emit_final_return()
3710 zend_arg_info *arg_info = &fn->op_array.arg_info[i]; in zend_get_arg_num() local
3711 if (zend_string_equals(arg_info->name, arg_name)) { in zend_get_arg_num()
3716 ZEND_ASSERT(fn->common.num_args == 0 || fn->internal_function.arg_info); in zend_get_arg_num()
3718 zend_internal_arg_info *arg_info = &fn->internal_function.arg_info[i]; in zend_get_arg_num() local
3719 size_t len = strlen(arg_info->name); in zend_get_arg_num()
3720 if (zend_string_equals_cstr(arg_name, arg_info->name, len)) { in zend_get_arg_num()
4695 zend_internal_arg_info *arg_info = (zend_internal_arg_info *)&fbc->common.arg_info[i]; in zend_compile_frameless_icall_ex() local
4697 if (zend_get_default_from_internal_arg_info(&arg_zvs[i].u.constant, arg_info) == FAILURE) { in zend_compile_frameless_icall_ex()
5722 expr_ast ? &expr_node : NULL, CG(active_op_array)->arg_info - 1, 0); in zend_compile_return()
6939 if (func->common.arg_info) { in zend_set_function_arg_flags()
6943 ZEND_SET_ARG_FLAG(func, i + 1, ZEND_ARG_SEND_MODE(&func->common.arg_info[i])); in zend_set_function_arg_flags()
6946 …ED((func->common.fn_flags & ZEND_ACC_VARIADIC) && ZEND_ARG_SEND_MODE(&func->common.arg_info[i]))) { in zend_set_function_arg_flags()
6947 uint32_t pass_by_reference = ZEND_ARG_SEND_MODE(&func->common.arg_info[i]); in zend_set_function_arg_flags()
7611 zend_arg_info *arg_info; in zend_compile_params() local
7656 arg_info = &arg_infos[i]; in zend_compile_params()
7657 arg_info->name = zend_string_copy(name); in zend_compile_params()
7658 arg_info->type = (zend_type) ZEND_TYPE_INIT_NONE(0); in zend_compile_params()
7673 arg_info->type = zend_compile_typename_ex(type_ast, force_nullable, &forced_allow_nullable); in zend_compile_params()
7682 if (ZEND_TYPE_FULL_MASK(arg_info->type) & MAY_BE_VOID) { in zend_compile_params()
7686 if (ZEND_TYPE_FULL_MASK(arg_info->type) & MAY_BE_NEVER) { in zend_compile_params()
7691 && !zend_is_valid_default_value(arg_info->type, &default_node.u.constant)) { in zend_compile_params()
7692 zend_string *type_str = zend_type_to_string(arg_info->type); in zend_compile_params()
7729 zend_alloc_cache_slots(zend_type_get_num_classes(arg_info->type)); in zend_compile_params()
7734 ZEND_TYPE_FULL_MASK(arg_info->type) |= arg_info_flags; in zend_compile_params()
7737 ZEND_TYPE_FULL_MASK(arg_info->type) : MAY_BE_ANY; in zend_compile_params()
7763 if (ZEND_TYPE_FULL_MASK(arg_info->type) & MAY_BE_CALLABLE) { in zend_compile_params()
7764 zend_string *str = zend_type_to_string(arg_info->type); in zend_compile_params()
7817 op_array->arg_info = arg_infos; in zend_compile_params()
8364 zend_arg_info *return_info = CG(active_op_array)->arg_info - 1; in zend_compile_func_decl_ex()