/src/usr.bin/xlint/lint1/ |
ckctype.c | 103 if (on->tn_type->t_tspec == UCHAR) 105 if (on->tn_type->t_tspec == UCHAR) 110 warning(342, func, type_name(arg->tn_type)); 115 if (cn->tn_type->t_tspec != UCHAR && cn->tn_type->t_tspec != INT) { 117 warning(341, func, type_name(cn->tn_type));
|
tree.c | 514 lint_assert(is_integer(tn->tn_type->t_tspec)); 520 return ic_mult(tn->tn_type, lc, rc); 524 return ic_div(tn->tn_type, lc, rc); 528 return ic_mod(tn->tn_type, lc, rc); 532 return ic_plus(tn->tn_type, lc, rc); 534 if (tn->u.ops.left->tn_type->t_tspec == PTR) 535 return ic_any(tn->tn_type); 538 return ic_minus(tn->tn_type, lc, rc); 542 return ic_shl(tn->tn_type, lc, rc); 546 return ic_shr(tn->tn_type, lc, rc) [all...] |
ckbool.c | 125 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));
|
func.c | 416 if (!(tn->tn_type->t_is_enum || cs->c_switch_type->t_is_enum)) 418 if (tn->tn_type->t_is_enum && cs->c_switch_type->t_is_enum && 419 tn->tn_type->u.enumer == cs->c_switch_type->u.enumer) 425 type_name(tn->tn_type)); 479 if (!is_integer(tn->tn_type->t_tspec)) { 496 tspec_t t = tn->tn_type->t_tspec; 553 if (tn != NULL && !is_scalar(tn->tn_type->t_tspec)) { 565 error(333, tn->tn_type->t_is_enum ? expr_type_name(tn) 566 : tspec_name(tn->tn_type->t_tspec)); 617 if (tn != NULL && !is_integer(tn->tn_type->t_tspec)) [all...] |
emit1.c | 343 tspec_t t = arg->tn_type->t_tspec; 385 outtype(call->args[i]->tn_type); 387 outtype(tn->tn_type);
|
init.c | 164 tspec_t rst = rn->tn_type->t_subt->t_tspec; 207 ln->tn_type->t_bitfield && 254 ln->tn_type = lutp; 261 type_name(ln->tn_type), type_name(rn->tn_type)); 269 tspec_t lt = ln->tn_type->t_tspec; 270 tspec_t rt = rn->tn_type->t_tspec; 586 if (types_compatible(ltp, rn->tn_type, true, false, NULL)) 833 ln->tn_type = expr_unqualified_type(ln->tn_type); [all...] |
debug.c | 213 debug_printf(" '%s'", type_name(tn->tn_type)); 226 if (is_floating(tn->tn_type->t_tspec)) 228 else if (is_uinteger(tn->tn_type->t_tspec)) 231 else if (is_integer(tn->tn_type->t_tspec)) 235 lint_assert(tn->tn_type->t_tspec == BOOL);
|
cgram.y | 233 op_name($$->tn_op), type_name($$->tn_type)); 555 zero->tn_type = gettyp(INT); 564 nc->tn_type = gettyp(BOOL); 711 $$->tn_type = gettyp(VOID); 715 $$->tn_type = gettyp(VOID); 720 $$->tn_type = gettyp(VOID); 803 $$ = $2 == NULL ? NULL : build_sizeof($2->tn_type); 815 $$ = build_alignof($2->tn_type); 1165 $$ = $3 != NULL ? block_dup_type($3->tn_type) : gettyp(INT); 2165 && $1->u.call->func->tn_type->t_subt->t_noreturn [all...] |
lint1.h | 292 type_t *tn_type; member in struct:tnode 672 lint_assert(tn->tn_type->t_tspec == tn->u.value.v_tspec);
|
mem1.c | 203 __func__, op_name(tn->tn_op), type_name(tn->tn_type));
|
/src/usr.bin/fstat/ |
tmpfs.c | 68 switch (tn.tn_type) {
|
/src/sys/fs/tmpfs/ |
tmpfs_subr.c | 116 if (node->tn_type == VREG) { 123 vp->v_type = node->tn_type; 230 node->tn_type = vap->va_type; 256 switch (node->tn_type) { 324 switch (node->tn_type) { 529 if (node != TMPFS_NODE_WHITEOUT && node->tn_type == VDIR) { 569 if (node->tn_type == VDIR) { 643 return (node->tn_type != VDIR && node->tn_links > 1) ? NULL : de; 858 dent.d_type = vtype2dt(de->td_node->tn_type);
|
tmpfs.h | 100 enum vtype tn_type; member in struct:tmpfs_node 312 KASSERT((node)->tn_type == VDIR); \
|
tmpfs_vnops.c | 203 KASSERT(dnode->tn_type == VDIR); 260 if (!lastcn && tnode->tn_type != VDIR && tnode->tn_type != VLNK) {
|
tmpfs_vfsops.c | 269 if (node->tn_type != VDIR) {
|
/src/usr.bin/xlint/common/ |
tyname.c | 315 const char *tp_name = type_name(tn->tn_type); 316 const char *otp_name = type_name(before_conversion(tn)->tn_type);
|