Home
last modified time | relevance | path

Searched refs:naranges (Results 1 – 11 of 11) sorted by relevance

/third_party/elfutils/libdwfl/
Dcu.c53 size_t naranges; in addrarange() local
54 if (INTUSE(dwarf_getaranges) (mod->dw, &dwaranges, &naranges) != 0) in addrarange()
59 if (naranges != 0) in addrarange()
61 aranges = malloc (naranges * sizeof *aranges); in addrarange()
72 naranges = 0; in addrarange()
74 for (size_t i = 0; i < dwaranges->naranges; ++i) in addrarange()
77 aranges[naranges].arange = i; in addrarange()
78 aranges[naranges].cu = NULL; in addrarange()
79 ++naranges; in addrarange()
85 mod->naranges = naranges; in addrarange()
[all …]
DlibdwflP.h216 unsigned int naranges; member
DChangeLog542 * cu.c (addrarange): Only call realloc when naranges is not zero.
/third_party/elfutils/libdw/
Ddwarf_getaranges.c57 dwarf_getaranges (Dwarf *dbg, Dwarf_Aranges **aranges, size_t *naranges) in dwarf_getaranges() argument
65 if (naranges != NULL) in dwarf_getaranges()
66 *naranges = dbg->aranges->naranges; in dwarf_getaranges()
74 if (naranges != NULL) in dwarf_getaranges()
75 *naranges = 0; in dwarf_getaranges()
226 if (naranges != NULL) in dwarf_getaranges()
227 *naranges = 0; in dwarf_getaranges()
264 (*aranges)->naranges = narangelist; in dwarf_getaranges()
266 if (naranges != NULL) in dwarf_getaranges()
267 *naranges = narangelist; in dwarf_getaranges()
Ddwarf_addrdie.c41 size_t naranges; in dwarf_addrdie() local
44 if (INTUSE(dwarf_getaranges) (dbg, &aranges, &naranges) != 0 in dwarf_addrdie()
Ddwarf_onearange.c43 if (idx >= aranges->naranges) in dwarf_onearange()
Ddwarf_getarange_addr.c44 size_t l = 0, u = aranges->naranges; in dwarf_getarange_addr()
Dlibdw.h874 size_t *naranges)
DlibdwP.h319 size_t naranges; member
DChangeLog3658 * dwarf_getaranges.c: Allow naranges parameter to be NULL.
/third_party/elfutils/tests/
Dget-aranges.c58 size_t naranges; in main() local
59 if (dwarf_getaranges (dbg, &aranges, &naranges) != 0) in main()
97 for (size_t i = 0; i < naranges; ++i) in main()