Home
last modified time | relevance | path

Searched refs:s_type (Results 1 – 25 of 28) sorted by relevance

12

/netbsd-src/usr.bin/xlint/lint1/
H A Ddecl.c425 while (*mem != NULL && (*mem)->s_type->t_bitfield) { in bit_fields_width()
428 width += (*mem)->s_type->t_bit_field_width; in bit_fields_width()
429 unsigned mem_align = alignment((*mem)->s_type); in bit_fields_width()
453 if (mem->s_type->t_bitfield) { in pack_struct_or_union()
458 unsigned int mem_bits = type_size_in_bits(mem->s_type); in pack_struct_or_union()
877 type_t **tpp = &sym->s_type; in check_type()
1004 dsym->s_type = tp = block_dup_type(gettyp(t = INT)); in check_bit_field_type()
1033 dsym->s_type->t_bitfield = false; in check_bit_field()
1059 type_t *tp = mem->s_type; in dcs_add_member()
1098 mem->s_type in declare_unnamed_member()
[all...]
H A Dinit.c176 && !is_struct_or_union(m->s_type->t_tspec)) in skip_unnamed()
193 type_t *tp = block_dup_type(sym->s_type); in update_type_of_array_of_unknown_size()
196 sym->s_type = tp; in update_type_of_array_of_unknown_size()
197 debug_step("completed array type is '%s'", type_name(sym->s_type)); in update_type_of_array_of_unknown_size()
239 !is_scalar(sym->s_type->t_tspec)) { in check_trad_no_auto_aggregate()
291 return fmem != NULL ? fmem->s_type : NULL; in designator_type()
295 return dr->dr_member->s_type; in designator_type()
658 return in->in_sym->s_type; in initialization_sub_type()
724 if (in->in_sym->s_type->t_incomplete_array && in initialization_rbrace()
827 if (in->in_sym->s_type in initialization_expr_using_op()
[all...]
H A Demit1.c133 outtype(param->s_type); in outtype()
188 if (sc != EXTERN && !(sc == STATIC && sym->s_type->t_tspec == FUNC)) in outsym()
228 outtype(sym->s_type); in outsym()
309 outtype(arg->s_type); in outfdef()
310 outtype(fsym->s_type->t_subt); in outfdef()
312 outtype(fsym->s_type); in outfdef()
H A Dfunc.c225 if (!fsym->s_type->t_proto && fsym->u.s_old_style_params == NULL) in begin_function()
234 if (fsym->s_type->t_subt->t_tspec != VOID && in begin_function()
235 is_incomplete(fsym->s_type->t_subt)) { in begin_function()
256 for (const sym_t *param = fsym->s_type->u.params; in begin_function()
302 if (fsym->s_osdef && rdsym->s_type->t_proto) in begin_function()
314 if (fsym->s_osdef && !fsym->s_type->t_proto) { in begin_function()
331 if (funcsym->s_type->t_subt->t_tspec == VOID) in check_missing_return_value()
931 ln->tn_type = expr_unqualified_type(funcsym->s_type->t_subt); in check_return_value()
969 if (tn != NULL && funcsym->s_type->t_subt->t_tspec == VOID) { in stmt_return()
975 if (tn == NULL && funcsym->s_type in stmt_return()
[all...]
H A Ddebug.c173 debug_type_details(mem->s_type); in debug_type_details()
404 if (sym->s_type != NULL) in debug_sym()
405 debug_printf(" type='%s'", type_name(sym->s_type)); in debug_sym()
433 if (sym->s_type != NULL && sym->s_type->t_is_enum) in debug_sym()
435 if (sym->s_type != NULL && sym->s_type->t_tspec == BOOL) in debug_sym()
H A Dckbool.c204 sym->s_type = gettyp(BOOL); in fallback_symbol_strict_bool()
211 sym->s_type = gettyp(BOOL); in fallback_symbol_strict_bool()
H A Dtree.c664 sym->s_type = block_derive_type(gettyp(CHAR), ARRAY); in check_integer_comparison()
665 sym->s_type->t_const = true; in check_integer_comparison()
666 sym->s_type->u.dimension = (int)strlen(funcsym->s_name) + 1; in check_integer_comparison()
728 sym->s_type = gettyp(BOOL); in usual_arithmetic_conversion_c90()
737 sym->s_type = block_derive_type(sym->s_type, FUNC); in usual_arithmetic_conversion_c90()
757 n->tn_type = sym->s_type;
773 if (sym->s_kind == SK_VCFT && sym->s_type->t_tspec != FUNC) in balance()
2158 const type_t *atp = a->s_type; in typeok_point()
2159 const type_t *btp = b->s_type; in typeok_point()
[all...]
H A Dlex.c1496 sym->s_type = gettyp(INT); in pushdown()
1532 sym->s_type = tp; in fill_token()
1553 type_name(sym->s_type)); in seq_reserve()
1576 type_name(sym->s_type), sym->s_block_level); in read_balanced()
1590 type_name(sym->s_type), level);
1617 type_name(sym->s_type));
H A Dcgram.y1008 $$ = getsym($2)->s_type;
1139 if ($1->s_type->t_tspec != AUTO_TYPE)
1159 $$ = getsym($1)->s_type;
1717 $$ = $2->s_type;
2408 if ($1->s_type->t_tspec != FUNC) {
2413 if ($1->s_type->t_typedef) {
H A Dlint1.h231 type_t *s_type;
225 type_t *s_type; global() member
/netbsd-src/usr.bin/xlint/lint2/
H A Dchk.c107 TP(sym->s_type)->t_tspec == FUNC && in check_name()
108 TP(sym->s_type)->t_proto) { in check_name()
184 if (TP(sym->s_type)->t_tspec == FUNC) in check_declared_not_used_or_defined()
249 t1 = (tp1 = TP(def->s_type)->t_subt)->t_tspec; in chkvtui()
303 tp1 = TP(def->s_type); in chkvtdi()
308 tp2 = TP(sym->s_type); in chkvtdi()
358 if ((tp1 = TP(def->s_type))->t_tspec != FUNC) in chkfaui()
361 } else if (decl != NULL && TP(decl->s_type)->t_proto) { in chkfaui()
362 if ((tp1 = TP(decl->s_type))->t_tspec != FUNC) in chkfaui()
459 * != NULL && TP(decl->s_type) in chkau()
[all...]
H A Dlint2.h121 unsigned short s_type; member
142 #define s_type s_s.s_type macro
H A Demit2.c136 if (TP(sym->s_type)->t_tspec == FUNC) { in outdef()
144 outtype(TP(sym->s_type)); in outdef()
H A Dread.c516 sym.s_type = inptype(cp, &cp); in decldef()
528 symp->s_type == sym.s_type && in decldef()
/netbsd-src/usr.bin/rdist/
H A Dlookup.c48 int s_type; member
144 if (action != INSERT || s->s_type != CONST) { in lookup()
164 s->s_type = action == INSERT ? VAR : CONST; in lookup()
/netbsd-src/crypto/external/bsd/openssl/dist/util/
H A Dcheck-format-test-positives.c68 } s_type; /*@ statement/type declaration indent off by 4 */
95 s_type s; /*@2 local variable declaration indent off by -1 */
/netbsd-src/sys/arch/mmeye/stand/bootcoff/
H A Dosloader.c53 coff_find_section(FILE *fd, struct coff_filehdr *fp, struct coff_scnhdr *sh, int s_type) in coff_find_section() argument
65 if (sh->s_flags == s_type) in coff_find_section()
/netbsd-src/external/bsd/ipf/dist/
H A Dsnoop.h19 int s_type; member
/netbsd-src/sys/arch/sh3/sh3/
H A Dcoff_exec.c221 struct coff_scnhdr *sh, int s_type) in coff_find_section() argument
239 s_type, sizeof(struct coff_scnhdr), in coff_find_section()
244 if (sh->s_flags == s_type) in coff_find_section()
/netbsd-src/external/bsd/ekermit/dist/
H A Dkermit.h321 short s_type; /* Packet type sent */ member
H A Dkermit.c149 k->s_type = k->r_type = 0; /* Packet type */ in kermit()
/netbsd-src/usr.bin/xlint/common/
H A Dtyname.c175 buf_add(buf, type_name(param->s_type)); in type_name_of_function()
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Delflink.c11495 unsigned int s_type; in elf_link_input_bfd() local
11527 s_type = h->type; in elf_link_input_bfd()
11559 s_type = ELF_ST_TYPE (sym->st_info); in elf_link_input_bfd()
11565 if ((s_type == STT_RELC || s_type == STT_SRELC) in elf_link_input_bfd()
11583 isymbuf, locsymcount, s_type == STT_SRELC)) in elf_link_input_bfd()
/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Delflink.c11408 unsigned int s_type; in elf_link_input_bfd() local
11440 s_type = h->type; in elf_link_input_bfd()
11472 s_type = ELF_ST_TYPE (sym->st_info); in elf_link_input_bfd()
11478 if ((s_type == STT_RELC || s_type == STT_SRELC) in elf_link_input_bfd()
11496 isymbuf, locsymcount, s_type == STT_SRELC)) in elf_link_input_bfd()
/netbsd-src/external/gpl3/gdb.old/dist/bfd/
H A DChangeLog-00018340 Set hdr->s_type to 1 if ARCH_SIZE == 32.

12