/external/elfutils/src/libelf/ |
D | elf32_checksum.c | 77 same_byte_order = ((ident[EI_DATA] == ELFDATA2LSB 79 || (ident[EI_DATA] == ELFDATA2MSB 146 if (INTUSE(elfw2(LIBELFBITS,xlatetof)) (data, data, ident[EI_DATA]) 156 if (INTUSE(elfw2(LIBELFBITS,xlatetom)) (data, data, ident[EI_DATA])
|
D | elf_getshdrstrndx.c | 112 && elf->state.elf32.ehdr->e_ident[EI_DATA] == MY_ELFDATA 149 if (elf->state.elf32.ehdr->e_ident[EI_DATA] != MY_ELFDATA) 173 && elf->state.elf64.ehdr->e_ident[EI_DATA] == MY_ELFDATA 210 if (elf->state.elf64.ehdr->e_ident[EI_DATA] != MY_ELFDATA)
|
D | elf_begin.c | 93 if (e_ident[EI_DATA] == MY_ELFDATA in get_shnum() 116 if (e_ident[EI_DATA] != MY_ELFDATA) in get_shnum() 132 if (e_ident[EI_DATA] != MY_ELFDATA) in get_shnum() 152 if (likely (map_address != NULL) && e_ident[EI_DATA] == MY_ELFDATA in get_shnum() 177 if (e_ident[EI_DATA] != MY_ELFDATA) in get_shnum() 202 if (likely (map_address != NULL) && e_ident[EI_DATA] == MY_ELFDATA in get_shnum() 225 if (e_ident[EI_DATA] != MY_ELFDATA) in get_shnum() 255 || (e_ident[EI_DATA] != ELFDATA2LSB in file_read_elf() 256 && e_ident[EI_DATA] != ELFDATA2MSB))) in file_read_elf() 307 if (map_address != NULL && e_ident[EI_DATA] == MY_ELFDATA in file_read_elf() [all …]
|
D | elf32_updatenull.c | 66 if (unlikely (ehdr->e_ident[EI_DATA] == ELFDATANONE)) in ELFW() 68 ehdr->e_ident[EI_DATA] = in ELFW() 72 else if (unlikely (ehdr->e_ident[EI_DATA] >= ELFDATANUM)) in ELFW() 79 && ehdr->e_ident[EI_DATA] != ELFDATA2LSB) in ELFW() 81 && ehdr->e_ident[EI_DATA] != ELFDATA2MSB)); in ELFW()
|
D | elf32_getphdr.c | 111 if (ehdr->e_ident[EI_DATA] == MY_ELFDATA 137 if (ehdr->e_ident[EI_DATA] == MY_ELFDATA) 196 if (ehdr->e_ident[EI_DATA] != MY_ELFDATA)
|
D | elf32_getshdr.c | 101 || ehdr->e_ident[EI_DATA] != MY_ELFDATA in ElfW2() 107 if (ehdr->e_ident[EI_DATA] == MY_ELFDATA) in ElfW2() 173 if (ehdr->e_ident[EI_DATA] != MY_ELFDATA) in ElfW2()
|
D | common.h | 54 int data = (int) ((unsigned char *) buf)[EI_DATA]; in determine_kind()
|
D | elf_getdata_rawchunk.c | 113 if (elf->state.elf32.ehdr->e_ident[EI_DATA] == MY_ELFDATA)
|
D | elf_getdata.c | 446 ? elf->state.elf32.ehdr->e_ident[EI_DATA] 447 : elf->state.elf64.ehdr->e_ident[EI_DATA]),
|
/external/elfutils/src/libdwfl/ |
D | elf-from-memory.c | 125 if (elf32_xlatetom (&xlateto, &xlatefrom, buffer[EI_DATA]) == NULL) in elf_from_remote_memory() 141 if (elf64_xlatetom (&xlateto, &xlatefrom, buffer[EI_DATA]) == NULL) in elf_from_remote_memory() 234 ehdr.e32.e_ident[EI_DATA]) == NULL) in elf_from_remote_memory() 245 ehdr.e64.e_ident[EI_DATA]) == NULL) in elf_from_remote_memory() 321 ehdr.e32.e_ident[EI_DATA]) == NULL) in elf_from_remote_memory() 348 ehdr.e64.e_ident[EI_DATA]) == NULL) in elf_from_remote_memory()
|
D | linux-core-attach.c | 154 val32 = (elf_getident (core, NULL)[EI_DATA] == ELFDATA2MSB in core_next_thread() 205 val32 = (elf_getident (core, NULL)[EI_DATA] == ELFDATA2MSB in core_set_initial_registers() 222 val32 = (elf_getident (core, NULL)[EI_DATA] == ELFDATA2MSB in core_set_initial_registers() 229 val64 = (elf_getident (core, NULL)[EI_DATA] == ELFDATA2MSB in core_set_initial_registers() 264 val32 = (elf_getident (core, NULL)[EI_DATA] == ELFDATA2MSB in core_set_initial_registers() 272 val64 = (elf_getident (core, NULL)[EI_DATA] == ELFDATA2MSB in core_set_initial_registers() 396 val32 = (elf_getident (core, NULL)[EI_DATA] == ELFDATA2MSB in dwfl_core_file_attach()
|
D | link_map.c | 641 vaddr = (ehdr.e_ident[EI_DATA] == ELFDATA2MSB in consider_executable() 644 vaddr = (ehdr.e_ident[EI_DATA] == ELFDATA2MSB in consider_executable() 656 *elfdata = ehdr.e_ident[EI_DATA]; in consider_executable() 657 else if (*elfdata != ehdr.e_ident[EI_DATA]) in consider_executable()
|
/external/elfutils/src/libasm/ |
D | asm_addint8.c | 81 bool is_leb = (elf_getident (asmscn->ctx->out.elf, NULL)[EI_DATA] 95 bool is_leb = (elf_getident (asmscn->ctx->out.elf, NULL)[EI_DATA]
|
D | asm_begin.c | 104 ehdr->e_ident[EI_DATA] = ebl_get_elfdata (ebl); in prepare_binary_output()
|
/external/valgrind/coregrind/ |
D | launcher-linux.c | 205 if (header[EI_DATA] == ELFDATA2LSB) { in select_platform() 224 else if (header[EI_DATA] == ELFDATA2MSB) { in select_platform() 241 if (header[EI_DATA] == ELFDATA2LSB) { in select_platform() 263 } else if (header[EI_DATA] == ELFDATA2MSB) { in select_platform()
|
/external/elfutils/src/libdw/ |
D | cfi.h | 225 { ((BYTE_ORDER == LITTLE_ENDIAN && e_ident[EI_DATA] == ELFDATA2MSB) \ 226 || (BYTE_ORDER == BIG_ENDIAN && e_ident[EI_DATA] == ELFDATA2LSB)) }
|
D | dwarf_getcfi_elf.c | 61 if ((BYTE_ORDER == LITTLE_ENDIAN && cfi->e_ident[EI_DATA] == ELFDATA2MSB) in allocate_cfi() 62 || (BYTE_ORDER == BIG_ENDIAN && cfi->e_ident[EI_DATA] == ELFDATA2LSB)) in allocate_cfi()
|
D | dwarf_begin_elf.c | 355 if ((BYTE_ORDER == LITTLE_ENDIAN && ehdr->e_ident[EI_DATA] == ELFDATA2MSB) 356 || (BYTE_ORDER == BIG_ENDIAN && ehdr->e_ident[EI_DATA] == ELFDATA2LSB))
|
/external/elfutils/src/backends/ |
D | ppc64_resolve_sym.c | 58 ehdr->e_ident[EI_DATA]) != NULL) in ppc64_resolve_sym_value()
|
/external/elfutils/src/libdwelf/ |
D | dwelf_elf_gnu_debuglink.c | 92 Elf_Data *d = gelf_xlatetom (elf, &crcdata, &conv, ehdr->e_ident[EI_DATA]); in dwelf_elf_gnu_debuglink()
|
/external/lldb/source/Plugins/ObjectFile/ELF/ |
D | ELFHeader.cpp | 100 if (e_ident[EI_DATA] == ELFDATA2MSB) in GetByteOrder() 102 if (e_ident[EI_DATA] == ELFDATA2LSB) in GetByteOrder()
|
/external/llvm/include/llvm/Support/ |
D | ELF.h | 55 EI_DATA = 5, // Data encoding. enumerator 82 unsigned char getDataEncoding() const { return e_ident[EI_DATA]; } in getDataEncoding() 106 unsigned char getDataEncoding() const { return e_ident[EI_DATA]; } in getDataEncoding()
|
/external/elfutils/src/libebl/ |
D | eblobjnote.c | 90 elf_getident (ebl->elf, NULL)[EI_DATA]) == NULL)
|
/external/elfutils/src/tests/ |
D | asm-tst1.c | 40 [EI_DATA] = ELFDATA2LSB,
|
/external/google-breakpad/src/common/linux/ |
D | dump_symbols.cc | 402 if (elf_header->e_ident[EI_DATA] == ELFDATA2LSB) { in ElfEndianness() 406 if (elf_header->e_ident[EI_DATA] == ELFDATA2MSB) { in ElfEndianness() 412 elf_header->e_ident[EI_DATA]); in ElfEndianness()
|