/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | TimeUnitTest.java | 68 SECONDS.convert(t, DAYS)); in testConvert() 70 SECONDS.convert(t, HOURS)); in testConvert() 72 SECONDS.convert(t, MINUTES)); in testConvert() 74 SECONDS.convert(t, SECONDS)); in testConvert() 76 SECONDS.convert(1000L*t, MILLISECONDS)); in testConvert() 78 SECONDS.convert(1000000L*t, MICROSECONDS)); in testConvert() 80 SECONDS.convert(1000000000L*t, NANOSECONDS)); in testConvert() 83 MILLISECONDS.convert(t, DAYS)); in testConvert() 85 MILLISECONDS.convert(t, HOURS)); in testConvert() 87 MILLISECONDS.convert(t, MINUTES)); in testConvert() [all …]
|
D | DelayQueueTest.java | 130 return unit.convert(n, TimeUnit.NANOSECONDS); in getDelay()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | TimeUnit.java | 85 public long convert(long d, TimeUnit u) { return u.toNanos(d); } in convert() method 100 public long convert(long d, TimeUnit u) { return u.toMicros(d); } in convert() method 115 public long convert(long d, TimeUnit u) { return u.toMillis(d); } in convert() method 130 public long convert(long d, TimeUnit u) { return u.toSeconds(d); } in convert() method 146 public long convert(long d, TimeUnit u) { return u.toMinutes(d); } in convert() method 162 public long convert(long d, TimeUnit u) { return u.toHours(d); } in convert() method 178 public long convert(long d, TimeUnit u) { return u.toDays(d); } in convert() method 226 public long convert(long sourceDuration, TimeUnit sourceUnit) { in convert() method in TimeUnit
|
D | ScheduledThreadPoolExecutor.java | 241 return unit.convert(time - System.nanoTime(), NANOSECONDS); in getDelay()
|
D | ThreadPoolExecutor.java | 1751 return unit.convert(keepAliveTime, TimeUnit.NANOSECONDS); in getKeepAliveTime()
|
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
D | FileTime.java | 144 return unit.convert(this.value, this.unit); in to() 146 long secs = unit.convert(instant.getEpochSecond(), TimeUnit.SECONDS); in to() 150 long nanos = unit.convert(instant.getNano(), TimeUnit.NANOSECONDS); in to() 318 return unit.toNanos(value - unit.convert(days, TimeUnit.DAYS)); in toExcessNanos()
|
/libcore/ojluni/annotations/hiddenapi/sun/security/util/ |
D | DerIndefLenConverter.java | 92 byte[] convert(byte[] indefData) throws java.io.IOException { in convert() method in DerIndefLenConverter
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | DerInputStream.java | 135 buffer = new DerInputBuffer(derIn.convert(inData)); in init() 440 buffer = new DerInputBuffer(derIn.convert(indefData)); in readVector()
|
D | DerValue.java | 275 inbuf = new DerInputBuffer(derIn.convert(indefData)); in DerValue() 393 in = new ByteArrayInputStream(derIn.convert(indefData)); in init()
|
D | DerIndefLenConverter.java | 320 byte[] convert(byte[] indefData) throws IOException { in convert() method in DerIndefLenConverter
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | MethodHandles.java | 2736 value = w.convert(value, type); in constant() 2822 values[i] = Wrapper.forPrimitiveType(ptype).convert(values[i], ptype); in insertArguments()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | DelayQueueTest.java | 123 return unit.convert(n, TimeUnit.NANOSECONDS); in getDelay()
|
/libcore/ |
D | JavaLibrary.bp | 931 … "--force-convert-to-warning-nullability-annotations +*:-android.*:+android.icu.*:-dalvik.* ",
|