Home
last modified time | relevance | path

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

12

/external/elfutils/libelf/
Delf32_checksum.c69 same_byte_order = ((ident[EI_DATA] == ELFDATA2LSB
71 || (ident[EI_DATA] == ELFDATA2MSB
125 if (INTUSE(elfw2(LIBELFBITS,xlatetof)) (data, data, ident[EI_DATA])
132 if (INTUSE(elfw2(LIBELFBITS,xlatetom)) (data, data, ident[EI_DATA])
Delf_getshstrndx.c91 && elf->state.elf32.ehdr->e_ident[EI_DATA] == MY_ELFDATA
112 if (elf->state.elf32.ehdr->e_ident[EI_DATA] != MY_ELFDATA)
130 && elf->state.elf64.ehdr->e_ident[EI_DATA] == MY_ELFDATA
151 if (elf->state.elf64.ehdr->e_ident[EI_DATA] != MY_ELFDATA)
Delf32_updatenull.c54 if (unlikely (ehdr->e_ident[EI_DATA] == ELFDATANONE)) in ELFW()
56 ehdr->e_ident[EI_DATA] = in ELFW()
60 else if (unlikely (ehdr->e_ident[EI_DATA] >= ELFDATANUM)) in ELFW()
67 && ehdr->e_ident[EI_DATA] != ELFDATA2LSB) in ELFW()
69 && ehdr->e_ident[EI_DATA] != ELFDATA2MSB)); in ELFW()
Delf_begin.c75 if (likely (map_address != NULL) && e_ident[EI_DATA] == MY_ELFDATA in get_shnum()
92 if (e_ident[EI_DATA] != MY_ELFDATA) in get_shnum()
118 if (likely (map_address != NULL) && e_ident[EI_DATA] == MY_ELFDATA in get_shnum()
136 if (e_ident[EI_DATA] != MY_ELFDATA) in get_shnum()
154 if (likely (map_address != NULL) && e_ident[EI_DATA] == MY_ELFDATA in get_shnum()
172 if (e_ident[EI_DATA] != MY_ELFDATA) in get_shnum()
213 || (e_ident[EI_DATA] != ELFDATA2LSB in file_read_elf()
214 && e_ident[EI_DATA] != ELFDATA2MSB)) in file_read_elf()
248 if (map_address != NULL && e_ident[EI_DATA] == MY_ELFDATA in file_read_elf()
293 if (e_ident[EI_DATA] != MY_ELFDATA) in file_read_elf()
[all …]
Delf32_getshdr.c93 assert (ehdr->e_ident[EI_DATA] != MY_ELFDATA
142 if (ehdr->e_ident[EI_DATA] != MY_ELFDATA)
Delf32_getphdr.c86 if (ehdr->e_ident[EI_DATA] == MY_ELFDATA
167 if (ehdr->e_ident[EI_DATA] != MY_ELFDATA)
Dcommon.h40 int data = (int) ((unsigned char *) buf)[EI_DATA]; in determine_kind()
Delf_getdata.c432 ? elf->state.elf32.ehdr->e_ident[EI_DATA]
433 : elf->state.elf64.ehdr->e_ident[EI_DATA]),
/external/elfutils/libasm/
Dasm_addint8.c64 bool is_leb = (elf_getident (asmscn->ctx->out.elf, NULL)[EI_DATA]
77 bool is_leb = (elf_getident (asmscn->ctx->out.elf, NULL)[EI_DATA]
Dasm_begin.c72 ehdr->e_ident[EI_DATA] = data; in prepare_binary_output()
/external/grub/stage2/
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/libdw/
Ddwarf_begin_elf.c213 if ((BYTE_ORDER == LITTLE_ENDIAN && ehdr->e_ident[EI_DATA] == ELFDATA2MSB)
214 || (BYTE_ORDER == BIG_ENDIAN && ehdr->e_ident[EI_DATA] == ELFDATA2LSB))
/external/libvpx/build/make/
Dobj_int_extract.c256 res &= elf->hdr.e_ident[EI_DATA] == ELFDATA2LSB in parse_elf32_header()
257 || elf->hdr.e_ident[EI_DATA] == ELFDATA2MSB; in parse_elf32_header()
261 elf->le_data = elf->hdr.e_ident[EI_DATA] == ELFDATA2LSB; in parse_elf32_header()
/external/chromium/third_party/icu/source/tools/toolutil/
Dpkg_genc.c703 *pIsBigEndian=(UBool)(pHeader32->e_ident[EI_DATA]==ELFDATA2MSB); in getArchitecture()
1036 header32.e_ident[EI_DATA]= makeBigEndian ? ELFDATA2MSB : ELFDATA2LSB; in writeObjectCode()
1056 header64.e_ident[EI_DATA]= makeBigEndian ? ELFDATA2MSB : ELFDATA2LSB; in writeObjectCode()
/external/icu4c/tools/toolutil/
Dpkg_genc.c703 *pIsBigEndian=(UBool)(pHeader32->e_ident[EI_DATA]==ELFDATA2MSB); in getArchitecture()
1036 header32.e_ident[EI_DATA]= makeBigEndian ? ELFDATA2MSB : ELFDATA2LSB; in writeObjectCode()
1056 header64.e_ident[EI_DATA]= makeBigEndian ? ELFDATA2MSB : ELFDATA2LSB; in writeObjectCode()
/external/elfcopy/
Dfixdwarf.c142 if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB) { in update_dwarf_if_necessary()
147 ASSERT(ehdr->e_ident[EI_DATA] == ELFDATA2MSB); in update_dwarf_if_necessary()
/external/qemu/
Dloader.c330 must_swab = data_order != e_ident[EI_DATA]; in load_elf()
337 if (host_data_order != e_ident[EI_DATA]) in load_elf()
Delf.h1086 #define EI_DATA 5 macro
/external/elfutils/tests/
Dasm-tst1.c32 [EI_DATA] = ELFDATA2LSB,
Dasm-tst2.c32 [EI_DATA] = ELFDATA2LSB,
Dsaridx.c201 ehdr.e_ident[EI_DATA] == ELFDATA2LSB in main()
Dasm-tst9.c40 [EI_DATA] = ELFDATA2LSB,
/external/elfutils/src/
Delflint.c374 if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB in check_elf_header()
375 && ehdr->e_ident[EI_DATA] != ELFDATA2MSB) in check_elf_header()
377 EI_DATA, ehdr->e_ident[EI_DATA]); in check_elf_header()
2311 && ehdr->e_ident[EI_DATA] == ELFDATA2MSB) in check_note()
2313 && ehdr->e_ident[EI_DATA] == ELFDATA2LSB)) in check_note()
2334 && ehdr->e_ident[EI_DATA] == ELFDATA2MSB) in check_note()
2336 && ehdr->e_ident[EI_DATA] == ELFDATA2LSB)) in check_note()
/external/kernel-headers/original/linux/
Delf.h300 #define EI_DATA 5 macro
/external/elfutils/doc/
Delfutils.sgml195 <entry>e_ident[EI_DATA]</entry>
383 <term>e_ident[EI_DATA]</term>

12