Home
last modified time | relevance | path

Searched refs:sym_t (Results 1 – 18 of 18) sorted by relevance

/netbsd/usr.bin/xlint/lint1/
H A Dexterns1.h91 sym_t *pushdown(const sym_t *);
220 sym_t *concat_symbols(sym_t *, sym_t *);
223 sym_t *declare_member(sym_t *);
224 sym_t *set_bit_field_width(sym_t *, int);
227 sym_t *add_pointer(sym_t *, qual_ptr *);
228 sym_t *add_array(sym_t *, bool, int);
232 sym_t *declarator_name(sym_t *);
240 void copy_usage_info(sym_t *, sym_t *);
244 void complete_type(sym_t *, sym_t *);
245 sym_t *declare_argument(sym_t *, bool);
[all …]
H A Ddecl.c810 sym_t *
811 concat_symbols(sym_t *l1, sym_t *l2) in concat_symbols()
1041 sym_t *
1058 sym_t *
1107 sym_t *
1172 sym_t *
1242 sym_t *
1299 old_style_function(sym_t *decl, sym_t *args) in old_style_function()
1323 sym_t *
2043 copy_usage_info(sym_t *sym, sym_t *rdsym) in copy_usage_info()
[all …]
H A Dlex.c226 symtab_add(sym_t *sym) in symtab_add()
237 static sym_t *
281 const sym_t *a = *(const sym_t *const *)va; in sym_by_name()
282 const sym_t *b = *(const sym_t *const *)vb; in sym_by_name()
288 const sym_t **items;
443 lex_keyword(sym_t *sym) in lex_keyword()
1310 sym_t *
1377 sym_t *
1409 rmsym(sym_t *sym) in rmsym()
1477 sym_t *
[all …]
H A Demit1.c46 static void outtt(sym_t *, sym_t *);
104 sym_t *arg; in outtype()
149 outtt(sym_t *tag, sym_t *tdef) in outtt()
178 outsym(const sym_t *sym, scl_t sc, def_t def) in outsym()
242 outfdef(const sym_t *fsym, const pos_t *posp, bool rval, bool osdef, in outfdef()
243 const sym_t *args) in outfdef()
246 const sym_t *arg; in outfdef()
570 outusg(const sym_t *sym) in outusg()
H A Dinit.c152 sym_t *in_sym;
184 has_automatic_storage_duration(const sym_t *sym) in has_automatic_storage_duration()
219 static const sym_t *
220 skip_unnamed(const sym_t *m) in skip_unnamed()
229 static const sym_t *
275 const sym_t *unused_sym; in check_non_constant_initializer()
290 check_trad_no_auto_aggregate(const sym_t *sym) in check_trad_no_auto_aggregate()
351 const sym_t *fmem = first_named_member(tp); in designator_type()
431 const sym_t *member, size_t subscript) in designation_push()
999 sym_t *
[all …]
H A Dlint1.h290 } sym_t; typedef
299 sym_t *sb_sym; /* symbol table entry */
322 sym_t *_tn_sym; /* symbol if op == NAME */
375 sym_t *d_redeclared_symbol;
393 sym_t *d_func_args; /* during a function declaration, the list of
396 sym_t *d_first_dlsym; /* first symbol declared at this level */
397 sym_t **d_last_dlsym; /* points to s_level_next in the last symbol
399 sym_t *d_func_proto_syms; /* symbols defined in prototype */
404 sym_t *first;
660 is_member(const sym_t *sym) in is_member()
H A Ddebug.c131 for (const sym_t *mem = tp->t_sou->sou_first_member; in debug_type_details()
140 for (const sym_t *en = tp->t_enum->en_first_enumerator; in debug_type_details()
338 debug_sym(const char *prefix, const sym_t *sym, const char *suffix) in debug_sym()
382 const sym_t *def = sou->sou_first_typedef; in debug_sym()
450 for (const sym_t *arg = dl->d_func_args; in debug_decl_level()
457 for (const sym_t *sym = dl->d_func_proto_syms; in debug_decl_level()
H A Dfunc.c53 sym_t *funcsym;
213 begin_function(sym_t *fsym) in begin_function()
217 sym_t *arg, *sym, *rdsym; in begin_function()
383 for (sym_t *arg = dcs->d_func_args; in end_function()
420 named_label(sym_t *sym) in named_label()
715 sym_t *esym; in stmt_switch_expr_stmt()
935 stmt_goto(sym_t *lab) in stmt_goto()
H A Dtree.c395 fallback_symbol(sym_t *sym) in fallback_symbol()
461 build_name_call(sym_t *sym) in build_name_call()
1058 const sym_t *max_ec = ec; in check_enum_array_index()
1827 are_members_compatible(const sym_t *a, const sym_t *b) in are_members_compatible()
1873 sym_t *
1888 sym_t *nested_mem = in find_member()
1926 static sym_t *
2005 sym_t *msym; in build_member_access()
4223 sym_t *asym = ftp->t_args; in check_function_arguments()
4685 const sym_t *sym; in constant_addr()
[all …]
H A Dcgram.y70 static void cgram_declare(sym_t *, bool, sbuf_t *);
72 static sym_t *symbolrename(sym_t *, sbuf_t *);
140 sym_t *y_sym;
554 sym_t *tmp = mktempsym($2);
2262 cgram_declare(sym_t *decl, bool has_initializer, sbuf_t *renaming) in cgram_declare()
2294 static sym_t *
2295 symbolrename(sym_t *s, sbuf_t *sb) in symbolrename()
H A Dckbool.c236 fallback_symbol_strict_bool(sym_t *sym) in fallback_symbol_strict_bool()
H A Dmem1.c197 __func__, ((const sym_t *)p)->s_name); in mpool_free()
H A DREADME.md157 ## sym_t section in Fundamental types
196 | sym | `sym_t` | a symbol from the symbol table |
/netbsd/usr.bin/xlint/lint2/
H A Dchk.c55 static void chkvtui(const hte_t *, sym_t *, sym_t *);
56 static void chkvtdi(const hte_t *, sym_t *, sym_t *);
57 static void chkfaui(const hte_t *, sym_t *, sym_t *);
58 static void chkau(const hte_t *, int, sym_t *, sym_t *, pos_t *,
157 sym_t *sym; in check_defined_not_used()
178 sym_t *sym; in check_declared_not_used_or_defined()
200 sym_t *sym, *def1; in check_multiple_definitions()
234 chkvtui(const hte_t *hte, sym_t *def, sym_t *decl) in chkvtui()
292 chkvtdi(const hte_t *hte, sym_t *def, sym_t *decl) in chkvtdi()
294 sym_t *sym; in chkvtdi()
[all …]
H A Dlint2.h132 } sym_t; typedef
175 sym_t *h_syms; /* declarations and definitions */
176 sym_t **h_lsym; /* points to s_next of last decl./def. */
H A Demit2.c43 static void outdef(hte_t *, sym_t *);
116 outdef(hte_t *hte, sym_t *sym) in outdef()
169 sym_t *sym, *def; in dumpname()
H A Dread.c394 parse_function_attribute(const char **pp, sym_t *sym, bool *used) in parse_function_attribute()
469 sym_t *symp, sym; in decldef()
1140 sym_t *sym1, **symp, *sym; in mkstatic()
/netbsd/usr.bin/xlint/common/
H A Dtyname.c158 sym_t *arg; in type_name_of_function()