Home
last modified time | relevance | path

Searched refs:Print (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/tools/aapt2/
DDebug.cpp60 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()
[all …]
DResourceValues.cpp41 Print(&str_stream); in PrettyPrint()
42 printer->Print(str_stream.str()); in PrettyPrint()
46 value.Print(&out); in operator <<()
94 void RawString::Print(std::ostream* out) const { in Print() function in aapt::RawString
143 void Reference::Print(std::ostream* out) const { in Print() function in aapt::Reference
173 printer->Print("@"); in PrettyPrintReferenceImpl()
177 printer->Print("?"); in PrettyPrintReferenceImpl()
182 printer->Print("null"); in PrettyPrintReferenceImpl()
187 printer->Print("*"); in PrettyPrintReferenceImpl()
193 printer->Print(name.to_string()); in PrettyPrintReferenceImpl()
[all …]
DResourceValues.h107 virtual void Print(std::ostream* out) const = 0;
176 void Print(std::ostream* out) const override;
194 void Print(std::ostream* out) const override;
206 void Print(std::ostream* out) const override;
239 void Print(std::ostream* out) const override;
255 void Print(std::ostream* out) const override;
274 void Print(std::ostream* out) const override;
287 void Print(std::ostream* out) const override;
317 void Print(std::ostream* out) const override;
337 void Print(std::ostream* out) const override;
[all …]
/frameworks/base/tools/aapt2/java/
DClassDefinition.h53 virtual void Print(bool final, text::Printer* printer, bool strip_api_annotations = false) const;
74 void Print(bool final, text::Printer* printer,
78 ClassMember::Print(final, printer, strip_api_annotations);
80 printer->Print("public static ");
82 printer->Print("final ");
84 printer->Print("int ").Print(name_);
87 printer->Print("; static { ").Print(name_);
89 printer->Print("=").Print(to_string(val_)).Print(";");
91 printer->Print(" }");
119 void Print(bool final, text::Printer* printer, bool strip_api_annotations = false)
[all …]
DClassDefinition.cpp26 void ClassMember::Print(bool /*final*/, Printer* printer, bool strip_api_annotations) const { in Print() function in aapt::ClassMember
27 processor_.Print(printer, strip_api_annotations); in Print()
34 void MethodDefinition::Print(bool final, Printer* printer, bool) const { in Print() function in aapt::MethodDefinition
35 printer->Print(signature_).Println(" {"); in Print()
41 printer->Print("}"); in Print()
77 void ClassDefinition::Print(bool final, Printer* printer, bool strip_api_annotations) const { in Print() function in aapt::ClassDefinition
82 ClassMember::Print(final, printer, strip_api_annotations); in Print()
84 printer->Print("public "); in Print()
86 printer->Print("static "); in Print()
88 printer->Print("final class ").Print(name_).Println(" {"); in Print()
[all …]
DProguardRules.cpp408 printer.Print("# Referenced at ").Println(location.source.to_string()); in WriteKeepSet()
411 printer.Print("-keep class ").Print(entry.first).Println(" { <init>(); }"); in WriteKeepSet()
427 printer.Print("# Referenced at ").Println(location.source.to_string()); in WriteKeepSet()
429 printer.Print("-if class **.R$layout { int ") in WriteKeepSet()
430 .Print(JavaClassGenerator::TransformToFieldName(location.name.entry)) in WriteKeepSet()
433 printer.Print("-keep class ").Print(entry.first.name).Print(" { <init>("); in WriteKeepSet()
434 printer.Print((minimal_keep) ? entry.first.signature : "..."); in WriteKeepSet()
440 printer.Print("# Referenced at ").Println(location.source.to_string()); in WriteKeepSet()
444 printer.Print("-keep class ").Print(entry.first.name).Print(" { <init>("); in WriteKeepSet()
445 printer.Print((minimal_keep) ? entry.first.signature : "..."); in WriteKeepSet()
[all …]
DAnnotationProcessor.cpp126 void AnnotationProcessor::Print(Printer* printer, bool strip_api_annotations) const { in Print() function in aapt::AnnotationProcessor
146 printer->Print(rule.annotation); in Print()
148 printer->Print("(").Print(it->second).Print(")"); in Print()
150 printer->Print("\n"); in Print()
DAnnotationProcessor_test.cpp43 processor.Print(&printer); in TEST()
56 processor.Print(&printer); in TEST()
71 processor.Print(&printer); in TEST()
86 processor.Print(&printer); in TEST()
101 processor.Print(&printer, true /* strip_api_annotations */); in TEST()
DJavaClassGenerator.cpp347 r_txt_printer->Print("int[] styleable ").Print(array_field_name).Print(" {"); in ProcessStyleable()
372 r_txt_printer->Print(","); in ProcessStyleable()
374 r_txt_printer->Print(" ").Print(r_txt_contents); in ProcessStyleable()
491 r_txt_printer->Print("int ") in ProcessResource()
492 .Print(name.type.to_string()) in ProcessResource()
493 .Print(" ") in ProcessResource()
494 .Print(field_name) in ProcessResource()
495 .Print(" ") in ProcessResource()
DAnnotationProcessor.h68 void Print(text::Printer* printer, bool strip_api_annotations = false) const;
/frameworks/base/tools/aapt2/dump/
DDumpManifest.cpp131 virtual void Print(text::Printer* printer) { } in Print() function in aapt::ManifestExtractor::Element
465 void Print(text::Printer* printer) override { in Print() function in aapt::Manifest
466 printer->Print(StringPrintf("package: name='%s' ", package.data())); in Print()
467 printer->Print(StringPrintf("versionCode='%s' ", in Print()
469 printer->Print(StringPrintf("versionName='%s'", versionName.data())); in Print()
472 printer->Print(StringPrintf(" split='%s'", split->data())); in Print()
475 printer->Print(StringPrintf(" platformBuildVersionName='%s'", platformVersionName->data())); in Print()
477 printer->Print(StringPrintf(" platformBuildVersionName='%d'", *platformVersionNameInt)); in Print()
480 printer->Print(StringPrintf(" platformBuildVersionCode='%s'", platformVersionCode->data())); in Print()
482 printer->Print(StringPrintf(" platformBuildVersionCode='%d'", *platformVersionCodeInt)); in Print()
[all …]
/frameworks/base/tools/aapt2/text/
DPrinter.cpp30 Print(str); in Println()
31 return Print("\n"); in Println()
35 return Print("\n"); in Println()
38 Printer& Printer::Print(const StringPiece& str) { in Print() function in aapt::text::Printer
DPrinter_test.cpp34 printer.Print("Hello"); in TEST()
48 printer.Print("world!"); in TEST()
DPrinter.h34 Printer& Print(const ::android::StringPiece& str);
/frameworks/base/tools/aapt2/cmd/
DCompile.cpp237 r_txt_printer.Print("default "); in CompileTable()
240 r_txt_printer.Print("public "); in CompileTable()
243 r_txt_printer.Print("private "); in CompileTable()
247 r_txt_printer.Print("int "); in CompileTable()
248 r_txt_printer.Print(to_string(type->type)); in CompileTable()
249 r_txt_printer.Print(" "); in CompileTable()
252 r_txt_printer.Print("int[] styleable "); in CompileTable()
261 r_txt_printer.Print("default int styleable "); in CompileTable()
262 r_txt_printer.Print(entry->name); in CompileTable()
266 r_txt_printer.Print("_"); in CompileTable()
[all …]
DDump.cpp62 printer->Print("Resource: "); in DumpCompiledFile()
65 printer->Print("Config: "); in DumpCompiledFile()
68 printer->Print("Source: "); in DumpCompiledFile()
71 printer->Print("Type: "); in DumpCompiledFile()
223 printer_->Print(StringPrintf("%s", kBadgerData)); in Action()
224 printer_->Print("Did you mean \"aapt2 dump badging\"?\n"); in Action()
254 GetPrinter()->Print(StringPrintf("%s\n", config.to_string().data())); in Dump()
DDiff.cpp110 value_a->Print(&str_stream); in EmitResourceConfigValueDiff()
112 value_b->Print(&str_stream); in EmitResourceConfigValueDiff()
/frameworks/compile/slang/
DRSCCOptions.td131 HelpText<"Print clang AST prior to llvm IR generation">;
137 HelpText<"Print llvm IR after each pass">;
139 HelpText<"Print llvm IR before each pass">;
151 HelpText<"Print this help text">;
156 HelpText<"Print the assembler version">;
/frameworks/base/tools/streaming_proto/
DErrors.h32 void Print() const;
DErrors.cpp67 Errors::Print() const in Print() function in android::stream_proto::Errors
/frameworks/compile/libbcc/bcinfo/include/bcinfo/Wrap/
DBCHeaderField.h80 void Print() { in Print() function
/frameworks/base/tools/streaming_proto/cpp/
Dmain.cpp191 ERRORS.Print(); in main()
/frameworks/compile/libbcc/bcinfo/Wrap/
Dbitcode_wrapperer.cpp366 for (size_t i = 0; i < header_fields_.size(); i++) header_fields_[i].Print(); in PrintWrapperHeader()
/frameworks/compile/libbcc/tests/debuginfo/
Dlit.site.cfg95 ## Print common configuration
/frameworks/base/tools/aapt2/test/
DCommon.h114 value.Print(&out);

12