Lines Matching refs:sym
10 size_t symbol__fprintf(struct symbol *sym, FILE *fp) in symbol__fprintf() argument
13 sym->start, sym->end, in symbol__fprintf()
14 sym->binding == STB_GLOBAL ? 'g' : in symbol__fprintf()
15 sym->binding == STB_LOCAL ? 'l' : 'w', in symbol__fprintf()
16 sym->name); in symbol__fprintf()
19 size_t __symbol__fprintf_symname_offs(const struct symbol *sym, in __symbol__fprintf_symname_offs() argument
27 if (sym) { in __symbol__fprintf_symname_offs()
28 length = fprintf(fp, "%s", sym->name); in __symbol__fprintf_symname_offs()
30 if (al->addr < sym->end) in __symbol__fprintf_symname_offs()
31 offset = al->addr - sym->start; in __symbol__fprintf_symname_offs()
33 offset = al->addr - map__start(al->map) - sym->start; in __symbol__fprintf_symname_offs()
43 size_t symbol__fprintf_symname_offs(const struct symbol *sym, in symbol__fprintf_symname_offs() argument
47 return __symbol__fprintf_symname_offs(sym, al, false, true, fp); in symbol__fprintf_symname_offs()
50 size_t __symbol__fprintf_symname(const struct symbol *sym, in __symbol__fprintf_symname() argument
54 return __symbol__fprintf_symname_offs(sym, al, unknown_as_addr, false, fp); in __symbol__fprintf_symname()
57 size_t symbol__fprintf_symname(const struct symbol *sym, FILE *fp) in symbol__fprintf_symname() argument
59 return __symbol__fprintf_symname_offs(sym, NULL, false, false, fp); in symbol__fprintf_symname()