Home
last modified time | relevance | path

Searched refs:EI_DATA (Results 1 – 25 of 74) sorted by relevance

123

/external/elfutils/libelf/
Delf32_checksum.c76 same_byte_order = ((ident[EI_DATA] == ELFDATA2LSB in elfw2()
78 || (ident[EI_DATA] == ELFDATA2MSB in elfw2()
145 if (INTUSE(elfw2(LIBELFBITS,xlatetof)) (data, data, ident[EI_DATA]) in elfw2()
155 if (INTUSE(elfw2(LIBELFBITS,xlatetom)) (data, data, ident[EI_DATA]) in elfw2()
Delf_getshdrstrndx.c110 && elf->state.elf32.ehdr->e_ident[EI_DATA] == MY_ELFDATA in elf_getshdrstrndx()
151 if (elf->state.elf32.ehdr->e_ident[EI_DATA] != MY_ELFDATA) in elf_getshdrstrndx()
175 && elf->state.elf64.ehdr->e_ident[EI_DATA] == MY_ELFDATA in elf_getshdrstrndx()
216 if (elf->state.elf64.ehdr->e_ident[EI_DATA] != MY_ELFDATA) in elf_getshdrstrndx()
Delf_begin.c92 if (e_ident[EI_DATA] == MY_ELFDATA in get_shnum()
115 if (e_ident[EI_DATA] != MY_ELFDATA) in get_shnum()
131 if (e_ident[EI_DATA] != MY_ELFDATA) in get_shnum()
151 if (likely (map_address != NULL) && e_ident[EI_DATA] == MY_ELFDATA in get_shnum()
185 if (e_ident[EI_DATA] != MY_ELFDATA) in get_shnum()
210 if (likely (map_address != NULL) && e_ident[EI_DATA] == MY_ELFDATA in get_shnum()
242 if (e_ident[EI_DATA] != MY_ELFDATA) in get_shnum()
275 || (e_ident[EI_DATA] != ELFDATA2LSB in file_read_elf()
276 && e_ident[EI_DATA] != ELFDATA2MSB))) in file_read_elf()
335 if (map_address != NULL && e_ident[EI_DATA] == MY_ELFDATA in file_read_elf()
[all …]
Delf32_updatenull.c66 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()
Delf32_getphdr.c110 if (ehdr->e_ident[EI_DATA] == MY_ELFDATA in ElfW2()
136 if (ehdr->e_ident[EI_DATA] == MY_ELFDATA) in ElfW2()
205 if (ehdr->e_ident[EI_DATA] != MY_ELFDATA) in ElfW2()
Delf32_getshdr.c101 || ehdr->e_ident[EI_DATA] != MY_ELFDATA in ElfW2()
108 if (ehdr->e_ident[EI_DATA] == MY_ELFDATA) in ElfW2()
186 if (ehdr->e_ident[EI_DATA] != MY_ELFDATA) in ElfW2()
Dcommon.h54 int data = (int) ((unsigned char *) buf)[EI_DATA]; in determine_kind()
/external/minijail/
Delfparse.c77 if ((pHeader[EI_DATA] == ELFDATA2LSB) && in get_elf_linkage()
81 } else if ((pHeader[EI_DATA] == ELFDATA2MSB) && in get_elf_linkage()
85 } else if ((pHeader[EI_DATA] == ELFDATA2LSB) && in get_elf_linkage()
89 } else if ((pHeader[EI_DATA] == ELFDATA2MSB) && in get_elf_linkage()
/external/elfutils/libdwfl/
Delf-from-memory.c131 if (elf32_xlatetom (&xlateto, &xlatefrom, buffer[EI_DATA]) == NULL) in elf_from_remote_memory()
152 if (elf64_xlatetom (&xlateto, &xlatefrom, buffer[EI_DATA]) == NULL) in elf_from_remote_memory()
258 ehdr.e32.e_ident[EI_DATA]) == NULL) in elf_from_remote_memory()
269 ehdr.e64.e_ident[EI_DATA]) == NULL) in elf_from_remote_memory()
348 ehdr.e32.e_ident[EI_DATA]) == NULL) in elf_from_remote_memory()
375 ehdr.e64.e_ident[EI_DATA]) == NULL) in elf_from_remote_memory()
Dlinux-core-attach.c155 val32 = (elf_getident (core, NULL)[EI_DATA] == ELFDATA2MSB in core_next_thread()
208 val32 = (elf_getident (core, NULL)[EI_DATA] == ELFDATA2MSB in core_set_initial_registers()
225 val32 = (elf_getident (core, NULL)[EI_DATA] == ELFDATA2MSB in core_set_initial_registers()
232 val64 = (elf_getident (core, NULL)[EI_DATA] == ELFDATA2MSB in core_set_initial_registers()
267 val32 = (elf_getident (core, NULL)[EI_DATA] == ELFDATA2MSB in core_set_initial_registers()
275 val64 = (elf_getident (core, NULL)[EI_DATA] == ELFDATA2MSB in core_set_initial_registers()
402 val32 = (elf_getident (core, NULL)[EI_DATA] == ELFDATA2MSB in dwfl_core_file_attach()
Dlink_map.c643 vaddr = (ehdr.e_ident[EI_DATA] == ELFDATA2MSB in consider_executable()
646 vaddr = (ehdr.e_ident[EI_DATA] == ELFDATA2MSB in consider_executable()
658 *elfdata = ehdr.e_ident[EI_DATA]; in consider_executable()
659 else if (*elfdata != ehdr.e_ident[EI_DATA]) in consider_executable()
/external/linux-kselftest/tools/testing/selftests/kvm/lib/
Delf.c54 && (ident[EI_DATA] == ELFDATA2LSB)) in elfhdr_get()
56 && (ident[EI_DATA] == ELFDATA2MSB)), "Current " in elfhdr_get()
67 ident[EI_DATA], ELFDATA2LSB, ELFDATA2MSB); in elfhdr_get()
/external/elfutils/tests/
Delfshphehdr.c84 ehdr.e_ident[EI_DATA] = ELFDATANONE; /* Ask for native encoding. */ in test()
93 check ("EI_DATA", ehdr.e_ident[EI_DATA] != ELFDATANONE); in test()
134 check ("EI_DATA", ehdr.e_ident[EI_DATA] != ELFDATANONE); in test()
/external/elfutils/libebl/
Deblobjnote.c93 elf_getident (ebl->elf, NULL)[EI_DATA]) == NULL) in ebl_object_note()
177 NULL)[EI_DATA]) == NULL) in ebl_object_note()
344 NULL)[EI_DATA]) == NULL) in ebl_object_note()
388 elfident[EI_DATA]) == NULL) in ebl_object_note()
432 elfident[EI_DATA]) == NULL) in ebl_object_note()
/external/elfutils/libasm/
Dasm_addint8.c79 bool is_leb = (elf_getident (asmscn->ctx->out.elf, NULL)[EI_DATA] in FCT()
93 bool is_leb = (elf_getident (asmscn->ctx->out.elf, NULL)[EI_DATA] in FCT()
/external/elfutils/libdw/
Dcfi.h226 { ((BYTE_ORDER == LITTLE_ENDIAN && e_ident[EI_DATA] == ELFDATA2MSB) \
227 || (BYTE_ORDER == BIG_ENDIAN && e_ident[EI_DATA] == ELFDATA2LSB)) }
Ddwarf_getcfi_elf.c61 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()
Ddwarf_begin_elf.c410 if ((BYTE_ORDER == LITTLE_ENDIAN && ehdr->e_ident[EI_DATA] == ELFDATA2MSB) in dwarf_begin_elf()
411 || (BYTE_ORDER == BIG_ENDIAN && ehdr->e_ident[EI_DATA] == ELFDATA2LSB)) in dwarf_begin_elf()
/external/u-boot/drivers/net/pfe_eth/
Dpfe_firmware.c55 if (elf_hdr->e_ident[EI_DATA] != ELFDATA2MSB) { in pfe_load_elf()
57 elf_hdr->e_ident[EI_DATA]); in pfe_load_elf()
/external/elfutils/backends/
Dppc64_resolve_sym.c58 ehdr->e_ident[EI_DATA]) != NULL) in ppc64_resolve_sym_value()
/external/elfutils/libdwelf/
Ddwelf_elf_gnu_debuglink.c92 Elf_Data *d = gelf_xlatetom (elf, &crcdata, &conv, ehdr->e_ident[EI_DATA]); in dwelf_elf_gnu_debuglink()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DELF.h54 EI_DATA = 5, // Data encoding. enumerator
81 unsigned char getDataEncoding() const { return e_ident[EI_DATA]; } in getDataEncoding()
105 unsigned char getDataEncoding() const { return e_ident[EI_DATA]; } in getDataEncoding()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DELF.h55 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/BinaryFormat/
DELF.h53 EI_DATA = 5, // Data encoding. enumerator
82 unsigned char getDataEncoding() const { return e_ident[EI_DATA]; } in getDataEncoding()
108 unsigned char getDataEncoding() const { return e_ident[EI_DATA]; } in getDataEncoding()
/external/llvm/include/llvm/Support/
DELF.h55 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()

123