Lines Matching refs:type_T
27 static type_T *
30 type_T *type; in get_type_ptr()
34 type = ALLOC_CLEAR_ONE(type_T); in get_type_ptr()
37 ((type_T **)type_gap->ga_data)[type_gap->ga_len] = type; in get_type_ptr()
47 vim_free(((type_T **)gap->ga_data)[--gap->ga_len]); in clear_type_list()
55 type_T *
56 alloc_type(type_T *type) in alloc_type()
58 type_T *ret; in alloc_type()
67 ret = ALLOC_ONE(type_T); in alloc_type()
76 ret->tt_args = ALLOC_MULT(type_T *, type->tt_argcount); in alloc_type()
89 free_type(type_T *type) in free_type()
105 type_T *
106 get_list_type(type_T *member_type, garray_T *type_gap) in get_list_type()
108 type_T *type; in get_list_type()
134 type_T *
135 get_dict_type(type_T *member_type, garray_T *type_gap) in get_dict_type()
137 type_T *type; in get_dict_type()
166 type_T *
167 alloc_func_type(type_T *ret_type, int argcount, garray_T *type_gap) in alloc_func_type()
169 type_T *type = get_type_ptr(type_gap); in alloc_func_type()
185 type_T *
186 get_func_type(type_T *ret_type, int argcount, garray_T *type_gap) in get_func_type()
235 type_T *functype, in func_type_add_arg_types()
243 functype->tt_args = ALLOC_CLEAR_MULT(type_T *, argcount); in func_type_add_arg_types()
246 ((type_T **)type_gap->ga_data)[type_gap->ga_len] = in func_type_add_arg_types()
257 static type_T *
260 type_T *type; in typval2type_int()
261 type_T *member_type = NULL; in typval2type_int()
402 need_convert_to_bool(type_T *type, typval_T *tv) in need_convert_to_bool()
414 type_T *
417 type_T *type = typval2type_int(tv, copyID, type_gap, do_member); in typval2type()
432 type_T *
444 type_T *expected, in check_typval_arg_type()
461 check_typval_type(type_T *expected, typval_T *actual_tv, where_T where) in check_typval_type()
464 type_T *actual_type; in check_typval_type()
477 ga_init2(&type_list, sizeof(type_T *), 10); in check_typval_type()
486 type_mismatch(type_T *expected, type_T *actual) in type_mismatch()
492 arg_type_mismatch(type_T *expected, type_T *actual, int arg_idx) in arg_type_mismatch()
501 type_mismatch_where(type_T *expected, type_T *actual, where_T where) in type_mismatch_where()
536 check_type(type_T *expected, type_T *actual, int give_msg, where_T where) in check_type()
609 type_T *type, in check_argument_types()
635 type_T *expected; in check_argument_types()
712 static type_T *
715 type_T *type, in parse_type_member()
719 type_T *member_type; in parse_type_member()
758 type_T *
819 type_T *type; in parse_type()
820 type_T *ret_type = &t_unknown; in parse_type()
824 type_T *arg_type[MAX_FUNC_ARGS + 1]; in parse_type()
928 sizeof(type_T *) * argcount); in parse_type()
983 equal_type(type_T *type1, type_T *type2, int flags) in equal_type()
1032 common_type(type_T *type1, type_T *type2, type_T **dest, garray_T *type_gap) in common_type()
1057 type_T *common; in common_type()
1068 type_T *common; in common_type()
1110 type_T *
1112 type_T **stack_top, in get_member_type_from_stack()
1118 type_T *result; in get_member_type_from_stack()
1119 type_T *type; in get_member_type_from_stack()
1170 type_name(type_T *type, char **tofree) in type_name()
1271 type_T *type; in f_typename()
1276 ga_init2(&type_list, sizeof(type_T *), 10); in f_typename()