Home
last modified time | relevance | path

Searched refs:printer_ (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/tools/aapt2/
DDebug.cpp48 : package_(package), printer_(printer) { in ValueHeadlinePrinter()
52 printer_->Print("(attr) type="); in Visit()
53 printer_->Print(attr->MaskString()); in Visit()
55 printer_->Print(StringPrintf(" size=%zd", attr->symbols.size())); in Visit()
60 printer_->Print(StringPrintf("(style) size=%zd", style->entries.size())); in Visit()
62 printer_->Print(" parent="); in Visit()
67 printer_->Print("*"); in Visit()
72 printer_->Print(parent_name.package); in Visit()
73 printer_->Print(":"); in Visit()
75 printer_->Print(to_string(parent_name.type)); in Visit()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/python/
Dpython_generator.cc334 printer_ = &printer; in Generate()
336 PrintTopBoilerplate(printer_, file_, GeneratingDescriptorProto()); in Generate()
376 printer_->Print("import importlib\n"); in PrintImports()
377 printer_->Print("$alias$ = importlib.import_module('$name$')\n", "alias", in PrintImports()
390 printer_->Print("$statement$ as $alias$\n", "statement", import_statement, in PrintImports()
396 printer_->Print("\n"); in PrintImports()
401 printer_->Print("from $module$ import *\n", "module", module_name); in PrintImports()
403 printer_->Print("\n"); in PrintImports()
418 printer_->Print(m, file_descriptor_template); in PrintFileDescriptor()
419 printer_->Indent(); in PrintFileDescriptor()
[all …]
Dpython_generator.h164 mutable io::Printer* printer_; // Set in Generate(). Under mutex_. variable
/frameworks/base/tools/aapt2/cmd/
DDump.cpp158 printer_->Println("AAPT2 Container (APC)"); in Action()
163 printer_->Println("kResTable"); in Action()
182 printer_->Indent(); in Action()
183 Debug::PrintTable(table, print_options, printer_); in Action()
184 printer_->Undent(); in Action()
186 printer_->Println("kResFile"); in Action()
206 printer_->Indent(); in Action()
207 DumpCompiledFile(file, Source(container), offset, length, printer_); in Action()
208 printer_->Undent(); in Action()
217 printer_->Print(StringPrintf("%s", kBadgerData)); in Action()
[all …]
DDump.h34 : Command(name), printer_(printer), diag_(diag) { in DumpApkCommand()
39 return printer_; in GetPrinter()
85 text::Printer* printer_;
93 : Command("apc"), printer_(printer), diag_(diag) { in DumpAPCCommand()
103 text::Printer* printer_;
112 explicit DumpBadgerCommand(text::Printer* printer) : Command("badger"), printer_(printer) { in DumpBadgerCommand()
118 text::Printer* printer_;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/
Dmessage_differencer.cc1472 io::ZeroCopyOutputStream* output) : printer_(new io::Printer(output, '$')), in StreamReporter()
1477 io::Printer* printer) : printer_(printer), in StreamReporter()
1482 if (delete_printer_) delete printer_; in ~StreamReporter()
1489 printer_->Print("."); in PrintPath()
1496 printer_->Print("($name$)", "name", in PrintPath()
1499 printer_->PrintRaw(specific_field.field->name()); in PrintPath()
1502 printer_->PrintRaw(SimpleItoa(specific_field.unknown_field_number)); in PrintPath()
1505 printer_->Print("[$name$]", "name", SimpleItoa(specific_field.index)); in PrintPath()
1508 printer_->Print("[$name$]", "name", SimpleItoa(specific_field.new_index)); in PrintPath()
1529 printer_->Print("{ }"); in PrintValue()
[all …]
Dmessage_differencer.h641 io::Printer* printer_;