Lines Matching refs:printer
47 explicit ValueHeadlinePrinter(const std::string& package, Printer* printer) in ValueHeadlinePrinter() argument
48 : package_(package), printer_(printer) { in ValueHeadlinePrinter()
124 explicit ValueBodyPrinter(const std::string& package, Printer* printer) in ValueBodyPrinter() argument
125 : package_(package), printer_(printer) { in ValueBodyPrinter()
254 Printer* printer) { in PrintTable() argument
256 ValueHeadlinePrinter headline_printer(package->name, printer); in PrintTable()
257 ValueBodyPrinter body_printer(package->name, printer); in PrintTable()
259 printer->Print("Package name="); in PrintTable()
260 printer->Print(package->name); in PrintTable()
262 printer->Print(StringPrintf(" id=%02x", package->id.value())); in PrintTable()
264 printer->Println(); in PrintTable()
266 printer->Indent(); in PrintTable()
268 printer->Print("type "); in PrintTable()
269 printer->Print(to_string(type->type)); in PrintTable()
271 printer->Print(StringPrintf(" id=%02x", type->id.value())); in PrintTable()
273 printer->Println(StringPrintf(" entryCount=%zd", type->entries.size())); in PrintTable()
291 printer->Indent(); in PrintTable()
296 printer->Print("resource "); in PrintTable()
297 printer->Print(id.to_string()); in PrintTable()
298 printer->Print(" "); in PrintTable()
301 printer->Print(to_string(type->type)); in PrintTable()
302 printer->Print("/"); in PrintTable()
303 printer->Print(entry->name); in PrintTable()
307 printer->Print(" PUBLIC"); in PrintTable()
310 printer->Print(" _PRIVATE_"); in PrintTable()
317 printer->Println(); in PrintTable()
320 printer->Indent(); in PrintTable()
322 printer->Print("("); in PrintTable()
323 printer->Print(value->config.to_string()); in PrintTable()
324 printer->Print(") "); in PrintTable()
327 printer->Print(" src="); in PrintTable()
328 printer->Print(value->value->GetSource().to_string()); in PrintTable()
330 printer->Println(); in PrintTable()
331 printer->Indent(); in PrintTable()
333 printer->Undent(); in PrintTable()
335 printer->Undent(); in PrintTable()
338 printer->Undent(); in PrintTable()
340 printer->Undent(); in PrintTable()
415 void Debug::DumpResStringPool(const android::ResStringPool* pool, text::Printer* printer) { in DumpResStringPool() argument
419 printer->Print("String pool is unitialized.\n"); in DumpResStringPool()
422 printer->Print("String pool is corrupt/invalid.\n"); in DumpResStringPool()
437 printer->Print(StringPrintf("String pool of %zd unique %s %s strings, %zd entries and %zd styles " in DumpResStringPool()
446 printer->Print(StringPrintf("String #%zd : %s\n", s, str.string())); in DumpResStringPool()
456 explicit XmlPrinter(Printer* printer) : printer_(printer) { in XmlPrinter() argument
525 void Debug::DumpXml(const xml::XmlResource& doc, Printer* printer) { in DumpXml() argument
526 XmlPrinter xml_visitor(printer); in DumpXml()