/src/usr.bin/xlint/lint1/ |
decl.c | 432 while (*mem != NULL && (*mem)->s_type->t_bitfield) { 435 width += (*mem)->s_type->t_bit_field_width; 436 unsigned mem_align = alignment((*mem)->s_type); 460 if (mem->s_type->t_bitfield) { 465 unsigned int mem_bits = type_size_in_bits(mem->s_type); 903 type_t **tpp = &sym->s_type; 1029 dsym->s_type = tp = block_dup_type(gettyp(t = INT)); 1058 dsym->s_type->t_bitfield = false; 1084 type_t *tp = mem->s_type; 1123 mem->s_type = dcs->d_type [all...] |
emit1.c | 133 outtype(param->s_type); 188 if (sc != EXTERN && !(sc == STATIC && sym->s_type->t_tspec == FUNC)) 228 outtype(sym->s_type); 309 outtype(arg->s_type); 310 outtype(fsym->s_type->t_subt); 312 outtype(fsym->s_type);
|
init.c | 176 && !is_struct_or_union(m->s_type->t_tspec)) 193 type_t *tp = block_dup_type(sym->s_type); 196 sym->s_type = tp; 197 debug_step("completed array type is '%s'", type_name(sym->s_type)); 239 !is_scalar(sym->s_type->t_tspec)) { 291 return fmem != NULL ? fmem->s_type : NULL; 295 return dr->dr_member->s_type; 658 return in->in_sym->s_type; 724 if (in->in_sym->s_type->t_incomplete_array && 827 if (in->in_sym->s_type->t_tspec == ARRAY [all...] |
ckbool.c | 204 sym->s_type = gettyp(BOOL); 211 sym->s_type = gettyp(BOOL);
|
debug.c | 173 debug_type_details(mem->s_type); 406 if (sym->s_type != NULL) 407 debug_printf(" type='%s'", type_name(sym->s_type)); 435 if (sym->s_type != NULL && sym->s_type->t_is_enum) 437 if (sym->s_type != NULL && sym->s_type->t_tspec == BOOL) 464 if (sym->s_type->t_tspec == ARRAY
|
func.c | 222 if (!fsym->s_type->t_proto && fsym->u.s_old_style_params == NULL) 231 if (fsym->s_type->t_subt->t_tspec != VOID && 232 is_incomplete(fsym->s_type->t_subt)) { 253 for (const sym_t *param = fsym->s_type->u.params; 299 if (fsym->s_osdef && rdsym->s_type->t_proto) 311 if (fsym->s_osdef && !fsym->s_type->t_proto) { 327 if (funcsym->s_type->t_subt->t_tspec == VOID) 919 ln->tn_type = expr_unqualified_type(funcsym->s_type->t_subt); 957 if (tn != NULL && funcsym->s_type->t_subt->t_tspec == VOID) { 963 if (tn == NULL && funcsym->s_type->t_subt->t_tspec != VOI [all...] |
cgram.y | 1015 $$ = getsym($2)->s_type; 1136 if ($1->s_type->t_tspec != AUTO_TYPE) 1156 $$ = getsym($1)->s_type; 1519 tspec_t t = $$->s_type->t_tspec; 1521 type_t *tp = block_dup_type($$->s_type); 1527 $$->s_type = tp; 1732 $$ = $2->s_type; 2423 if ($1->s_type->t_tspec != FUNC) { 2428 if ($1->s_type->t_typedef) {
|
tree.c | 707 sym->s_type = block_derive_type(gettyp(CHAR), ARRAY); 708 sym->s_type->t_const = true; 709 sym->s_type->u.dimension = (int)strlen(funcsym->s_name) + 1; 771 sym->s_type = gettyp(BOOL); 780 sym->s_type = block_derive_type(sym->s_type, FUNC); 800 n->tn_type = sym->s_type; 816 if (sym->s_kind == SK_VCFT && sym->s_type->t_tspec != FUNC) 2193 const type_t *atp = a->s_type; 2194 const type_t *btp = b->s_type; [all...] |
lint1.h | 232 type_t *s_type; member in struct:sym
|
/src/usr.bin/xlint/lint2/ |
lint2.h | 118 unsigned short s_type; member in struct:sym::__anon516cfa120408 139 #define s_type s_s.s_type macro
|
chk.c | 112 TP(sym->s_type)->t_tspec == FUNC && 113 TP(sym->s_type)->t_proto) { 189 if (TP(sym->s_type)->t_tspec == FUNC) 254 t1 = (tp1 = TP(def->s_type)->t_subt)->t_tspec; 304 const type_t *tp1 = TP(def->s_type); 308 const type_t *tp2 = TP(sym->s_type); 358 if ((tp1 = TP(def->s_type))->t_tspec != FUNC) 361 } else if (decl != NULL && TP(decl->s_type)->t_proto) { 362 if ((tp1 = TP(decl->s_type))->t_tspec != FUNC) 460 * != NULL && TP(decl->s_type)->t_proto), we compare the call with thi [all...] |
emit2.c | 133 if (TP(sym->s_type)->t_tspec == FUNC) { 141 outtype(TP(sym->s_type));
|
read.c | 516 sym.s_type = inptype(cp, &cp); 528 symp->s_type == sym.s_type &&
|
/src/usr.bin/rdist/ |
lookup.c | 48 int s_type; member in struct:syment 144 if (action != INSERT || s->s_type != CONST) { 164 s->s_type = action == INSERT ? VAR : CONST;
|
/src/sys/arch/mmeye/stand/bootcoff/ |
osloader.c | 53 coff_find_section(FILE *fd, struct coff_filehdr *fp, struct coff_scnhdr *sh, int s_type) 65 if (sh->s_flags == s_type)
|
/src/sys/arch/sh3/sh3/ |
coff_exec.c | 221 struct coff_scnhdr *sh, int s_type) 239 s_type, sizeof(struct coff_scnhdr), 244 if (sh->s_flags == s_type)
|
/src/usr.bin/xlint/common/ |
tyname.c | 175 buf_add(buf, type_name(param->s_type));
|