/external/elfutils/libelf/ |
H A D | elf-knowledge.h | 125 && (Ehdr)->e_ident[EI_CLASS] == ELFCLASS64) ? 8 : 4)
|
H A D | common.h | 74 int eclass = (int) ((unsigned char *) buf)[EI_CLASS];
|
H A D | elf_begin.c | 110 bool is32 = e_ident[EI_CLASS] == ELFCLASS32; 270 if (unlikely ((e_ident[EI_CLASS] != ELFCLASS32 271 && e_ident[EI_CLASS] != ELFCLASS64) 298 elf->class = e_ident[EI_CLASS]; 300 if (e_ident[EI_CLASS] == ELFCLASS32) 556 if ((size_t) nread >= (mem.header[EI_CLASS] == ELFCLASS32
|
H A D | elf32_updatenull.c | 83 update_if_changed (ehdr->e_ident[EI_CLASS], ELFW(ELFCLASS,LIBELFBITS),
|
/external/grub/stage2/ |
H A D | i386-elf.h | 45 #define EI_CLASS 4 /* data sizes */ macro 98 & (h.e_ident[EI_CLASS] == ELFCLASS32) & (h.e_ident[EI_DATA] == ELFDATA2LSB) \
|
/external/kernel-headers/original/asm-mips/ |
H A D | elf.h | 188 if (__h->e_ident[EI_CLASS] != ELFCLASS32) \ 217 if (__h->e_ident[EI_CLASS] != ELFCLASS64) \ 304 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
|
/external/elfutils/libdwfl/ |
H A D | elf-from-memory.c | 137 switch (buffer[EI_CLASS]) 217 switch (ehdr.e32.e_ident[EI_CLASS]) 281 switch (ehdr.e32.e_ident[EI_CLASS])
|
H A D | dwfl_segment_report_module.c | 197 switch (((const unsigned char *) buffer)[EI_CLASS]) 408 if (ehdr.e32.e_ident[EI_CLASS] == ELFCLASS32) 483 const size_t dyn_entsize = (ehdr.e32.e_ident[EI_CLASS] == ELFCLASS32 502 if (ehdr.e32.e_ident[EI_CLASS] == ELFCLASS32) 610 if (ehdr.e32.e_ident[EI_CLASS] == ELFCLASS32)
|
H A D | link_map.c | 565 size_t buffer_available = addrsize (ehdr.e_ident[EI_CLASS]); 583 if (ehdr.e_ident[EI_CLASS] == ELFCLASS32) 595 *elfclass = ehdr.e_ident[EI_CLASS]; 596 else if (*elfclass != ehdr.e_ident[EI_CLASS])
|
/external/valgrind/main/coregrind/ |
H A D | launcher-linux.c | 171 if (n_bytes >= sizeof(Elf32_Ehdr) && header[EI_CLASS] == ELFCLASS32) { 195 } else if (n_bytes >= sizeof(Elf64_Ehdr) && header[EI_CLASS] == ELFCLASS64) {
|
/external/elfutils/libasm/ |
H A D | asm_begin.c | 100 ehdr->e_ident[EI_CLASS] = class;
|
/external/elfutils/tests/ |
H A D | asm-tst1.c | 47 [EI_CLASS] = ELFCLASS32,
|
H A D | asm-tst2.c | 47 [EI_CLASS] = ELFCLASS32,
|
H A D | saridx.c | 210 ehdr.e_ident[EI_CLASS] == ELFCLASS32
|
H A D | asm-tst9.c | 55 [EI_CLASS] = ELFCLASS32,
|
/external/llvm/include/llvm/Support/ |
H A D | ELF.h | 53 EI_CLASS = 4, // File class. enumerator in enum:llvm::ELF::__anon7195 80 unsigned char getFileClass() const { return e_ident[EI_CLASS]; } 104 unsigned char getFileClass() const { return e_ident[EI_CLASS]; }
|
/external/kernel-headers/original/linux/ |
H A D | elf.h | 299 #define EI_CLASS 4 macro 312 #define ELFCLASSNONE 0 /* EI_CLASS */
|
/external/icu4c/tools/toolutil/ |
H A D | pkg_genc.c | 691 buffer.header32.e_ident[EI_CLASS]<ELFCLASS32 || buffer.header32.e_ident[EI_CLASS]>ELFCLASS64 697 *pBits= buffer.header32.e_ident[EI_CLASS]==ELFCLASS32 ? 32 : 64; /* only 32 or 64: see check above */
|
/external/libvpx/build/make/ |
H A D | obj_int_extract.c | 332 res &= elf->e_ident[EI_CLASS] == ELFCLASS32 333 || elf->e_ident[EI_CLASS] == ELFCLASS64; 341 if (elf->e_ident[EI_CLASS] == ELFCLASS32) 360 else /* if (elf->e_ident[EI_CLASS] == ELFCLASS64) */
|
/external/elfutils/src/ |
H A D | readelf.c | 707 ehdr->e_ident[EI_CLASS] == ELFCLASS32 ? "ELF32" 708 : ehdr->e_ident[EI_CLASS] == ELFCLASS64 ? "ELF64" 838 if (ehdr->e_ident[EI_CLASS] == ELFCLASS32) 894 ehdr->e_ident[EI_CLASS] == ELFCLASS32 ? 8 : 16, shdr->sh_addr, 895 ehdr->e_ident[EI_CLASS] == ELFCLASS32 ? 6 : 8, shdr->sh_offset, 896 ehdr->e_ident[EI_CLASS] == ELFCLASS32 ? 6 : 8, shdr->sh_size, 914 if (ehdr->e_ident[EI_CLASS] == ELFCLASS32) 942 ehdr->e_ident[EI_CLASS] == ELFCLASS32 ? 8 : 16, phdr->p_vaddr, 943 ehdr->e_ident[EI_CLASS] == ELFCLASS32 ? 8 : 16, phdr->p_paddr, 4082 digits, n, ehdr->e_ident[EI_CLASS] [all...] |
H A D | elflint.c | 368 if (ehdr->e_ident[EI_CLASS] != ELFCLASS32 369 && ehdr->e_ident[EI_CLASS] != ELFCLASS64) 371 EI_CLASS, ehdr->e_ident[EI_CLASS]); 2246 const int bitmap_factor = ehdr->e_ident[EI_CLASS] == ELFCLASS32 ? 1 : 2;
|
/external/qemu/ |
H A D | loader.c | 341 if (e_ident[EI_CLASS] == ELFCLASS64) {
|
/external/valgrind/main/coregrind/m_ume/ |
H A D | elf.c | 113 if (e->e.e_ident[EI_CLASS] != VG_ELF_CLASS) {
|
/external/elfutils/libebl/ |
H A D | eblopenbackend.c | 333 result->class = elf->state.elf32.ehdr->e_ident[EI_CLASS];
|
/external/llvm/include/llvm/Object/ |
H A D | ELF.h | 41 return std::make_pair( (uint8_t)Object->getBufferStart()[ELF::EI_CLASS] 428 unsigned char getFileClass() const { return e_ident[ELF::EI_CLASS]; } 1882 switch(Header->e_ident[ELF::EI_CLASS]) {
|