Lines Matching full:writer
59 class Writer BASE_EMBEDDED {
61 explicit Writer(DebugObject* debug_object)
68 ~Writer() {
79 Slot(Writer* w, uintptr_t offset) : w_(w), offset_(offset) { }
94 Writer* w_;
197 virtual void WriteBody(Writer::Slot<THeader> header, Writer* writer) {
198 uintptr_t start = writer->position();
199 if (WriteBodyInternal(writer)) {
200 uintptr_t end = writer->position();
209 virtual bool WriteBodyInternal(Writer* writer) {
263 virtual void PopulateHeader(Writer::Slot<Header> header) {
341 void PopulateHeader(Writer::Slot<Header> header, ELFStringTable* strtab);
343 virtual void WriteBody(Writer::Slot<Header> header, Writer* w) {
352 virtual bool WriteBodyInternal(Writer* w) {
360 virtual void PopulateHeader(Writer::Slot<Header> header) {
395 virtual void PopulateHeader(Writer::Slot<Header> header) {
425 virtual void PopulateHeader(Writer::Slot<Header> header) {
455 void AttachWriter(Writer* w) {
467 virtual void WriteBody(Writer::Slot<Header> header, Writer* w) {
483 Writer* writer_;
490 void ELFSection::PopulateHeader(Writer::Slot<ELFSection::Header> header,
510 void Write(Writer* w, uintptr_t code_start, uintptr_t code_size) {
511 Writer::Slot<MachOHeader> header = WriteHeader(w);
513 Writer::Slot<MachOSegmentCommand> cmd = WriteSegmentCommand(w,
560 Writer::Slot<MachOHeader> WriteHeader(Writer* w) {
562 Writer::Slot<MachOHeader> header = w->CreateSlotHere<MachOHeader>();
583 Writer::Slot<MachOSegmentCommand> WriteSegmentCommand(Writer* w,
586 Writer::Slot<MachOSegmentCommand> cmd =
608 void WriteSections(Writer* w,
609 Writer::Slot<MachOSegmentCommand> cmd,
610 Writer::Slot<MachOHeader> header,
612 Writer::Slot<MachOSection::Header> headers =
637 void Write(Writer* w) {
672 void WriteHeader(Writer* w) {
674 Writer::Slot<ELFHeader> header = w->CreateSlotHere<ELFHeader>();
713 void WriteSectionTable(Writer* w) {
717 Writer::Slot<ELFSection::Header> headers =
735 void WriteSections(Writer* w) {
736 Writer::Slot<ELFSection::Header> headers =
836 void Write(Writer::Slot<SerializedLayout> s, ELFStringTable* t) {
864 virtual void WriteBody(Writer::Slot<Header> header, Writer* w) {
869 Writer::Slot<ELFSymbol::SerializedLayout> symbols =
898 virtual void PopulateHeader(Writer::Slot<Header> header) {
908 Writer::Slot<ELFSymbol::SerializedLayout> dst,
1083 bool WriteBodyInternal(Writer* w) {
1085 Writer::Slot<uint32_t> size = w->CreateSlotHere<uint32_t>();
1108 Writer::Slot<uint32_t> fb_block_size = w->CreateSlotHere<uint32_t>();
1136 Writer::Slot<uint32_t> block_size = w->CreateSlotHere<uint32_t>();
1187 Writer::Slot<uint32_t> block_size = w->CreateSlotHere<uint32_t>();
1200 Writer::Slot<uint32_t> block_size = w->CreateSlotHere<uint32_t>();
1211 Writer::Slot<uint32_t> block_size = w->CreateSlotHere<uint32_t>();
1286 void WriteVariableAbbreviation(Writer* w,
1305 bool WriteBodyInternal(Writer* w) {
1432 bool WriteBodyInternal(Writer* w) {
1434 Writer::Slot<uint32_t> total_length = w->CreateSlotHere<uint32_t>();
1444 Writer::Slot<uint32_t> prologue_length = w->CreateSlotHere<uint32_t>();
1541 void WriteExtendedOpcode(Writer* w,
1572 virtual bool WriteBodyInternal(Writer* w);
1574 int WriteCIE(Writer* w);
1575 void WriteFDE(Writer* w, int);
1577 void WriteFDEStateOnEntry(Writer* w);
1578 void WriteFDEStateAfterRBPPush(Writer* w);
1579 void WriteFDEStateAfterRBPSet(Writer* w);
1580 void WriteFDEStateAfterRBPPop(Writer* w);
1582 void WriteLength(Writer* w,
1583 Writer::Slot<uint32_t>* length_slot,
1638 void UnwindInfoSection::WriteLength(Writer* w,
1639 Writer::Slot<uint32_t>* length_slot,
1663 int UnwindInfoSection::WriteCIE(Writer* w) {
1664 Writer::Slot<uint32_t> cie_length_slot = w->CreateSlotHere<uint32_t>();
1683 void UnwindInfoSection::WriteFDE(Writer* w, int cie_position) {
1685 Writer::Slot<uint32_t> fde_length_slot = w->CreateSlotHere<uint32_t>();
1701 void UnwindInfoSection::WriteFDEStateOnEntry(Writer* w) {
1728 void UnwindInfoSection::WriteFDEStateAfterRBPPush(Writer* w) {
1749 void UnwindInfoSection::WriteFDEStateAfterRBPSet(Writer* w) {
1764 void UnwindInfoSection::WriteFDEStateAfterRBPPop(Writer* w) {
1784 bool UnwindInfoSection::WriteBodyInternal(Writer* w) {
1924 Writer w(&mach_o);
1936 Writer w(&elf);