Home
last modified time | relevance | path

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

/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.java137 System.out.printf("tdz[%s]%n", zdt.toString()); in printText()
138 System.out.printf("[%-5s, %5s] :[%s]%n", locale.toString(), style.toString(),result); in printText()
139 System.out.printf(" %5s, %5s :[%s] %s%n", "", "", expected, zone); in printText()
211 System.out.printf("[%-5s %s] %24s -> %s(%s)%n", in test_ParseText()
254 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/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/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
/libcore/ojluni/src/test/java/util/concurrent/tck/
DCollection8Test.java374 try { System.err.printf("c=%s%n", c); }
376 System.err.printf("n=%d%n", n);
377 System.err.printf("orig=%s%n", orig);
378 System.err.printf("accepts=%s%n", accepts);
379 System.err.printf("rejects=%s%n", rejects);
380 System.err.printf("survivors=%s%n", survivors);
381 System.err.printf("threwAt=%s%n", threwAt.get());
DJSR166TestCase.java310 System.err.printf(
367 System.out.printf("%n%s: %d%n", toString(), elapsedMillis); in runTestProfiled()
/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()