Home
last modified time | relevance | path

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

12

/frameworks/base/tools/aapt2/
DDebug.cpp62 printer_->Print("(attr) type="); in Visit()
63 printer_->Print(attr->MaskString()); in Visit()
65 printer_->Print(StringPrintf(" size=%zd", attr->symbols.size())); in Visit()
70 printer_->Print(StringPrintf("(style) size=%zd", style->entries.size())); in Visit()
72 printer_->Print(" parent="); in Visit()
77 printer_->Print("*"); in Visit()
82 printer_->Print(parent_name.package); in Visit()
83 printer_->Print(":"); in Visit()
85 printer_->Print(parent_name.type.to_string()); in Visit()
86 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 <<()
95 void RawString::Print(std::ostream* out) const { in Print() function in aapt::RawString
144 void Reference::Print(std::ostream* out) const { in Print() function in aapt::Reference
174 printer->Print("@"); in PrettyPrintReferenceImpl()
178 printer->Print("?"); in PrettyPrintReferenceImpl()
183 printer->Print("null"); in PrettyPrintReferenceImpl()
188 printer->Print("*"); in PrettyPrintReferenceImpl()
194 printer->Print(name.to_string()); in PrettyPrintReferenceImpl()
[all …]
DResourceValues.h106 virtual void Print(std::ostream* out) const = 0;
175 void Print(std::ostream* out) const override;
193 void Print(std::ostream* out) const override;
205 void Print(std::ostream* out) const override;
238 void Print(std::ostream* out) const override;
254 void Print(std::ostream* out) const override;
273 void Print(std::ostream* out) const override;
286 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 …]
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); in TEST()
116 processor.Print(&printer); in TEST()
131 processor.Print(&printer, true /* strip_api_annotations */); in TEST()
151 processor.Print(&printer); in TEST()
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.cpp130 void AnnotationProcessor::Print(Printer* printer, bool strip_api_annotations) const { in Print() function in aapt::AnnotationProcessor
150 printer->Print(rule.annotation); in Print()
152 printer->Print("(").Print(it->second).Print(")"); in Print()
154 printer->Print("\n"); in Print()
DJavaClassGenerator.cpp350 r_txt_printer->Print("int[] styleable ").Print(array_field_name).Print(" {"); in ProcessStyleable()
375 r_txt_printer->Print(","); in ProcessStyleable()
377 r_txt_printer->Print(" ").Print(r_txt_contents); in ProcessStyleable()
494 r_txt_printer->Print("int ") in ProcessResource()
495 .Print(name.type.to_string()) in ProcessResource()
496 .Print(" ") in ProcessResource()
497 .Print(field_name) in ProcessResource()
498 .Print(" ") in ProcessResource()
DAnnotationProcessor.h71 void Print(text::Printer* printer, bool strip_api_annotations = false) const;
/frameworks/base/tools/aapt2/dump/
DDumpManifest.cpp126 void Print(text::Printer* printer) { in Print() function in aapt::Architectures
128 printer->Print("native-code:"); in Print()
130 printer->Print(StringPrintf(" '%s'", arch.data())); in Print()
132 printer->Print("\n"); in Print()
135 printer->Print("alt-native-code:"); in Print()
137 printer->Print(StringPrintf(" '%s'", arch.data())); in Print()
139 printer->Print("\n"); in Print()
176 void Print(text::Printer* printer) { in Print() function in aapt::Components
179 printer->Print(StringPrintf("provides-component:'%s'\n", component.data())); in Print()
184 printer->Print("main\n"); 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(StringPiece str) { in Print() function in aapt::text::Printer
DPrinter_test.cpp34 printer.Print("Hello"); in TEST()
48 printer.Print("world!"); in TEST()
DPrinter.h33 Printer& Print(android::StringPiece str);
/frameworks/base/tools/aapt2/cmd/
DCompile.cpp264 r_txt_printer.Print("default "); in CompileTable()
267 r_txt_printer.Print("public "); in CompileTable()
270 r_txt_printer.Print("private "); in CompileTable()
274 r_txt_printer.Print("int "); in CompileTable()
275 r_txt_printer.Print(type->named_type.to_string()); in CompileTable()
276 r_txt_printer.Print(" "); in CompileTable()
279 r_txt_printer.Print("int[] styleable "); in CompileTable()
288 r_txt_printer.Print("default int styleable "); in CompileTable()
289 r_txt_printer.Print(entry->name); in CompileTable()
293 r_txt_printer.Print("_"); in CompileTable()
[all …]
DDump.cpp61 printer->Print("Resource: "); in DumpCompiledFile()
64 printer->Print("Config: "); in DumpCompiledFile()
67 printer->Print("Source: "); in DumpCompiledFile()
70 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/java/
Dmain.cpp37 ERRORS.Print(); in main()
/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.cpp193 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

12