/prebuilts/ndk/9/platforms/android-4/arch-arm/usr/include/sys/ |
exec_elf.h | 66 * e_ident[] identification indexes 79 #define EI_NIDENT 16 /* Size of e_ident[] */ 81 /* e_ident[] magic number */ 82 #define ELFMAG0 0x7f /* e_ident[EI_MAG0] */ 83 #define ELFMAG1 'E' /* e_ident[EI_MAG1] */ 84 #define ELFMAG2 'L' /* e_ident[EI_MAG2] */ 85 #define ELFMAG3 'F' /* e_ident[EI_MAG3] */ 89 /* e_ident[] file class */ 95 /* e_ident[] data encoding */ 101 /* e_ident[] Operating System/ABI * 126 unsigned char e_ident[EI_NIDENT]; \/* ELF Identification *\/ member in struct:elfhdr 144 unsigned char e_ident[EI_NIDENT]; \/* Id bytes *\/ member in struct:__anon57843 [all...] |
/prebuilts/ndk/9/platforms/android-5/arch-arm/usr/include/sys/ |
exec_elf.h | 66 * e_ident[] identification indexes 79 #define EI_NIDENT 16 /* Size of e_ident[] */ 81 /* e_ident[] magic number */ 82 #define ELFMAG0 0x7f /* e_ident[EI_MAG0] */ 83 #define ELFMAG1 'E' /* e_ident[EI_MAG1] */ 84 #define ELFMAG2 'L' /* e_ident[EI_MAG2] */ 85 #define ELFMAG3 'F' /* e_ident[EI_MAG3] */ 89 /* e_ident[] file class */ 95 /* e_ident[] data encoding */ 101 /* e_ident[] Operating System/ABI * 126 unsigned char e_ident[EI_NIDENT]; \/* ELF Identification *\/ member in struct:elfhdr 144 unsigned char e_ident[EI_NIDENT]; \/* Id bytes *\/ member in struct:__anon58205 [all...] |
/prebuilts/ndk/9/platforms/android-8/arch-arm/usr/include/sys/ |
exec_elf.h | 66 * e_ident[] identification indexes 79 #define EI_NIDENT 16 /* Size of e_ident[] */ 81 /* e_ident[] magic number */ 82 #define ELFMAG0 0x7f /* e_ident[EI_MAG0] */ 83 #define ELFMAG1 'E' /* e_ident[EI_MAG1] */ 84 #define ELFMAG2 'L' /* e_ident[EI_MAG2] */ 85 #define ELFMAG3 'F' /* e_ident[EI_MAG3] */ 89 /* e_ident[] file class */ 95 /* e_ident[] data encoding */ 101 /* e_ident[] Operating System/ABI * 126 unsigned char e_ident[EI_NIDENT]; \/* ELF Identification *\/ member in struct:elfhdr 144 unsigned char e_ident[EI_NIDENT]; \/* Id bytes *\/ member in struct:__anon58572 [all...] |
/prebuilts/ndk/9/platforms/android-9/arch-arm/usr/include/sys/ |
exec_elf.h | 66 * e_ident[] identification indexes 79 #define EI_NIDENT 16 /* Size of e_ident[] */ 81 /* e_ident[] magic number */ 82 #define ELFMAG0 0x7f /* e_ident[EI_MAG0] */ 83 #define ELFMAG1 'E' /* e_ident[EI_MAG1] */ 84 #define ELFMAG2 'L' /* e_ident[EI_MAG2] */ 85 #define ELFMAG3 'F' /* e_ident[EI_MAG3] */ 89 /* e_ident[] file class */ 95 /* e_ident[] data encoding */ 101 /* e_ident[] Operating System/ABI * 126 unsigned char e_ident[EI_NIDENT]; \/* ELF Identification *\/ member in struct:elfhdr 144 unsigned char e_ident[EI_NIDENT]; \/* Id bytes *\/ member in struct:__anon58970 [all...] |
/prebuilts/ndk/9/platforms/android-9/arch-mips/usr/include/sys/ |
exec_elf.h | 66 * e_ident[] identification indexes 79 #define EI_NIDENT 16 /* Size of e_ident[] */ 81 /* e_ident[] magic number */ 82 #define ELFMAG0 0x7f /* e_ident[EI_MAG0] */ 83 #define ELFMAG1 'E' /* e_ident[EI_MAG1] */ 84 #define ELFMAG2 'L' /* e_ident[EI_MAG2] */ 85 #define ELFMAG3 'F' /* e_ident[EI_MAG3] */ 89 /* e_ident[] file class */ 95 /* e_ident[] data encoding */ 101 /* e_ident[] Operating System/ABI * 126 unsigned char e_ident[EI_NIDENT]; \/* ELF Identification *\/ member in struct:elfhdr 144 unsigned char e_ident[EI_NIDENT]; \/* Id bytes *\/ member in struct:__anon59420 [all...] |
/prebuilts/ndk/9/platforms/android-9/arch-x86/usr/include/sys/ |
exec_elf.h | 66 * e_ident[] identification indexes 79 #define EI_NIDENT 16 /* Size of e_ident[] */ 81 /* e_ident[] magic number */ 82 #define ELFMAG0 0x7f /* e_ident[EI_MAG0] */ 83 #define ELFMAG1 'E' /* e_ident[EI_MAG1] */ 84 #define ELFMAG2 'L' /* e_ident[EI_MAG2] */ 85 #define ELFMAG3 'F' /* e_ident[EI_MAG3] */ 89 /* e_ident[] file class */ 95 /* e_ident[] data encoding */ 101 /* e_ident[] Operating System/ABI * 126 unsigned char e_ident[EI_NIDENT]; \/* ELF Identification *\/ member in struct:elfhdr 144 unsigned char e_ident[EI_NIDENT]; \/* Id bytes *\/ member in struct:__anon59872 [all...] |
/external/elfutils/libelf/ |
elf32_updatenull.c | 76 if (memcmp (&ehdr->e_ident[EI_MAG0], ELFMAG, SELFMAG) != 0) 78 memcpy (&ehdr->e_ident[EI_MAG0], ELFMAG, SELFMAG); 83 update_if_changed (ehdr->e_ident[EI_CLASS], ELFW(ELFCLASS,LIBELFBITS), 87 if (unlikely (ehdr->e_ident[EI_DATA] == ELFDATANONE)) 89 ehdr->e_ident[EI_DATA] = 93 else if (unlikely (ehdr->e_ident[EI_DATA] >= ELFDATANUM)) 100 && ehdr->e_ident[EI_DATA] != ELFDATA2LSB) 102 && ehdr->e_ident[EI_DATA] != ELFDATA2MSB)); 105 update_if_changed (ehdr->e_ident[EI_VERSION], EV_CURRENT,
|
elf_getident.c | 82 ? elf->state.elf32.ehdr->e_ident 83 : elf->state.elf64.ehdr->e_ident);
|
elf_getshstrndx.c | 126 && elf->state.elf32.ehdr->e_ident[EI_DATA] == MY_ELFDATA 148 if (elf->state.elf32.ehdr->e_ident[EI_DATA] != MY_ELFDATA) 164 && elf->state.elf64.ehdr->e_ident[EI_DATA] == MY_ELFDATA 186 if (elf->state.elf64.ehdr->e_ident[EI_DATA] != MY_ELFDATA)
|
/external/llvm/tools/yaml2obj/ |
yaml2elf.cpp | 251 Header.e_ident[EI_MAG0] = 0x7f; 252 Header.e_ident[EI_MAG1] = 'E'; 253 Header.e_ident[EI_MAG2] = 'L'; 254 Header.e_ident[EI_MAG3] = 'F'; 255 Header.e_ident[EI_CLASS] = ELFT::Is64Bits ? ELFCLASS64 : ELFCLASS32; 257 Header.e_ident[EI_DATA] = IsLittleEndian ? ELFDATA2LSB : ELFDATA2MSB; 258 Header.e_ident[EI_VERSION] = EV_CURRENT; 259 Header.e_ident[EI_OSABI] = Hdr.OSABI; 260 Header.e_ident[EI_ABIVERSION] = 0;
|
/external/elfutils/tests/ |
update4.c | 91 printf (" %02x", ehdr->e_ident[i]); 102 ehdr->e_ident[0] = 42; 103 ehdr->e_ident[4] = 1; 104 ehdr->e_ident[5] = 1; 105 ehdr->e_ident[6] = 2; 345 printf (" %02x", ehdr->e_ident[i]);
|
newfile.c | 39 printf (" %02x", ehdr->e_ident[n]); 110 if (ehdr->e_ident[i] != 0) 112 printf ("ehdr->e_ident[%d] != 0\n", i);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
elf.h | 192 unsigned char e_ident[EI_NIDENT]; member in struct:elf32_hdr 209 unsigned char e_ident[16]; /* ELF "magic number" */ member in struct:elf64_hdr 313 #define EI_MAG0 0 /* e_ident[] indexes */ 335 #define ELFDATANONE 0 /* e_ident[EI_DATA] */
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
elf.h | 192 unsigned char e_ident[EI_NIDENT]; member in struct:elf32_hdr 209 unsigned char e_ident[16]; /* ELF "magic number" */ member in struct:elf64_hdr 313 #define EI_MAG0 0 /* e_ident[] indexes */ 335 #define ELFDATANONE 0 /* e_ident[EI_DATA] */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
elf.h | 192 unsigned char e_ident[EI_NIDENT]; member in struct:elf32_hdr 209 unsigned char e_ident[16]; /* ELF "magic number" */ member in struct:elf64_hdr 313 #define EI_MAG0 0 /* e_ident[] indexes */ 335 #define ELFDATANONE 0 /* e_ident[EI_DATA] */
|
/system/core/libcorkscrew/ |
symbol_table.c | 36 return (e->e_ident[EI_MAG0] == ELFMAG0 && 37 e->e_ident[EI_MAG1] == ELFMAG1 && 38 e->e_ident[EI_MAG2] == ELFMAG2 && 39 e->e_ident[EI_MAG3] == ELFMAG3);
|
/external/elfutils/libasm/ |
asm_begin.c | 100 ehdr->e_ident[EI_CLASS] = class; 101 ehdr->e_ident[EI_DATA] = ebl_get_elfdata (ebl); 103 memcpy (&ehdr->e_ident[EI_MAG0], ELFMAG, SELFMAG);
|
/external/libvpx/libvpx/build/make/ |
obj_int_extract.c | 219 unsigned char e_ident[EI_NIDENT]; /* Magic number and other info */ member in struct:__anon21146 228 COPY_STRUCT(&elf->e_ident, elf->buf, 0, elf->sz); 229 res = elf->e_ident[EI_MAG0] == ELFMAG0; 230 res &= elf->e_ident[EI_MAG1] == ELFMAG1; 231 res &= elf->e_ident[EI_MAG2] == ELFMAG2; 232 res &= elf->e_ident[EI_MAG3] == ELFMAG3; 233 res &= elf->e_ident[EI_CLASS] == ELFCLASS32 234 || elf->e_ident[EI_CLASS] == ELFCLASS64; 235 res &= elf->e_ident[EI_DATA] == ELFDATA2LSB; 239 elf->le_data = elf->e_ident[EI_DATA] == ELFDATA2LSB [all...] |
/art/runtime/ |
elf_file.cc | 182 if ((llvm::ELF::ElfMagic[0] != header_->e_ident[llvm::ELF::EI_MAG0]) 183 || (llvm::ELF::ElfMagic[1] != header_->e_ident[llvm::ELF::EI_MAG1]) 184 || (llvm::ELF::ElfMagic[2] != header_->e_ident[llvm::ELF::EI_MAG2]) 185 || (llvm::ELF::ElfMagic[3] != header_->e_ident[llvm::ELF::EI_MAG3])) { 188 << static_cast<uint8_t>(header_->e_ident[llvm::ELF::EI_MAG0]) 189 << static_cast<uint8_t>(header_->e_ident[llvm::ELF::EI_MAG1]) 190 << static_cast<uint8_t>(header_->e_ident[llvm::ELF::EI_MAG2]) 191 << static_cast<uint8_t>(header_->e_ident[llvm::ELF::EI_MAG3]); 197 CHECK_EQ(static_cast<unsigned char>(llvm::ELF::ELFCLASS32), header_->e_ident[llvm::ELF::EI_CLASS]) << file_->GetPath(); 198 CHECK_EQ(static_cast<unsigned char>(llvm::ELF::ELFDATA2LSB), header_->e_ident[llvm::ELF::EI_DATA]) << file_->GetPath() [all...] |
/external/elfutils/libdwfl/ |
dwfl_segment_report_module.c | 294 if (ehdr.e32.e_ident[EI_DATA] == MY_ELFDATA) 307 ehdr.e32.e_ident[EI_DATA]) == NULL) 408 if (ehdr.e32.e_ident[EI_CLASS] == ELFCLASS32) 411 ehdr.e32.e_ident[EI_DATA]) == NULL) 423 ehdr.e32.e_ident[EI_DATA]) == NULL) 483 const size_t dyn_entsize = (ehdr.e32.e_ident[EI_CLASS] == ELFCLASS32 502 if (ehdr.e32.e_ident[EI_CLASS] == ELFCLASS32) 505 ehdr.e32.e_ident[EI_DATA]) != NULL) 513 ehdr.e32.e_ident[EI_DATA]) != NULL) 610 if (ehdr.e32.e_ident[EI_CLASS] == ELFCLASS32 [all...] |
elf-from-memory.c | 217 switch (ehdr.e32.e_ident[EI_CLASS]) 238 ehdr.e32.e_ident[EI_DATA]) == NULL) 248 ehdr.e32.e_ident[EI_DATA]) == NULL) 281 switch (ehdr.e32.e_ident[EI_CLASS]) 319 ehdr.e32.e_ident[EI_DATA]) == NULL) 346 ehdr.e64.e_ident[EI_DATA]) == NULL)
|
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
pkg_genc.c | 695 buffer.header32.e_ident[0]!=ELFMAG0 || 696 buffer.header32.e_ident[1]!=ELFMAG1 || 697 buffer.header32.e_ident[2]!=ELFMAG2 || 698 buffer.header32.e_ident[3]!=ELFMAG3 || 699 buffer.header32.e_ident[EI_CLASS]<ELFCLASS32 || buffer.header32.e_ident[EI_CLASS]>ELFCLASS64 705 *pBits= buffer.header32.e_ident[EI_CLASS]==ELFCLASS32 ? 32 : 64; /* only 32 or 64: see check above */ 718 *pIsBigEndian=(UBool)(buffer.header32.e_ident[EI_DATA]==ELFDATA2MSB); 764 /* e_ident[] */ 881 /* e_ident[] */ [all...] |
/external/icu4c/tools/toolutil/ |
pkg_genc.c | 697 buffer.header32.e_ident[0]!=ELFMAG0 || 698 buffer.header32.e_ident[1]!=ELFMAG1 || 699 buffer.header32.e_ident[2]!=ELFMAG2 || 700 buffer.header32.e_ident[3]!=ELFMAG3 || 701 buffer.header32.e_ident[EI_CLASS]<ELFCLASS32 || buffer.header32.e_ident[EI_CLASS]>ELFCLASS64 707 *pBits= buffer.header32.e_ident[EI_CLASS]==ELFCLASS32 ? 32 : 64; /* only 32 or 64: see check above */ 720 *pIsBigEndian=(UBool)(buffer.header32.e_ident[EI_DATA]==ELFDATA2MSB); 766 /* e_ident[] */ 883 /* e_ident[] */ [all...] |
/art/compiler/ |
elf_writer_quick.cc | 297 elf_header.e_ident[llvm::ELF::EI_MAG0] = llvm::ELF::ElfMagic[0]; 298 elf_header.e_ident[llvm::ELF::EI_MAG1] = llvm::ELF::ElfMagic[1]; 299 elf_header.e_ident[llvm::ELF::EI_MAG2] = llvm::ELF::ElfMagic[2]; 300 elf_header.e_ident[llvm::ELF::EI_MAG3] = llvm::ELF::ElfMagic[3]; 301 elf_header.e_ident[llvm::ELF::EI_CLASS] = llvm::ELF::ELFCLASS32; 302 elf_header.e_ident[llvm::ELF::EI_DATA] = llvm::ELF::ELFDATA2LSB; 303 elf_header.e_ident[llvm::ELF::EI_VERSION] = llvm::ELF::EV_CURRENT; 304 elf_header.e_ident[llvm::ELF::EI_OSABI] = llvm::ELF::ELFOSABI_LINUX; 305 elf_header.e_ident[llvm::ELF::EI_ABIVERSION] = 0;
|
/external/chromium_org/courgette/ |
disassembler_elf_32.cc | 38 if (header_->e_ident[0] != 0x7f || 39 header_->e_ident[1] != 'E' || 40 header_->e_ident[2] != 'L' || 41 header_->e_ident[3] != 'F')
|