Home | History | Annotate | Download | only in lint2

Lines Matching refs:TP

46 outtype(const type_t *tp)
56 while (tp != NULL) {
57 tspec_t ts = tp->t_tspec;
58 if (ts == INT && tp->t_is_enum)
62 if (tp->t_const)
64 if (tp->t_volatile)
68 if (ts == FUNC && tp->t_args != NULL && !tp->t_proto)
74 outint(tp->t_dim);
76 if (tp->t_istag) {
78 outname(tp->t_tag->h_name);
79 } else if (tp->t_istynam) {
81 outname(tp->t_tynam->h_name);
82 } else if (tp->t_isuniqpos) {
84 outint(tp->t_uniqpos.p_line);
86 outint(tp->t_uniqpos.p_file);
88 outint(tp->t_uniqpos.p_uniq);
91 } else if (ts == FUNC && tp->t_args != NULL) {
93 for (const type_t **ap = tp->t_args; *ap != NULL; ap++)
95 if (tp->t_vararg)
98 for (const type_t **ap = tp->t_args; *ap != NULL; ap++)
100 if (tp->t_vararg)
103 tp = tp->t_subt;
133 if (TP(sym->s_type)->t_tspec == FUNC) {
141 outtype(TP(sym->s_type));