Lines Matching refs:Writer
38 class Writer BASE_EMBEDDED {
40 explicit Writer(DebugObject* debug_object) in Writer() function in v8::internal::BASE_EMBEDDED
47 ~Writer() { in ~Writer()
58 Slot(Writer* w, uintptr_t offset) : w_(w), offset_(offset) { } in Slot()
73 Writer* w_;
176 virtual void WriteBody(Writer::Slot<THeader> header, Writer* writer) { in WriteBody()
188 virtual bool WriteBodyInternal(Writer* writer) { in WriteBodyInternal()
237 virtual void PopulateHeader(Writer::Slot<Header> header) { in PopulateHeader()
315 void PopulateHeader(Writer::Slot<Header> header, ELFStringTable* strtab);
317 virtual void WriteBody(Writer::Slot<Header> header, Writer* w) { in WriteBody()
326 virtual bool WriteBodyInternal(Writer* w) { in WriteBodyInternal()
334 virtual void PopulateHeader(Writer::Slot<Header> header) { in PopulateHeader()
369 virtual void PopulateHeader(Writer::Slot<Header> header) { in PopulateHeader()
399 virtual void PopulateHeader(Writer::Slot<Header> header) { in PopulateHeader()
429 void AttachWriter(Writer* w) { in AttachWriter()
441 virtual void WriteBody(Writer::Slot<Header> header, Writer* w) { in WriteBody()
457 Writer* writer_;
464 void ELFSection::PopulateHeader(Writer::Slot<ELFSection::Header> header, in PopulateHeader()
484 void Write(Writer* w, uintptr_t code_start, uintptr_t code_size) { in Write()
485 Writer::Slot<MachOHeader> header = WriteHeader(w); in Write()
487 Writer::Slot<MachOSegmentCommand> cmd = WriteSegmentCommand(w, in Write()
534 Writer::Slot<MachOHeader> WriteHeader(Writer* w) { in WriteHeader()
536 Writer::Slot<MachOHeader> header = w->CreateSlotHere<MachOHeader>(); in WriteHeader()
557 Writer::Slot<MachOSegmentCommand> WriteSegmentCommand(Writer* w, in WriteSegmentCommand()
560 Writer::Slot<MachOSegmentCommand> cmd = in WriteSegmentCommand()
582 void WriteSections(Writer* w, in WriteSections()
583 Writer::Slot<MachOSegmentCommand> cmd, in WriteSections()
584 Writer::Slot<MachOHeader> header, in WriteSections()
586 Writer::Slot<MachOSection::Header> headers = in WriteSections()
611 void Write(Writer* w) { in Write()
646 void WriteHeader(Writer* w) { in WriteHeader()
648 Writer::Slot<ELFHeader> header = w->CreateSlotHere<ELFHeader>(); in WriteHeader()
688 void WriteSectionTable(Writer* w) { in WriteSectionTable()
692 Writer::Slot<ELFSection::Header> headers = in WriteSectionTable()
710 void WriteSections(Writer* w) { in WriteSections()
711 Writer::Slot<ELFSection::Header> headers = in WriteSections()
812 void Write(Writer::Slot<SerializedLayout> s, ELFStringTable* t) { in Write()
840 virtual void WriteBody(Writer::Slot<Header> header, Writer* w) { in WriteBody()
845 Writer::Slot<ELFSymbol::SerializedLayout> symbols = in WriteBody()
874 virtual void PopulateHeader(Writer::Slot<Header> header) { in PopulateHeader()
884 Writer::Slot<ELFSymbol::SerializedLayout> dst, in WriteSymbolsList()
1079 bool WriteBodyInternal(Writer* w) { in WriteBodyInternal()
1081 Writer::Slot<uint32_t> size = w->CreateSlotHere<uint32_t>(); in WriteBodyInternal()
1104 Writer::Slot<uint32_t> fb_block_size = w->CreateSlotHere<uint32_t>(); in WriteBodyInternal()
1134 Writer::Slot<uint32_t> block_size = w->CreateSlotHere<uint32_t>(); in WriteBodyInternal()
1185 Writer::Slot<uint32_t> block_size = w->CreateSlotHere<uint32_t>(); in WriteBodyInternal()
1198 Writer::Slot<uint32_t> block_size = w->CreateSlotHere<uint32_t>(); in WriteBodyInternal()
1209 Writer::Slot<uint32_t> block_size = w->CreateSlotHere<uint32_t>(); in WriteBodyInternal()
1284 void WriteVariableAbbreviation(Writer* w, in WriteVariableAbbreviation()
1303 bool WriteBodyInternal(Writer* w) { in WriteBodyInternal()
1430 bool WriteBodyInternal(Writer* w) { in WriteBodyInternal()
1432 Writer::Slot<uint32_t> total_length = w->CreateSlotHere<uint32_t>(); in WriteBodyInternal()
1442 Writer::Slot<uint32_t> prologue_length = w->CreateSlotHere<uint32_t>(); in WriteBodyInternal()
1539 void WriteExtendedOpcode(Writer* w, in WriteExtendedOpcode()
1570 virtual bool WriteBodyInternal(Writer* w);
1572 int WriteCIE(Writer* w);
1573 void WriteFDE(Writer* w, int);
1575 void WriteFDEStateOnEntry(Writer* w);
1576 void WriteFDEStateAfterRBPPush(Writer* w);
1577 void WriteFDEStateAfterRBPSet(Writer* w);
1578 void WriteFDEStateAfterRBPPop(Writer* w);
1580 void WriteLength(Writer* w,
1581 Writer::Slot<uint32_t>* length_slot,
1636 void UnwindInfoSection::WriteLength(Writer* w, in WriteLength()
1637 Writer::Slot<uint32_t>* length_slot, in WriteLength()
1661 int UnwindInfoSection::WriteCIE(Writer* w) { in WriteCIE()
1662 Writer::Slot<uint32_t> cie_length_slot = w->CreateSlotHere<uint32_t>(); in WriteCIE()
1681 void UnwindInfoSection::WriteFDE(Writer* w, int cie_position) { in WriteFDE()
1683 Writer::Slot<uint32_t> fde_length_slot = w->CreateSlotHere<uint32_t>(); in WriteFDE()
1699 void UnwindInfoSection::WriteFDEStateOnEntry(Writer* w) { in WriteFDEStateOnEntry()
1726 void UnwindInfoSection::WriteFDEStateAfterRBPPush(Writer* w) { in WriteFDEStateAfterRBPPush()
1747 void UnwindInfoSection::WriteFDEStateAfterRBPSet(Writer* w) { in WriteFDEStateAfterRBPSet()
1762 void UnwindInfoSection::WriteFDEStateAfterRBPPop(Writer* w) { in WriteFDEStateAfterRBPPop()
1782 bool UnwindInfoSection::WriteBodyInternal(Writer* w) { in WriteBodyInternal()
1923 Writer w(&mach_o); in CreateELFObject()
1935 Writer w(&elf); in CreateELFObject()