/frameworks/rs/cpu_ref/linkloader/include/ |
ELFHeader.h | 43 byte_t e_ident[EI_NIDENT]; member in class:ELFHeader 63 return e_ident[EI_CLASS]; 67 return e_ident[EI_DATA]; 71 return e_ident[EI_VERSION]; 75 return e_ident[EI_OSABI]; 79 return e_ident[EI_ABIVERSION]; 83 return e_ident[EI_CLASS] == ELFCLASS32; 87 return e_ident[EI_CLASS] == ELFCLASS64; 91 return e_ident[EI_DATA] == ELFDATA2MSB; 95 return e_ident[EI_DATA] == ELFDATA2LSB 183 AR & e_ident; local [all...] |
/external/grub/stage2/ |
i386-elf.h | 65 unsigned char e_ident[EI_NIDENT]; /* basic identification block */ member in struct:__anon18445 96 ((h.e_ident[EI_MAG0] == ELFMAG0) & (h.e_ident[EI_MAG1] == ELFMAG1) \ 97 & (h.e_ident[EI_MAG2] == ELFMAG2) & (h.e_ident[EI_MAG3] == ELFMAG3) \ 98 & (h.e_ident[EI_CLASS] == ELFCLASS32) & (h.e_ident[EI_DATA] == ELFDATA2LSB) \ 99 & (h.e_ident[EI_VERSION] == EV_CURRENT) & (h.e_type == ET_EXEC) \
|
/sdk/emulator/qtools/ |
read_elf.cpp | 75 switch(hdr->e_ident[EI_DATA]) 90 switch(hdr->e_ident[EI_DATA]) 105 if (hdr->e_ident[EI_DATA] == ELFDATA2LSB && LittleEndian()) 107 if (hdr->e_ident[EI_DATA] == ELFDATA2MSB && !LittleEndian()) 122 if (hdr->e_ident[EI_MAG0] != 0x7f || hdr->e_ident[EI_MAG1] != 'E' || 123 hdr->e_ident[EI_MAG2] != 'L' || hdr->e_ident[EI_MAG3] != 'F') {
|
/external/elfutils/tests/ |
update1.c | 76 printf (" %02x", ehdr->e_ident[i]); 87 ehdr->e_ident[0] = 42; 88 ehdr->e_ident[4] = 1; 89 ehdr->e_ident[5] = 1; 90 ehdr->e_ident[6] = 2; 91 ehdr->e_ident[9] = 2; 114 printf (" %02x", ehdr->e_ident[i]);
|
update2.c | 77 printf (" %02x", ehdr->e_ident[i]); 88 ehdr->e_ident[0] = 42; 89 ehdr->e_ident[4] = 1; 90 ehdr->e_ident[5] = 1; 91 ehdr->e_ident[6] = 2; 137 printf (" %02x", ehdr->e_ident[i]);
|
update3.c | 86 printf (" %02x", ehdr->e_ident[i]); 97 ehdr->e_ident[0] = 42; 98 ehdr->e_ident[4] = 1; 99 ehdr->e_ident[5] = 1; 100 ehdr->e_ident[6] = 2; 192 printf (" %02x", ehdr->e_ident[i]);
|
/bionic/libc/bionic/ |
dl_iterate_phdr_static.c | 41 if (ehdr->e_ident[EI_MAG0] != ELFMAG0) return -1; 42 if (ehdr->e_ident[EI_MAG1] != ELFMAG1) return -1; 43 if (ehdr->e_ident[EI_MAG2] != ELFMAG2) return -1; 44 if (ehdr->e_ident[EI_MAG3] != ELFMAG3) return -1;
|
/external/valgrind/main/coregrind/ |
launcher-linux.c | 172 (ehdr->e_ident[EI_OSABI] == ELFOSABI_SYSV || 173 ehdr->e_ident[EI_OSABI] == ELFOSABI_LINUX)) { 178 (ehdr->e_ident[EI_OSABI] == ELFOSABI_SYSV || 179 ehdr->e_ident[EI_OSABI] == ELFOSABI_LINUX)) { 184 (ehdr->e_ident[EI_OSABI] == ELFOSABI_SYSV || 185 ehdr->e_ident[EI_OSABI] == ELFOSABI_LINUX)) { 191 (ehdr->e_ident[EI_OSABI] == ELFOSABI_SYSV || 192 ehdr->e_ident[EI_OSABI] == ELFOSABI_LINUX)) { 197 (ehdr->e_ident[EI_OSABI] == ELFOSABI_SYSV || 198 ehdr->e_ident[EI_OSABI] == ELFOSABI_LINUX)) [all...] |
/external/elfutils/libelf/ |
elf_begin.c | 95 get_shnum (void *map_address, unsigned char *e_ident, int fildes, off_t offset, 110 bool is32 = e_ident[EI_CLASS] == ELFCLASS32; 113 if (e_ident[EI_DATA] == MY_ELFDATA 115 || (((size_t) e_ident 118 ehdr.p = e_ident; 130 ehdr_mem.e32.e_shnum = ((Elf32_Ehdr *) e_ident)->e_shnum; 131 ehdr_mem.e32.e_shoff = ((Elf32_Ehdr *) e_ident)->e_shoff; 134 memcpy (&ehdr_mem, e_ident, sizeof (Elf32_Ehdr)); 136 if (e_ident[EI_DATA] != MY_ELFDATA) 146 ehdr_mem.e64.e_shnum = ((Elf64_Ehdr *) e_ident)->e_shnum 490 unsigned char *e_ident = (unsigned char *) map_address + offset; local [all...] |
/frameworks/compile/mclinker/include/mcld/Target/ |
GNUInfo.h | 29 /// ELFVersion - the value of e_ident[EI_VERSION] 35 /// OSABI - the value of e_ident[EI_OSABI] 38 /// ABIVersion - the value of e_ident[EI_ABIVRESION]
|
/external/qemu/ |
loader.c | 311 uint8_t e_ident[EI_NIDENT]; local 318 if (read(fd, e_ident, sizeof(e_ident)) != sizeof(e_ident)) 320 if (e_ident[0] != ELFMAG0 || 321 e_ident[1] != ELFMAG1 || 322 e_ident[2] != ELFMAG2 || 323 e_ident[3] != ELFMAG3) 330 must_swab = data_order != e_ident[EI_DATA]; 337 if (host_data_order != e_ident[EI_DATA] [all...] |
/development/ndk/platforms/android-3/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:__anon1288 [all...] |
/prebuilts/ndk/4/platforms/android-3/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:__anon41745 [all...] |
/prebuilts/ndk/4/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:__anon42099 [all...] |
/prebuilts/ndk/4/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:__anon42453 [all...] |
/prebuilts/ndk/4/platforms/android-5/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:__anon42878 [all...] |
/prebuilts/ndk/4/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:__anon43237 [all...] |
/prebuilts/ndk/4/platforms/android-8/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:__anon43667 [all...] |
/prebuilts/ndk/5/platforms/android-3/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:__anon44021 [all...] |
/prebuilts/ndk/6/platforms/android-3/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:__anon44640 [all...] |
/prebuilts/ndk/6/platforms/android-3/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:__anon44977 [all...] |
/prebuilts/ndk/7/platforms/android-14/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:__anon45777 [all...] |
/prebuilts/ndk/7/platforms/android-14/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:__anon46224 [all...] |
/prebuilts/ndk/7/platforms/android-3/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:__anon46581 [all...] |
/prebuilts/ndk/7/platforms/android-3/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:__anon46921 [all...] |