Home
last modified time | relevance | path

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

123

/external/elfutils/0.153/libelf/
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])
Delf_getshdrstrndx.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)
Delf_begin.c114 if (e_ident[EI_DATA] == MY_ELFDATA in get_shnum()
137 if (e_ident[EI_DATA] != MY_ELFDATA) in get_shnum()
153 if (e_ident[EI_DATA] != MY_ELFDATA) in get_shnum()
172 if (likely (map_address != NULL) && e_ident[EI_DATA] == MY_ELFDATA in get_shnum()
197 if (e_ident[EI_DATA] != MY_ELFDATA) in get_shnum()
221 if (likely (map_address != NULL) && e_ident[EI_DATA] == MY_ELFDATA in get_shnum()
244 if (e_ident[EI_DATA] != MY_ELFDATA) in get_shnum()
274 || (e_ident[EI_DATA] != ELFDATA2LSB in file_read_elf()
275 && e_ident[EI_DATA] != ELFDATA2MSB))) in file_read_elf()
317 if (map_address != NULL && e_ident[EI_DATA] == MY_ELFDATA in file_read_elf()
[all …]
Delf32_updatenull.c87 if (unlikely (ehdr->e_ident[EI_DATA] == ELFDATANONE)) in ELFW()
89 ehdr->e_ident[EI_DATA] = in ELFW()
93 else if (unlikely (ehdr->e_ident[EI_DATA] >= ELFDATANUM)) in ELFW()
100 && ehdr->e_ident[EI_DATA] != ELFDATA2LSB) in ELFW()
102 && ehdr->e_ident[EI_DATA] != ELFDATA2MSB)); in ELFW()
Delf32_getphdr.c120 if (ehdr->e_ident[EI_DATA] == MY_ELFDATA
146 if (ehdr->e_ident[EI_DATA] == MY_ELFDATA)
205 if (ehdr->e_ident[EI_DATA] != MY_ELFDATA)
Delf32_getshdr.c108 assert (ehdr->e_ident[EI_DATA] != MY_ELFDATA in ElfW2()
114 if (ehdr->e_ident[EI_DATA] == MY_ELFDATA) in ElfW2()
180 if (ehdr->e_ident[EI_DATA] != MY_ELFDATA) in ElfW2()
Dcommon.h75 int data = (int) ((unsigned char *) buf)[EI_DATA]; in determine_kind()
Delf_getdata_rawchunk.c133 if (elf->state.elf32.ehdr->e_ident[EI_DATA] == MY_ELFDATA)
Delf_getdata.c465 ? elf->state.elf32.ehdr->e_ident[EI_DATA]
466 : elf->state.elf64.ehdr->e_ident[EI_DATA]),
/external/elfutils/0.153/libdwfl/
Delf-from-memory.c141 if (elf32_xlatetom (&xlateto, &xlatefrom, buffer[EI_DATA]) == NULL) in elf_from_remote_memory()
157 if (elf64_xlatetom (&xlateto, &xlatefrom, buffer[EI_DATA]) == NULL) in elf_from_remote_memory()
238 ehdr.e32.e_ident[EI_DATA]) == NULL) in elf_from_remote_memory()
248 ehdr.e64.e_ident[EI_DATA]) == NULL) in elf_from_remote_memory()
319 ehdr.e32.e_ident[EI_DATA]) == NULL) in elf_from_remote_memory()
346 ehdr.e64.e_ident[EI_DATA]) == NULL) in elf_from_remote_memory()
Ddwfl_segment_report_module.c206 ((const unsigned char *) buffer)[EI_DATA]) == NULL) in dwfl_segment_report_module()
219 ((const unsigned char *) buffer)[EI_DATA]) == NULL) in dwfl_segment_report_module()
299 if (ehdr.e32.e_ident[EI_DATA] == MY_ELFDATA) in dwfl_segment_report_module()
312 ehdr.e32.e_ident[EI_DATA]) == NULL) in dwfl_segment_report_module()
418 ehdr.e32.e_ident[EI_DATA]) == NULL) in dwfl_segment_report_module()
430 ehdr.e32.e_ident[EI_DATA]) == NULL) in dwfl_segment_report_module()
516 ehdr.e32.e_ident[EI_DATA]) != NULL) in dwfl_segment_report_module()
524 ehdr.e32.e_ident[EI_DATA]) != NULL) in dwfl_segment_report_module()
Dlink_map.c577 vaddr = (ehdr.e_ident[EI_DATA] == ELFDATA2MSB in consider_executable()
580 vaddr = (ehdr.e_ident[EI_DATA] == ELFDATA2MSB in consider_executable()
592 *elfdata = ehdr.e_ident[EI_DATA]; in consider_executable()
593 else if (*elfdata != ehdr.e_ident[EI_DATA]) in consider_executable()
Ddwfl_module_getdwarf.c281 Elf_Data *d = gelf_xlatetom (elf, &crcdata, &conv, ehdr->e_ident[EI_DATA]); in find_debuglink()
360 elf_getident (mod->main.elf, NULL)[EI_DATA]) in find_prelink_address_sync()
434 ehdr.e32.e_ident[EI_DATA]) == NULL)) in find_prelink_address_sync()
471 ehdr.e32.e_ident[EI_DATA]) == NULL)) in find_prelink_address_sync()
/external/elfutils/0.153/libasm/
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]
Dasm_begin.c101 ehdr->e_ident[EI_DATA] = ebl_get_elfdata (ebl); in prepare_binary_output()
/external/valgrind/main/coregrind/
Dlauncher-linux.c182 if (header[EI_DATA] == ELFDATA2LSB) { in select_platform()
201 else if (header[EI_DATA] == ELFDATA2MSB) { in select_platform()
218 if (header[EI_DATA] == ELFDATA2LSB) { in select_platform()
232 } else if (header[EI_DATA] == ELFDATA2MSB) { in select_platform()
/external/elfutils/0.153/libdw/
Dcfi.h246 { ((BYTE_ORDER == LITTLE_ENDIAN && e_ident[EI_DATA] == ELFDATA2MSB) \
247 || (BYTE_ORDER == BIG_ENDIAN && e_ident[EI_DATA] == ELFDATA2LSB)) }
Ddwarf_begin_elf.c339 if ((BYTE_ORDER == LITTLE_ENDIAN && ehdr->e_ident[EI_DATA] == ELFDATA2MSB)
340 || (BYTE_ORDER == BIG_ENDIAN && ehdr->e_ident[EI_DATA] == ELFDATA2LSB))
Ddwarf_getcfi_elf.c82 if ((BYTE_ORDER == LITTLE_ENDIAN && cfi->e_ident[EI_DATA] == ELFDATA2MSB) in allocate_cfi()
83 || (BYTE_ORDER == BIG_ENDIAN && cfi->e_ident[EI_DATA] == ELFDATA2LSB)) in allocate_cfi()
/external/lldb/source/Plugins/ObjectFile/ELF/
DELFHeader.cpp100 if (e_ident[EI_DATA] == ELFDATA2MSB) in GetByteOrder()
102 if (e_ident[EI_DATA] == ELFDATA2LSB) in GetByteOrder()
/external/chromium_org/third_party/android_crazy_linker/src/src/
Dcrazy_linker_elf_loader.cpp126 if (header_.e_ident[EI_DATA] != ELFDATA2LSB) { in ReadElfHeader()
127 error->Format("Not little-endian class: %d", header_.e_ident[EI_DATA]); in ReadElfHeader()
/external/elfutils/0.153/libebl/
Deblobjnote.c111 elf_getident (ebl->elf, NULL)[EI_DATA]) == NULL)
/external/qemu/hw/core/
Dloader.c331 must_swab = data_order != e_ident[EI_DATA]; in load_elf()
338 if (host_data_order != e_ident[EI_DATA]) in load_elf()
/external/chromium_org/third_party/icu/source/tools/toolutil/
Dpkg_genc.c739 *pIsBigEndian=(UBool)(buffer.header32.e_ident[EI_DATA]==ELFDATA2MSB); in getArchitecture()
1073 header32.e_ident[EI_DATA]= makeBigEndian ? ELFDATA2MSB : ELFDATA2LSB; in writeObjectCode()
1093 header64.e_ident[EI_DATA]= makeBigEndian ? ELFDATA2MSB : ELFDATA2LSB; in writeObjectCode()
/external/icu/icu4c/source/tools/toolutil/
Dpkg_genc.c731 *pIsBigEndian=(UBool)(buffer.header32.e_ident[EI_DATA]==ELFDATA2MSB); in getArchitecture()
1065 header32.e_ident[EI_DATA]= makeBigEndian ? ELFDATA2MSB : ELFDATA2LSB; in writeObjectCode()
1085 header64.e_ident[EI_DATA]= makeBigEndian ? ELFDATA2MSB : ELFDATA2LSB; in writeObjectCode()

123