Lines Matching refs:ret_type
167 alloc_func_type(type_T *ret_type, int argcount, garray_T *type_gap) in alloc_func_type() argument
174 type->tt_member = ret_type == NULL ? &t_unknown : ret_type; in alloc_func_type()
186 get_func_type(type_T *ret_type, int argcount, garray_T *type_gap) in get_func_type() argument
191 if (ret_type == &t_unknown || ret_type == NULL) in get_func_type()
196 if (ret_type == &t_void) in get_func_type()
203 if (ret_type == &t_any) in get_func_type()
210 if (ret_type == &t_number) in get_func_type()
217 if (ret_type == &t_string) in get_func_type()
226 return alloc_func_type(ret_type, argcount, type_gap); in get_func_type()
820 type_T *ret_type = &t_unknown; in parse_type() local
832 ret_type = &t_void; in parse_type()
909 ret_type = parse_type(arg, type_gap, give_error); in parse_type()
910 if (ret_type == NULL) in parse_type()
914 type = get_func_type(ret_type, argcount, type_gap); in parse_type()
917 type = alloc_func_type(ret_type, argcount, type_gap); in parse_type()