Lines Matching refs:LC
122 for (const LoadCommand &LC : O.LoadCommands) in totalSize() local
123 for (const std::unique_ptr<Section> &S : LC.Sections) { in totalSize()
167 for (const LoadCommand &LC : O.LoadCommands) { in writeLoadCommands() local
169 MachO::macho_load_command MLC = LC.MachOLoadCommand; in writeLoadCommands()
177 for (const std::unique_ptr<Section> &Sec : LC.Sections) in writeLoadCommands()
187 for (const std::unique_ptr<Section> &Sec : LC.Sections) in writeLoadCommands()
194 assert(sizeof(MachO::LCStruct) + LC.Payload.size() == \ in writeLoadCommands()
200 if (!LC.Payload.empty()) \ in writeLoadCommands()
201 memcpy(Begin, LC.Payload.data(), LC.Payload.size()); \ in writeLoadCommands()
202 Begin += LC.Payload.size(); \ in writeLoadCommands()
208 assert(sizeof(MachO::load_command) + LC.Payload.size() == in writeLoadCommands()
214 if (!LC.Payload.empty()) in writeLoadCommands()
215 memcpy(Begin, LC.Payload.data(), LC.Payload.size()); in writeLoadCommands()
216 Begin += LC.Payload.size(); in writeLoadCommands()
249 for (const LoadCommand &LC : O.LoadCommands) in writeSections() local
250 for (const std::unique_ptr<Section> &Sec : LC.Sections) { in writeSections()