Home
last modified time | relevance | path

Searched refs:offset_size (Results 1 – 25 of 36) 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.h328 uint8_t offset_size; member
397 uint8_t offset_size, in __libdw_first_die_from_cu_start() argument
428 off += 3 * offset_size - 4 + 3; in __libdw_first_die_from_cu_start()
430 off += 4 * offset_size - 4 + 3 + 8; in __libdw_first_die_from_cu_start()
442 off += 3 * offset_size - 4 + 4; in __libdw_first_die_from_cu_start()
448 off += offset_size; in __libdw_first_die_from_cu_start()
459 cu->offset_size, in __libdw_first_die_off_from_cu()
1170 unsigned int offset_size = 4; in __libdw_cu_ranges_base() local
1177 offset_size = 8; in __libdw_cu_ranges_base()
1204 uint64_t needed = offset_entry_count * offset_size; in __libdw_cu_ranges_base()
[all …]
Ddwarf_getlocation.c656 : cu->offset_size), in getlocation()
759 size_t offset_size = cu->offset_size; in initial_offset() local
760 if (offset_size > sec_size) in initial_offset()
768 if (loc_base_off > (sec_size - offset_size)) in initial_offset()
771 size_t max_idx = (sec_size - offset_size - loc_base_off) / offset_size; in initial_offset()
776 + loc_base_off + (idx * offset_size)); in initial_offset()
777 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_formref_die.c60 ref_size = cu->offset_size; in dwarf_formref_die()
/external/u-boot/drivers/core/
Dof_extra.c76 fdt_size_t size, offset_size; in ofnode_decode_memory_region() local
118 &offset_size)) { in ofnode_decode_memory_region()
125 *sizep = offset_size; in ofnode_decode_memory_region()
/external/google-breakpad/src/common/dwarf/
Ddwarf2diehandler.h270 uint8 offset_size, uint64 cu_length, in StartCompilationUnit() argument
294 uint8 offset_size, uint64 cu_length,
Ddwarf2diehandler.cc53 uint8 offset_size, uint64 cu_length, in StartCompilationUnit() argument
56 offset_size, cu_length, in StartCompilationUnit()
Dfunctioninfo.h133 uint8 offset_size, uint64 cu_length,
Dfunctioninfo.cc114 uint8 offset_size, in StartCompilationUnit() argument
/external/tensorflow/tensorflow/compiler/xla/service/
Dbuffer_assignment.cc251 OffsetSize offset_size; in AddAssignment() local
252 offset_size.offset = offset; in AddAssignment()
253 offset_size.size = size; in AddAssignment()
254 assigned_buffers_.emplace(&buffer, offset_size); in AddAssignment()
370 const OffsetSize& offset_size = FindOrDie(assigned_buffers_, buffer); in ToString() local
374 buffer->ToShortString(), offset_size.size, offset_size.offset, in ToString()
1497 const BufferAllocation::OffsetSize& offset_size = pair.second; in ComputePeakMemoryLogicalBuffers() local
1499 buffer_sizes[value] = offset_size.size; in ComputePeakMemoryLogicalBuffers()
/external/elfutils/src/
Dreadelf.c4356 unsigned int vers, unsigned int addrsize, unsigned int offset_size, in print_ops() argument
4359 const unsigned int ref_size = vers < 3 ? addrsize : offset_size; in print_ops()
4668 addrsize, offset_size, cu, uleb, data); in print_ops()
4906 uint_fast8_t address_size, uint_fast8_t offset_size, in notice_listptr() argument
4926 .dwarf64 = offset_size == 8, in notice_listptr()
5218 unsigned int offset_size = listptr_offset_size (listptr); in print_debug_addr_section() local
5220 - (offset_size == 4 ? 4 : 12) /* len */ in print_debug_addr_section()
5636 unsigned int offset_size = 4; in print_debug_rnglists_section() local
5643 offset_size = 8; in print_debug_rnglists_section()
5718 uint64_t max_entries = (unit_length - 8) / offset_size; in print_debug_rnglists_section()
[all …]
/external/python/cpython3/Lib/
Dplistlib.py583 offset_size, self._ref_size, num_objects, top_object,
587 self._object_offsets = self._read_ints(num_objects, offset_size)
766 offset_size = _count_to_size(offset_table_offset)
767 offset_format = '>' + _BINARY_FORMAT[offset_size] * num_objects
773 sort_version, offset_size, self._ref_size, num_objects,
/external/google-breakpad/src/common/
Ddwarf_cu_to_module.h256 uint8 offset_size, uint64 cu_length,
/external/angle/third_party/spirv-tools/src/source/val/
Dvalidate_image.cpp390 const uint32_t offset_size = _.GetDimension(type_id); in ValidateImageOperands() local
391 if (plane_size != offset_size) { in ValidateImageOperands()
394 << " components, but given " << offset_size; in ValidateImageOperands()
413 const uint32_t offset_size = _.GetDimension(type_id); in ValidateImageOperands() local
414 if (plane_size != offset_size) { in ValidateImageOperands()
417 << " components, but given " << offset_size; in ValidateImageOperands()
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_image.cpp390 const uint32_t offset_size = _.GetDimension(type_id); in ValidateImageOperands() local
391 if (plane_size != offset_size) { in ValidateImageOperands()
394 << " components, but given " << offset_size; in ValidateImageOperands()
413 const uint32_t offset_size = _.GetDimension(type_id); in ValidateImageOperands() local
414 if (plane_size != offset_size) { in ValidateImageOperands()
417 << " components, but given " << offset_size; in ValidateImageOperands()
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_image.cpp390 const uint32_t offset_size = _.GetDimension(type_id); in ValidateImageOperands() local
391 if (plane_size != offset_size) { in ValidateImageOperands()
394 << " components, but given " << offset_size; in ValidateImageOperands()
413 const uint32_t offset_size = _.GetDimension(type_id); in ValidateImageOperands() local
414 if (plane_size != offset_size) { in ValidateImageOperands()
417 << " components, but given " << offset_size; in ValidateImageOperands()

12