Lines Matching defs:pos
19 static void print_usage(struct position *pos, struct symbol *sym, unsigned mode)
25 if (curr_stream != pos->stream) {
26 curr_stream = pos->stream;
34 pos->line, pos->pos, ctx->len, ctx->name, show_mode(mode));
42 warning(sym->pos, "no context");
48 static void r_symbol(unsigned mode, struct position *pos, struct symbol *sym)
50 print_usage(pos, sym, mode);
78 warning(*pos, "r_symbol bad sym type=%d kind=%d", sym->type, sym->kind);
81 static void r_member(unsigned mode, struct position *pos, struct symbol *sym, struct symbol *mem)
85 print_usage(pos, sym, mode);
98 warning(*pos, "r_member bad sym type=%d kind=%d", sym->type, sym->kind);
100 warning(*pos, "r_member bad mem->kind = %d", mem->kind);
105 r_symbol(-1, &sym->pos, sym);
110 r_member(-1, &mem->pos, sym, mem);