Lines Matching refs:d

11 	Dwarf *d;  in dwarfopen()  local
18 d = mallocz(sizeof(Dwarf), 1); in dwarfopen()
19 if(d == nil) in dwarfopen()
22 d->pe = pe; in dwarfopen()
23 if(pe->loadsection(pe, ".debug_abbrev", &d->abbrev) < 0 in dwarfopen()
24 || pe->loadsection(pe, ".debug_aranges", &d->aranges) < 0 in dwarfopen()
25 || pe->loadsection(pe, ".debug_line", &d->line) < 0 in dwarfopen()
26 || pe->loadsection(pe, ".debug_info", &d->info) < 0 in dwarfopen()
27 || pe->loadsection(pe, ".debug_loc", &d->loc) < 0) in dwarfopen()
29 pe->loadsection(pe, ".debug_pubnames", &d->pubnames); in dwarfopen()
30 pe->loadsection(pe, ".debug_frame", &d->frame); in dwarfopen()
31 pe->loadsection(pe, ".debug_ranges", &d->ranges); in dwarfopen()
32 pe->loadsection(pe, ".debug_str", &d->str); in dwarfopen()
34 return d; in dwarfopen()
38 free(d->abbrev.data); in dwarfopen()
39 free(d->aranges.data); in dwarfopen()
40 free(d->frame.data); in dwarfopen()
41 free(d->line.data); in dwarfopen()
42 free(d->pubnames.data); in dwarfopen()
43 free(d->ranges.data); in dwarfopen()
44 free(d->str.data); in dwarfopen()
45 free(d->info.data); in dwarfopen()
46 free(d->loc.data); in dwarfopen()
47 free(d); in dwarfopen()
52 dwarfclose(Dwarf *d) in dwarfclose() argument
54 free(d->abbrev.data); in dwarfclose()
55 free(d->aranges.data); in dwarfclose()
56 free(d->frame.data); in dwarfclose()
57 free(d->line.data); in dwarfclose()
58 free(d->pubnames.data); in dwarfclose()
59 free(d->ranges.data); in dwarfclose()
60 free(d->str.data); in dwarfclose()
61 free(d->info.data); in dwarfclose()
62 pefree(d->pe); in dwarfclose()
63 free(d); in dwarfclose()