Lines Matching refs:swap
32 swap = (u.c[sizeof(int32_t) - 1] + 1) != elfhdr.e_ident[EI_DATA];
34 type = elf_getu16(swap, elfhdr.e_type);
39 if (dophn_core(ms, clazz, swap, fd,
40 (off_t)elf_getu(swap, elfhdr.e_phoff),
41 elf_getu16(swap, elfhdr.e_phnum),
42 (size_t)elf_getu16(swap, elfhdr.e_phentsize),
49 if (dophn_exec(ms, clazz, swap, fd,
50 (off_t)elf_getu(swap, elfhdr.e_phoff),
51 elf_getu16(swap, elfhdr.e_phnum),
52 (size_t)elf_getu16(swap, elfhdr.e_phentsize),
53 fsize, &flags, elf_getu16(swap, elfhdr.e_shnum))
58 if (doshn(ms, clazz, swap, fd,
59 (off_t)elf_getu(swap, elfhdr.e_shoff),
60 elf_getu16(swap, elfhdr.e_shnum),
61 (size_t)elf_getu16(swap, elfhdr.e_shentsize),
62 fsize, &flags, elf_getu16(swap, elfhdr.e_machine),
63 (int)elf_getu16(swap, elfhdr.e_shstrndx)) == -1)