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 phnum = elf_getu16(swap, elfhdr.e_phnum);
43 if (dophn_core(ms, clazz, swap, fd,
44 CAST(zend_off_t, elf_getu(swap, elfhdr.e_phoff)), phnum,
45 CAST(size_t, elf_getu16(swap, elfhdr.e_phentsize)),
52 phnum = elf_getu16(swap, elfhdr.e_phnum);
55 shnum = elf_getu16(swap, elfhdr.e_shnum);
58 if (dophn_exec(ms, clazz, swap, fd,
59 CAST(zend_off_t, elf_getu(swap, elfhdr.e_phoff)), phnum,
60 CAST(size_t, elf_getu16(swap, elfhdr.e_phentsize)),
65 shnum = elf_getu16(swap, elfhdr.e_shnum);
68 if (doshn(ms, clazz, swap, fd,
69 CAST(zend_off_t, elf_getu(swap, elfhdr.e_shoff)), shnum,
70 CAST(size_t, elf_getu16(swap, elfhdr.e_shentsize)),
71 fsize, elf_getu16(swap, elfhdr.e_machine),
72 CAST(int, elf_getu16(swap, elfhdr.e_shstrndx)),