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