Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/tools/aapt2/
H A DDebug.cpp627 printer_->Print( in PrintChunkHeader()
632 printer_->Print( in PrintTable()
647 printer_->Print( in PrintResValue()
669 printer_->Print( in PrintTableType()
671 printer_->Print( in PrintTableType()
774 printer_->Print( in PrintPackage()
776 printer_->Print( in PrintPackage()
778 printer_->Print( in PrintPackage()
780 printer_->Print( in PrintPackage()
782 printer_->Print( in PrintPackage()
[all …]
H A DResourceValues.cpp41 Print(&str_stream); in PrettyPrint()
42 printer->Print(str_stream.str()); in PrettyPrint()
46 value.Print(&out); in operator <<()
174 printer->Print("@"); in PrettyPrintReferenceImpl()
178 printer->Print("?"); in PrettyPrintReferenceImpl()
183 printer->Print("null"); in PrettyPrintReferenceImpl()
188 printer->Print("*"); in PrettyPrintReferenceImpl()
197 printer->Print("/"); in PrettyPrintReferenceImpl()
271 printer->Print("\""); in PrettyPrint()
272 printer->Print(*value); in PrettyPrint()
[all …]
H A DResourceValues.h175 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;
316 void Print(std::ostream* out) const override;
336 void Print(std::ostream* out) const override;
347 void Print(std::ostream* out) const override;
[all …]
/aosp14/frameworks/base/tools/aapt2/java/
H A DClassDefinition.h80 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(" }");
125 printer->Print("final ");
127 printer->Print("String ").Print(name_).Print("=\"").Print(val_).Print("\";");
163 printer->Print("public static final int[] ").Print(name_).Print("={");
175 printer->Print(", ");
[all …]
H A DClassDefinition.cpp27 processor_.Print(printer, strip_api_annotations); in Print()
35 printer->Print(signature_).Println(" {"); in Print()
41 printer->Print("}"); in Print()
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()
96 member->Print(final, printer, strip_api_annotations); in Print()
102 printer->Print("}"); in Print()
116 printer.Print(sWarningHeader).Print("package ").Print(package).Println(";"); in WriteJavaFile()
[all …]
H A 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()
433 printer.Print("-keep class ").Print(entry.first.name).Print(" { <init>("); in WriteKeepSet()
434 printer.Print((minimal_keep) ? entry.first.signature : "..."); 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()
454 printer.Print("# Referenced at ").Println(location.source.to_string()); in WriteKeepSet()
457 printer.Print("-keepclassmembers class * { *** ").Print(entry.first.name) in WriteKeepSet()
[all …]
H A 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()
H A 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()
H A 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()
H A DAnnotationProcessor.h68 void Print(text::Printer* printer, bool strip_api_annotations = false) const;
/aosp14/frameworks/base/tools/aapt2/dump/
H A DDumpManifest.cpp132 printer->Print("\n"); in Print()
139 printer->Print("\n"); in Print()
669 printer->Print("\n"); in PrintFull()
767 printer->Print("\n"); in Print()
912 printer->Print("\n"); in Print()
980 printer->Print("\n"); in PrintScreens()
1830 printer->Print( in Print()
1866 printer->Print( in Print()
2460 el->Print(printer); in Print()
2856 printer->Print("\n"); in Dump()
[all …]
/aosp14/frameworks/base/tools/aapt2/text/
H A 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
H A DPrinter_test.cpp34 printer.Print("Hello"); in TEST()
48 printer.Print("world!"); in TEST()
H A DPrinter.h34 Printer& Print(android::StringPiece str);
/aosp14/system/core/cli-test/
H A Dcli-test.cpp66 static void Print(Color c, const char* lhs, const char* fmt, ...) { in Print() function
216 Print(kGreen, "[==========]", " Running %zu tests.", tests.size()); in RunTests()
221 Print(kGreen, "[ RUN ]", " %s", test.name.c_str()); in RunTests()
262 Print(kRed, "[ FAILED ]", " %s (%s)", test.name.c_str(), duration.str().c_str()); in RunTests()
264 Print(kGreen, "[ OK ]", " %s (%s)", test.name.c_str(), duration.str().c_str()); in RunTests()
272 Print(kGreen, "[==========]", " %zu tests ran. (%s total)", tests.size(), duration.str().c_str()); in RunTests()
276 Print(kGreen, "[ PASSED ]", " %zu test%s.", pass_count, Plural(pass_count)); in RunTests()
278 Print(kRed, "[ FAILED ]", " %zu test%s.", fail_count, Plural(fail_count)); in RunTests()
280 Print(kRed, "[ FAILED ]", " %s", failure.c_str()); in RunTests()
/aosp14/frameworks/base/tools/aapt2/cmd/
H A DCompile.cpp240 r_txt_printer.Print("default "); in CompileTable()
243 r_txt_printer.Print("public "); in CompileTable()
246 r_txt_printer.Print("private "); in CompileTable()
250 r_txt_printer.Print("int "); in CompileTable()
252 r_txt_printer.Print(" "); in CompileTable()
269 r_txt_printer.Print("_"); in CompileTable()
272 r_txt_printer.Print("_"); in CompileTable()
440 r_txt_printer.Print("default int id "); in CompileXml()
445 r_txt_printer.Print("default int "); in CompileXml()
446 r_txt_printer.Print(path_data.resource_dir); in CompileXml()
[all …]
H A 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()
H A DDiff.cpp110 value_a->Print(&str_stream); in EmitResourceConfigValueDiff()
112 value_b->Print(&str_stream); in EmitResourceConfigValueDiff()
/aosp14/frameworks/base/tools/streaming_proto/
H A DErrors.h32 void Print() const;
H A DErrors.cpp67 Errors::Print() const in Print() function in android::stream_proto::Errors
/aosp14/system/core/libprocessgroup/
H A Dcgroup_map.h72 void Print() const;
H A Dcgroup_map.cpp164 void CgroupMap::Print() const { in Print() function in CgroupMap
/aosp14/frameworks/base/tools/streaming_proto/cpp/
H A Dmain.cpp191 ERRORS.Print(); in main()
/aosp14/frameworks/base/tools/streaming_proto/java/
H A Dmain.cpp297 ERRORS.Print(); in main()
/aosp14/frameworks/base/tools/aapt2/test/
H A DCommon.h114 value.Print(&out);

12