Lines Matching refs:readp
85 const unsigned char *readp = dbg->sectiondata[IDX_debug_aranges]->d_buf; in dwarf_getaranges() local
87 = readp + dbg->sectiondata[IDX_debug_aranges]->d_size; in dwarf_getaranges()
89 while (readp < readendp) in dwarf_getaranges()
91 const unsigned char *hdrstart = readp; in dwarf_getaranges()
110 if (unlikely (readp + 4 > readendp)) in dwarf_getaranges()
113 Dwarf_Word length = read_4ubyte_unaligned_inc (dbg, readp); in dwarf_getaranges()
117 if (unlikely (readp + 8 > readendp)) in dwarf_getaranges()
120 length = read_8ubyte_unaligned_inc (dbg, readp); in dwarf_getaranges()
127 if (unlikely (readp + 2 > readendp)) in dwarf_getaranges()
130 unsigned int version = read_2ubyte_unaligned_inc (dbg, readp); in dwarf_getaranges()
147 IDX_debug_aranges, &readp, in dwarf_getaranges()
152 if (readp + 2 > readendp) in dwarf_getaranges()
155 unsigned int address_size = *readp++; in dwarf_getaranges()
160 unsigned int segment_size = *readp++; in dwarf_getaranges()
165 readp += ((2 * address_size - ((readp - hdrstart) % (2 * address_size))) in dwarf_getaranges()
173 if (__libdw_read_address_inc (dbg, IDX_debug_aranges, &readp, in dwarf_getaranges()
177 if (readp + address_size > readendp) in dwarf_getaranges()
181 range_length = read_4ubyte_unaligned_inc (dbg, readp); in dwarf_getaranges()
183 range_length = read_8ubyte_unaligned_inc (dbg, readp); in dwarf_getaranges()