Lines Matching refs:TempSec
105 SectionType TempSec; in constructSection() local
106 memcpy(reinterpret_cast<void *>(&TempSec.sectname[0]), &Sec.sectname[0], 16); in constructSection()
107 memcpy(reinterpret_cast<void *>(&TempSec.segname[0]), &Sec.segname[0], 16); in constructSection()
108 TempSec.addr = Sec.addr; in constructSection()
109 TempSec.size = Sec.size; in constructSection()
110 TempSec.offset = Sec.offset; in constructSection()
111 TempSec.align = Sec.align; in constructSection()
112 TempSec.reloff = Sec.reloff; in constructSection()
113 TempSec.nreloc = Sec.nreloc; in constructSection()
114 TempSec.flags = Sec.flags; in constructSection()
115 TempSec.reserved1 = Sec.reserved1; in constructSection()
116 TempSec.reserved2 = Sec.reserved2; in constructSection()
117 return TempSec; in constructSection()
132 auto TempSec = constructSection<MachO::section>(Sec); in writeLoadCommandData() local
134 MachO::swapStruct(TempSec); in writeLoadCommandData()
135 OS.write(reinterpret_cast<const char *>(&(TempSec)), in writeLoadCommandData()
147 auto TempSec = constructSection<MachO::section_64>(Sec); in writeLoadCommandData() local
148 TempSec.reserved3 = Sec.reserved3; in writeLoadCommandData()
150 MachO::swapStruct(TempSec); in writeLoadCommandData()
151 OS.write(reinterpret_cast<const char *>(&(TempSec)), in writeLoadCommandData()