Home
last modified time | relevance | path

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

/external/elfutils/libdw/
Ddwarf_getmacros.c78 const unsigned char *readp local
81 = readp + die->cu->dbg->sectiondata[IDX_debug_macinfo]->d_size;
83 if (readp == readendp)
86 if (*readp != DW_MACINFO_start_file)
89 while (readp < readendp)
91 unsigned int opcode = *readp++;
107 get_uleb128 (u128, readp);
109 endp = memchr (readp, '\0', readendp - readp);
113 str = (char *) readp;
114 readp = endp + 1;
[all …]
Ddwarf_getaranges.c107 const char *readp local
109 const char *readendp = readp + dbg->sectiondata[IDX_debug_aranges]->d_size;
111 while (readp < readendp)
113 const 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);
153 offset = read_4ubyte_unaligned_inc (dbg, readp);
155 offset = read_8ubyte_unaligned_inc (dbg, readp);
161 unsigned int address_size = *readp++;
[all …]
Ddwarf_getpubnames.c75 unsigned char *readp = startp; in get_offsets() local
76 unsigned char *endp = readp + dbg->sectiondata[IDX_debug_pubnames]->d_size; in get_offsets()
78 while (readp + 14 < endp) in get_offsets()
99 Dwarf_Off len = read_4ubyte_unaligned_inc (dbg, readp); in get_offsets()
102 len = read_8ubyte_unaligned_inc (dbg, readp); in get_offsets()
114 mem[cnt].set_start = readp + 2 + 2 * len_bytes - startp; in get_offsets()
122 uint16_t version = read_2ubyte_unaligned (dbg, readp); in get_offsets()
131 mem[cnt].cu_offset = read_4ubyte_unaligned (dbg, readp + 2); in get_offsets()
133 mem[cnt].cu_offset = read_8ubyte_unaligned (dbg, readp + 2); in get_offsets()
153 readp += len; in get_offsets()
[all …]
Ddwarf_ranges.c131 unsigned char *readp = d->d_buf + offset; in dwarf_ranges() local
134 if ((unsigned char *) d->d_buf + d->d_size - readp in dwarf_ranges()
142 begin = read_8ubyte_unaligned_inc (die->cu->dbg, readp); in dwarf_ranges()
143 end = read_8ubyte_unaligned_inc (die->cu->dbg, readp); in dwarf_ranges()
152 begin = read_4ubyte_unaligned_inc (die->cu->dbg, readp); in dwarf_ranges()
153 end = read_4ubyte_unaligned_inc (die->cu->dbg, readp); in dwarf_ranges()
167 return readp - (unsigned char *) d->d_buf; in dwarf_ranges()
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_getlocation.c404 unsigned char *readp = d->d_buf + offset; local
408 if ((unsigned char *) d->d_buf + d->d_size - readp
420 begin = read_8ubyte_unaligned_inc (attr->cu->dbg, readp);
421 end = read_8ubyte_unaligned_inc (attr->cu->dbg, readp);
433 begin = read_4ubyte_unaligned_inc (attr->cu->dbg, readp);
434 end = read_4ubyte_unaligned_inc (attr->cu->dbg, readp);
446 if ((unsigned char *) d->d_buf + d->d_size - readp < 2)
450 block.length = read_2ubyte_unaligned_inc (attr->cu->dbg, readp);
451 block.data = readp;
452 if ((unsigned char *) d->d_buf + d->d_size - readp
[all …]
Ddwarf_haschildren.c67 const unsigned char *readp = (unsigned char *) die->addr; local
72 get_uleb128 (abbrev_code, readp);
/external/elfutils/src/
Dreadelf.c4110 unsigned char *readp = data->d_buf; in print_debug_ranges_section() local
4111 while (readp < (unsigned char *) data->d_buf + data->d_size) in print_debug_ranges_section()
4113 ptrdiff_t offset = readp - (unsigned char *) data->d_buf; in print_debug_ranges_section()
4125 begin = read_8ubyte_unaligned_inc (dbg, readp); in print_debug_ranges_section()
4126 end = read_8ubyte_unaligned_inc (dbg, readp); in print_debug_ranges_section()
4130 begin = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_ranges_section()
4131 end = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_ranges_section()
4971 unsigned char *readp = data->d_buf; in print_debug_loc_section() local
4972 while (readp < (unsigned char *) data->d_buf + data->d_size) in print_debug_loc_section()
4974 ptrdiff_t offset = readp - (unsigned char *) data->d_buf; in print_debug_loc_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()