Home
last modified time | relevance | path

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

12

/frameworks/base/tools/aapt2/
DDebug.cpp58 printer_->Print("(attr) type="); in Visit()
59 printer_->Print(attr->MaskString()); in Visit()
61 printer_->Print(StringPrintf(" size=%zd", attr->symbols.size())); in Visit()
66 printer_->Print(StringPrintf("(style) size=%zd", style->entries.size())); in Visit()
68 printer_->Print(" parent="); in Visit()
73 printer_->Print("*"); in Visit()
78 printer_->Print(parent_name.package); in Visit()
79 printer_->Print(":"); in Visit()
81 printer_->Print(to_string(parent_name.type)); in Visit()
82 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.h108 virtual void Print(std::ostream* out) const = 0;
177 void Print(std::ostream* out) const override;
195 void Print(std::ostream* out) const override;
207 void Print(std::ostream* out) const override;
240 void Print(std::ostream* out) const override;
256 void Print(std::ostream* out) const override;
275 void Print(std::ostream* out) const override;
288 void Print(std::ostream* out) const override;
318 void Print(std::ostream* out) const override;
338 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.cpp404 printer.Print("# Referenced at ").Println(location.source.to_string()); in WriteKeepSet()
407 printer.Print("-keep class ").Print(entry.first).Println(" { <init>(); }"); in WriteKeepSet()
423 printer.Print("# Referenced at ").Println(location.source.to_string()); in WriteKeepSet()
425 printer.Print("-if class **.R$layout { int ") in WriteKeepSet()
426 .Print(JavaClassGenerator::TransformToFieldName(location.name.entry)) in WriteKeepSet()
429 printer.Print("-keep class ").Print(entry.first.name).Print(" { <init>("); in WriteKeepSet()
430 printer.Print((minimal_keep) ? entry.first.signature : "..."); in WriteKeepSet()
436 printer.Print("# Referenced at ").Println(location.source.to_string()); in WriteKeepSet()
440 printer.Print("-keep class ").Print(entry.first.name).Print(" { <init>("); in WriteKeepSet()
441 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(to_string(name.type)) 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.cpp132 virtual void Print(text::Printer* printer) { } in Print() function in aapt::ManifestExtractor::Element
466 void Print(text::Printer* printer) override { in Print() function in aapt::Manifest
467 printer->Print(StringPrintf("package: name='%s' ", package.data())); in Print()
468 printer->Print(StringPrintf("versionCode='%s' ", in Print()
470 printer->Print(StringPrintf("versionName='%s'", versionName.data())); in Print()
473 printer->Print(StringPrintf(" split='%s'", split->data())); in Print()
476 printer->Print(StringPrintf(" platformBuildVersionName='%s'", platformVersionName->data())); in Print()
478 printer->Print(StringPrintf(" platformBuildVersionName='%d'", *platformVersionNameInt)); in Print()
481 printer->Print(StringPrintf(" platformBuildVersionCode='%s'", platformVersionCode->data())); in Print()
483 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.cpp238 r_txt_printer.Print("default "); in CompileTable()
241 r_txt_printer.Print("public "); in CompileTable()
244 r_txt_printer.Print("private "); in CompileTable()
248 r_txt_printer.Print("int "); in CompileTable()
249 r_txt_printer.Print(to_string(type->type)); in CompileTable()
250 r_txt_printer.Print(" "); in CompileTable()
253 r_txt_printer.Print("int[] styleable "); in CompileTable()
262 r_txt_printer.Print("default int styleable "); in CompileTable()
263 r_txt_printer.Print(entry->name); in CompileTable()
267 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.cpp66 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/base/tools/streaming_proto/java/
Dmain.cpp297 ERRORS.Print(); in main()
/frameworks/base/tools/aapt2/test/
DCommon.h114 value.Print(&out);

12