Symbol: s_type
sys/arch/mmeye/stand/bootcoff/osloader.c
53
coff_find_section(FILE *fd, struct coff_filehdr *fp, struct coff_scnhdr *sh, int s_type)
sys/arch/mmeye/stand/bootcoff/osloader.c
65
if (sh->s_flags == s_type)
sys/arch/sh3/sh3/coff_exec.c
221
struct coff_scnhdr *sh, int s_type)
sys/arch/sh3/sh3/coff_exec.c
239
s_type, sizeof(struct coff_scnhdr),
sys/arch/sh3/sh3/coff_exec.c
244
if (sh->s_flags == s_type)
usr.bin/rdist/lookup.c
144
if (action != INSERT || s->s_type != CONST) {
usr.bin/rdist/lookup.c
164
s->s_type = action == INSERT ? VAR : CONST;
usr.bin/rdist/lookup.c
48
int s_type;
usr.bin/xlint/common/tyname.c
175
buf_add(buf, type_name(param->s_type));
usr.bin/xlint/lint1/cgram.y
1045
$$ = getsym($2)->s_type;
usr.bin/xlint/lint1/cgram.y
1166
if ($1->s_type->t_tspec != AUTO_TYPE)
usr.bin/xlint/lint1/cgram.y
1186
$$ = getsym($1)->s_type;
usr.bin/xlint/lint1/cgram.y
1549
tspec_t t = $$->s_type->t_tspec;
usr.bin/xlint/lint1/cgram.y
1551
type_t *tp = block_dup_type($$->s_type);
usr.bin/xlint/lint1/cgram.y
1555
$$->s_type = tp;
usr.bin/xlint/lint1/cgram.y
1760
$$ = $2->s_type;
usr.bin/xlint/lint1/cgram.y
2451
if ($1->s_type->t_tspec != FUNC) {
usr.bin/xlint/lint1/cgram.y
2456
if ($1->s_type->t_typedef) {
usr.bin/xlint/lint1/ckbool.c
204
sym->s_type = gettyp(BOOL);
usr.bin/xlint/lint1/ckbool.c
211
sym->s_type = gettyp(BOOL);
usr.bin/xlint/lint1/debug.c
173
debug_type_details(mem->s_type);
usr.bin/xlint/lint1/debug.c
406
if (sym->s_type != NULL)
usr.bin/xlint/lint1/debug.c
407
debug_printf(" type='%s'", type_name(sym->s_type));
usr.bin/xlint/lint1/debug.c
435
if (sym->s_type != NULL && sym->s_type->t_is_enum)
usr.bin/xlint/lint1/debug.c
437
if (sym->s_type != NULL && sym->s_type->t_tspec == BOOL)
usr.bin/xlint/lint1/debug.c
464
if (sym->s_type->t_tspec == ARRAY
usr.bin/xlint/lint1/decl.c
1025
dsym->s_type = tp = block_dup_type(gettyp(t = INT));
usr.bin/xlint/lint1/decl.c
1054
dsym->s_type->t_bitfield = false;
usr.bin/xlint/lint1/decl.c
1080
type_t *tp = mem->s_type;
usr.bin/xlint/lint1/decl.c
1119
mem->s_type = dcs->d_type;
usr.bin/xlint/lint1/decl.c
1148
type_t *tp = dsym->s_type;
usr.bin/xlint/lint1/decl.c
1155
dsym->s_type = tp = block_derive_type(tp, t = PTR);
usr.bin/xlint/lint1/decl.c
1163
int sz = length_in_bits(dsym->s_type, dsym->s_name);
usr.bin/xlint/lint1/decl.c
1164
if (sz == 0 && t == ARRAY && dsym->s_type->u.dimension == 0)
usr.bin/xlint/lint1/decl.c
1186
dsym->s_type = gettyp(UINT);
usr.bin/xlint/lint1/decl.c
1191
dsym->s_type = block_dup_type(dsym->s_type);
usr.bin/xlint/lint1/decl.c
1192
dsym->s_type->t_bitfield = true;
usr.bin/xlint/lint1/decl.c
1193
dsym->s_type->t_bit_field_width = bit_field_width;
usr.bin/xlint/lint1/decl.c
1245
type_t **tpp = &decl->s_type;
usr.bin/xlint/lint1/decl.c
1262
debug_step("%s: '%s'", __func__, type_name(decl->s_type));
usr.bin/xlint/lint1/decl.c
1306
type_t **tpp = &decl->s_type;
usr.bin/xlint/lint1/decl.c
1315
debug_step("%s: '%s'", __func__, type_name(decl->s_type));
usr.bin/xlint/lint1/decl.c
1356
if (arg->s_type->t_tspec == VOID &&
usr.bin/xlint/lint1/decl.c
1360
arg->s_type = gettyp(INT);
usr.bin/xlint/lint1/decl.c
1374
decl->s_type == dcs->d_enclosing->d_type) {
usr.bin/xlint/lint1/decl.c
1415
&& params.first->s_type->t_tspec == VOID)
usr.bin/xlint/lint1/decl.c
1433
decl->s_type == dcs->d_enclosing->d_type) {
usr.bin/xlint/lint1/decl.c
1439
type_t **tpp = &decl->s_type;
usr.bin/xlint/lint1/decl.c
1451
debug_step("add_function: '%s'", type_name(decl->s_type));
usr.bin/xlint/lint1/decl.c
1561
sym->s_type = dcs->d_type;
usr.bin/xlint/lint1/decl.c
1584
sym->s_type = gettyp(INT);
usr.bin/xlint/lint1/decl.c
1636
(decl && !is_incomplete(tag->s_type))) {
usr.bin/xlint/lint1/decl.c
1689
tag->s_type = tp =
usr.bin/xlint/lint1/decl.c
1693
tp = tag->s_type;
usr.bin/xlint/lint1/decl.c
1702
tag->s_type = tp = block_zero_alloc(sizeof(*tp), "type");
usr.bin/xlint/lint1/decl.c
1736
if (is_struct_or_union(mem->s_type->t_tspec)
usr.bin/xlint/lint1/decl.c
1737
&& has_named_member(mem->s_type->u.sou))
usr.bin/xlint/lint1/decl.c
1815
sym->s_type = dcs->d_tag_type;
usr.bin/xlint/lint1/decl.c
1847
warning(351, sym->s_type->t_tspec == FUNC ? "" : " 'extern'",
usr.bin/xlint/lint1/decl.c
1850
if (sym->s_type->t_tspec == FUNC &&
usr.bin/xlint/lint1/decl.c
1866
if (sym->s_type->t_tspec == FUNC) {
usr.bin/xlint/lint1/decl.c
1899
const sym_t *proto_params = dsym->s_type->u.params;
usr.bin/xlint/lint1/decl.c
1921
if (!types_compatible(arg->s_type, parg->s_type,
usr.bin/xlint/lint1/decl.c
1967
if (dsym->s_type->t_tspec == FUNC && dsym->s_def == TDEF)
usr.bin/xlint/lint1/decl.c
1971
if (dsym->s_type->t_tspec == FUNC) {
usr.bin/xlint/lint1/decl.c
1981
dsym->s_type->t_tspec == FUNC && dsym->s_type->t_proto) {
usr.bin/xlint/lint1/decl.c
1986
bool rval = dsym->s_type->t_subt->t_tspec != VOID;
usr.bin/xlint/lint1/decl.c
1989
&& !(has_initializer && dsym->s_type->t_incomplete_array)) {
usr.bin/xlint/lint1/decl.c
2002
bool redec = rdsym->s_osdef && dsym->s_type->t_proto &&
usr.bin/xlint/lint1/decl.c
2022
if (rdsym->s_osdef && !dsym->s_type->t_proto) {
usr.bin/xlint/lint1/decl.c
2029
if (rdsym->s_type->t_proto && !dsym->s_type->t_proto)
usr.bin/xlint/lint1/decl.c
2051
dsym->s_type = block_dup_type(dsym->s_type);
usr.bin/xlint/lint1/decl.c
2052
dsym->s_type->t_typedef = true;
usr.bin/xlint/lint1/decl.c
2053
set_first_typedef(dsym->s_type, dsym);
usr.bin/xlint/lint1/decl.c
2054
if (dsym->s_type->t_tspec == STRUCT)
usr.bin/xlint/lint1/decl.c
2057
type_name(dsym->s_type));
usr.bin/xlint/lint1/decl.c
2058
else if (dsym->s_type->t_tspec == UNION)
usr.bin/xlint/lint1/decl.c
2061
type_name(dsym->s_type));
usr.bin/xlint/lint1/decl.c
2062
else if (dsym->s_type->t_tspec == PTR
usr.bin/xlint/lint1/decl.c
2063
&& dsym->s_type->t_subt->t_tspec == STRUCT)
usr.bin/xlint/lint1/decl.c
2066
type_name(dsym->s_type));
usr.bin/xlint/lint1/decl.c
2067
else if (dsym->s_type->t_tspec == PTR
usr.bin/xlint/lint1/decl.c
2068
&& dsym->s_type->t_subt->t_tspec == UNION)
usr.bin/xlint/lint1/decl.c
2071
type_name(dsym->s_type));
usr.bin/xlint/lint1/decl.c
2152
if (!types_compatible(rdsym->s_type, dsym->s_type,
usr.bin/xlint/lint1/decl.c
2156
type_name(dsym->s_type), type_name(rdsym->s_type));
usr.bin/xlint/lint1/decl.c
2228
if (!types_compatible(p1->s_type, p2->s_type,
usr.bin/xlint/lint1/decl.c
2246
tspec_t t = p->s_type->t_tspec;
usr.bin/xlint/lint1/decl.c
2332
type_t **dstp = &dsym->s_type;
usr.bin/xlint/lint1/decl.c
2333
type_t *src = ssym->s_type;
usr.bin/xlint/lint1/decl.c
2386
if (sym->s_type == NULL) /* for c(void()) */
usr.bin/xlint/lint1/decl.c
2387
sym->s_type = gettyp(VOID);
usr.bin/xlint/lint1/decl.c
2389
tspec_t t = sym->s_type->t_tspec;
usr.bin/xlint/lint1/decl.c
2391
type_t *subt = block_dup_type(sym->s_type->t_subt);
usr.bin/xlint/lint1/decl.c
2392
if (sym->s_type->t_const)
usr.bin/xlint/lint1/decl.c
2394
if (sym->s_type->t_volatile)
usr.bin/xlint/lint1/decl.c
2396
sym->s_type = block_derive_type(subt, PTR);
usr.bin/xlint/lint1/decl.c
2402
sym->s_type = block_derive_type(sym->s_type, PTR);
usr.bin/xlint/lint1/decl.c
2405
sym->s_type = gettyp(DOUBLE);
usr.bin/xlint/lint1/decl.c
2411
if (sym->s_type->t_const
usr.bin/xlint/lint1/decl.c
2422
if (sym->s_type->t_tspec != VOID)
usr.bin/xlint/lint1/decl.c
2423
(void)length_in_bits(sym->s_type, sym->s_name);
usr.bin/xlint/lint1/decl.c
2498
if (!is_character_pointer(param->s_type)) {
usr.bin/xlint/lint1/decl.c
2514
type_t *old_tp = old_param->s_type;
usr.bin/xlint/lint1/decl.c
2515
type_t *proto_tp = proto_param->s_type;
usr.bin/xlint/lint1/decl.c
2551
sym_t *proto_params = funcsym->s_type->u.params;
usr.bin/xlint/lint1/decl.c
2566
if (funcsym->s_osdef && funcsym->s_type->t_proto) {
usr.bin/xlint/lint1/decl.c
2606
warning(86, dsym->s_name, type_name(rdsym->s_type));
usr.bin/xlint/lint1/decl.c
2610
warning(87, dsym->s_name, type_name(rdsym->s_type));
usr.bin/xlint/lint1/decl.c
2614
warning(88, dsym->s_name, type_name(rdsym->s_type));
usr.bin/xlint/lint1/decl.c
2684
bool compatible = types_compatible(esym->s_type, dsym->s_type,
usr.bin/xlint/lint1/decl.c
2716
if (dsym->s_type->t_tspec == FUNC) {
usr.bin/xlint/lint1/decl.c
2726
if (dsym->s_type->t_tspec == FUNC) {
usr.bin/xlint/lint1/decl.c
2746
if (dsym->s_type->t_tspec == FUNC)
usr.bin/xlint/lint1/decl.c
2754
if (dsym->s_type->t_const
usr.bin/xlint/lint1/decl.c
2787
dsym->s_type = block_dup_type(dsym->s_type);
usr.bin/xlint/lint1/decl.c
2788
dsym->s_type->t_typedef = true;
usr.bin/xlint/lint1/decl.c
2789
set_first_typedef(dsym->s_type, dsym);
usr.bin/xlint/lint1/decl.c
2820
sym->s_type = enclosing ? dcs->d_enclosing->d_type : dcs->d_type;
usr.bin/xlint/lint1/decl.c
2872
dsym->s_type->t_tspec != FUNC &&
usr.bin/xlint/lint1/decl.c
2873
length_in_bits(dsym->s_type, dsym->s_name) == 0 &&
usr.bin/xlint/lint1/decl.c
2874
dsym->s_type->t_tspec == ARRAY &&
usr.bin/xlint/lint1/decl.c
2875
dsym->s_type->u.dimension == 0) {
usr.bin/xlint/lint1/decl.c
3036
if (!is_incomplete(sym->s_type))
usr.bin/xlint/lint1/decl.c
3043
switch (sym->s_type->t_tspec) {
usr.bin/xlint/lint1/decl.c
3053
lint_assert(sym->s_type->t_tspec == ENUM);
usr.bin/xlint/lint1/decl.c
3084
if (sym->s_type->t_tspec == FUNC)
usr.bin/xlint/lint1/decl.c
3087
if (sym->s_def == TDEF && sym->s_type->t_tspec == VOID)
usr.bin/xlint/lint1/decl.c
3093
int len_in_bits = length_in_bits(sym->s_type, sym->s_name);
usr.bin/xlint/lint1/decl.c
3097
sym->s_type->t_tspec == ARRAY && sym->s_type->u.dimension == 0) {
usr.bin/xlint/lint1/decl.c
3113
if (sym->s_type->t_tspec == FUNC) {
usr.bin/xlint/lint1/decl.c
3132
if (sym->s_type->t_tspec == FUNC && sym->s_used && sym->s_def != DEF)
usr.bin/xlint/lint1/decl.c
3139
if (allow_c90 && sym->s_def == TDEF && sym->s_type->t_const)
usr.bin/xlint/lint1/decl.c
425
while (*mem != NULL && (*mem)->s_type->t_bitfield) {
usr.bin/xlint/lint1/decl.c
428
width += (*mem)->s_type->t_bit_field_width;
usr.bin/xlint/lint1/decl.c
429
unsigned mem_align = alignment((*mem)->s_type);
usr.bin/xlint/lint1/decl.c
453
if (mem->s_type->t_bitfield) {
usr.bin/xlint/lint1/decl.c
458
unsigned int mem_bits = type_size_in_bits(mem->s_type);
usr.bin/xlint/lint1/decl.c
903
type_t **tpp = &sym->s_type;
usr.bin/xlint/lint1/emit1.c
128
outtype(param->s_type);
usr.bin/xlint/lint1/emit1.c
183
if (sc != EXTERN && !(sc == STATIC && sym->s_type->t_tspec == FUNC))
usr.bin/xlint/lint1/emit1.c
223
outtype(sym->s_type);
usr.bin/xlint/lint1/emit1.c
304
outtype(arg->s_type);
usr.bin/xlint/lint1/emit1.c
305
outtype(fsym->s_type->t_subt);
usr.bin/xlint/lint1/emit1.c
307
outtype(fsym->s_type);
usr.bin/xlint/lint1/func.c
222
if (!fsym->s_type->t_proto && fsym->u.s_old_style_params == NULL)
usr.bin/xlint/lint1/func.c
231
if (fsym->s_type->t_subt->t_tspec != VOID &&
usr.bin/xlint/lint1/func.c
232
is_incomplete(fsym->s_type->t_subt)) {
usr.bin/xlint/lint1/func.c
253
for (const sym_t *param = fsym->s_type->u.params;
usr.bin/xlint/lint1/func.c
299
if (fsym->s_osdef && rdsym->s_type->t_proto)
usr.bin/xlint/lint1/func.c
311
if (fsym->s_osdef && !fsym->s_type->t_proto && !fsym->s_type->t_identifier_params) {
usr.bin/xlint/lint1/func.c
327
if (funcsym->s_type->t_subt->t_tspec == VOID)
usr.bin/xlint/lint1/func.c
920
ln->tn_type = expr_unqualified_type(funcsym->s_type->t_subt);
usr.bin/xlint/lint1/func.c
958
if (tn != NULL && funcsym->s_type->t_subt->t_tspec == VOID) {
usr.bin/xlint/lint1/func.c
964
if (tn == NULL && funcsym->s_type->t_subt->t_tspec != VOID
usr.bin/xlint/lint1/init.c
176
&& !is_struct_or_union(m->s_type->t_tspec))
usr.bin/xlint/lint1/init.c
193
type_t *tp = block_dup_type(sym->s_type);
usr.bin/xlint/lint1/init.c
196
sym->s_type = tp;
usr.bin/xlint/lint1/init.c
197
debug_step("completed array type is '%s'", type_name(sym->s_type));
usr.bin/xlint/lint1/init.c
239
!is_scalar(sym->s_type->t_tspec)) {
usr.bin/xlint/lint1/init.c
291
return fmem != NULL ? fmem->s_type : NULL;
usr.bin/xlint/lint1/init.c
295
return dr->dr_member->s_type;
usr.bin/xlint/lint1/init.c
648
return in->in_sym->s_type;
usr.bin/xlint/lint1/init.c
714
if (in->in_sym->s_type->t_incomplete_array &&
usr.bin/xlint/lint1/init.c
817
if (in->in_sym->s_type->t_tspec == ARRAY)
usr.bin/xlint/lint1/init.c
887
if (in->in_sym->s_type->t_tspec == AUTO_TYPE)
usr.bin/xlint/lint1/init.c
888
in->in_sym->s_type = block_dup_type(tn->tn_type);
usr.bin/xlint/lint1/init.c
902
error(181, type_name(in->in_sym->s_type));
usr.bin/xlint/lint1/init.c
932
debug_step("begin initialization of '%s'", type_name(sym->s_type));
usr.bin/xlint/lint1/lex.c
1487
sym->s_type = gettyp(INT);
usr.bin/xlint/lint1/lex.c
1523
sym->s_type = tp;
usr.bin/xlint/lint1/lex.c
1544
type_name(sym->s_type));
usr.bin/xlint/lint1/lex.c
1567
type_name(sym->s_type), sym->s_block_level);
usr.bin/xlint/lint1/lex.c
1581
type_name(sym->s_type), level);
usr.bin/xlint/lint1/lex.c
1608
type_name(sym->s_type));
usr.bin/xlint/lint1/lint1.h
248
type_t *s_type;
usr.bin/xlint/lint1/tree.c
2356
const type_t *atp = a->s_type;
usr.bin/xlint/lint1/tree.c
2357
const type_t *btp = b->s_type;
usr.bin/xlint/lint1/tree.c
2410
if (is_struct_or_union(mem->s_type->t_tspec)
usr.bin/xlint/lint1/tree.c
2413
find_member(mem->s_type->u.sou, name);
usr.bin/xlint/lint1/tree.c
3032
const type_t *mtp = m->s_type;
usr.bin/xlint/lint1/tree.c
3975
types_compatible(struct_tp->u.sou->sou_first_member->s_type,
usr.bin/xlint/lint1/tree.c
3992
if (types_compatible(mem->s_type, mtp, true, false, NULL))
usr.bin/xlint/lint1/tree.c
4026
types_compatible(nmem->s_type, omem->s_type,
usr.bin/xlint/lint1/tree.c
4029
if (nmem != NULL && is_byte_array(nmem->s_type))
usr.bin/xlint/lint1/tree.c
4031
if (omem != NULL && is_byte_array(omem->s_type))
usr.bin/xlint/lint1/tree.c
4483
tp = mem->s_type;
usr.bin/xlint/lint1/tree.c
4592
if (types_compatible(m->s_type, otn->tn_type,
usr.bin/xlint/lint1/tree.c
4780
i + 1, param->s_type, arg)
usr.bin/xlint/lint1/tree.c
843
sym->s_type = block_derive_type(gettyp(CHAR), ARRAY);
usr.bin/xlint/lint1/tree.c
844
sym->s_type->t_const = true;
usr.bin/xlint/lint1/tree.c
845
sym->s_type->u.dimension = (int)strlen(funcsym->s_name) + 1;
usr.bin/xlint/lint1/tree.c
927
sym->s_type = gettyp(BOOL);
usr.bin/xlint/lint1/tree.c
936
sym->s_type = block_derive_type(sym->s_type, FUNC);
usr.bin/xlint/lint1/tree.c
956
n->tn_type = sym->s_type;
usr.bin/xlint/lint1/tree.c
972
if (sym->s_kind == SK_VCFT && sym->s_type->t_tspec != FUNC)
usr.bin/xlint/lint2/chk.c
112
TP(sym->s_type)->t_tspec == FUNC &&
usr.bin/xlint/lint2/chk.c
113
TP(sym->s_type)->t_proto) {
usr.bin/xlint/lint2/chk.c
1136
} else if (decl != NULL && TP(decl->s_type)->t_proto) {
usr.bin/xlint/lint2/chk.c
1141
if (TP(sym1->s_type)->t_tspec != FUNC)
usr.bin/xlint/lint2/chk.c
1150
if (sym == sym1 || !TP(sym->s_type)->t_proto)
usr.bin/xlint/lint2/chk.c
1152
ap1 = TP(sym1->s_type)->t_args;
usr.bin/xlint/lint2/chk.c
1153
ap2 = TP(sym->s_type)->t_args;
usr.bin/xlint/lint2/chk.c
1171
tp1 = TP(sym1->s_type);
usr.bin/xlint/lint2/chk.c
1172
tp2 = TP(sym->s_type);
usr.bin/xlint/lint2/chk.c
189
if (TP(sym->s_type)->t_tspec == FUNC)
usr.bin/xlint/lint2/chk.c
254
t1 = (tp1 = TP(def->s_type)->t_subt)->t_tspec;
usr.bin/xlint/lint2/chk.c
304
const type_t *tp1 = TP(def->s_type);
usr.bin/xlint/lint2/chk.c
308
const type_t *tp2 = TP(sym->s_type);
usr.bin/xlint/lint2/chk.c
358
if ((tp1 = TP(def->s_type))->t_tspec != FUNC)
usr.bin/xlint/lint2/chk.c
361
} else if (decl != NULL && TP(decl->s_type)->t_proto) {
usr.bin/xlint/lint2/chk.c
362
if ((tp1 = TP(decl->s_type))->t_tspec != FUNC)
usr.bin/xlint/lint2/chk.c
472
asgn = def != NULL || (decl != NULL && TP(decl->s_type)->t_proto);
usr.bin/xlint/lint2/emit2.c
128
if (TP(sym->s_type)->t_tspec == FUNC) {
usr.bin/xlint/lint2/emit2.c
136
outtype(TP(sym->s_type));
usr.bin/xlint/lint2/lint2.h
118
unsigned short s_type;
usr.bin/xlint/lint2/lint2.h
139
#define s_type s_s.s_type
usr.bin/xlint/lint2/read.c
516
sym.s_type = inptype(cp, &cp);
usr.bin/xlint/lint2/read.c
528
symp->s_type == sym.s_type &&