Lines Matching refs:LP
53 template <class LP> void createOutputSections();
54 template <class LP> void createLoadCommands();
65 template <class LP> void run();
219 template <class LP> class LCSegment final : public LoadCommand {
224 return sizeof(typename LP::segment_command) + in getSize()
225 seg->numNonHiddenSections() * sizeof(typename LP::section); in getSize()
229 using SegmentCommand = typename LP::segment_command; in writeTo()
230 using Section = typename LP::section; in writeTo()
235 c->cmd = LP::segmentLCType; in writeTo()
511 template <class LP> class LCEncryptionInfo final : public LoadCommand {
514 return sizeof(typename LP::encryption_info_command); in getSize()
518 using EncryptionInfo = typename LP::encryption_info_command; in writeTo()
521 c->cmd = LP::encryptionInfoLCType; in writeTo()
704 template <class LP> void Writer::createLoadCommands() { in createLoadCommands()
707 in.header->addLoadCommand(make<LCSegment<LP>>(seg->name, seg)); in createLoadCommands()
719 in.header->addLoadCommand(make<LCEncryptionInfo<LP>>()); in createLoadCommands()
909 template <class LP> void Writer::createOutputSections() { in createOutputSections()
913 symtabSection = makeSymtabSection<LP>(*stringTableSection); in createOutputSections()
1100 template <class LP> void Writer::run() { in run()
1108 createOutputSections<LP>(); in run()
1115 createLoadCommands<LP>(); in run()
1122 template <class LP> void macho::writeResult() { Writer().run<LP>(); } in writeResult()