Home
last modified time | relevance | path

Searched refs:convert (Results 1 – 9 of 9) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DTimeUnitTest.java25 TimeUnit.SECONDS.convert(t, in testConvert()
28 TimeUnit.SECONDS.convert(t, in testConvert()
31 TimeUnit.SECONDS.convert(t, in testConvert()
34 TimeUnit.SECONDS.convert(t, in testConvert()
37 TimeUnit.SECONDS.convert(1000L*t, in testConvert()
40 TimeUnit.SECONDS.convert(1000000L*t, in testConvert()
43 TimeUnit.SECONDS.convert(1000000000L*t, in testConvert()
47 TimeUnit.MILLISECONDS.convert(t, in testConvert()
50 TimeUnit.MILLISECONDS.convert(t, in testConvert()
53 TimeUnit.MILLISECONDS.convert(t, in testConvert()
[all …]
DDelayQueueTest.java99 return unit.convert(n, TimeUnit.NANOSECONDS); in getDelay()
/libcore/luni/src/main/java/libcore/icu/
DNativeIDN.java21 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/
DTimeUnit.java51 public long convert(long d, TimeUnit u) { return u.toNanos(d); } in convert() method
62 public long convert(long d, TimeUnit u) { return u.toMicros(d); } in convert() method
73 public long convert(long d, TimeUnit u) { return u.toMillis(d); } in convert() method
84 public long convert(long d, TimeUnit u) { return u.toSeconds(d); } in convert() method
95 public long convert(long d, TimeUnit u) { return u.toMinutes(d); } in convert() method
106 public long convert(long d, TimeUnit u) { return u.toHours(d); } in convert() method
117 public long convert(long d, TimeUnit u) { return u.toDays(d); } in convert() method
166 public long convert(long sourceDuration, TimeUnit sourceUnit) { in convert() method in TimeUnit
DScheduledThreadPoolExecutor.java208 return unit.convert(time - now(), NANOSECONDS); in getDelay()
DThreadPoolExecutor.java1682 return unit.convert(keepAliveTime, TimeUnit.NANOSECONDS); in getKeepAliveTime()
/libcore/luni/src/main/java/java/io/
DOutputStreamWriter.java176 private void convert(CharBuffer chars) throws IOException { in convert() method in OutputStreamWriter
266 convert(chars); in write()
286 convert(chars); in write()
324 convert(chars); in write()
/libcore/dalvik/src/main/java/dalvik/system/profiler/
DHprofBinaryToAscii.java41 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/
DArraysTest.java1872 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