Lines Matching refs:Print
60 printer_->Print("(attr) type="); in Visit()
61 printer_->Print(attr->MaskString()); in Visit()
63 printer_->Print(StringPrintf(" size=%zd", attr->symbols.size())); in Visit()
68 printer_->Print(StringPrintf("(style) size=%zd", style->entries.size())); in Visit()
70 printer_->Print(" parent="); in Visit()
75 printer_->Print("*"); in Visit()
80 printer_->Print(parent_name.package); in Visit()
81 printer_->Print(":"); in Visit()
83 printer_->Print(parent_name.type.to_string()); in Visit()
84 printer_->Print("/"); in Visit()
85 printer_->Print(parent_name.entry); in Visit()
87 printer_->Print(" ("); in Visit()
88 printer_->Print(parent_ref.id.value().to_string()); in Visit()
89 printer_->Print(")"); in Visit()
92 printer_->Print(parent_ref.id.value().to_string()); in Visit()
94 printer_->Print("???"); in Visit()
100 printer_->Print(StringPrintf("(array) size=%zd", array->elements.size())); in Visit()
106 printer_->Print(StringPrintf("(plurals) size=%zd", count)); in Visit()
141 printer_->Print(symbol.symbol.name.value().entry); in Visit()
144 printer_->Print("("); in Visit()
145 printer_->Print(symbol.symbol.id.value().to_string()); in Visit()
146 printer_->Print(")"); in Visit()
149 printer_->Print(symbol.symbol.id.value().to_string()); in Visit()
151 printer_->Print("???"); in Visit()
164 printer_->Print(name.package); in Visit()
165 printer_->Print(":"); in Visit()
167 printer_->Print(name.entry); in Visit()
170 printer_->Print("("); in Visit()
171 printer_->Print(entry.key.id.value().to_string()); in Visit()
172 printer_->Print(")"); in Visit()
175 printer_->Print(entry.key.id.value().to_string()); in Visit()
177 printer_->Print("???"); in Visit()
180 printer_->Print("="); in Visit()
188 printer_->Print("["); in Visit()
192 printer_->Print(" "); in Visit()
196 printer_->Print(", "); in Visit()
208 printer_->Print(StringPrintf("%s=", kPluralNames[i])); in Visit()
220 printer_->Print(name.package); in Visit()
221 printer_->Print(":"); in Visit()
223 printer_->Print(name.entry); in Visit()
226 printer_->Print("("); in Visit()
227 printer_->Print(attr.id.value().to_string()); in Visit()
228 printer_->Print(")"); in Visit()
233 printer_->Print(attr.id.value().to_string()); in Visit()
266 printer->Print("Package name="); in PrintTable()
267 printer->Print(package.name); in PrintTable()
269 printer->Print(StringPrintf(" id=%02x", package.id.value())); in PrintTable()
275 printer->Print("type "); in PrintTable()
276 printer->Print(to_string(type.type)); in PrintTable()
278 printer->Print(StringPrintf(" id=%02x", type.id.value())); in PrintTable()
284 printer->Print("resource "); in PrintTable()
285 printer->Print(ResourceId(package.id.value_or(0), type.id.value_or(0), entry.id.value_or(0)) in PrintTable()
287 printer->Print(" "); in PrintTable()
290 printer->Print(to_string(type.type)); in PrintTable()
291 printer->Print("/"); in PrintTable()
292 printer->Print(entry.name); in PrintTable()
296 printer->Print(" PUBLIC"); in PrintTable()
299 printer->Print(" _PRIVATE_"); in PrintTable()
307 printer->Print(" STAGED"); in PrintTable()
311 printer->Print(" OVERLAYABLE"); in PrintTable()
315 printer->Print(" STAGED_ID="); in PrintTable()
316 printer->Print(entry.staged_id.value().id.to_string()); in PrintTable()
324 printer->Print("("); in PrintTable()
325 printer->Print(value->config.to_string()); in PrintTable()
326 printer->Print(") "); in PrintTable()
329 printer->Print(" src="); in PrintTable()
330 printer->Print(value->value->GetSource().to_string()); in PrintTable()
421 printer->Print("String pool is unitialized.\n"); in DumpResStringPool()
424 printer->Print("String pool is corrupt/invalid.\n"); in DumpResStringPool()
439 printer->Print(StringPrintf("String pool of %zd unique %s %s strings, %zd entries and %zd styles " in DumpResStringPool()
448 printer->Print(StringPrintf("String #%zd : %s\n", s, str.has_value() ? str->string() : "")); in DumpResStringPool()
468 printer_->Print("E: "); in Visit()
470 printer_->Print(el->namespace_uri); in Visit()
471 printer_->Print(":"); in Visit()
477 printer_->Print("A: "); in Visit()
479 printer_->Print(attr.namespace_uri); in Visit()
480 printer_->Print(":"); in Visit()
482 printer_->Print(attr.name); in Visit()
485 printer_->Print("("); in Visit()
486 printer_->Print(attr.compiled_attribute.value().id.value_or(ResourceId(0)).to_string()); in Visit()
487 printer_->Print(")"); in Visit()
489 printer_->Print("="); in Visit()
493 printer_->Print("\""); in Visit()
494 printer_->Print(attr.value); in Visit()
495 printer_->Print("\""); in Visit()
499 printer_->Print(" (Raw: \""); in Visit()
500 printer_->Print(attr.value); in Visit()
501 printer_->Print("\")"); in Visit()
602 printer_->Print("[RES_STRING_POOL_TYPE]"); in PrintChunkHeader()
605 printer_->Print("[RES_TABLE_LIBRARY_TYPE]"); in PrintChunkHeader()
608 printer_->Print("[ResTable_header]"); in PrintChunkHeader()
611 printer_->Print("[ResTable_package]"); in PrintChunkHeader()
614 printer_->Print("[ResTable_type]"); in PrintChunkHeader()
617 printer_->Print("[RES_TABLE_TYPE_SPEC_TYPE]"); in PrintChunkHeader()
623 printer_->Print(StringPrintf(" chunkSize: %u", util::DeviceToHost32(chunk->size))); in PrintChunkHeader()
624 printer_->Print(StringPrintf(" headerSize: %u", util::DeviceToHost32(chunk->headerSize))); in PrintChunkHeader()
628 printer_->Print( in PrintTable()
641 printer_->Print("[Res_value]"); in PrintResValue()
642 printer_->Print(StringPrintf(" size: %u", util::DeviceToHost32(value->size))); in PrintResValue()
643 printer_->Print(StringPrintf(" dataType: 0x%02x", util::DeviceToHost32(value->dataType))); in PrintResValue()
644 printer_->Print(StringPrintf(" data: 0x%08x", util::DeviceToHost32(value->data))); in PrintResValue()
649 printer_->Print(" ("); in PrintResValue()
651 printer_->Print(")"); in PrintResValue()
654 printer_->Print("\n"); in PrintResValue()
658 printer_->Print(StringPrintf(" id: 0x%02x", util::DeviceToHost32(chunk->id))); in PrintTableType()
659 printer_->Print(StringPrintf( in PrintTableType()
661 printer_->Print(StringPrintf(" flags: 0x%02x", util::DeviceToHost32(chunk->flags))); in PrintTableType()
662 printer_->Print(StringPrintf(" entryCount: %u", util::DeviceToHost32(chunk->entryCount))); in PrintTableType()
663 printer_->Print(StringPrintf(" entryStart: %u", util::DeviceToHost32(chunk->entriesStart))); in PrintTableType()
667 printer_->Print(StringPrintf(" config: %s\n", config.to_string().c_str())); in PrintTableType()
681 printer_->Print((entry->flags & ResTable_entry::FLAG_COMPLEX) ? "[ResTable_map_entry]" in PrintTableType()
683 printer_->Print(StringPrintf(" id: 0x%04x", it.index())); in PrintTableType()
684 printer_->Print(StringPrintf( in PrintTableType()
686 printer_->Print(StringPrintf(" keyIndex: %u", util::DeviceToHost32(entry->key.index))); in PrintTableType()
687 printer_->Print(StringPrintf(" size: %u", util::DeviceToHost32(entry->size))); in PrintTableType()
688 printer_->Print(StringPrintf(" flags: 0x%04x", util::DeviceToHost32(entry->flags))); in PrintTableType()
694 printer_->Print(StringPrintf(" count: 0x%04x", util::DeviceToHost32(map_entry->count))); in PrintTableType()
695 printer_->Print( in PrintTableType()
704 printer_->Print(StringPrintf( in PrintTableType()
710 printer_->Print("\n"); in PrintTableType()
741 printer_->Print("\n"); in PrintStringPool()
744 printer_->Print(StringPrintf("#%zd : %s\n", i, util::GetString(*pool, i).c_str())); in PrintStringPool()
749 printer_->Print(StringPrintf(" id: 0x%02x", util::DeviceToHost32(chunk->id))); in PrintPackage()
758 printer_->Print(StringPrintf("name: %s", String8(package_name.c_str()).c_str())); in PrintPackage()
759 printer_->Print(StringPrintf(" typeStrings: %u", util::DeviceToHost32(chunk->typeStrings))); in PrintPackage()
760 printer_->Print( in PrintPackage()
762 printer_->Print(StringPrintf(" keyStrings: %u", util::DeviceToHost32(chunk->keyStrings))); in PrintPackage()
763 printer_->Print(StringPrintf(" lastPublicKey: %u", util::DeviceToHost32(chunk->lastPublicKey))); in PrintPackage()
764 printer_->Print(StringPrintf(" typeIdOffset: %u\n", util::DeviceToHost32(chunk->typeIdOffset))); in PrintPackage()
799 printer_->Print("\n"); in PrintChunk()
812 void Print() { in Print() function in aapt::__anon545c9ca40511::ChunkPrinter
814 printer_->Print("[End]\n"); in Print()
842 chunk_printer.Print(); in DumpChunks()