Lines Matching refs:swab32
162 #define swab32(x) \ macro
173 e->e_version = swab32(e->e_version); in convert_elf_hdr()
174 e->e_entry = swab32(e->e_entry); in convert_elf_hdr()
175 e->e_phoff = swab32(e->e_phoff); in convert_elf_hdr()
176 e->e_shoff = swab32(e->e_shoff); in convert_elf_hdr()
177 e->e_flags = swab32(e->e_flags); in convert_elf_hdr()
191 p->p_type = swab32(p->p_type); in convert_elf_phdrs()
192 p->p_offset = swab32(p->p_offset); in convert_elf_phdrs()
193 p->p_vaddr = swab32(p->p_vaddr); in convert_elf_phdrs()
194 p->p_paddr = swab32(p->p_paddr); in convert_elf_phdrs()
195 p->p_filesz = swab32(p->p_filesz); in convert_elf_phdrs()
196 p->p_memsz = swab32(p->p_memsz); in convert_elf_phdrs()
197 p->p_flags = swab32(p->p_flags); in convert_elf_phdrs()
198 p->p_align = swab32(p->p_align); in convert_elf_phdrs()
208 s->sh_name = swab32(s->sh_name); in convert_elf_shdrs()
209 s->sh_type = swab32(s->sh_type); in convert_elf_shdrs()
210 s->sh_flags = swab32(s->sh_flags); in convert_elf_shdrs()
211 s->sh_addr = swab32(s->sh_addr); in convert_elf_shdrs()
212 s->sh_offset = swab32(s->sh_offset); in convert_elf_shdrs()
213 s->sh_size = swab32(s->sh_size); in convert_elf_shdrs()
214 s->sh_link = swab32(s->sh_link); in convert_elf_shdrs()
215 s->sh_info = swab32(s->sh_info); in convert_elf_shdrs()
216 s->sh_addralign = swab32(s->sh_addralign); in convert_elf_shdrs()
217 s->sh_entsize = swab32(s->sh_entsize); in convert_elf_shdrs()
225 f->f_timdat = swab32(f->f_timdat); in convert_ecoff_filehdr()
226 f->f_symptr = swab32(f->f_symptr); in convert_ecoff_filehdr()
227 f->f_nsyms = swab32(f->f_nsyms); in convert_ecoff_filehdr()
236 a->tsize = swab32(a->tsize); in convert_ecoff_aouthdr()
237 a->dsize = swab32(a->dsize); in convert_ecoff_aouthdr()
238 a->bsize = swab32(a->bsize); in convert_ecoff_aouthdr()
239 a->entry = swab32(a->entry); in convert_ecoff_aouthdr()
240 a->text_start = swab32(a->text_start); in convert_ecoff_aouthdr()
241 a->data_start = swab32(a->data_start); in convert_ecoff_aouthdr()
242 a->bss_start = swab32(a->bss_start); in convert_ecoff_aouthdr()
243 a->gprmask = swab32(a->gprmask); in convert_ecoff_aouthdr()
244 a->cprmask[0] = swab32(a->cprmask[0]); in convert_ecoff_aouthdr()
245 a->cprmask[1] = swab32(a->cprmask[1]); in convert_ecoff_aouthdr()
246 a->cprmask[2] = swab32(a->cprmask[2]); in convert_ecoff_aouthdr()
247 a->cprmask[3] = swab32(a->cprmask[3]); in convert_ecoff_aouthdr()
248 a->gp_value = swab32(a->gp_value); in convert_ecoff_aouthdr()
256 s->s_paddr = swab32(s->s_paddr); in convert_ecoff_esecs()
257 s->s_vaddr = swab32(s->s_vaddr); in convert_ecoff_esecs()
258 s->s_size = swab32(s->s_size); in convert_ecoff_esecs()
259 s->s_scnptr = swab32(s->s_scnptr); in convert_ecoff_esecs()
260 s->s_relptr = swab32(s->s_relptr); in convert_ecoff_esecs()
261 s->s_lnnoptr = swab32(s->s_lnnoptr); in convert_ecoff_esecs()
264 s->s_flags = swab32(s->s_flags); in convert_ecoff_esecs()