Lines Matching refs:W
30 ObjDumper::ObjDumper(ScopedPrinter &Writer, StringRef ObjName) : W(Writer) { in ObjDumper()
51 static void printAsPrintable(raw_ostream &W, const uint8_t *Start, size_t Len) { in printAsPrintable() argument
53 W << (isPrint(Start[i]) ? static_cast<char>(Start[i]) : '.'); in printAsPrintable()
82 W.startLine() << format("[%6tx] ", CurrentWord - StrContent); in printAsStringList()
83 printAsPrintable(W.startLine(), CurrentWord, WordSize); in printAsStringList()
84 W.startLine() << '\n'; in printAsStringList()
92 W.startLine() << "\n"; in printFileSummary()
93 W.printString("File", FileStr); in printFileSummary()
94 W.printString("Format", Obj.getFileFormatName()); in printFileSummary()
95 W.printString("Arch", Triple::getArchTypeName(Obj.getArch())); in printFileSummary()
96 W.printString("AddressSize", in printFileSummary()
152 W.startLine() << '\n'; in printSectionsAsString()
154 W.startLine() << "String dump of section '" << SectionName << "':\n"; in printSectionsAsString()
170 W.startLine() << '\n'; in printSectionsAsHex()
172 W.startLine() << "Hex dump of section '" << SectionName << "':\n"; in printSectionsAsHex()
184 W.startLine() << format_hex(Section.getAddress() + (SecPtr - SecContent), in printSectionsAsHex()
186 W.startLine() << ' '; in printSectionsAsHex()
190 W.startLine() << format_hex_no_prefix(Val, 2); in printSectionsAsHex()
192 W.startLine() << ' '; in printSectionsAsHex()
201 W.startLine() << format("%*c", (4 - i) * 8 + (4 - i), ' '); in printSectionsAsHex()
203 W.startLine() << format("%*c", 8 - k * 2, ' '); in printSectionsAsHex()
207 W.startLine() << (isPrint(TmpSecPtr[i]) in printSectionsAsHex()
211 W.startLine() << '\n'; in printSectionsAsHex()