Lines Matching refs:FatArch
479 FatArchType constructFatArch(MachOYAML::FatArch &Arch) { in constructFatArch()
480 FatArchType FatArch; in constructFatArch() local
481 FatArch.cputype = Arch.cputype; in constructFatArch()
482 FatArch.cpusubtype = Arch.cpusubtype; in constructFatArch()
483 FatArch.offset = Arch.offset; in constructFatArch()
484 FatArch.size = Arch.size; in constructFatArch()
485 FatArch.align = Arch.align; in constructFatArch()
486 return FatArch; in constructFatArch()
490 void writeFatArch(MachOYAML::FatArch &LC, raw_ostream &OS) {} in writeFatArch()
493 void writeFatArch<MachO::fat_arch>(MachOYAML::FatArch &Arch, raw_ostream &OS) { in writeFatArch()
494 auto FatArch = constructFatArch<MachO::fat_arch>(Arch); in writeFatArch() local
496 swapStruct(FatArch); in writeFatArch()
497 OS.write(reinterpret_cast<const char *>(&FatArch), sizeof(MachO::fat_arch)); in writeFatArch()
501 void writeFatArch<MachO::fat_arch_64>(MachOYAML::FatArch &Arch, in writeFatArch()
503 auto FatArch = constructFatArch<MachO::fat_arch_64>(Arch); in writeFatArch() local
504 FatArch.reserved = Arch.reserved; in writeFatArch()
506 swapStruct(FatArch); in writeFatArch()
507 OS.write(reinterpret_cast<const char *>(&FatArch), in writeFatArch()