Lines Matching refs:readp
51 unsigned char *readp = startp; in get_offsets() local
52 unsigned char *endp = readp + dbg->sectiondata[IDX_debug_pubnames]->d_size; in get_offsets()
54 while (readp + 14 < endp) in get_offsets()
75 Dwarf_Off len = read_4ubyte_unaligned_inc (dbg, readp); in get_offsets()
78 len = read_8ubyte_unaligned_inc (dbg, readp); in get_offsets()
89 mem[cnt].set_start = readp + 2 + 2 * len_bytes - startp; in get_offsets()
99 uint16_t version = read_2ubyte_unaligned (dbg, readp); in get_offsets()
108 readp + 2, len_bytes, in get_offsets()
125 readp += len; in get_offsets()
190 unsigned char *readp = startp + offset; in dwarf_getpubnames() local
201 if (readp + dbg->pubnames_sets[cnt].address_len > endp) in dwarf_getpubnames()
204 gl.die_offset = read_4ubyte_unaligned_inc (dbg, readp); in dwarf_getpubnames()
206 gl.die_offset = read_8ubyte_unaligned_inc (dbg, readp); in dwarf_getpubnames()
215 gl.name = (char *) readp; in dwarf_getpubnames()
216 readp = (unsigned char *) memchr (gl.name, '\0', endp - readp); in dwarf_getpubnames()
217 if (unlikely (readp == NULL)) in dwarf_getpubnames()
223 readp++; in dwarf_getpubnames()
230 return readp - startp; in dwarf_getpubnames()
239 readp = startp + dbg->pubnames_sets[cnt].set_start; in dwarf_getpubnames()