Home
last modified time | relevance | path

Searched refs:EI_CLASS (Results 1 – 25 of 58) sorted by relevance

123

/external/elfutils/0.153/libdw/
Dencoded-value.h75 return e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8; in encoded_value_size()
97 width = width ?: cache->e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8; in __libdw_cfi_read_address_inc()
Ddwarf_frame_cfa.c86 fs->cache->e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8, 4,
Ddwarf_frame_register.c121 unsigned int address_size = (fs->cache->e_ident[EI_CLASS] == ELFCLASS32
Dcie.c146 = cache->e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8; in intern_new_cie()
Ddwarf_next_cfi.c159 uint_fast8_t address_size = e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8;
/external/lldb/source/Plugins/ObjectFile/ELF/
DELFHeader.h84 return e_ident[llvm::ELF::EI_CLASS] == llvm::ELF::ELFCLASS32; in Is32Bit()
93 return e_ident[llvm::ELF::EI_CLASS] == llvm::ELF::ELFCLASS64; in Is64Bit()
/external/elfutils/0.153/libdwfl/
Delf-from-memory.c137 switch (buffer[EI_CLASS]) in elf_from_remote_memory()
217 switch (ehdr.e32.e_ident[EI_CLASS]) in elf_from_remote_memory()
281 switch (ehdr.e32.e_ident[EI_CLASS]) in elf_from_remote_memory()
Ddwfl_segment_report_module.c201 switch (((const unsigned char *) buffer)[EI_CLASS]) in dwfl_segment_report_module()
415 if (ehdr.e32.e_ident[EI_CLASS] == ELFCLASS32) in dwfl_segment_report_module()
494 const size_t dyn_entsize = (ehdr.e32.e_ident[EI_CLASS] == ELFCLASS32 in dwfl_segment_report_module()
513 if (ehdr.e32.e_ident[EI_CLASS] == ELFCLASS32) in dwfl_segment_report_module()
636 if (ehdr.e32.e_ident[EI_CLASS] == ELFCLASS32) in dwfl_segment_report_module()
Dlink_map.c560 size_t buffer_available = addrsize (ehdr.e_ident[EI_CLASS]); in consider_executable()
576 if (ehdr.e_ident[EI_CLASS] == ELFCLASS32) in consider_executable()
587 *elfclass = ehdr.e_ident[EI_CLASS]; in consider_executable()
588 else if (*elfclass != ehdr.e_ident[EI_CLASS]) in consider_executable()
Ddwfl_module_getdwarf.c369 if (ehdr.e32.e_ident[EI_CLASS] == ELFCLASS32) in find_prelink_address_sync()
436 if (ehdr.e32.e_ident[EI_CLASS] == ELFCLASS32) in find_prelink_address_sync()
524 if (ehdr.e32.e_ident[EI_CLASS] == ELFCLASS32) in find_prelink_address_sync()
/external/libunwind/src/coredump/
D_UCD_create.c114 if (elf_header32.e_ident[EI_CLASS] != ELFCLASS32 in _UCD_create()
115 && elf_header32.e_ident[EI_CLASS] != ELFCLASS64) in _UCD_create()
127 _64bits = (elf_header32.e_ident[EI_CLASS] == ELFCLASS64); in _UCD_create()
/external/elfutils/0.153/libelf/
Delf-knowledge.h125 && (Ehdr)->e_ident[EI_CLASS] == ELFCLASS64) ? 8 : 4)
Delf_begin.c111 bool is32 = e_ident[EI_CLASS] == ELFCLASS32; in get_shnum()
271 if (unlikely ((e_ident[EI_CLASS] != ELFCLASS32 in file_read_elf()
272 && e_ident[EI_CLASS] != ELFCLASS64) in file_read_elf()
308 elf->class = e_ident[EI_CLASS]; in file_read_elf()
310 if (e_ident[EI_CLASS] == ELFCLASS32) in file_read_elf()
562 if ((size_t) nread >= (mem.header[EI_CLASS] == ELFCLASS32 in read_unmmaped_file()
Dcommon.h74 int eclass = (int) ((unsigned char *) buf)[EI_CLASS]; in determine_kind()
/external/chromium_org/components/nacl/loader/nonsfi/
Delf_loader.cc54 if (ehdr.e_ident[EI_CLASS] != ELFCLASS32) { in ValidateElfHeader()
59 if (ehdr.e_ident[EI_CLASS] != ELFCLASS64) { in ValidateElfHeader()
/external/valgrind/main/coregrind/
Dlauncher-linux.c179 if (n_bytes >= sizeof(Elf32_Ehdr) && header[EI_CLASS] == ELFCLASS32) { in select_platform()
215 } else if (n_bytes >= sizeof(Elf64_Ehdr) && header[EI_CLASS] == ELFCLASS64) { in select_platform()
/external/libunwind/src/
Delfxx.h65 && ((uint8_t *) ei->image)[EI_CLASS] == ELF_CLASS in elf_w()
/external/chromium_org/third_party/android_crazy_linker/src/src/
Dcrazy_linker_elf_loader.cpp119 if (header_.e_ident[EI_CLASS] != ELF::kElfClass) { in ReadElfHeader()
122 header_.e_ident[EI_CLASS]); in ReadElfHeader()
/external/elfutils/0.153/libasm/
Dasm_begin.c100 ehdr->e_ident[EI_CLASS] = class; in prepare_binary_output()
/external/ltrace/
Dltrace-elf.c397 && (lte->ehdr.e_ident[EI_CLASS] != LT_ELFCLASS in ltelf_init()
401 && (lte->ehdr.e_ident[EI_CLASS] != LT_ELFCLASS2 in ltelf_init()
405 && (lte->ehdr.e_ident[EI_CLASS] != LT_ELFCLASS3 in ltelf_init()
483 if (lte->ehdr.e_ident[EI_CLASS] == ELFCLASS32) { in rel_to_rela()
1148 proc->e_class = lte.ehdr.e_ident[EI_CLASS]; in read_module()
/external/libvpx/libvpx/build/make/
Dobj_int_extract.c249 res &= elf->e_ident[EI_CLASS] == ELFCLASS32 in parse_elf_header()
250 || elf->e_ident[EI_CLASS] == ELFCLASS64; in parse_elf_header()
258 if (elf->e_ident[EI_CLASS] == ELFCLASS32) { in parse_elf_header()
/external/chromium_org/third_party/libvpx/source/libvpx/build/make/
Dobj_int_extract.c249 res &= elf->e_ident[EI_CLASS] == ELFCLASS32 in parse_elf_header()
250 || elf->e_ident[EI_CLASS] == ELFCLASS64; in parse_elf_header()
258 if (elf->e_ident[EI_CLASS] == ELFCLASS32) { in parse_elf_header()
/external/chromium_org/third_party/icu/source/tools/toolutil/
Dpkg_genc.c720 buffer.header32.e_ident[EI_CLASS]<ELFCLASS32 || buffer.header32.e_ident[EI_CLASS]>ELFCLASS64 in getArchitecture()
726 …*pBits= buffer.header32.e_ident[EI_CLASS]==ELFCLASS32 ? 32 : 64; /* only 32 or 64: see check above… in getArchitecture()
/external/icu/icu4c/source/tools/toolutil/
Dpkg_genc.c712 buffer.header32.e_ident[EI_CLASS]<ELFCLASS32 || buffer.header32.e_ident[EI_CLASS]>ELFCLASS64 in getArchitecture()
718 …*pBits= buffer.header32.e_ident[EI_CLASS]==ELFCLASS32 ? 32 : 64; /* only 32 or 64: see check above… in getArchitecture()
/external/llvm/include/llvm/Support/
DELF.h54 EI_CLASS = 4, // File class. enumerator
81 unsigned char getFileClass() const { return e_ident[EI_CLASS]; } in getFileClass()
105 unsigned char getFileClass() const { return e_ident[EI_CLASS]; } in getFileClass()

123