Home
last modified time | relevance | path

Searched refs:toMicros (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/
DTimeUnit.java79 public long toMicros(long d) { return d/(C1/C0); } in toMicros() method
94 public long toMicros(long d) { return d; } in toMicros() method
100 public long convert(long d, TimeUnit u) { return u.toMicros(d); } in convert()
109 public long toMicros(long d) { return x(d, C2/C1, MAX/(C2/C1)); } in toMicros() method
124 public long toMicros(long d) { return x(d, C3/C1, MAX/(C3/C1)); } in toMicros() method
140 public long toMicros(long d) { return x(d, C4/C1, MAX/(C4/C1)); } in toMicros() method
156 public long toMicros(long d) { return x(d, C5/C1, MAX/(C5/C1)); } in toMicros() method
172 public long toMicros(long d) { return x(d, C6/C1, MAX/(C6/C1)); } in toMicros() method
250 public long toMicros(long duration) { in toMicros() method in TimeUnit
/libcore/ojluni/src/test/java/util/concurrent/tck/
DTimeUnitTest.java168 DAYS.toMicros(t)); in testToMicros()
170 HOURS.toMicros(t)); in testToMicros()
172 MINUTES.toMicros(t)); in testToMicros()
174 SECONDS.toMicros(t)); in testToMicros()
176 MILLISECONDS.toMicros(t)); in testToMicros()
178 MICROSECONDS.toMicros(t)); in testToMicros()
180 NANOSECONDS.toMicros(t*1000L)); in testToMicros()
384 assertEquals(z * ratio, x.toMicros(z)); in testToMicrosSaturate()
386 assertEquals(Long.MAX_VALUE, x.toMicros(max + 1)); in testToMicrosSaturate()
387 assertEquals(Long.MIN_VALUE, x.toMicros(-max - 1)); in testToMicrosSaturate()
[all …]
/libcore/jsr166-tests/src/test/java/jsr166/
DTimeUnitTest.java135 DAYS.toMicros(t)); in testToMicros()
137 HOURS.toMicros(t)); in testToMicros()
139 MINUTES.toMicros(t)); in testToMicros()
141 SECONDS.toMicros(t)); in testToMicros()
143 MILLISECONDS.toMicros(t)); in testToMicros()
145 MICROSECONDS.toMicros(t)); in testToMicros()
147 NANOSECONDS.toMicros(t*1000L)); in testToMicros()
/libcore/api/
Dcurrent.txt15104 method public long toMicros(long);