Home
last modified time | relevance | path

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

/external/elfutils/0.153/libdw/
Ddwarf_getmacros.c95 const unsigned char *readp = d->d_buf + offset; local
98 if (readp == readendp)
101 while (readp < readendp)
103 unsigned int opcode = *readp++;
119 get_uleb128 (u128, readp);
121 endp = memchr (readp, '\0', readendp - readp);
125 str = (char *) readp;
126 readp = endp + 1;
131 get_uleb128 (u128, readp);
132 get_uleb128 (u128_2, readp);
[all …]
Ddwarf_getpubnames.c72 unsigned char *readp = startp; in get_offsets() local
73 unsigned char *endp = readp + dbg->sectiondata[IDX_debug_pubnames]->d_size; in get_offsets()
75 while (readp + 14 < endp) in get_offsets()
96 Dwarf_Off len = read_4ubyte_unaligned_inc (dbg, readp); in get_offsets()
99 len = read_8ubyte_unaligned_inc (dbg, readp); in get_offsets()
110 mem[cnt].set_start = readp + 2 + 2 * len_bytes - startp; in get_offsets()
118 uint16_t version = read_2ubyte_unaligned (dbg, readp); in get_offsets()
126 if (__libdw_read_offset (dbg, IDX_debug_pubnames, readp + 2, len_bytes, in get_offsets()
143 readp += len; in get_offsets()
207 unsigned char *readp = startp + offset; local
[all …]
Ddwarf_getaranges.c107 const unsigned char *readp = dbg->sectiondata[IDX_debug_aranges]->d_buf; local
109 = readp + dbg->sectiondata[IDX_debug_aranges]->d_size;
111 while (readp < readendp)
113 const unsigned char *hdrstart = readp;
132 Dwarf_Word length = read_4ubyte_unaligned_inc (dbg, readp);
136 length = read_8ubyte_unaligned_inc (dbg, readp);
143 unsigned int version = read_2ubyte_unaligned_inc (dbg, readp);
160 IDX_debug_aranges, &readp,
164 unsigned int address_size = *readp++;
170 (void) *readp++;
[all …]
Ddwarf_child.c68 const unsigned char *readp = (unsigned char *) die->addr; in __libdw_find_attr() local
73 get_uleb128 (abbrev_code, readp); in __libdw_find_attr()
122 return (unsigned char *) readp; in __libdw_find_attr()
128 size_t len = __libdw_form_val_len (dbg, die->cu, attr_form, readp); in __libdw_find_attr()
132 readp = NULL; in __libdw_find_attr()
137 readp += len; in __libdw_find_attr()
147 return (unsigned char *) readp; in __libdw_find_attr()
Ddwarf_ranges.c133 unsigned char *readp; in dwarf_ranges() local
145 if ((readp = __libdw_formptr (attr, IDX_debug_ranges, in dwarf_ranges()
181 readp = d->d_buf + offset; in dwarf_ranges()
186 if (readendp - readp < die->cu->address_size * 2) in dwarf_ranges()
193 &readp, die->cu->address_size, in dwarf_ranges()
209 return readp - (unsigned char *) d->d_buf; in dwarf_ranges()
Ddwarf_getlocation.c602 unsigned char *readp = __libdw_formptr (attr, IDX_debug_loc, local
604 if (readp == NULL)
611 if (endp - readp < attr->cu->address_size * 2)
623 &readp, attr->cu->address_size,
632 if (endp - readp < 2)
636 block.length = read_2ubyte_unaligned_inc (attr->cu->dbg, readp);
637 block.data = readp;
638 if (endp - readp < (ptrdiff_t) block.length)
640 readp += block.length;
Ddwarf_haschildren.c67 const unsigned char *readp = (unsigned char *) die->addr; local
72 get_uleb128 (abbrev_code, readp);
Ddwarf_formudata.c99 unsigned char *readp = d->d_buf + offset; in __libdw_formptr() local
101 if (unlikely (readp >= endp)) in __libdw_formptr()
112 return readp; in __libdw_formptr()
/external/elfutils/0.153/src/
Dreadelf.c4528 ptrdiff_t offset, unsigned char **readp, unsigned char *endp) in skip_listptr_hole() argument
4539 || p->offset >= (Dwarf_Off) (endp - *readp + offset)) in skip_listptr_hole()
4541 *readp = endp; in skip_listptr_hole()
4549 *readp += p->offset - offset; in skip_listptr_hole()
4718 unsigned char *readp = data->d_buf; in print_debug_ranges_section() local
4719 while (readp < endp) in print_debug_ranges_section()
4721 ptrdiff_t offset = readp - (unsigned char *) data->d_buf; in print_debug_ranges_section()
4725 offset, &readp, endp)) in print_debug_ranges_section()
4738 begin = read_8ubyte_unaligned_inc (dbg, readp); in print_debug_ranges_section()
4739 end = read_8ubyte_unaligned_inc (dbg, readp); in print_debug_ranges_section()
[all …]
/external/tremolo/Tremolo/
Dvorbisfile.c554 int readp, in _fetch_and_process_packet() argument
632 if(!readp){ in _fetch_and_process_packet()
/external/libvorbis/lib/
Dvorbisfile.c674 int readp, in _fetch_and_process_packet() argument
771 if(!readp)return(0); in _fetch_and_process_packet()