Home
last modified time | relevance | path

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

12

/frameworks/base/tools/aapt2/
DDebug.cpp52 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()
76 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 <<()
93 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;
170 void Print(std::ostream* out) const override;
189 void Print(std::ostream* out) const override;
202 void Print(std::ostream* out) const override;
236 void Print(std::ostream* out) const override;
253 void Print(std::ostream* out) const override;
273 void Print(std::ostream* out) const override;
287 void Print(std::ostream* out) const override;
315 void Print(std::ostream* out) const override;
336 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;
73 void Print(bool final, text::Printer* printer, bool strip_api_annotations = false)
77 ClassMember::Print(final, printer, strip_api_annotations);
79 printer->Print("public static ");
81 printer->Print("final ");
83 printer->Print("int ").Print(name_).Print("=").Print(to_string(val_)).Print(";");
108 void Print(bool final, text::Printer* printer, bool strip_api_annotations = false)
110 ClassMember::Print(final, printer, strip_api_annotations);
112 printer->Print("public static ");
114 printer->Print("final ");
[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.cpp395 printer.Print("# Referenced at ").Println(location.source.to_string()); in WriteKeepSet()
397 printer.Print("-keep class ").Print(entry.first).Println(" { <init>(); }"); in WriteKeepSet()
412 printer.Print("# Referenced at ").Println(location.source.to_string()); in WriteKeepSet()
413 printer.Print("-if class **.R$layout { int ") in WriteKeepSet()
414 .Print(JavaClassGenerator::TransformToFieldName(location.name.entry)) in WriteKeepSet()
417 printer.Print("-keep class ").Print(entry.first.name).Print(" { <init>("); in WriteKeepSet()
418 printer.Print((minimal_keep) ? entry.first.signature : "..."); in WriteKeepSet()
423 printer.Print("# Referenced at ").Println(location.source.to_string()); in WriteKeepSet()
426 printer.Print("-keep class ").Print(entry.first.name).Print(" { <init>("); in WriteKeepSet()
427 printer.Print((minimal_keep) ? entry.first.signature : "..."); in WriteKeepSet()
[all …]
DAnnotationProcessor_test.cpp43 processor.Print(&printer); in TEST()
56 processor.Print(&printer); in TEST()
71 processor.Print(&printer); in TEST()
86 processor.Print(&printer, true /* strip_api_annotations */); in TEST()
DJavaClassGenerator.cpp339 r_txt_printer->Print("int[] styleable ").Print(array_field_name).Print(" {"); in ProcessStyleable()
349 r_txt_printer->Print(","); in ProcessStyleable()
351 r_txt_printer->Print(" ").Print(id.to_string()); in ProcessStyleable()
480 r_txt_printer->Print("int ") in ProcessResource()
481 .Print(to_string(name.type)) in ProcessResource()
482 .Print(" ") in ProcessResource()
483 .Print(field_name) in ProcessResource()
484 .Print(" ") in ProcessResource()
DAnnotationProcessor.h67 void Print(text::Printer* printer, bool strip_api_annotations = false) const;
DAnnotationProcessor.cpp113 void AnnotationProcessor::Print(Printer* printer, bool strip_api_annotations) const { in Print() function in aapt::AnnotationProcessor
/frameworks/base/tools/aapt2/dump/
DDumpManifest.cpp129 virtual void Print(text::Printer* printer) { } in Print() function in aapt::ManifestExtractor::Element
451 void Print(text::Printer* printer) override { in Print() function in aapt::Manifest
452 printer->Print(StringPrintf("package: name='%s' ", package.data())); in Print()
453 printer->Print(StringPrintf("versionCode='%s' ", in Print()
455 printer->Print(StringPrintf("versionName='%s'", versionName.data())); in Print()
458 printer->Print(StringPrintf(" split='%s'", split->data())); in Print()
461 printer->Print(StringPrintf(" platformBuildVersionName='%s'", platformVersionName->data())); in Print()
464 printer->Print(StringPrintf(" platformBuildVersionCode='%s'", platformVersionCode->data())); in Print()
467 printer->Print(StringPrintf(" compileSdkVersion='%d'", *compilesdkVersion)); in Print()
470 printer->Print(StringPrintf(" compileSdkVersionCodename='%s'", 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.cpp243 r_txt_printer.Print("default "); in CompileTable()
246 r_txt_printer.Print("public "); in CompileTable()
249 r_txt_printer.Print("private "); in CompileTable()
253 r_txt_printer.Print("int "); in CompileTable()
254 r_txt_printer.Print(to_string(type->type)); in CompileTable()
255 r_txt_printer.Print(" "); in CompileTable()
258 r_txt_printer.Print("int[] styleable "); in CompileTable()
267 r_txt_printer.Print("default int styleable "); in CompileTable()
268 r_txt_printer.Print(entry->name); in CompileTable()
272 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()
217 printer_->Print(StringPrintf("%s", kBadgerData)); in Action()
218 printer_->Print("Did you mean \"aapt2 dump badging\"?\n"); in Action()
248 GetPrinter()->Print(StringPrintf("%s\n", config.to_string().data())); in Dump()
DDiff.cpp104 value_a->Print(&str_stream); in EmitResourceConfigValueDiff()
106 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/aapt2/test/
DCommon.h114 value.Print(&out);
/frameworks/compile/libbcc/tests/debuginfo/
Dlit.site.cfg95 ## Print common configuration

12