Home
last modified time | relevance | path

Searched refs:printf (Results 1 – 20 of 20) sorted by relevance

/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestExampleCode.java94 System.out.printf(" Today is %s %s %d-%s-%d%n", now1.getChronology().getId(), in test_chronoPackageExample()
101 System.out.printf(" %20s: %s%n", chrono.getId(), date.toString()); in test_chronoPackageExample()
111 System.out.printf(" %s: 1st of year: %s; end of year: %s%n", last.getChronology().getId(), in test_chronoPackageExample()
132 System.out.printf(" Locale language tag: %s, Chronology ID: %s, type: %s%n", in test_HijrahTypeViaLocale()
145 System.out.printf(" %20s: %s%n", chrono.getId(), date.toString()); in test_calendarPackageExample()
154 System.out.printf(" Today is %s %s %d-%s-%d%n", now1.getChronology().getId(), in test_calendarPackageExample()
164 System.out.printf(" %s: 1st of year: %s; end of year: %s%n", last.getChronology().getId(), in test_calendarPackageExample()
193 System.out.printf(" now: %s, noon tomorrow: %s%n", date, noonTomorrow); in test_library()
DTestChronologyPerf.java47 System.out.printf(" Cold Duration of Chronology.getAvailableChronologies(): %s%n", d); in test_chronologyGetAvailablePerf()
53 System.out.printf(" Warm Duration of Chronology.getAvailableChronologies(): %s%n", d); in test_chronologyGetAvailablePerf()
59 System.out.printf(" Warm Duration of HijrahDate.date(1434, 1, 1): %s%n", d); in test_chronologyGetAvailablePerf()
DTestJapaneseChronology.java223 …System.out.printf("No DateTimeException with %s %d.%02d.%02d%n", era, yearOfEra, month, dayOfMonth… in test_invalidDate()
229 System.out.printf("No DateTimeException with era=%s, year=%d%n", era, yearOfEra); in test_invalidEraYear()
235 …System.out.printf("No DateTimeException with era=%s, year=%d, dayOfYear=%d%n", era, yearOfEra, day… in test_invalidDayYear()
/libcore/benchmarks/src/benchmarks/regression/
DSimpleDateFormatBenchmark.java99 System.out.printf("Creating first SDF: %,d ns\n", end-start); in main()
108 System.out.printf("First parse: %,d ns\n", end-start); in main()
113 System.out.printf("First format: %,d ns\n", end-start); in main()
/libcore/support/src/test/java/libcore/java/io/
DNullPrintStream.java38 public PrintStream printf(String format, Object... args) { return this; } in printf() method in NullPrintStream
39 public PrintStream printf(Locale l, String format, Object... args) { return this; } in printf() method in NullPrintStream
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestZoneTextPrinterParser.java124 System.out.printf("tdz[%s]%n", zdt.toString()); in printText()
125 System.out.printf("[%-5s, %5s] :[%s]%n", locale.toString(), style.toString(),result); in printText()
126 System.out.printf(" %5s, %5s :[%s] %s%n", "", "", expected, zone); in printText()
198 System.out.printf("[%-5s %s] %24s -> %s(%s)%n", in test_ParseText()
241 System.out.printf("[%-5s %s %s %16s] %24s -> %s(%s)%n", in parse()
/libcore/ojluni/src/test/java/time/test/java/util/
DTestFormatter.java162 System.out.printf("%-24s : %s%n", getClassName(dt), out); in test()
165 System.out.printf("%-24s actual: %s%n FAILED; expected: %s%n", in test()
177 System.out.printf("[%s, %s]%n", locale.toString(), fmtStr); in printFmtStr()
/libcore/ojluni/src/test/java/util/stream/
DTestDoubleSumAverage.java154 System.err.printf("Unexpected sum, %g rather than %g.%n", in compareUlpDifference()
163 System.err.printf("Numerical summation error too large, %g ulps rather than %g.%n", in compareUlpDifference()
/libcore/ojluni/annotations/sdk/nullability/java/io/
DPrintWriter.annotated.java110 @libcore.util.NonNull public java.io.PrintWriter printf(@libcore.util.NonNull java.lang.String form… in printf() method in PrintWriter
112 @libcore.util.NonNull public java.io.PrintWriter printf(@libcore.util.Nullable java.util.Locale l, … in printf() method in PrintWriter
/libcore/tools/patch-style/
Dlibcore-patch-style.awk173 printf("Found " g_errors " libcore patch style issues.\n")
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DConsoleTest.java74 assertSame(console, console.printf("%1$tm %1$te,%1$tY", c)); in test_printf_LString_LObject()
DPrintWriterTest.java743 pw.printf("%s %s", "Hello", "World"); in test_printfLjava_lang_String$Ljava_lang_Object()
753 pw.printf(Locale.US, "%s %s", "Hello", "World"); in test_printfLjava_util_Locale_Ljava_lang_String_$Ljava_lang_Object()
DPrintStreamTest.java723 os.printf("%s %s", "Hello", "World"); in test_printfLjava_lang_String$Ljava_lang_Object()
738 os.printf(Locale.US, "%s %s", "Hello", "World"); in test_printfLjava_util_Locale_Ljava_lang_String_$Ljava_lang_Object()
/libcore/ojluni/src/main/java/java/io/
DPrintWriter.java803 public PrintWriter printf(String format, Object ... args) { in printf() method in PrintWriter
854 public PrintWriter printf(Locale l, String format, Object ... args) { in printf() method in PrintWriter
DPrintStream.java899 public PrintStream printf(String format, Object ... args) { in printf() method in PrintStream
949 public PrintStream printf(Locale l, String format, Object ... args) { in printf() method in PrintStream
DConsole.java209 public Console printf(String format, Object ... args) { in printf() method in Console
/libcore/ojluni/annotations/hiddenapi/java/io/
DConsole.java54 public java.io.Console printf(java.lang.String format, java.lang.Object... args) { in printf() method in Console
/libcore/luni/src/test/java/libcore/java/nio/charset/
DCharset_TestGenerator.java207 System.out.printf("0x%x, ", code); in consume()
/libcore/ojluni/src/main/native/
Dnet_util_md.c537 printf ("%02x", addr->s6_addr[i]);
539 printf ("\n");
/libcore/jsr166-tests/src/test/java/jsr166/
DJSR166TestCase.java232 System.err.printf(
289 System.out.printf("%n%s: %d%n", toString(), elapsedMillis); in runTestProfiled()