Lines Matching refs:tt_args
72 if (type->tt_args != NULL) in alloc_type()
76 ret->tt_args = ALLOC_MULT(type_T *, type->tt_argcount); in alloc_type()
77 if (ret->tt_args != NULL) in alloc_type()
79 ret->tt_args[i] = alloc_type(type->tt_args[i]); in alloc_type()
95 if (type->tt_args != NULL) in free_type()
98 free_type(type->tt_args[i]); in free_type()
99 vim_free(type->tt_args); in free_type()
130 type->tt_args = NULL; in get_list_type()
159 type->tt_args = NULL; in get_dict_type()
176 type->tt_args = NULL; in alloc_func_type()
243 functype->tt_args = ALLOC_CLEAR_MULT(type_T *, argcount); in func_type_add_arg_types()
244 if (functype->tt_args == NULL) in func_type_add_arg_types()
247 (void *)functype->tt_args; in func_type_add_arg_types()
581 if (ret == OK && expected->tt_args != NULL in check_type()
582 && actual->tt_args != NULL) in check_type()
588 if (actual->tt_args[i] != &t_any && check_type( in check_type()
589 expected->tt_args[i], actual->tt_args[i], FALSE, in check_type()
629 if (type->tt_args == NULL) in check_argument_types()
638 expected = type->tt_args[type->tt_argcount - 1]->tt_member; in check_argument_types()
640 expected = type->tt_args[i]; in check_argument_types()
927 mch_memmove(type->tt_args, arg_type, in parse_type()
1015 || type1->tt_args == NULL || type2->tt_args == NULL) in equal_type()
1019 && !equal_type(type1->tt_args[i], type2->tt_args[i], in equal_type()
1078 if (type1->tt_args != NULL && type2->tt_args != NULL) in common_type()
1083 common_type(type1->tt_args[i], type2->tt_args[i], in common_type()
1084 &(*dest)->tt_args[i], type_gap); in common_type()
1211 if (type->tt_args == NULL) in type_name()
1214 arg_type = type_name(type->tt_args[i], &arg_free); in type_name()