Lines Matching refs:LP
53 template <class LP> void createOutputSections();
54 template <class LP> void createLoadCommands();
67 template <class LP> void run();
222 template <class LP> class LCSegment final : public LoadCommand {
227 return sizeof(typename LP::segment_command) + in getSize()
228 seg->numNonHiddenSections() * sizeof(typename LP::section); in getSize()
232 using SegmentCommand = typename LP::segment_command; in writeTo()
233 using SectionHeader = typename LP::section; in writeTo()
238 c->cmd = LP::segmentLCType; in writeTo()
546 template <class LP> class LCEncryptionInfo final : public LoadCommand {
549 return sizeof(typename LP::encryption_info_command); in getSize()
553 using EncryptionInfo = typename LP::encryption_info_command; in writeTo()
556 c->cmd = LP::encryptionInfoLCType; in writeTo()
770 template <class LP> void Writer::createLoadCommands() { in createLoadCommands()
773 in.header->addLoadCommand(make<LCSegment<LP>>(seg->name, seg)); in createLoadCommands()
790 in.header->addLoadCommand(make<LCEncryptionInfo<LP>>()); in createLoadCommands()
967 template <class LP> void Writer::createOutputSections() { in createOutputSections()
971 symtabSection = makeSymtabSection<LP>(*stringTableSection); in createOutputSections()
1269 template <class LP> void Writer::run() { in run()
1298 createOutputSections<LP>(); in run()
1306 createLoadCommands<LP>(); in run()
1319 template <class LP> void macho::writeResult() { Writer().run<LP>(); } in writeResult()