Home
last modified time | relevance | path

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

12

/third_party/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_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_cu_die.c55 *offset_sizep = cu->offset_size; in dwarf_cu_die()
Ddwarf_formref_die.c60 ref_size = cu->offset_size; in dwarf_formref_die()
/third_party/ffmpeg/libavutil/tests/
Daudio_fifo.c108 int offset_size, i; in write_samples_to_audio_fifo() local
117 offset_size = offset * afifo->sample_size; in write_samples_to_audio_fifo()
120 data_planes[i] = (uint8_t*)test_sample->data_planes[i] + offset_size; in write_samples_to_audio_fifo()
/third_party/ffmpeg/libavcodec/
Ddvdsubdec.c224 int big_offsets, offset_size, is_8bit = 0; in decode_dvd_subtitles() local
238 offset_size = 4; in decode_dvd_subtitles()
242 offset_size = 2; in decode_dvd_subtitles()
249 if (cmd_pos < 0 || cmd_pos > buf_size - 2 - offset_size) { in decode_dvd_subtitles()
257 while (cmd_pos > 0 && cmd_pos < buf_size - 2 - offset_size) { in decode_dvd_subtitles()
262 pos = cmd_pos + 2 + offset_size; in decode_dvd_subtitles()
/third_party/ffmpeg/libavresample/
Daudio_data.c355 int offset_size, p; in ff_audio_data_add_to_fifo() local
359 offset_size = offset * a->stride; in ff_audio_data_add_to_fifo()
361 offset_data[p] = a->data[p] + offset_size; in ff_audio_data_add_to_fifo()
/third_party/python/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,
/third_party/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 …]
/third_party/python/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)
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_image.cpp421 const uint32_t offset_size = _.GetDimension(type_id); in ValidateImageOperands() local
422 if (plane_size != offset_size) { in ValidateImageOperands()
425 << " components, but given " << offset_size; in ValidateImageOperands()
444 const uint32_t offset_size = _.GetDimension(type_id); in ValidateImageOperands() local
445 if (plane_size != offset_size) { in ValidateImageOperands()
448 << " components, but given " << offset_size; in ValidateImageOperands()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_image.cpp421 const uint32_t offset_size = _.GetDimension(type_id); in ValidateImageOperands() local
422 if (plane_size != offset_size) { in ValidateImageOperands()
425 << " components, but given " << offset_size; in ValidateImageOperands()
444 const uint32_t offset_size = _.GetDimension(type_id); in ValidateImageOperands() local
445 if (plane_size != offset_size) { in ValidateImageOperands()
448 << " components, but given " << offset_size; in ValidateImageOperands()
/third_party/spirv-tools/source/val/
Dvalidate_image.cpp424 const uint32_t offset_size = _.GetDimension(type_id); in ValidateImageOperands() local
425 if (plane_size != offset_size) { in ValidateImageOperands()
428 << " components, but given " << offset_size; in ValidateImageOperands()
447 const uint32_t offset_size = _.GetDimension(type_id); in ValidateImageOperands() local
448 if (plane_size != offset_size) { in ValidateImageOperands()
451 << " components, but given " << offset_size; in ValidateImageOperands()
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dsfwoff2.c775 const FT_ULong offset_size = index_format ? 4 : 2; in store_loca() local
781 loca_buf_size = loca_values_size * offset_size; in store_loca()
1260 FT_ULong offset_size; in get_x_mins() local
1304 offset_size = index_format ? 4 : 2; in get_x_mins()
1317 loca_offset += offset_size; in get_x_mins()
/third_party/freetype/src/sfnt/
Dsfwoff2.c780 const FT_ULong offset_size = index_format ? 4 : 2; in store_loca() local
786 loca_buf_size = loca_values_size * offset_size; in store_loca()
1300 FT_ULong offset_size; in get_x_mins() local
1344 offset_size = index_format ? 4 : 2; in get_x_mins()
1357 loca_offset += offset_size; in get_x_mins()

12