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

/libcore/luni/src/main/java/libcore/icu/
H A DNativeIDN.java21 return convert(s, flags, true);
26 return convert(s, flags, false);
35 private static String convert(String s, int flags, boolean toAscii) { method in class:NativeIDN
/libcore/jsr166-tests/src/test/java/jsr166/
H A DTimeUnitTest.java20 * convert correctly converts sample values across the units
25 TimeUnit.SECONDS.convert(t,
28 TimeUnit.SECONDS.convert(t,
31 TimeUnit.SECONDS.convert(t,
34 TimeUnit.SECONDS.convert(t,
37 TimeUnit.SECONDS.convert(1000L*t,
40 TimeUnit.SECONDS.convert(1000000L*t,
43 TimeUnit.SECONDS.convert(1000000000L*t,
47 TimeUnit.MILLISECONDS.convert(t,
50 TimeUnit.MILLISECONDS.convert(
[all...]
H A DDelayQueueTest.java99 return unit.convert(n, TimeUnit.NANOSECONDS);
/libcore/luni/src/main/java/java/io/
H A DOutputStreamWriter.java176 private void convert(CharBuffer chars) throws IOException { method in class:OutputStreamWriter
228 * Returns the canonical name of the encoding used by this writer to convert characters to
266 convert(chars);
286 convert(chars);
324 convert(chars);
/libcore/luni/src/main/java/java/util/concurrent/
H A DTimeUnit.java11 * granularity and provides utility methods to convert across units,
51 public long convert(long d, TimeUnit u) { return u.toNanos(d); }
62 public long convert(long d, TimeUnit u) { return u.toMicros(d); }
73 public long convert(long d, TimeUnit u) { return u.toMillis(d); }
84 public long convert(long d, TimeUnit u) { return u.toSeconds(d); }
95 public long convert(long d, TimeUnit u) { return u.toMinutes(d); }
106 public long convert(long d, TimeUnit u) { return u.toHours(d); }
117 public long convert(long d, TimeUnit u) { return u.toDays(d); }
144 // enum classes should not be listed as abstract), method convert
157 * <p>For example, to convert 1
166 public long convert(long sourceDuration, TimeUnit sourceUnit) { method in class:TimeUnit
[all...]
H A DScheduledThreadPoolExecutor.java208 return unit.convert(time - now(), NANOSECONDS);
H A DThreadPoolExecutor.java1682 return unit.convert(keepAliveTime, TimeUnit.NANOSECONDS);
/libcore/dalvik/src/main/java/dalvik/system/profiler/
H A DHprofBinaryToAscii.java41 System.exit(convert(args) ? 0 : 1);
48 private static boolean convert(String[] args) { method in class:HprofBinaryToAscii
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DArraysTest.java1872 Object convertedGolden = converter.convert(golden);
1873 Object convertedTest = converter.convert(test);
2210 Object convert(int[] a) {
2216 Object convert(int[] a) {
2227 Object convert(int[] a) {
2238 Object convert(int[] a) {
2249 Object convert(int[] a) {
2260 Object convert(int[] a) {
2271 Object convert(int[] a) {
2281 abstract Object convert(in method in class:ArraysTest.PrimitiveTypeConverter
[all...]

Completed in 444 milliseconds