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);
38 if (dophn_core(ms, clazz, swap, fd,
39 (off_t)elf_getu(swap, elfhdr.e_phoff),
40 elf_getu16(swap, elfhdr.e_phnum),
41 (size_t)elf_getu16(swap, elfhdr.e_phentsize),
48 if (dophn_exec(ms, clazz, swap, fd,
49 (off_t)elf_getu(swap, elfhdr.e_phoff),
50 elf_getu16(swap, elfhdr.e_phnum),
51 (size_t)elf_getu16(swap, elfhdr.e_phentsize),
52 fsize, &flags, elf_getu16(swap, elfhdr.e_shnum))
57 if (doshn(ms, clazz, swap, fd,
58 (off_t)elf_getu(swap, elfhdr.e_shoff),
59 elf_getu16(swap, elfhdr.e_shnum),
60 (size_t)elf_getu16(swap, elfhdr.e_shentsize),
62 elf_getu16(swap, elfhdr.e_machine)) == -1)