/dports/sysutils/testdisk/testdisk-7.1/src/ |
H A D | file_elf.c | 116 #define EI_DATA 5 /* Data encoding byte index */ macro 123 if(hdr32->e_ident[EI_DATA]!=ELFDATA2LSB && hdr32->e_ident[EI_DATA]!=ELFDATA2MSB) in header_check_elf() 125 if((hdr32->e_ident[EI_DATA]==ELFDATA2LSB ? le32(hdr32->e_version) : be32(hdr32->e_version)) != 1) in header_check_elf() 132 …const uint32_t tmp=(hdr32->e_ident[EI_DATA]==ELFDATA2LSB ? le32(hdr32->e_shoff) : be32(hdr32->e_sh… in header_check_elf() 133 …file_recovery_new->min_filesize=(hdr32->e_ident[EI_DATA]==ELFDATA2LSB ? le32(hdr32->e_phoff) : be3… in header_check_elf() 140 …const uint64_t tmp=(hdr64->e_ident[EI_DATA]==ELFDATA2LSB ? le64(hdr64->e_shoff) : be64(hdr64->e_sh… in header_check_elf() 141 …file_recovery_new->min_filesize=(hdr64->e_ident[EI_DATA]==ELFDATA2LSB ? le64(hdr64->e_phoff) : be6… in header_check_elf()
|
/dports/devel/elfutils/elfutils-0.179/libelf/ |
H A D | elf32_checksum.c | 76 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()
|
H A D | elf_getshdrstrndx.c | 110 && 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()
|
H A D | elf_begin.c | 92 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() 185 if (e_ident[EI_DATA] != MY_ELFDATA) in get_shnum() 242 if (e_ident[EI_DATA] != MY_ELFDATA) in get_shnum() 278 || (e_ident[EI_DATA] != ELFDATA2LSB in file_read_elf() 279 && e_ident[EI_DATA] != ELFDATA2MSB))) in file_read_elf() 338 if (map_address != NULL && e_ident[EI_DATA] == MY_ELFDATA in file_read_elf() 351 if (e_ident[EI_DATA] != MY_ELFDATA) in file_read_elf() 373 if (map_address != NULL && e_ident[EI_DATA] == MY_ELFDATA in file_read_elf() [all …]
|
H A D | elf32_updatenull.c | 70 if (unlikely (ehdr->e_ident[EI_DATA] == ELFDATANONE)) in ELFW() 72 ehdr->e_ident[EI_DATA] = in ELFW() 76 else if (unlikely (ehdr->e_ident[EI_DATA] >= ELFDATANUM)) in ELFW() 83 && ehdr->e_ident[EI_DATA] != ELFDATA2LSB) in ELFW() 85 && ehdr->e_ident[EI_DATA] != ELFDATA2MSB)); in ELFW()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/kernel/ |
H A D | kexec_elf.c | 31 if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB) in elf64_to_cpu() 33 else if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB) in elf64_to_cpu() 41 if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB) in elf32_to_cpu() 43 else if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB) in elf32_to_cpu() 51 if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB) in elf16_to_cpu() 53 else if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB) in elf16_to_cpu() 138 } else if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB && in elf_read_ehdr() 139 ehdr->e_ident[EI_DATA] != ELFDATA2MSB) { in elf_read_ehdr()
|
/dports/multimedia/libv4l/linux-5.13-rc2/kernel/ |
H A D | kexec_elf.c | 31 if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB) in elf64_to_cpu() 33 else if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB) in elf64_to_cpu() 41 if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB) in elf32_to_cpu() 43 else if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB) in elf32_to_cpu() 51 if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB) in elf16_to_cpu() 53 else if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB) in elf16_to_cpu() 138 } else if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB && in elf_read_ehdr() 139 ehdr->e_ident[EI_DATA] != ELFDATA2MSB) { in elf_read_ehdr()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/kernel/ |
H A D | kexec_elf.c | 31 if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB) in elf64_to_cpu() 33 else if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB) in elf64_to_cpu() 41 if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB) in elf32_to_cpu() 43 else if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB) in elf32_to_cpu() 51 if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB) in elf16_to_cpu() 53 else if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB) in elf16_to_cpu() 138 } else if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB && in elf_read_ehdr() 139 ehdr->e_ident[EI_DATA] != ELFDATA2MSB) { in elf_read_ehdr()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/powerpc/boot/ |
H A D | elf_util.c | 26 elf64->e_ident[EI_DATA] == ELFDATA2LSB && in parse_elf64() 28 elf64->e_ident[EI_DATA] == ELFDATA2MSB && in parse_elf64() 61 elf32->e_ident[EI_DATA] == ELFDATA2MSB && in parse_elf32()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/powerpc/boot/ |
H A D | elf_util.c | 26 elf64->e_ident[EI_DATA] == ELFDATA2LSB && in parse_elf64() 28 elf64->e_ident[EI_DATA] == ELFDATA2MSB && in parse_elf64() 61 elf32->e_ident[EI_DATA] == ELFDATA2MSB && in parse_elf32()
|
/dports/multimedia/libv4l/linux-5.13-rc2/arch/powerpc/boot/ |
H A D | elf_util.c | 26 elf64->e_ident[EI_DATA] == ELFDATA2LSB && in parse_elf64() 28 elf64->e_ident[EI_DATA] == ELFDATA2MSB && in parse_elf64() 61 elf32->e_ident[EI_DATA] == ELFDATA2MSB && in parse_elf32()
|
/dports/devel/elfutils/elfutils-0.179/libdwfl/ |
H A D | elf-from-memory.c | 131 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()
|
H A D | linux-core-attach.c | 155 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()
|
/dports/graphics/jogamp-jogl/gluegen/src/java/jogamp/common/os/elf/ |
H A D | ElfHeaderPart1.java | 85 public static final int EI_DATA = 5; field in ElfHeaderPart1 447 return E_ident[EI_DATA]; in getDataEncodingMode() 453 public final boolean isLittleEndian() { return ELFDATA2LSB == E_ident[EI_DATA]; } in isLittleEndian() 457 public final boolean isBigEndian() { return ELFDATA2MSB == E_ident[EI_DATA]; } in isBigEndian() 461 public final boolean isNoneEndian() { return ELFDATANONE == E_ident[EI_DATA]; } in isNoneEndian()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/kvm/lib/ |
H A D | elf.c | 53 && (ident[EI_DATA] == ELFDATA2LSB)) in elfhdr_get() 55 && (ident[EI_DATA] == ELFDATA2MSB)), "Current " in elfhdr_get() 66 ident[EI_DATA], ELFDATA2LSB, ELFDATA2MSB); in elfhdr_get()
|
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/kvm/lib/ |
H A D | elf.c | 53 && (ident[EI_DATA] == ELFDATA2LSB)) in elfhdr_get() 55 && (ident[EI_DATA] == ELFDATA2MSB)), "Current " in elfhdr_get() 66 ident[EI_DATA], ELFDATA2LSB, ELFDATA2MSB); in elfhdr_get()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/kvm/lib/ |
H A D | elf.c | 53 && (ident[EI_DATA] == ELFDATA2LSB)) in elfhdr_get() 55 && (ident[EI_DATA] == ELFDATA2MSB)), "Current " in elfhdr_get() 66 ident[EI_DATA], ELFDATA2LSB, ELFDATA2MSB); in elfhdr_get()
|
/dports/devel/chrpath/chrpath-0.16/ |
H A D | elf.c | 66 (ehdr->e_ident[EI_DATA] != ELFDATA2LSB && in elf_open() 67 ehdr->e_ident[EI_DATA] != ELFDATA2MSB) || in elf_open() 77 swap_bytes_flag = ehdr->e_ident[EI_DATA] != ELFDATA2; in elf_open()
|
/dports/devel/elfsh/elfsh-0.51b3/libelfsh/ |
H A D | elf.c | 246 return (hdr->e_ident[EI_DATA]); in elfsh_get_encoding() 254 hdr->e_ident[EI_DATA] = type; in elfsh_set_encoding() 311 if (file->hdr->e_ident[EI_DATA] == ELFDATA2MSB) 314 if (file->hdr->e_ident[EI_DATA] == ELFDATA2LSB)
|
/dports/archivers/rpm4/rpm-4.16.1.3/tools/ |
H A D | sepdebugcrcfix.c | 221 if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB in process() 222 && ehdr->e_ident[EI_DATA] != ELFDATA2MSB) in process() 272 uint32_t had_crc = (ehdr->e_ident[EI_DATA] == ELFDATA2LSB in process() 286 uint32_t crc_targetendian = (ehdr->e_ident[EI_DATA] == ELFDATA2LSB in process()
|
/dports/devel/elfutils/elfutils-0.179/tests/ |
H A D | elfshphehdr.c | 84 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()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/mips/tools/ |
H A D | elf-entry.c | 65 switch (hdr.ehdr32.e_ident[EI_DATA]) { in main() 82 switch (hdr.ehdr32.e_ident[EI_DATA]) { in main()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/mips/tools/ |
H A D | elf-entry.c | 65 switch (hdr.ehdr32.e_ident[EI_DATA]) { in main() 82 switch (hdr.ehdr32.e_ident[EI_DATA]) { in main()
|
/dports/multimedia/libv4l/linux-5.13-rc2/arch/mips/tools/ |
H A D | elf-entry.c | 65 switch (hdr.ehdr32.e_ident[EI_DATA]) { in main() 82 switch (hdr.ehdr32.e_ident[EI_DATA]) { in main()
|
/dports/devel/elfutils/elfutils-0.179/libasm/ |
H A D | asm_addint8.c | 79 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()
|