/external/elfutils/libdw/ |
dwarf_frame_cfa.c | 62 fs->cache->e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8, 4,
|
encoded-value.h | 57 return e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8; 79 width = width ?: cache->e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8;
|
dwarf_frame_register.c | 96 unsigned int address_size = (fs->cache->e_ident[EI_CLASS] == ELFCLASS32
|
cie.c | 125 = cache->e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8;
|
/external/minijail/ |
elfparse.c | 78 (pHeader[EI_CLASS] == ELFCLASS64)) { 82 (pHeader[EI_CLASS] == ELFCLASS64)) { 86 (pHeader[EI_CLASS] == ELFCLASS32)) { 90 (pHeader[EI_CLASS] == ELFCLASS32)) {
|
/bionic/tools/relocation_packer/src/ |
main.cc | 121 if (e_ident[EI_CLASS] == ELFCLASS32) { 130 } else if (e_ident[EI_CLASS] == ELFCLASS64) { 140 LOG(ERROR) << file << ": unknown ELFCLASS: " << e_ident[EI_CLASS];
|
elf_file_unittest.cc | 125 ASSERT_EQ(0, fseek(relocs_so, EI_CLASS, SEEK_SET)) 161 ASSERT_EQ(0, fseek(packed_relocs_so, EI_CLASS, SEEK_SET))
|
/external/elfutils/libelf/ |
elf-knowledge.h | 102 && (Ehdr)->e_ident[EI_CLASS] == ELFCLASS64) ? 8 : 4)
|
common.h | 53 int eclass = (int) ((unsigned char *) buf)[EI_CLASS];
|
elf_begin.c | 90 bool is32 = e_ident[EI_CLASS] == ELFCLASS32; 252 if (unlikely ((e_ident[EI_CLASS] != ELFCLASS32 253 && e_ident[EI_CLASS] != ELFCLASS64) 270 if (e_ident[EI_CLASS] == ELFCLASS32) 298 elf->class = e_ident[EI_CLASS]; 300 if (e_ident[EI_CLASS] == ELFCLASS32) 582 if ((size_t) nread >= (mem.header[EI_CLASS] == ELFCLASS32 [all...] |
/system/core/libunwindstack/tests/ |
MapInfoCreateMemoryTest.cpp | 51 ehdr.e_ident[EI_CLASS] = class_type; 64 buffer[EI_CLASS] = ELFCLASS32; 69 buffer[0x100 + EI_CLASS] = ELFCLASS64; 125 ASSERT_EQ(ELFCLASS32, buffer[EI_CLASS]); 126 for (size_t i = EI_CLASS + 1; i < buffer.size(); i++) { 146 ASSERT_EQ(ELFCLASS64, buffer[EI_CLASS]); 147 for (size_t i = EI_CLASS + 1; i < buffer.size(); i++) {
|
/external/google-breakpad/src/common/linux/ |
elfutils.cc | 58 assert(elf_header->e_ident[EI_CLASS] == ElfClass::kClass); 93 assert(elf_header->e_ident[EI_CLASS] == ElfClass::kClass); 118 return elf_header->e_ident[EI_CLASS];
|
/external/syslinux/gpxe/src/util/ |
iccfix.c | 113 switch ( eident[EI_CLASS] ) { 122 eident[EI_CLASS], filename );
|
/system/core/debuggerd/libdebuggerd/ |
elf_utils.cpp | 114 if (e_ident[EI_CLASS] == ELFCLASS32) { 116 } else if (e_ident[EI_CLASS] == ELFCLASS64) {
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/ArmShellCmdRunAxf/ |
ElfLoader.c | 39 if (Hdr->e_ident[EI_CLASS] != ELFCLASS32) {
62 if (Hdr->e_ident[EI_CLASS] != ELFCLASS64) {
101 if (Hdr32->e_ident[EI_CLASS] == ELFCLASS32) {
115 } else if (Hdr32->e_ident[EI_CLASS] == ELFCLASS64) {
|
/external/syslinux/efi/ |
wrapper.c | 196 if (e32_hdr.e_ident[EI_CLASS] == ELFCLASS32) { 204 else if (e32_hdr.e_ident[EI_CLASS] == ELFCLASS64) { 240 if (e32_hdr.e_ident[EI_CLASS] == ELFCLASS32) { 255 } else if (e32_hdr.e_ident[EI_CLASS] == ELFCLASS64) {
|
/external/syslinux/gpxe/src/arch/i386/image/ |
elfboot.c | 81 [EI_CLASS] = ELFCLASS32,
|
/external/elfutils/libdwfl/ |
elf-from-memory.c | 127 switch (buffer[EI_CLASS]) 194 bool class32 = ehdr.e32.e_ident[EI_CLASS] == ELFCLASS32; 220 switch (ehdr.e32.e_ident[EI_CLASS]) 302 switch (ehdr.e32.e_ident[EI_CLASS])
|
linux-proc-maps.c | 67 unsigned char buf[EI_CLASS + 1]; 73 || (buf[EI_CLASS] != ELFCLASS64 && buf[EI_CLASS] != ELFCLASS32)) 76 return buf[EI_CLASS];
|
/external/libunwind/src/coredump/ |
_UCD_create.c | 114 if (elf_header32.e_ident[EI_CLASS] != ELFCLASS32 115 && elf_header32.e_ident[EI_CLASS] != ELFCLASS64) 127 _64bits = (elf_header32.e_ident[EI_CLASS] == ELFCLASS64);
|
/system/core/libunwindstack/ |
Elf.cpp | 207 if (!memory->ReadFully(EI_CLASS, &class_type, 1)) { 242 if (!memory->ReadFully(EI_CLASS, &class_type_, 1)) { 297 if (!memory->Read(EI_CLASS, &class_type, 1)) {
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/ |
ElfConvert.c | 180 EiClass = (*FileBuffer)[EI_CLASS];
190 Error (NULL, 0, 3000, "Unsupported", "ELF EI_CLASS not supported.");
|
/development/vndk/tools/definition-tool/tools/ |
remove_dt_needed.py | 13 'ei_class ei_data ei_version ei_osabi e_type e_machine e_version ' 64 EI_CLASS = 4 112 ei_class = _extract_buf_byte(buf, EI_CLASS) 113 if ei_class not in (ELFCLASS32, ELFCLASS64): 115 is_32bit = ei_class == ELFCLASS32
|
/external/libunwind/src/ |
elfxx.h | 99 && e_ident[EI_CLASS] == ELF_CLASS && e_ident[EI_VERSION] != EV_NONE 117 return e_ident[EI_CLASS] == ELF_CLASS && e_ident[EI_VERSION] != EV_NONE
|
/external/elfutils/libasm/ |
asm_begin.c | 103 ehdr->e_ident[EI_CLASS] = class;
|