Home
last modified time | relevance | path

Searched refs:offset_size (Results 1 – 25 of 45) sorted by relevance

12

/external/elfutils/libdw/
Ddwarf_formstring.c78 attrp->valp, cu->offset_size, &off, in dwarf_formstring()
85 attrp->valp, cu->offset_size, &off, in dwarf_formstring()
149 int offset_size = cu->offset_size; in dwarf_formstring() local
150 if (cu->offset_size > dbg->sectiondata[IDX_debug_str_offsets]->d_size) in dwarf_formstring()
159 - offset_size)) in dwarf_formstring()
163 - offset_size - str_off) / offset_size; in dwarf_formstring()
168 + str_off + (idx * offset_size)); in dwarf_formstring()
169 if (offset_size == 4) in dwarf_formstring()
Ddwarf_nextcu.c153 size_t offset_size = 4; in INTDEF() local
158 offset_size = 8; in INTDEF()
214 if (unlikely (__libdw_first_die_from_cu_start (off, offset_size, version, in INTDEF()
230 if (__libdw_read_offset_inc (dwarf, sec_idx, &bytes, offset_size, in INTDEF()
248 if (__libdw_read_offset_inc (dwarf, sec_idx, &bytes, offset_size, in INTDEF()
285 *offset_sizep = offset_size; in INTDEF()
290 *next_off = off + 2 * offset_size - 4 + length; in INTDEF()
Ddwarf_cu_info.c43 uint8_t *address_size, uint8_t *offset_size) in dwarf_cu_info() argument
99 if (offset_size != NULL) in dwarf_cu_info()
100 *offset_size = cu->offset_size; in dwarf_cu_info()
Ddwarf_next_cfi.c70 size_t offset_size = 4; in dwarf_next_cfi() local
74 offset_size = 8; in dwarf_next_cfi()
91 || unlikely (length < offset_size + 1)) in dwarf_next_cfi()
98 *next_off = off + (2 * offset_size - 4) + length; in dwarf_next_cfi()
103 if (offset_size == 8) in dwarf_next_cfi()
123 || unlikely (pos <= (ptrdiff_t) offset_size)) in dwarf_next_cfi()
Dlibdw_findcu.c110 uint8_t offset_size; in __libdw_intern_next_unit() local
117 &address_size, &offset_size, in __libdw_intern_next_unit()
137 if (unlikely (offset_size != 4 && offset_size != 8)) in __libdw_intern_next_unit()
138 offset_size = 8; in __libdw_intern_next_unit()
154 newp->offset_size = offset_size; in __libdw_intern_next_unit()
Ddwarf_ranges.c424 size_t offset_size = cu->offset_size; in initial_offset() local
425 if (offset_size > sec_size) in initial_offset()
433 if (range_base_off > (sec_size - offset_size)) in initial_offset()
436 size_t max_idx = (sec_size - offset_size - range_base_off) / offset_size; in initial_offset()
441 + range_base_off + (idx * offset_size)); in initial_offset()
442 if (offset_size == 4) in initial_offset()
DlibdwP.h337 uint8_t offset_size; member
406 uint8_t offset_size, in __libdw_first_die_from_cu_start() argument
437 off += 3 * offset_size - 4 + 3; in __libdw_first_die_from_cu_start()
439 off += 4 * offset_size - 4 + 3 + 8; in __libdw_first_die_from_cu_start()
451 off += 3 * offset_size - 4 + 4; in __libdw_first_die_from_cu_start()
457 off += offset_size; in __libdw_first_die_from_cu_start()
468 cu->offset_size, in __libdw_first_die_off_from_cu()
1179 unsigned int offset_size = 4; in __libdw_cu_ranges_base() local
1186 offset_size = 8; in __libdw_cu_ranges_base()
1213 uint64_t needed = offset_entry_count * offset_size; in __libdw_cu_ranges_base()
[all …]
Ddwarf_getlocation.c678 : cu->offset_size), in getlocation()
781 size_t offset_size = cu->offset_size; in initial_offset() local
782 if (offset_size > sec_size) in initial_offset()
790 if (loc_base_off > (sec_size - offset_size)) in initial_offset()
793 size_t max_idx = (sec_size - offset_size - loc_base_off) / offset_size; in initial_offset()
798 + loc_base_off + (idx * offset_size)); in initial_offset()
799 if (offset_size == 4) in initial_offset()
Dlibdw_form.c59 result = cu->version == 2 ? cu->address_size : cu->offset_size; in __libdw_form_val_compute_len()
68 result = cu->offset_size; in __libdw_form_val_compute_len()
Ddwarf_diecu.c49 *offset_sizep = die->cu->offset_size; in dwarf_diecu()
Ddwarf_cu_die.c55 *offset_sizep = cu->offset_size; in dwarf_cu_die()
Ddwarf_formudata.c77 size_t size = attr->cu->offset_size; in __libdw_formptr()
97 attr->cu->offset_size, &offset, in __libdw_formptr()
Ddwarf_begin_elf.c317 result->fake_loc_cu->offset_size = 4; in valid_p()
345 result->fake_loclists_cu->offset_size = 4; in valid_p()
378 result->fake_addr_cu->offset_size = 4; in valid_p()
Ddwarf_formref_die.c60 ref_size = cu->offset_size; in dwarf_formref_die()
/external/zucchini/
Daddress_translator.h69 offset_t offset_end() const { return offset_begin + offset_size; } in offset_end()
79 return RangeCovers(offset_begin, offset_size, offset); in CoversOffset()
85 return CoversRva(rva) && rva - rva_begin >= offset_size; in CoversDanglingRva()
94 return delta < offset_size ? delta + offset_begin in RvaToOffsetUnsafe()
97 bool HasDanglingRva() const { return rva_size > offset_size; } in HasDanglingRva()
99 return std::tie(a.offset_begin, a.offset_size, a.rva_begin, a.rva_size) ==
100 std::tie(b.offset_begin, b.offset_size, b.rva_begin, b.rva_size);
104 offset_t offset_size; member
Daddress_translator.cc74 if (!RangeIsBounded<offset_t>(unit.offset_begin, unit.offset_size, in Initialize()
80 unit.offset_size = std::min(unit.offset_size, unit.rva_size); in Initialize()
164 slow->offset_size = in Initialize()
165 std::max(slow->offset_size, fast->offset_end() - slow->offset_begin); in Initialize()
/external/zucchini/aosp/include/components/zucchini/
Daddress_translator.h69 offset_t offset_end() const { return offset_begin + offset_size; } in offset_end()
79 return RangeCovers(offset_begin, offset_size, offset); in CoversOffset()
85 return CoversRva(rva) && rva - rva_begin >= offset_size; in CoversDanglingRva()
94 return delta < offset_size ? delta + offset_begin in RvaToOffsetUnsafe()
97 bool HasDanglingRva() const { return rva_size > offset_size; } in HasDanglingRva()
99 return std::tie(a.offset_begin, a.offset_size, a.rva_begin, a.rva_size) ==
100 std::tie(b.offset_begin, b.offset_size, b.rva_begin, b.rva_size);
104 offset_t offset_size; member
/external/cronet/url/android/
Dparsed_android.cc25 static constexpr size_t offset_size = sizeof(parsed.scheme.begin); in CreateJavaParsed() local
26 static_assert((is_signed && sizeof(jint) >= offset_size) || in CreateJavaParsed()
27 (!is_signed && sizeof(jint) > offset_size), in CreateJavaParsed()
/external/google-breakpad/src/common/dwarf/
Ddwarf2diehandler.h272 uint8_t offset_size, uint64_t cu_length, in StartCompilationUnit() argument
296 uint8_t offset_size, uint64_t cu_length,
Ddwarf2diehandler.cc54 uint8_t offset_size, uint64_t cu_length, in StartCompilationUnit() argument
57 offset_size, cu_length, in StartCompilationUnit()
Dfunctioninfo.h136 uint8_t offset_size, uint64_t cu_length,
/external/tensorflow/tensorflow/compiler/xla/service/
Dbuffer_assignment.cc240 OffsetSize offset_size; in AddAssignment() local
241 offset_size.offset = offset; in AddAssignment()
242 offset_size.size = size; in AddAssignment()
243 assigned_buffers_.emplace(&buffer, offset_size); in AddAssignment()
359 const OffsetSize& offset_size = FindOrDie(assigned_buffers_, buffer); in ToString() local
363 buffer->ToShortString(), offset_size.size, offset_size.offset, in ToString()
880 const BufferAllocation::OffsetSize& offset_size = buffer_pair.second; in BufferInfoString() local
905 absl::StrAppend(&binfo, offset_size.offset, ","); in BufferInfoString()
906 absl::StrAppend(&binfo, offset_size.size, ","); in BufferInfoString()
1568 const BufferAllocation::OffsetSize& offset_size = pair.second; in ComputePeakMemoryLogicalBuffers() local
[all …]
/external/python/cpython3/Lib/
Dplistlib.py471 offset_size, self._ref_size, num_objects, top_object,
475 self._object_offsets = self._read_ints(num_objects, offset_size)
661 offset_size = _count_to_size(offset_table_offset)
662 offset_format = '>' + _BINARY_FORMAT[offset_size] * num_objects
668 sort_version, offset_size, self._ref_size, num_objects,
/external/elfutils/src/
Dreadelf.c4438 unsigned int vers, unsigned int addrsize, unsigned int offset_size, in print_ops() argument
4441 const unsigned int ref_size = vers < 3 ? addrsize : offset_size; in print_ops()
4750 addrsize, offset_size, cu, uleb, data); in print_ops()
5084 uint_fast8_t address_size, uint_fast8_t offset_size, in notice_listptr() argument
5104 .dwarf64 = offset_size == 8, in notice_listptr()
5424 unsigned int offset_size = listptr_offset_size (listptr); in print_debug_addr_section() local
5426 - (offset_size == 4 ? 4 : 12) /* len */ in print_debug_addr_section()
5842 unsigned int offset_size = 4; in print_debug_rnglists_section() local
5849 offset_size = 8; in print_debug_rnglists_section()
5924 uint64_t max_entries = (unit_length - 8) / offset_size; in print_debug_rnglists_section()
[all …]
/external/python/cpython3/Lib/test/
Dtest_plistlib.py842 def decode(*objects, offset_size=1, ref_size=1): argument
847 offsets.append(offset.to_bytes(offset_size, 'big'))
850 tail = struct.pack('>6xBBQQQ', offset_size, ref_size,
911 result = self.decode(*chunks, b'\x54seed', offset_size=4, ref_size=4)

12