Searched refs:t_tspec (Results 1 - 15 of 15) sorted by relevance

/netbsd-current/usr.bin/xlint/lint1/
H A Dckbool.c125 tspec_t lt = ln->tn_type->t_tspec;
129 rt = rn->tn_type->t_tspec;
193 return tn->tn_type->t_tspec == BOOL
195 || (is_do_while && is_int_constant_zero(tn, tn->tn_type->t_tspec))
196 || (tn->tn_sys && is_scalar(tn->tn_type->t_tspec));
H A Dtree.c89 lint_assert(is_integer(tp->t_tspec));
92 : size_in_bits(tp->t_tspec);
108 return !is_uinteger(tp->t_tspec) && ic->bclr >> 63 == 0;
117 if (is_uinteger(tp->t_tspec)) {
140 lint_assert(is_integer(tp->t_tspec));
157 bool nu = is_uinteger(ntp->t_tspec);
158 bool ou = is_uinteger(otp->t_tspec);
281 lint_assert(is_integer(tn->tn_type->t_tspec));
287 if (!is_integer(tn->u.ops.left->tn_type->t_tspec))
343 tp2->t_tspec
[all...]
H A Dckctype.c103 if (on->tn_type->t_tspec == UCHAR)
105 if (on->tn_type->t_tspec == UCHAR)
115 if (cn->tn_type->t_tspec == CHAR) {
H A Dinit.c160 if (!(ltp != NULL && ltp->t_tspec == ARRAY && rn->tn_op == STRING))
163 tspec_t lst = ltp->t_subt->t_tspec;
164 tspec_t rst = rn->tn_type->t_subt->t_tspec;
176 && !is_struct_or_union(m->s_type->t_tspec))
185 lint_assert(is_struct_or_union(tp->t_tspec));
239 !is_scalar(sym->s_type->t_tspec)) {
269 tspec_t lt = ln->tn_type->t_tspec;
270 tspec_t rt = rn->tn_type->t_tspec;
284 switch (tp->t_tspec) {
393 if (is_struct_or_union(tp->t_tspec)) {
[all...]
H A Ddecl.c101 typetab[i].t_tspec = (tspec_t)i;
172 tspec_t t = tp->t_tspec;
243 tspec_t t2 = td->t_tspec;
325 tspec_t t = tp->t_tspec;
409 tspec_t t = tp->t_tspec;
440 if (!is_struct_or_union(tp->t_tspec)) {
457 if (tp->t_tspec == STRUCT)
469 if (dcs->d_type != NULL && is_struct_or_union(dcs->d_type->t_tspec))
761 if (align > 0 && dcs->d_type->t_tspec == STRUCT) {
790 while (tp->t_tspec
[all...]
H A Dfunc.c234 if (fsym->s_type->t_subt->t_tspec != VOID &&
331 if (funcsym->s_type->t_subt->t_tspec == VOID)
483 if (!is_integer(tn->tn_type->t_tspec)) {
500 tspec_t t = tn->tn_type->t_tspec;
557 if (tn != NULL && !is_scalar(tn->tn_type->t_tspec)) {
570 : tspec_name(tn->tn_type->t_tspec));
621 if (tn != NULL && !is_integer(tn->tn_type->t_tspec)) {
627 tspec_t t = tn->tn_type->t_tspec;
640 tp->t_tspec = tn->tn_type->t_tspec;
[all...]
H A Demit1.c104 if ((ts = tp->t_tspec) == INT && tp->t_is_enum)
188 if (sc != EXTERN && !(sc == STATIC && sym->s_type->t_tspec == FUNC))
343 tspec_t t = arg->tn_type->t_tspec;
H A Ddebug.c156 if (is_struct_or_union(tp->t_tspec)) {
222 if (is_floating(tn->tn_type->t_tspec))
224 else if (is_uinteger(tn->tn_type->t_tspec))
227 else if (is_integer(tn->tn_type->t_tspec))
231 lint_assert(tn->tn_type->t_tspec == BOOL);
420 if (sym->s_type != NULL && sym->s_type->t_tspec == BOOL)
H A Dlint1.h128 tspec_t t_tspec; /* type specifier */ member in struct:lint1_type
138 * Either the type is currently an enum (having t_tspec ENUM), or it
657 lint_assert(tn->tn_type->t_tspec == tn->u.value.v_tspec);
H A Dcgram.y1251 if (is_struct_or_union(dcs->d_type->t_tspec))
2354 if ($1->s_type->t_tspec != FUNC) {
/netbsd-current/usr.bin/xlint/lint2/
H A Dchk.c107 TP(sym->s_type)->t_tspec == FUNC &&
184 if (TP(sym->s_type)->t_tspec == FUNC)
249 t1 = (tp1 = TP(def->s_type)->t_subt)->t_tspec;
310 if (tp1->t_tspec == FUNC && tp2->t_tspec == FUNC) {
350 if ((tp1 = TP(def->s_type))->t_tspec != FUNC)
354 if ((tp1 = TP(decl->s_type))->t_tspec != FUNC)
361 if ((tp1 = TP(call1->f_type))->t_tspec != FUNC)
368 if ((tp2 = TP(call->f_type))->t_tspec != FUNC)
486 t1 = arg1->t_tspec;
[all...]
H A Demit2.c60 tspec_t ts = tp->t_tspec;
136 if (TP(sym->s_type)->t_tspec == FUNC) {
H A Dlint2.h41 tspec_t t_tspec; /* type specifier */ member in struct:lint2_type
H A Dread.c683 tp->t_tspec = parse_tspec(&cp, c, &osdef);
685 switch (tp->t_tspec) {
712 tp->t_tspec = INT;
/netbsd-current/usr.bin/xlint/common/
H A Dtyname.c256 if ((t = tp->t_tspec) == INT && tp->t_is_enum)

Completed in 104 milliseconds