Lines Matching defs:Writer

50 class Writer {
52 explicit Writer(DebugObject* debug_object)
58 ~Writer() { base::Free(buffer_); }
65 Slot(Writer* w, uintptr_t offset) : w_(w), offset_(offset) {}
76 Writer* w_;
186 virtual void WriteBody(Writer::Slot<THeader> header, Writer* writer) {
198 virtual bool WriteBodyInternal(Writer* writer) { return false; }
243 virtual void PopulateHeader(Writer::Slot<Header> header) {
313 void PopulateHeader(Writer::Slot<Header> header, ELFStringTable* strtab);
315 void WriteBody(Writer::Slot<Header> header, Writer* w) override {
324 bool WriteBodyInternal(Writer* w) override { return false; }
330 virtual void PopulateHeader(Writer::Slot<Header> header) {
360 virtual void PopulateHeader(Writer::Slot<Header> header) {
385 void PopulateHeader(Writer::Slot<Header> header) override {
416 void AttachWriter(Writer* w) {
426 void WriteBody(Writer::Slot<Header> header, Writer* w) override {
442 Writer* writer_;
448 void ELFSection::PopulateHeader(Writer::Slot<ELFSection::Header> header,
467 void Write(Writer* w, uintptr_t code_start, uintptr_t code_size) {
468 Writer::Slot<MachOHeader> header = WriteHeader(w);
470 Writer::Slot<MachOSegmentCommand> cmd =
515 Writer::Slot<MachOHeader> WriteHeader(Writer* w) {
517 Writer::Slot<MachOHeader> header = w->CreateSlotHere<MachOHeader>();
537 Writer::Slot<MachOSegmentCommand> WriteSegmentCommand(Writer* w,
540 Writer::Slot<MachOSegmentCommand> cmd =
561 void WriteSections(Writer* w, Writer::Slot<MachOSegmentCommand> cmd,
562 Writer::Slot<MachOHeader> header,
564 Writer::Slot<MachOSection::Header> headers =
591 void Write(Writer* w) {
623 void WriteHeader(Writer* w) {
625 Writer::Slot<ELFHeader> header = w->CreateSlotHere<ELFHeader>();
687 void WriteSectionTable(Writer* w) {
691 Writer::Slot<ELFSection::Header> headers =
710 void WriteSections(Writer* w) {
711 Writer::Slot<ELFSection::Header> headers =
794 void Write(Writer::Slot<SerializedLayout> s, ELFStringTable* t) const {
820 void WriteBody(Writer::Slot<Header> header, Writer* w) override {
825 Writer::Slot<ELFSymbol::SerializedLayout> symbols =
853 void PopulateHeader(Writer::Slot<Header> header) override {
863 Writer::Slot<ELFSymbol::SerializedLayout> dst,
1059 bool WriteBodyInternal(Writer* w) override {
1061 Writer::Slot<uint32_t> size = w->CreateSlotHere<uint32_t>();
1084 Writer::Slot<uint32_t> fb_block_size = w->CreateSlotHere<uint32_t>();
1118 Writer::Slot<uint32_t> block_size = w->CreateSlotHere<uint32_t>();
1150 Writer::Slot<uint32_t> block_size = w->CreateSlotHere<uint32_t>();
1161 Writer::Slot<uint32_t> block_size = w->CreateSlotHere<uint32_t>();
1231 void WriteVariableAbbreviation(Writer* w, int abbreviation_code,
1248 bool WriteBodyInternal(Writer* w) override {
1360 bool WriteBodyInternal(Writer* w) override {
1362 Writer::Slot<uint32_t> total_length = w->CreateSlotHere<uint32_t>();
1372 Writer::Slot<uint32_t> prologue_length = w->CreateSlotHere<uint32_t>();
1468 void WriteExtendedOpcode(Writer* w, DWARF2ExtendedOpcode op,
1494 bool WriteBodyInternal(Writer* w) override;
1496 int WriteCIE(Writer* w);
1497 void WriteFDE(Writer* w, int);
1499 void WriteFDEStateOnEntry(Writer* w);
1500 void WriteFDEStateAfterRBPPush(Writer* w);
1501 void WriteFDEStateAfterRBPSet(Writer* w);
1502 void WriteFDEStateAfterRBPPop(Writer* w);
1504 void WriteLength(Writer* w, Writer::Slot<uint32_t>* length_slot,
1558 void UnwindInfoSection::WriteLength(Writer* w,
1559 Writer::Slot<uint32_t>* length_slot,
1583 int UnwindInfoSection::WriteCIE(Writer* w) {
1584 Writer::Slot<uint32_t> cie_length_slot = w->CreateSlotHere<uint32_t>();
1602 void UnwindInfoSection::WriteFDE(Writer* w, int cie_position) {
1604 Writer::Slot<uint32_t> fde_length_slot = w->CreateSlotHere<uint32_t>();
1619 void UnwindInfoSection::WriteFDEStateOnEntry(Writer* w) {
1645 void UnwindInfoSection::WriteFDEStateAfterRBPPush(Writer* w) {
1665 void UnwindInfoSection::WriteFDEStateAfterRBPSet(Writer* w) {
1679 void UnwindInfoSection::WriteFDEStateAfterRBPPop(Writer* w) {
1698 bool UnwindInfoSection::WriteBodyInternal(Writer* w) {
1804 Writer w(&mach_o);
1818 Writer w(&elf);