Home | History | Annotate | Download | only in src

Lines Matching defs:Writer

41 class Writer BASE_EMBEDDED {
43 explicit Writer(DebugObject* debug_object)
50 ~Writer() {
61 Slot(Writer* w, uintptr_t offset) : w_(w), offset_(offset) { }
76 Writer* w_;
179 virtual void WriteBody(Writer::Slot<THeader> header, Writer* writer) {
180 uintptr_t start = writer->position();
181 if (WriteBodyInternal(writer)) {
182 uintptr_t end = writer->position();
191 virtual bool WriteBodyInternal(Writer* writer) {
240 virtual void PopulateHeader(Writer::Slot<Header> header) {
318 void PopulateHeader(Writer::Slot<Header> header, ELFStringTable* strtab);
320 virtual void WriteBody(Writer::Slot<Header> header, Writer* w) {
329 virtual bool WriteBodyInternal(Writer* w) {
337 virtual void PopulateHeader(Writer::Slot<Header> header) {
368 virtual void PopulateHeader(Writer::Slot<Header> header) {
398 virtual void PopulateHeader(Writer::Slot<Header> header) {
428 void AttachWriter(Writer* w) {
440 virtual void WriteBody(Writer::Slot<Header> header, Writer* w) {
456 Writer* writer_;
463 void ELFSection::PopulateHeader(Writer::Slot<ELFSection::Header> header,
483 void Write(Writer* w, uintptr_t code_start, uintptr_t code_size) {
484 Writer::Slot<MachOHeader> header = WriteHeader(w);
486 Writer::Slot<MachOSegmentCommand> cmd = WriteSegmentCommand(w,
533 Writer::Slot<MachOHeader> WriteHeader(Writer* w) {
535 Writer::Slot<MachOHeader> header = w->CreateSlotHere<MachOHeader>();
556 Writer::Slot<MachOSegmentCommand> WriteSegmentCommand(Writer* w,
559 Writer::Slot<MachOSegmentCommand> cmd =
581 void WriteSections(Writer* w,
582 Writer::Slot<MachOSegmentCommand> cmd,
583 Writer::Slot<MachOHeader> header,
585 Writer::Slot<MachOSection::Header> headers =
611 void Write(Writer* w) {
646 void WriteHeader(Writer* w) {
648 Writer::Slot<ELFHeader> header = w->CreateSlotHere<ELFHeader>();
711 void WriteSectionTable(Writer* w) {
715 Writer::Slot<ELFSection::Header> headers =
733 void WriteSections(Writer* w) {
734 Writer::Slot<ELFSection::Header> headers =
837 void Write(Writer::Slot<SerializedLayout> s, ELFStringTable* t) {
865 virtual void WriteBody(Writer::Slot<Header> header, Writer* w) {
870 Writer::Slot<ELFSymbol::SerializedLayout> symbols =
899 virtual void PopulateHeader(Writer::Slot<Header> header) {
909 Writer::Slot<ELFSymbol::SerializedLayout> dst,
1122 bool WriteBodyInternal(Writer* w) {
1124 Writer::Slot<uint32_t> size = w->CreateSlotHere<uint32_t>();
1147 Writer::Slot<uint32_t> fb_block_size = w->CreateSlotHere<uint32_t>();
1181 Writer::Slot<uint32_t> block_size = w->CreateSlotHere<uint32_t>();
1229 Writer::Slot<uint32_t> block_size = w->CreateSlotHere<uint32_t>();
1242 Writer::Slot<uint32_t> block_size = w->CreateSlotHere<uint32_t>();
1253 Writer::Slot<uint32_t> block_size = w->CreateSlotHere<uint32_t>();
1328 void WriteVariableAbbreviation(Writer* w,
1347 bool WriteBodyInternal(Writer* w) {
1474 bool WriteBodyInternal(Writer* w) {
1476 Writer::Slot<uint32_t> total_length = w->CreateSlotHere<uint32_t>();
1486 Writer::Slot<uint32_t> prologue_length = w->CreateSlotHere<uint32_t>();
1583 void WriteExtendedOpcode(Writer* w,
1614 virtual bool WriteBodyInternal(Writer* w);
1616 int WriteCIE(Writer* w);
1617 void WriteFDE(Writer* w, int);
1619 void WriteFDEStateOnEntry(Writer* w);
1620 void WriteFDEStateAfterRBPPush(Writer* w);
1621 void WriteFDEStateAfterRBPSet(Writer* w);
1622 void WriteFDEStateAfterRBPPop(Writer* w);
1624 void WriteLength(Writer* w,
1625 Writer::Slot<uint32_t>* length_slot,
1680 void UnwindInfoSection::WriteLength(Writer* w,
1681 Writer::Slot<uint32_t>* length_slot,
1705 int UnwindInfoSection::WriteCIE(Writer* w) {
1706 Writer::Slot<uint32_t> cie_length_slot = w->CreateSlotHere<uint32_t>();
1725 void UnwindInfoSection::WriteFDE(Writer* w, int cie_position) {
1727 Writer::Slot<uint32_t> fde_length_slot = w->CreateSlotHere<uint32_t>();
1743 void UnwindInfoSection::WriteFDEStateOnEntry(Writer* w) {
1770 void UnwindInfoSection::WriteFDEStateAfterRBPPush(Writer* w) {
1791 void UnwindInfoSection::WriteFDEStateAfterRBPSet(Writer* w) {
1806 void UnwindInfoSection::WriteFDEStateAfterRBPPop(Writer* w) {
1826 bool UnwindInfoSection::WriteBodyInternal(Writer* w) {
1947 Writer w(&mach_o);
1959 Writer w(&elf);