| /netbsd-src/common/lib/libc/cdb/ |
| H A D | cdbr.c | 104 uint8_t offset_size; member 179 cdbr->offset_size = 1; in cdbr_open_mem() 181 cdbr->offset_size = 2; in cdbr_open_mem() 183 cdbr->offset_size = 4; in cdbr_open_mem() 197 if (cdbr->entries_index * cdbr->index_size % cdbr->offset_size) in cdbr_open_mem() 198 cdbr->offset_base += cdbr->offset_size - in cdbr_open_mem() 199 cdbr->entries_index * cdbr->index_size % cdbr->offset_size; in cdbr_open_mem() 200 cdbr->data_base = cdbr->offset_base + (cdbr->entries + 1) * cdbr->offset_size; in cdbr_open_mem() 256 start = get_uintX(cdbr->offset_base, idx, cdbr->offset_size); in cdbr_get() 257 end = get_uintX(cdbr->offset_base, idx + 1, cdbr->offset_size); in cdbr_get()
|
| /netbsd-src/external/bsd/elftoolchain/dist/libdwarf/ |
| H A D | dwarf_loclist.c | 243 Dwarf_Half offset_size; in dwarf_loclist_from_expr_a() local 256 offset_size = dbg->dbg_cu_current->cu_length_size == 4 ? 4 : 8; in dwarf_loclist_from_expr_a() 259 offset_size = dbg->dbg_tu_current->cu_length_size == 4 ? 4 : 8; in dwarf_loclist_from_expr_a() 263 offset_size = 4; in dwarf_loclist_from_expr_a() 268 offset_size, version, llbuf, listlen, error)); in dwarf_loclist_from_expr_a() 273 Dwarf_Unsigned bytes_len, Dwarf_Half addr_size, Dwarf_Half offset_size, in dwarf_loclist_from_expr_b() argument 291 if (offset_size != 4 && offset_size != 8) { in dwarf_loclist_from_expr_b() 297 offset_size, version, error); in dwarf_loclist_from_expr_b()
|
| H A D | libdwarf_loc.c | 45 uint8_t offset_size, uint8_t version, uint8_t *p, int len) in _dwarf_loc_fill_loc() argument 312 operand1 = dbg->decode(&p, offset_size); in _dwarf_loc_fill_loc() 338 operand1 = dbg->decode(&p, offset_size); in _dwarf_loc_fill_loc() 623 uint64_t in_len, uint8_t pointer_size, uint8_t offset_size, in _dwarf_loc_fill_locdesc() argument 633 if ((num = _dwarf_loc_fill_loc(dbg, NULL, pointer_size, offset_size, in _dwarf_loc_fill_locdesc() 648 (void) _dwarf_loc_fill_loc(dbg, llbuf, pointer_size, offset_size, in _dwarf_loc_fill_locdesc() 656 uint64_t in_len, uint8_t pointer_size, uint8_t offset_size, in _dwarf_loc_fill_locexpr() argument 671 offset_size, version, error); in _dwarf_loc_fill_locexpr()
|
| H A D | dwarf_form.c | 407 Dwarf_Half offset_size, Dwarf_Half form) in dwarf_get_form_class() argument 443 if (form == DW_FORM_data4 && offset_size != 4) in dwarf_get_form_class() 445 if (form == DW_FORM_data8 && offset_size != 8) in dwarf_get_form_class()
|
| /netbsd-src/external/gpl3/binutils/dist/binutils/ |
| H A D | dwarf.c | 643 uint64_t offset_size, in fetch_indexed_string() argument 663 if (_mul_overflow (idx, offset_size, &index_offset) in fetch_indexed_string() 668 || index_offset + offset_size < offset_size in fetch_indexed_string() 669 || index_offset + offset_size > index_section->size) in fetch_indexed_string() 678 str_offset = byte_get (index_section->start + index_offset, offset_size); in fetch_indexed_string() 733 uint64_t offset_size) in fetch_indexed_offset() argument 735 uint64_t offset_of_offset = base_address + idx * offset_size; in fetch_indexed_offset() 751 if (offset_of_offset + offset_size >= section->size) in fetch_indexed_offset() 758 return base_address + byte_get (section->start + offset_of_offset, offset_size); in fetch_indexed_offset() 1167 unsigned int offset_size, in decode_location_expression() argument [all …]
|
| H A D | dwarf.h | 168 unsigned int offset_size; member
|
| H A D | ChangeLog-2010 | 430 * dwarf.c (decode_location_expression): Add offset_size and 437 (process_debug_info): Save offset_size and dwarf_version values
|
| H A D | ChangeLog-2013 | 145 * dwarf.c (display_debug_frames): Pass offset_size to
|
| /netbsd-src/external/gpl3/binutils/dist/libsframe/ |
| H A D | sframe.c | 240 flip_fre_stack_offsets (char *offsets, uint8_t offset_size, uint8_t offset_cnt) in flip_fre_stack_offsets() argument 244 if (offset_size == SFRAME_FRE_OFFSET_2B) in flip_fre_stack_offsets() 250 else if (offset_size == SFRAME_FRE_OFFSET_4B) in flip_fre_stack_offsets() 288 uint8_t offset_size, offset_cnt; in sframe_fre_sanity_check_p() local 295 offset_size = sframe_fre_get_offset_size (fre_info); in sframe_fre_sanity_check_p() 297 if (offset_size != SFRAME_FRE_OFFSET_1B in sframe_fre_sanity_check_p() 298 && offset_size != SFRAME_FRE_OFFSET_2B in sframe_fre_sanity_check_p() 299 && offset_size != SFRAME_FRE_OFFSET_4B) in sframe_fre_sanity_check_p() 314 uint8_t offset_size, offset_cnt; in sframe_fre_offset_bytes_size() local 316 offset_size = sframe_fre_get_offset_size (fre_info); in sframe_fre_offset_bytes_size() [all …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/binutils/ |
| H A D | dwarf.c | 695 dwarf_vma offset_size, in fetch_indexed_string() argument 715 index_offset = idx * offset_size; in fetch_indexed_string() 722 if (index_offset + offset_size > index_section->size) in fetch_indexed_string() 737 str_offset = byte_get (index_section->start + index_offset, offset_size); in fetch_indexed_string() 1205 unsigned int offset_size, in decode_location_expression() argument 1543 SAFE_BYTE_GET_AND_INC (uvalue, data, offset_size, end); in decode_location_expression() 1612 SAFE_BYTE_GET_AND_INC (uvalue, data, offset_size, end); in decode_location_expression() 1629 if (decode_location_expression (data, pointer_size, offset_size, in decode_location_expression() 1713 SAFE_BYTE_GET_AND_INC (uvalue, data, offset_size, end); in decode_location_expression() 1942 dwarf_vma offset_size, in skip_attr_bytes() argument [all …]
|
| H A D | dwarf.h | 171 unsigned int offset_size; member
|
| H A D | ChangeLog-2010 | 430 * dwarf.c (decode_location_expression): Add offset_size and 437 (process_debug_info): Save offset_size and dwarf_version values
|
| H A D | ChangeLog-2013 | 145 * dwarf.c (display_debug_frames): Pass offset_size to
|
| /netbsd-src/external/gpl3/binutils/dist/include/ |
| H A D | sframe.h | 262 #define SFRAME_V1_FRE_INFO(base_reg_id, offset_num, offset_size) \ argument 263 (((0 & 0x1) << 7) | (((offset_size) & 0x3) << 5) | \
|
| /netbsd-src/external/gpl3/binutils.old/dist/bfd/ |
| H A D | dwarf2.c | 384 unsigned char offset_size; member 855 if (unit->offset_size > (size_t) (buf_end - *ptr)) in read_indirect_string() 861 if (unit->offset_size == 4) in read_indirect_string() 889 if (unit->offset_size > (size_t) (buf_end - *ptr)) in read_indirect_line_string() 895 if (unit->offset_size == 4) in read_indirect_line_string() 925 if (unit->offset_size > (size_t) (buf_end - *ptr)) in read_alt_indirect_string() 931 if (unit->offset_size == 4) in read_alt_indirect_string() 1372 if (_bfd_mul_overflow (idx, unit->offset_size, &offset)) in read_indexed_address() 1378 || file->dwarf_addr_size - offset < unit->offset_size) in read_indexed_address() 1383 if (unit->offset_size == 4) in read_indexed_address() [all …]
|
| /netbsd-src/external/gpl3/binutils/dist/gas/ |
| H A D | gen-sframe.c | 207 unsigned int offset_size; member 214 sframe_fre_offset_func_map_index (unsigned int offset_size) in sframe_fre_offset_func_map_index() argument 218 switch (offset_size) in sframe_fre_offset_func_map_index() 257 unsigned int offset_size, bool mangled_ra_p) in sframe_v1_set_fre_info() argument 260 fre_info = SFRAME_V1_FRE_INFO (base_reg, num_offsets, offset_size); in sframe_v1_set_fre_info() 295 unsigned int offset_size, bool mangled_ra_p) in sframe_set_fre_info() argument 298 offset_size, mangled_ra_p); in sframe_set_fre_info()
|
| H A D | dw2gencfi.c | 1968 unsigned int offset_size; in output_fde() local 1979 offset_size = 4; in output_fde() 1984 offset_size = 8; in output_fde() 1986 emit_expr (&exp, offset_size); /* Length. */ in output_fde() 1995 emit_expr (&exp, offset_size); /* CIE offset. */ in output_fde() 1999 TC_DWARF2_EMIT_OFFSET (cie->start_address, offset_size); in output_fde()
|
| /netbsd-src/external/gpl3/binutils/dist/bfd/ |
| H A D | dwarf2.c | 431 unsigned char offset_size; member 903 if (unit->offset_size > (size_t) (buf_end - *ptr)) in read_indirect_string() 909 if (unit->offset_size == 4) in read_indirect_string() 937 if (unit->offset_size > (size_t) (buf_end - *ptr)) in read_indirect_line_string() 943 if (unit->offset_size == 4) in read_indirect_line_string() 973 if (unit->offset_size > (size_t) (buf_end - *ptr)) in read_alt_indirect_string() 979 if (unit->offset_size == 4) in read_alt_indirect_string() 1464 if (_bfd_mul_overflow (idx, unit->offset_size, &offset)) in read_indexed_string() 1470 || file->dwarf_str_offsets_size - offset < unit->offset_size) in read_indexed_string() 1475 if (unit->offset_size == 4) in read_indexed_string() [all …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/gold/ |
| H A D | dwarf_reader.cc | 857 if (this->dwinfo_->offset_size() == 4) in read_attributes() 890 if (this->dwinfo_->offset_size() == 4) in read_attributes() 1157 pattr += this->dwinfo_->offset_size(); in skip_attributes() 1897 this->header_.offset_size = 8; in read_header_prolog() 1902 this->header_.offset_size = 4; in read_header_prolog() 1926 if (this->header_.offset_size == 4) in read_header_prolog() 1932 lineptr += this->header_.offset_size; in read_header_prolog() 2096 if (this->header_.offset_size == 4) in read_header_tables_v5() 2110 lineptr += this->header_.offset_size; in read_header_tables_v5() 2164 if (this->header_.offset_size == 4) in read_header_tables_v5() [all …]
|
| H A D | dwarf_reader.h | 787 offset_size() const in offset_size() function 1123 int offset_size; member
|
| /netbsd-src/external/gpl3/binutils/dist/gold/ |
| H A D | dwarf_reader.cc | 857 if (this->dwinfo_->offset_size() == 4) in read_attributes() 890 if (this->dwinfo_->offset_size() == 4) in read_attributes() 1157 pattr += this->dwinfo_->offset_size(); in skip_attributes() 1897 this->header_.offset_size = 8; in read_header_prolog() 1902 this->header_.offset_size = 4; in read_header_prolog() 1926 if (this->header_.offset_size == 4) in read_header_prolog() 1932 lineptr += this->header_.offset_size; in read_header_prolog() 2096 if (this->header_.offset_size == 4) in read_header_tables_v5() 2110 lineptr += this->header_.offset_size; in read_header_tables_v5() 2164 if (this->header_.offset_size == 4) in read_header_tables_v5() [all …]
|
| H A D | dwarf_reader.h | 787 offset_size() const in offset_size() function 1123 int offset_size; member
|
| /netbsd-src/external/gpl3/binutils.old/dist/gas/ |
| H A D | dw2gencfi.c | 1949 unsigned int offset_size; in output_fde() local 1960 offset_size = 4; in output_fde() 1965 offset_size = 8; in output_fde() 1967 emit_expr (&exp, offset_size); /* Length. */ in output_fde() 1976 emit_expr (&exp, offset_size); /* CIE offset. */ in output_fde() 1980 TC_DWARF2_EMIT_OFFSET (cie->start_address, offset_size); in output_fde()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_platform_limits_netbsd.h | 2373 u8 offset_size; member
|
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_platform_limits_netbsd.h | 2374 u8 offset_size; member
|