Searched refs:toMicros (Results 1 – 2 of 2) sorted by relevance
/libcore/luni/src/main/java/java/util/concurrent/ |
D | TimeUnit.java | 45 public long toMicros(long d) { return d/(C1/C0); } in toMicros() method 56 public long toMicros(long d) { return d; } in toMicros() method 62 public long convert(long d, TimeUnit u) { return u.toMicros(d); } in convert() 67 public long toMicros(long d) { return x(d, C2/C1, MAX/(C2/C1)); } in toMicros() method 78 public long toMicros(long d) { return x(d, C3/C1, MAX/(C3/C1)); } in toMicros() method 89 public long toMicros(long d) { return x(d, C4/C1, MAX/(C4/C1)); } in toMicros() method 100 public long toMicros(long d) { return x(d, C5/C1, MAX/(C5/C1)); } in toMicros() method 111 public long toMicros(long d) { return x(d, C6/C1, MAX/(C6/C1)); } in toMicros() method 190 public long toMicros(long duration) { in toMicros() method in TimeUnit
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | TimeUnitTest.java | 144 TimeUnit.DAYS.toMicros(t)); in testToMicros() 146 TimeUnit.HOURS.toMicros(t)); in testToMicros() 148 TimeUnit.MINUTES.toMicros(t)); in testToMicros() 150 TimeUnit.SECONDS.toMicros(t)); in testToMicros() 152 TimeUnit.MILLISECONDS.toMicros(t)); in testToMicros() 154 TimeUnit.MICROSECONDS.toMicros(t)); in testToMicros() 156 TimeUnit.NANOSECONDS.toMicros(t*1000L)); in testToMicros()
|