Lines Matching refs:symbol

54 struct symbol *dissect_ctx;
60 static struct symbol
61 *base_type(struct symbol *sym),
62 *do_initializer(struct symbol *type, struct expression *expr),
66 static inline int is_ptr(struct symbol *type)
83 static usage_t u_lval(struct symbol *type)
90 static usage_t fix_mode(struct symbol *type, usage_t mode)
122 static struct symbol *report_member(usage_t mode, struct position *pos,
123 struct symbol *type, struct symbol *mem)
125 struct symbol *ret = mem->ctype.base_type;
133 static void report_implicit(usage_t mode, struct position *pos, struct symbol *type)
145 static inline struct symbol *expr_symbol(struct expression *expr)
147 struct symbol *sym = expr->symbol;
165 static struct symbol *report_symbol(usage_t mode, struct expression *expr)
167 struct symbol *sym = expr_symbol(expr);
168 struct symbol *ret = base_type(sym);
171 return report_member(mode, &expr->pos, ret, expr->symbol);
178 static bool deanon(struct symbol *base, struct ident *node, struct symbol *parent)
195 static void report_memdef(struct symbol *sym, struct symbol *mem)
202 static void examine_sym_node(struct symbol *node, struct symbol *parent)
205 struct symbol *base, *dctx;
257 static struct symbol *base_type(struct symbol *sym)
269 static struct symbol *__lookup_member(struct symbol *type, struct ident *name, int *p_addr)
271 struct symbol *node;
296 static struct symbol *lookup_member(struct symbol *type, struct ident *name, int *addr)
298 struct symbol *mem = __lookup_member(type, name, addr);
301 static struct symbol bad_member = {
333 static struct symbol *do_expression(usage_t mode, struct expression *expr)
335 struct symbol *ret = &int_ctype;
400 struct symbol *l, *r;
448 struct symbol *p_type;
461 struct symbol *in = base_type(expr->in);
497 static struct symbol *do_statement(usage_t mode, struct statement *stmt)
499 struct symbol *ret = &void_ctype;
516 struct symbol *type = dissect_ctx->ctype.base_type;
566 static struct symbol *do_initializer(struct symbol *type, struct expression *expr)
568 struct symbol *m_type;
613 static inline struct symbol *do_symbol(struct symbol *sym)
615 struct symbol *type = base_type(sym);
616 struct symbol *dctx = dissect_ctx;