Lines Matching refs:LP
53 template <class LP> void createOutputSections();
54 template <class LP> void createLoadCommands();
67 template <class LP> void run();
221 template <class LP> class LCSegment final : public LoadCommand {
226 return sizeof(typename LP::segment_command) + in getSize()
227 seg->numNonHiddenSections() * sizeof(typename LP::section); in getSize()
231 using SegmentCommand = typename LP::segment_command; in writeTo()
232 using SectionHeader = typename LP::section; in writeTo()
237 c->cmd = LP::segmentLCType; in writeTo()
545 template <class LP> class LCEncryptionInfo final : public LoadCommand {
548 return sizeof(typename LP::encryption_info_command); in getSize()
552 using EncryptionInfo = typename LP::encryption_info_command; in writeTo()
555 c->cmd = LP::encryptionInfoLCType; in writeTo()
793 template <class LP> void Writer::createLoadCommands() { in createLoadCommands()
796 in.header->addLoadCommand(make<LCSegment<LP>>(seg->name, seg)); in createLoadCommands()
813 in.header->addLoadCommand(make<LCEncryptionInfo<LP>>()); in createLoadCommands()
992 template <class LP> void Writer::createOutputSections() { in createOutputSections()
996 symtabSection = makeSymtabSection<LP>(*stringTableSection); in createOutputSections()
1288 template <class LP> void Writer::run() { in run()
1319 createOutputSections<LP>(); in run()
1327 createLoadCommands<LP>(); in run()
1343 template <class LP> void macho::writeResult() { Writer().run<LP>(); } in writeResult()