Lines Matching refs:readp
648 __libdw_dieabbrev (Dwarf_Die *die, const unsigned char **readp) in __libdw_dieabbrev() argument
651 if (die->abbrev == NULL || readp != NULL) in __libdw_dieabbrev()
660 if (readp != NULL) in __libdw_dieabbrev()
661 *readp = addr; in __libdw_dieabbrev()
937 const unsigned char **readp,
1055 const unsigned char *readp; in str_offsets_base_off() local
1057 start = readp = (const unsigned char *) data->d_buf; in str_offsets_base_off()
1063 unit_length = read_4ubyte_unaligned_inc (dbg, readp); in str_offsets_base_off()
1066 if (unlikely (readendp - readp < 8)) in str_offsets_base_off()
1068 unit_length = read_8ubyte_unaligned_inc (dbg, readp); in str_offsets_base_off()
1077 if (readendp - readp < 4 in str_offsets_base_off()
1079 || (uint64_t) (readendp - readp) < unit_length) in str_offsets_base_off()
1082 version = read_2ubyte_unaligned_inc (dbg, readp); in str_offsets_base_off()
1086 read_2ubyte_unaligned_inc (dbg, readp); in str_offsets_base_off()
1088 off = (Dwarf_Off) (readp - start); in str_offsets_base_off()
1140 const unsigned char *readp = data->d_buf; in __libdw_cu_ranges_base() local
1144 uint64_t unit_length = read_4ubyte_unaligned_inc (dbg, readp); in __libdw_cu_ranges_base()
1148 if (unlikely (readp > dataend - 8)) in __libdw_cu_ranges_base()
1151 unit_length = read_8ubyte_unaligned_inc (dbg, readp); in __libdw_cu_ranges_base()
1155 if (readp > dataend - 8 in __libdw_cu_ranges_base()
1157 || unit_length > (uint64_t) (dataend - readp)) in __libdw_cu_ranges_base()
1160 uint16_t version = read_2ubyte_unaligned_inc (dbg, readp); in __libdw_cu_ranges_base()
1164 uint8_t address_size = *readp++; in __libdw_cu_ranges_base()
1168 uint8_t segment_size = *readp++; in __libdw_cu_ranges_base()
1173 offset_entry_count = read_4ubyte_unaligned_inc (dbg, readp); in __libdw_cu_ranges_base()
1175 const unsigned char *offset_array_start = readp; in __libdw_cu_ranges_base()
1218 const unsigned char *readp = data->d_buf; in __libdw_cu_locs_base() local
1222 uint64_t unit_length = read_4ubyte_unaligned_inc (dbg, readp); in __libdw_cu_locs_base()
1226 if (unlikely (readp > dataend - 8)) in __libdw_cu_locs_base()
1229 unit_length = read_8ubyte_unaligned_inc (dbg, readp); in __libdw_cu_locs_base()
1233 if (readp > dataend - 8 in __libdw_cu_locs_base()
1235 || unit_length > (uint64_t) (dataend - readp)) in __libdw_cu_locs_base()
1238 uint16_t version = read_2ubyte_unaligned_inc (dbg, readp); in __libdw_cu_locs_base()
1242 uint8_t address_size = *readp++; in __libdw_cu_locs_base()
1246 uint8_t segment_size = *readp++; in __libdw_cu_locs_base()
1251 offset_entry_count = read_4ubyte_unaligned_inc (dbg, readp); in __libdw_cu_locs_base()
1253 const unsigned char *offset_array_start = readp; in __libdw_cu_locs_base()