Searched refs:EI_DATA (Results 1 - 25 of 49) sorted by relevance

12

/external/elfutils/libelf/
H A Delf32_checksum.c103 same_byte_order = ((ident[EI_DATA] == ELFDATA2LSB
105 || (ident[EI_DATA] == ELFDATA2MSB
172 if (INTUSE(elfw2(LIBELFBITS,xlatetof)) (data, data, ident[EI_DATA])
182 if (INTUSE(elfw2(LIBELFBITS,xlatetom)) (data, data, ident[EI_DATA])
H A Delf_getshstrndx.c126 && elf->state.elf32.ehdr->e_ident[EI_DATA] == MY_ELFDATA
148 if (elf->state.elf32.ehdr->e_ident[EI_DATA] != MY_ELFDATA)
164 && elf->state.elf64.ehdr->e_ident[EI_DATA] == MY_ELFDATA
186 if (elf->state.elf64.ehdr->e_ident[EI_DATA] != MY_ELFDATA)
H A Delf32_updatenull.c87 if (unlikely (ehdr->e_ident[EI_DATA] == ELFDATANONE))
89 ehdr->e_ident[EI_DATA] =
93 else if (unlikely (ehdr->e_ident[EI_DATA] >= ELFDATANUM))
100 && ehdr->e_ident[EI_DATA] != ELFDATA2LSB)
102 && ehdr->e_ident[EI_DATA] != ELFDATA2MSB));
H A Delf_begin.c113 if (e_ident[EI_DATA] == MY_ELFDATA
136 if (e_ident[EI_DATA] != MY_ELFDATA)
152 if (e_ident[EI_DATA] != MY_ELFDATA)
171 if (likely (map_address != NULL) && e_ident[EI_DATA] == MY_ELFDATA
196 if (e_ident[EI_DATA] != MY_ELFDATA)
220 if (likely (map_address != NULL) && e_ident[EI_DATA] == MY_ELFDATA
243 if (e_ident[EI_DATA] != MY_ELFDATA)
273 || (e_ident[EI_DATA] != ELFDATA2LSB
274 && e_ident[EI_DATA] != ELFDATA2MSB)))
310 if (map_address != NULL && e_ident[EI_DATA]
[all...]
H A Delf32_getphdr.c111 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)
H A Delf32_getshdr.c108 assert (ehdr->e_ident[EI_DATA] != MY_ELFDATA
114 if (ehdr->e_ident[EI_DATA] == MY_ELFDATA)
180 if (ehdr->e_ident[EI_DATA] != MY_ELFDATA)
H A Dcommon.h75 int data = (int) ((unsigned char *) buf)[EI_DATA];
H A Delf_getdata_rawchunk.c146 if (elf->state.elf32.ehdr->e_ident[EI_DATA] == MY_ELFDATA)
H A Delf_getdata.c465 ? elf->state.elf32.ehdr->e_ident[EI_DATA]
466 : elf->state.elf64.ehdr->e_ident[EI_DATA]),
/external/elfutils/libasm/
H A Dasm_addint8.c78 bool is_leb = (elf_getident (asmscn->ctx->out.elf, NULL)[EI_DATA]
92 bool is_leb = (elf_getident (asmscn->ctx->out.elf, NULL)[EI_DATA]
H A Dasm_begin.c101 ehdr->e_ident[EI_DATA] = ebl_get_elfdata (ebl);
/external/elfutils/libdwfl/
H A Delf-from-memory.c141 if (elf32_xlatetom (&xlateto, &xlatefrom, buffer[EI_DATA]) == NULL)
157 if (elf64_xlatetom (&xlateto, &xlatefrom, buffer[EI_DATA]) == NULL)
238 ehdr.e32.e_ident[EI_DATA]) == NULL)
248 ehdr.e32.e_ident[EI_DATA]) == NULL)
319 ehdr.e32.e_ident[EI_DATA]) == NULL)
346 ehdr.e64.e_ident[EI_DATA]) == NULL)
H A Ddwfl_segment_report_module.c202 ((const unsigned char *) buffer)[EI_DATA]) == NULL)
215 ((const unsigned char *) buffer)[EI_DATA]) == NULL)
294 if (ehdr.e32.e_ident[EI_DATA] == MY_ELFDATA)
307 ehdr.e32.e_ident[EI_DATA]) == NULL)
411 ehdr.e32.e_ident[EI_DATA]) == NULL)
423 ehdr.e32.e_ident[EI_DATA]) == NULL)
505 ehdr.e32.e_ident[EI_DATA]) != NULL)
513 ehdr.e32.e_ident[EI_DATA]) != NULL)
H A Dlink_map.c584 vaddr = (ehdr.e_ident[EI_DATA] == ELFDATA2MSB
587 vaddr = (ehdr.e_ident[EI_DATA] == ELFDATA2MSB
600 *elfdata = ehdr.e_ident[EI_DATA];
601 else if (*elfdata != ehdr.e_ident[EI_DATA])
H A Drelocate.c405 ehdr->e_ident[EI_DATA]);
426 ehdr->e_ident[EI_DATA]);
/external/valgrind/main/coregrind/
H A Dlauncher-linux.c170 if (header[EI_DATA] == ELFDATA2LSB) {
189 else if (header[EI_DATA] == ELFDATA2MSB) {
206 if (header[EI_DATA] == ELFDATA2LSB) {
212 } else if (header[EI_DATA] == ELFDATA2MSB) {
/external/elfutils/libdw/
H A Ddwarf_begin_elf.c260 if ((BYTE_ORDER == LITTLE_ENDIAN && ehdr->e_ident[EI_DATA] == ELFDATA2MSB)
261 || (BYTE_ORDER == BIG_ENDIAN && ehdr->e_ident[EI_DATA] == ELFDATA2LSB))
/external/grub/stage2/
H A Di386-elf.h48 #define EI_DATA 5 /* data type and ordering */ macro
98 & (h.e_ident[EI_CLASS] == ELFCLASS32) & (h.e_ident[EI_DATA] == ELFDATA2LSB) \
/external/elfutils/tests/
H A Dasm-tst1.c48 [EI_DATA] = ELFDATA2LSB,
H A Dasm-tst2.c48 [EI_DATA] = ELFDATA2LSB,
H A Dsaridx.c213 ehdr.e_ident[EI_DATA] == ELFDATA2LSB
H A Dasm-tst9.c56 [EI_DATA] = ELFDATA2LSB,
/external/qemu/
H A Dloader.c330 must_swab = data_order != e_ident[EI_DATA];
337 if (host_data_order != e_ident[EI_DATA])
/external/libvpx/libvpx/build/make/
H A Dobj_int_extract.c235 res &= elf->e_ident[EI_DATA] == ELFDATA2LSB;
239 elf->le_data = elf->e_ident[EI_DATA] == ELFDATA2LSB;
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
H A Delf_mem_image.cc209 switch (base_as_char[EI_DATA]) {
225 RAW_DCHECK(false, "unexpected data encoding"); // << base_as_char[EI_DATA];

Completed in 279 milliseconds

12