/external/google-breakpad/src/common/linux/ |
D | elfutils.cc | 58 assert(elf_header->e_ident[EI_CLASS] == ElfClass::kClass); in FindElfClassSection() 93 assert(elf_header->e_ident[EI_CLASS] == ElfClass::kClass); in FindElfClassSegment() 118 return elf_header->e_ident[EI_CLASS]; in ElfClass()
|
/external/compiler-rt/lib/asan/ |
D | asanwrapper.cc | 34 const size_t kBufSize = EI_CLASS + 1; in elf_is_64bit() 46 bool is_64bit = buf[EI_CLASS] == ELFCLASS64; in elf_is_64bit()
|
/external/elfutils/src/libdwfl/ |
D | linux-proc-maps.c | 67 unsigned char buf[EI_CLASS + 1]; in get_pid_class() 73 || (buf[EI_CLASS] != ELFCLASS64 && buf[EI_CLASS] != ELFCLASS32)) in get_pid_class() 76 return buf[EI_CLASS]; in get_pid_class()
|
D | elf-from-memory.c | 121 switch (buffer[EI_CLASS]) in elf_from_remote_memory() 202 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()
|
D | link_map.c | 624 size_t buffer_available = addrsize (ehdr.e_ident[EI_CLASS]); in consider_executable() 640 if (ehdr.e_ident[EI_CLASS] == ELFCLASS32) in consider_executable() 651 *elfclass = ehdr.e_ident[EI_CLASS]; in consider_executable() 652 else if (*elfclass != ehdr.e_ident[EI_CLASS]) in consider_executable()
|
/external/elfutils/src/libdw/ |
D | encoded-value.h | 54 return e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8; in encoded_value_size() 76 width = width ?: cache->e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8; in __libdw_cfi_read_address_inc()
|
D | dwarf_frame_cfa.c | 65 fs->cache->e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8, 4,
|
D | dwarf_frame_register.c | 100 unsigned int address_size = (fs->cache->e_ident[EI_CLASS] == ELFCLASS32
|
D | cie.c | 125 = cache->e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8; in intern_new_cie()
|
D | dwarf_next_cfi.c | 138 uint_fast8_t address_size = e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8;
|
/external/lldb/source/Plugins/ObjectFile/ELF/ |
D | ELFHeader.h | 84 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/libunwind/src/coredump/ |
D | _UCD_create.c | 114 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/src/libelf/ |
D | elf_begin.c | 90 bool is32 = e_ident[EI_CLASS] == ELFCLASS32; in get_shnum() 252 if (unlikely ((e_ident[EI_CLASS] != ELFCLASS32 in file_read_elf() 253 && e_ident[EI_CLASS] != ELFCLASS64) in file_read_elf() 270 if (e_ident[EI_CLASS] == ELFCLASS32) in file_read_elf() 298 elf->class = e_ident[EI_CLASS]; in file_read_elf() 300 if (e_ident[EI_CLASS] == ELFCLASS32) in file_read_elf() 570 if ((size_t) nread >= (mem.header[EI_CLASS] == ELFCLASS32 in read_unmmaped_file()
|
D | elf-knowledge.h | 102 && (Ehdr)->e_ident[EI_CLASS] == ELFCLASS64) ? 8 : 4)
|
D | common.h | 53 int eclass = (int) ((unsigned char *) buf)[EI_CLASS]; in determine_kind()
|
/external/libunwind/src/ |
D | elfxx.h | 93 && e_ident[EI_CLASS] == ELF_CLASS && e_ident[EI_VERSION] != EV_NONE in elf_w() 111 return e_ident[EI_CLASS] == ELF_CLASS && e_ident[EI_VERSION] != EV_NONE in elf_w()
|
/external/valgrind/coregrind/ |
D | launcher-linux.c | 202 if (n_bytes >= sizeof(Elf32_Ehdr) && header[EI_CLASS] == ELFCLASS32) { in select_platform() 238 } else if (n_bytes >= sizeof(Elf64_Ehdr) && header[EI_CLASS] == ELFCLASS64) { in select_platform()
|
/external/llvm/include/llvm/Support/ |
D | ELF.h | 54 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()
|
/external/elfutils/src/libasm/ |
D | asm_begin.c | 103 ehdr->e_ident[EI_CLASS] = class; in prepare_binary_output()
|
/external/ltrace/ |
D | ltrace-elf.c | 397 && (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/ |
D | obj_int_extract.c | 249 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/elfutils/src/tests/ |
D | asm-tst1.c | 39 [EI_CLASS] = ELFCLASS32,
|
D | saridx.c | 202 ehdr.e_ident[EI_CLASS] == ELFCLASS32 in main()
|
D | asm-tst2.c | 39 [EI_CLASS] = ELFCLASS32,
|
/external/icu/icu4c/source/tools/toolutil/ |
D | pkg_genc.c | 718 buffer.header32.e_ident[EI_CLASS]<ELFCLASS32 || buffer.header32.e_ident[EI_CLASS]>ELFCLASS64 in getArchitecture() 724 …*pBits= buffer.header32.e_ident[EI_CLASS]==ELFCLASS32 ? 32 : 64; /* only 32 or 64: see check above… in getArchitecture()
|