Lines Matching refs:TempSec
110 SectionType TempSec; in constructSection() local
111 memcpy(reinterpret_cast<void *>(&TempSec.sectname[0]), &Sec.sectname[0], 16); in constructSection()
112 memcpy(reinterpret_cast<void *>(&TempSec.segname[0]), &Sec.segname[0], 16); in constructSection()
113 TempSec.addr = Sec.addr; in constructSection()
114 TempSec.size = Sec.size; in constructSection()
115 TempSec.offset = Sec.offset; in constructSection()
116 TempSec.align = Sec.align; in constructSection()
117 TempSec.reloff = Sec.reloff; in constructSection()
118 TempSec.nreloc = Sec.nreloc; in constructSection()
119 TempSec.flags = Sec.flags; in constructSection()
120 TempSec.reserved1 = Sec.reserved1; in constructSection()
121 TempSec.reserved2 = Sec.reserved2; in constructSection()
122 return TempSec; in constructSection()
137 auto TempSec = constructSection<MachO::section>(Sec); in writeLoadCommandData() local
139 MachO::swapStruct(TempSec); in writeLoadCommandData()
140 OS.write(reinterpret_cast<const char *>(&(TempSec)), in writeLoadCommandData()
152 auto TempSec = constructSection<MachO::section_64>(Sec); in writeLoadCommandData() local
153 TempSec.reserved3 = Sec.reserved3; in writeLoadCommandData()
155 MachO::swapStruct(TempSec); in writeLoadCommandData()
156 OS.write(reinterpret_cast<const char *>(&(TempSec)), in writeLoadCommandData()