/libcore/jsr166-tests/src/test/java/jsr166/ |
D | TimeUnitTest.java | 44 SECONDS.convert(t, DAYS)); in testConvert() 46 SECONDS.convert(t, HOURS)); in testConvert() 48 SECONDS.convert(t, MINUTES)); in testConvert() 50 SECONDS.convert(t, SECONDS)); in testConvert() 52 SECONDS.convert(1000L*t, MILLISECONDS)); in testConvert() 54 SECONDS.convert(1000000L*t, MICROSECONDS)); in testConvert() 56 SECONDS.convert(1000000000L*t, NANOSECONDS)); in testConvert() 59 MILLISECONDS.convert(t, DAYS)); in testConvert() 61 MILLISECONDS.convert(t, HOURS)); in testConvert() 63 MILLISECONDS.convert(t, MINUTES)); in testConvert() [all …]
|
D | DelayQueueTest.java | 122 return unit.convert(n, TimeUnit.NANOSECONDS); in getDelay()
|
/libcore/luni/src/main/java/libcore/icu/ |
D | NativeIDN.java | 21 return convert(s, flags, true); in toASCII() 26 return convert(s, flags, false); in toUnicode() 35 private static String convert(String s, int flags, boolean toAscii) { in convert() method in NativeIDN
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | TimeUnit.java | 54 public long convert(long d, TimeUnit u) { return u.toNanos(d); } in convert() method 69 public long convert(long d, TimeUnit u) { return u.toMicros(d); } in convert() method 84 public long convert(long d, TimeUnit u) { return u.toMillis(d); } in convert() method 99 public long convert(long d, TimeUnit u) { return u.toSeconds(d); } in convert() method 115 public long convert(long d, TimeUnit u) { return u.toMinutes(d); } in convert() method 131 public long convert(long d, TimeUnit u) { return u.toHours(d); } in convert() method 147 public long convert(long d, TimeUnit u) { return u.toDays(d); } in convert() method 195 public long convert(long sourceDuration, TimeUnit sourceUnit) { in convert() method in TimeUnit
|
D | ThreadPoolExecutor.java | 1685 return unit.convert(keepAliveTime, TimeUnit.NANOSECONDS); in getKeepAliveTime()
|
D | ScheduledThreadPoolExecutor.java | 212 return unit.convert(time - now(), NANOSECONDS); in getDelay()
|
/libcore/luni/src/main/java/java/io/ |
D | OutputStreamWriter.java | 179 private void convert(CharBuffer chars) throws IOException { in convert() method in OutputStreamWriter 269 convert(chars); in write() 289 convert(chars); in write() 327 convert(chars); in write()
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
D | HprofBinaryToAscii.java | 41 System.exit(convert(args) ? 0 : 1); in main() 48 private static boolean convert(String[] args) { in convert() method in HprofBinaryToAscii
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | ArraysTest.java | 1872 Object convertedGolden = converter.convert(golden); in test_sort() 1873 Object convertedTest = converter.convert(test); in test_sort() 2210 Object convert(int[] a) { in convert() method 2216 Object convert(int[] a) { in convert() method 2227 Object convert(int[] a) { in convert() method 2238 Object convert(int[] a) { in convert() method 2249 Object convert(int[] a) { in convert() method 2260 Object convert(int[] a) { in convert() method 2271 Object convert(int[] a) { in convert() method 2281 abstract Object convert(int[] a); in convert() method in ArraysTest.PrimitiveTypeConverter
|