/third_party/elfutils/tests/ |
D | showptable.c | 70 gelf_getclass (elf) == ELFCLASS32 ? 9 : 17, "offset", in main() 71 gelf_getclass (elf) == ELFCLASS32 ? 10 : 18, "vaddr", in main() 72 gelf_getclass (elf) == ELFCLASS32 ? 10 : 18, "paddr", in main() 73 gelf_getclass (elf) == ELFCLASS32 ? 9 : 12, "filesz", in main() 74 gelf_getclass (elf) == ELFCLASS32 ? 9 : 12, "memsz"); in main() 102 gelf_getclass (elf) == ELFCLASS32 ? 9 : 17, in main() 104 gelf_getclass (elf) == ELFCLASS32 ? 10 : 18, in main() 106 gelf_getclass (elf) == ELFCLASS32 ? 10 : 18, in main() 108 gelf_getclass (elf) == ELFCLASS32 ? 9 : 12, in main() 110 gelf_getclass (elf) == ELFCLASS32 ? 9 : 12, in main()
|
D | elfshphehdr.c | 142 size_t shentsize = (class == ELFCLASS32 in test() 145 size_t phentsize = (class == ELFCLASS32 in test() 162 test (elf, ELFCLASS32, false); in main() 167 test (elf, ELFCLASS32, true); in main()
|
D | newdata.c | 98 ehdr->e_ident[EI_DATA] = class == ELFCLASS32 ? ELFDATA2LSB : ELFDATA2MSB; in create_elf() 101 ehdr->e_machine = class == ELFCLASS32 ? EM_PPC : EM_X86_64; in create_elf() 240 if (class == ELFCLASS32) in check_elf() 398 check_elf (ELFCLASS32, 0); in main() 399 check_elf (ELFCLASS32, 1); in main()
|
D | vendorelf.c | 192 check_elf ("vendor.elf.32", ELFCLASS32, 0); in main() 193 check_elf ("vendor.elf.32.mmap", ELFCLASS32, 1); in main()
|
D | sectiondump.c | 166 size_t nsym = data->d_size / (class == ELFCLASS32 in print_symtab() 177 class == ELFCLASS32 ? 8 : 16, in print_symtab()
|
/third_party/elfutils/libelf/ |
D | elf_getphdrnum.c | 52 *dst = (elf->class == ELFCLASS32 in __elf_getphdrnum_rdlock() 58 const Elf_ScnList *const scns = (elf->class == ELFCLASS32 in __elf_getphdrnum_rdlock() 65 if (elf->class == ELFCLASS32) in __elf_getphdrnum_rdlock() 100 Elf64_Off off = (elf->class == ELFCLASS32 in __elf_getphdrnum_chk_rdlock() 116 size_t phdr_size = (elf->class == ELFCLASS32 in __elf_getphdrnum_chk_rdlock()
|
D | elf_end.c | 116 = (elf->class == ELFCLASS32 in elf_end() 130 Elf_ScnList *list = (elf->class == ELFCLASS32 in elf_end() 189 if (oldp != (elf->class == ELFCLASS32 in elf_end() 201 free (elf->class == ELFCLASS32 in elf_end() 209 free (elf->class == ELFCLASS32 in elf_end()
|
D | elf_compress.c | 294 size_t hsize = (elfclass == ELFCLASS32 in __libelf_decompress_elf() 363 if (elfclass == ELFCLASS32) in elf_compress() 406 size_t hsize = (elfclass == ELFCLASS32 in elf_compress() 422 if (elfclass == ELFCLASS32) in elf_compress() 455 if (elfclass == ELFCLASS32) in elf_compress() 459 shdr->sh_addralign = __libelf_type_align (ELFCLASS32, ELF_T_CHDR); in elf_compress() 506 if (elfclass == ELFCLASS32) in elf_compress()
|
D | elf_compress_gnu.c | 62 if (elfclass == ELFCLASS32) in elf_compress_gnu() 123 if (elfclass == ELFCLASS32) in elf_compress_gnu() 188 if (elfclass == ELFCLASS32) in elf_compress_gnu()
|
D | elf_update.c | 121 if ((class == ELFCLASS32 in write_file() 130 if ((class == ELFCLASS32 in write_file() 209 size = (elf->class == ELFCLASS32 in elf_update()
|
D | elf_getscn.c | 58 Elf_ScnList *runp = (elf->class == ELFCLASS32 in elf_getscn() 69 if (elf->class == ELFCLASS32) in elf_getscn()
|
D | elf_newscn.c | 70 == (elf->class == ELFCLASS32 in elf_newscn() 123 if (elf->class == ELFCLASS32) in elf_newscn()
|
D | elf_getdata.c | 104 [ELFCLASS32 - 1] = { 223 if (elf->class == ELFCLASS32) in __libelf_set_rawdata_wrlock() 401 if (elf->class == ELFCLASS32 in __libelf_set_rawdata_wrlock() 456 (elf->class == ELFCLASS32 in __libelf_set_data_list_rdlock()
|
/third_party/elfio/elfio/ |
D | elfio_relocation.hpp | 97 if ( elf_file.get_class() == ELFCLASS32 ) { in get_entry() 199 if ( elf_file.get_class() == ELFCLASS32 ) { in set_entry() 226 if ( elf_file.get_class() == ELFCLASS32 ) { in add_entry() 238 if ( elf_file.get_class() == ELFCLASS32 ) { in add_entry() 251 if ( elf_file.get_class() == ELFCLASS32 ) { in add_entry() 266 if ( elf_file.get_class() == ELFCLASS32 ) { in add_entry() 374 if ( elf_file.get_class() == ELFCLASS32 ) { in generic_set_entry_rel() 399 if ( elf_file.get_class() == ELFCLASS32 ) { in generic_set_entry_rela()
|
D | elfio_symbols.hpp | 47 case ELFCLASS32: in get_symbols_num() 78 if ( elf_file.get_class() == ELFCLASS32 ) { in get_symbol() 108 if ( elf_file.get_class() == ELFCLASS32 ) { in get_symbol() 150 if ( elf_file.get_class() == ELFCLASS32 ) { in get_symbol() 184 if ( elf_file.get_class() == ELFCLASS32 ) { in add_symbol() 192 if ( elf_file.get_class() == ELFCLASS32 ) { in add_symbol() 251 if ( elf_file.get_class() == ELFCLASS32 ) { in arrange_local_symbols()
|
D | elfio_dynamic.hpp | 45 if ( elf_file.get_class() == ELFCLASS32 ) { in get_entries_num() 82 if ( elf_file.get_class() == ELFCLASS32 ) { in get_entry() 111 if ( elf_file.get_class() == ELFCLASS32 ) { in add_entry()
|
D | elfio.hpp | 71 create( ELFCLASS32, ELFDATA2LSB ); in elfio() 178 ( e_ident[EI_CLASS] != ELFCLASS32 ) ) { in load() 416 else if ( file_class == ELFCLASS32 ) { in create_header() 438 else if ( file_class == ELFCLASS32 ) { in create_section() 464 else if ( file_class == ELFCLASS32 ) { in create_segment() 506 ( num != 0 && file_class == ELFCLASS32 && in load_sections() 565 ( num != 0 && file_class == ELFCLASS32 && in load_segments() 576 else if ( file_class == ELFCLASS32 ) { in load_segments()
|
/third_party/elfutils/backends/ |
D | sparc_regs.c | 45 const int nfp = 32 + (ebl->class == ELFCLASS32 ? 0 : 16); in sparc_register_info() 46 const int nspec = ebl->class == ELFCLASS32 ? 8 : 6; in sparc_register_info() 54 *bits = ebl->class == ELFCLASS32 ? 32 : 64; in sparc_register_info()
|
D | s390_unwind.c | 108 if (ebl->class == ELFCLASS32) in s390_unwind() 119 if (ebl->class == ELFCLASS32) in s390_unwind()
|
/third_party/elfutils/libdwfl/ |
D | link_map.c | 115 *elfclass = ELFCLASS32; in auxv_format_probe() 274 if (elfclass == ELFCLASS32) in read_addrs() 667 if (ehdr.e_ident[EI_CLASS] == ELFCLASS32) in consider_executable() 766 if (elfclass == ELFCLASS32) in dwfl_link_map_report() 787 && ((elfclass == ELFCLASS32 && phent == sizeof (Elf32_Phdr)) in dwfl_link_map_report() 923 bool is32 = (elfclass == ELFCLASS32); in dwfl_link_map_report() 933 if (likely ((elfclass == ELFCLASS32 in dwfl_link_map_report() 1021 size_t entsize = (elfclass == ELFCLASS32 in dwfl_link_map_report() 1052 size_t dyn_align = (elfclass == ELFCLASS32 in dwfl_link_map_report() 1060 if (likely ((elfclass == ELFCLASS32 in dwfl_link_map_report() [all …]
|
D | dwfl_segment_report_module.c | 157 case ELFCLASS32: in handle_file_note() 378 size_t ehdr_align = (ei_class == ELFCLASS32 in dwfl_segment_report_module() 384 (ei_class == ELFCLASS32 in dwfl_segment_report_module() 391 case ELFCLASS32: in dwfl_segment_report_module() 457 bool class32 = ei_class == ELFCLASS32; in dwfl_segment_report_module() 502 if ((ei_class == ELFCLASS32 in dwfl_segment_report_module() 514 bool is32 = (ei_class == ELFCLASS32); in dwfl_segment_report_module() 816 const size_t dyn_entsize = (ei_class == ELFCLASS32 in dwfl_segment_report_module() 848 bool is32 = (ei_class == ELFCLASS32); in dwfl_segment_report_module() 989 bool is32 = (ei_class == ELFCLASS32); in dwfl_segment_report_module()
|
/third_party/elfutils/libebl/ |
D | eblobjnote.c | 113 if (gelf_getclass (ebl->elf) == ELFCLASS32) in ebl_object_note() 379 if ((elfclass == ELFCLASS32 && prop.pr_datasz == 4) in ebl_object_note() 387 out.d_buf = (elfclass == ELFCLASS32 in ebl_object_note() 397 if (elfclass == ELFCLASS32) in ebl_object_note() 571 if (elfclass == ELFCLASS32) in ebl_object_note()
|
D | eblopenbackend.c | 74 { i386_init, "elf_i386", "i386", 4, EM_386, ELFCLASS32, ELFDATA2LSB }, 78 { ppc_init, "elf_ppc", "ppc", 3, EM_PPC, ELFCLASS32, ELFDATA2MSB }, 90 { m68k_init, "elf_m68k", "m68k", 4, EM_68K, ELFCLASS32, ELFDATA2MSB }, 151 { riscv_init, "elf_riscv", "riscv", 5, EM_RISCV, ELFCLASS32, ELFDATA2LSB }, 152 { csky_init, "elf_csky", "csky", 4, EM_CSKY, ELFCLASS32, ELFDATA2LSB },
|
/third_party/elfio/tests/ |
D | ELFIOTest.cpp | 208 checkHeader( reader, ELFCLASS32, ELFDATA2LSB, EV_CURRENT, ET_EXEC, in TEST() 488 checkHeader( reader, ELFCLASS32, ELFDATA2LSB, EV_CURRENT, ET_REL, EM_386, 1, in TEST() 542 checkHeader( reader, ELFCLASS32, ELFDATA2MSB, EV_CURRENT, ET_REL, EM_PPC, 1, in TEST() 613 checkHeader( reader, ELFCLASS32, ELFDATA2MSB, EV_CURRENT, ET_EXEC, EM_PPC, in TEST() 713 writer.create( ELFCLASS32, ELFDATA2LSB ); in TEST() 743 checkHeader( reader, ELFCLASS32, ELFDATA2LSB, EV_CURRENT, ET_REL, EM_386, in TEST() 766 writer.create( ELFCLASS32, ELFDATA2MSB ); in TEST() 796 checkHeader( reader, ELFCLASS32, ELFDATA2MSB, EV_CURRENT, ET_REL, EM_PPC, in TEST()
|
/third_party/elfutils/libdw/ |
D | encoded-value.h | 57 return e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8; in encoded_value_size() 80 width = width ?: cache->e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8; in __libdw_cfi_read_address_inc()
|