/third_party/elfutils/libdw/ |
D | dwarf_formstring.c | 78 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()
|
D | dwarf_nextcu.c | 153 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()
|
D | dwarf_cu_info.c | 43 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()
|
D | dwarf_next_cfi.c | 70 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()
|
D | libdw_findcu.c | 110 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()
|
D | dwarf_ranges.c | 424 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()
|
D | libdwP.h | 337 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 …]
|
D | dwarf_getlocation.c | 678 : 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()
|
D | libdw_form.c | 59 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()
|
D | dwarf_diecu.c | 49 *offset_sizep = die->cu->offset_size; in dwarf_diecu()
|
D | dwarf_formudata.c | 77 size_t size = attr->cu->offset_size; in __libdw_formptr() 97 attr->cu->offset_size, &offset, in __libdw_formptr()
|
D | dwarf_begin_elf.c | 317 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()
|
D | dwarf_cu_die.c | 55 *offset_sizep = cu->offset_size; in dwarf_cu_die()
|
D | dwarf_formref_die.c | 60 ref_size = cu->offset_size; in dwarf_formref_die()
|
/third_party/ffmpeg/libavutil/tests/ |
D | audio_fifo.c | 108 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/ |
D | dvdsubdec.c | 224 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/ |
D | audio_data.c | 355 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/ |
D | plistlib.py | 471 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/ |
D | readelf.c | 4438 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/ |
D | test_plistlib.py | 842 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/ |
D | validate_image.cpp | 421 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/ |
D | validate_image.cpp | 421 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/ |
D | validate_image.cpp | 424 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/ |
D | sfwoff2.c | 775 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/ |
D | sfwoff2.c | 780 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()
|