Home
last modified time | relevance | path

Searched refs:nanosRemaining (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/main/java/java/lang/ref/
DReferenceQueue.java118 long nanosRemaining = nanosToWait - nanosElapsed; in remove() local
119 if (nanosRemaining <= 0) { in remove()
122 timeoutMillis = nanosRemaining / NANOS_PER_MILLI; in remove()
123 timeoutNanos = (int) (nanosRemaining - timeoutMillis * NANOS_PER_MILLI); in remove()
/libcore/libart/src/main/java/java/lang/
DThread.java791 long nanosRemaining = nanosToWait - nanosElapsed; in join() local
792 if (nanosRemaining <= 0) { in join()
795 millis = nanosRemaining / NANOS_PER_MILLI; in join()
796 nanos = (int) (nanosRemaining - millis * NANOS_PER_MILLI); in join()
/libcore/jsr166-tests/src/test/java/jsr166/
DAbstractQueuedLongSynchronizerTest.java211 long nanosRemaining = c.awaitNanos(nanosTimeout); in await() local
212 assertTrue(nanosRemaining > 0); in await()
234 long nanosRemaining = c.awaitNanos(nanosTimeout); in assertAwaitTimesOut() local
235 assertTrue(nanosRemaining <= 0); in assertAwaitTimesOut()
DReentrantLockTest.java153 long nanosRemaining = c.awaitNanos(nanosTimeout); in await() local
154 assertTrue(nanosRemaining > 0); in await()
524 long nanosRemaining = c.awaitNanos(timeoutNanos);
525 assertTrue(nanosRemaining <= 0);
DAbstractQueuedSynchronizerTest.java214 long nanosRemaining = c.awaitNanos(nanosTimeout); in await() local
215 assertTrue(nanosRemaining > 0); in await()
237 long nanosRemaining = c.awaitNanos(nanosTimeout); in assertAwaitTimesOut() local
238 assertTrue(nanosRemaining <= 0); in assertAwaitTimesOut()
DReentrantReadWriteLockTest.java160 long nanosRemaining = c.awaitNanos(MILLISECONDS.toNanos(2 * LONG_DELAY_MS)); in await() local
161 assertTrue(nanosRemaining > 0); in await()
923 long nanosRemaining = c.awaitNanos(timeoutNanos);
924 assertTrue(nanosRemaining <= 0);