Searched refs:EI_CLASS (Results 1 - 25 of 33) sorted by relevance

12

/external/elfutils/libelf/
H A Delf-knowledge.h125 && (Ehdr)->e_ident[EI_CLASS] == ELFCLASS64) ? 8 : 4)
H A Dcommon.h74 int eclass = (int) ((unsigned char *) buf)[EI_CLASS];
H A Delf_begin.c110 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 Delf32_updatenull.c83 update_if_changed (ehdr->e_ident[EI_CLASS], ELFW(ELFCLASS,LIBELFBITS),
/external/grub/stage2/
H A Di386-elf.h45 #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 Delf.h188 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 Delf-from-memory.c137 switch (buffer[EI_CLASS])
217 switch (ehdr.e32.e_ident[EI_CLASS])
281 switch (ehdr.e32.e_ident[EI_CLASS])
H A Ddwfl_segment_report_module.c197 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 Dlink_map.c565 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 Dlauncher-linux.c171 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 Dasm_begin.c100 ehdr->e_ident[EI_CLASS] = class;
/external/elfutils/tests/
H A Dasm-tst1.c47 [EI_CLASS] = ELFCLASS32,
H A Dasm-tst2.c47 [EI_CLASS] = ELFCLASS32,
H A Dsaridx.c210 ehdr.e_ident[EI_CLASS] == ELFCLASS32
H A Dasm-tst9.c55 [EI_CLASS] = ELFCLASS32,
/external/llvm/include/llvm/Support/
H A DELF.h53 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 Delf.h299 #define EI_CLASS 4 macro
312 #define ELFCLASSNONE 0 /* EI_CLASS */
/external/icu4c/tools/toolutil/
H A Dpkg_genc.c691 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 Dobj_int_extract.c332 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 Dreadelf.c707 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 Delflint.c368 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 Dloader.c341 if (e_ident[EI_CLASS] == ELFCLASS64) {
/external/valgrind/main/coregrind/m_ume/
H A Delf.c113 if (e->e.e_ident[EI_CLASS] != VG_ELF_CLASS) {
/external/elfutils/libebl/
H A Deblopenbackend.c333 result->class = elf->state.elf32.ehdr->e_ident[EI_CLASS];
/external/llvm/include/llvm/Object/
H A DELF.h41 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]) {

Completed in 243 milliseconds

12