Home
last modified time | relevance | path

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

/libcore/jsr166-tests/src/test/java/jsr166/
DReentrantLockTest.java168 long nanosRemaining = c.awaitNanos(timeoutNanos); in await() local
169 assertTrue(nanosRemaining > timeoutNanos / 2); in await()
170 assertTrue(nanosRemaining <= timeoutNanos); in await()
538 long nanosRemaining = c.awaitNanos(timeoutNanos);
539 assertTrue(nanosRemaining <= 0);
DAbstractQueuedSynchronizerTest.java230 long nanosRemaining = c.awaitNanos(nanosTimeout); in await() local
231 assertTrue(nanosRemaining > 0); in await()
258 long nanosRemaining = c.awaitNanos(nanosTimeout); in assertAwaitTimesOut() local
259 assertTrue(nanosRemaining <= 0); in assertAwaitTimesOut()
260 assertTrue(nanosRemaining > -MILLISECONDS.toNanos(LONG_DELAY_MS)); in assertAwaitTimesOut()
DAbstractQueuedLongSynchronizerTest.java227 long nanosRemaining = c.awaitNanos(nanosTimeout); in await() local
228 assertTrue(nanosRemaining > 0); in await()
255 long nanosRemaining = c.awaitNanos(nanosTimeout); in assertAwaitTimesOut() local
256 assertTrue(nanosRemaining <= 0); in assertAwaitTimesOut()
257 assertTrue(nanosRemaining > -MILLISECONDS.toNanos(LONG_DELAY_MS)); in assertAwaitTimesOut()
DReentrantReadWriteLockTest.java177 long nanosRemaining = c.awaitNanos(timeoutNanos); in await() local
178 assertTrue(nanosRemaining > timeoutNanos / 2); in await()
179 assertTrue(nanosRemaining <= timeoutNanos); in await()
940 long nanosRemaining = c.awaitNanos(timeoutNanos);
941 assertTrue(nanosRemaining <= 0);
/libcore/ojluni/src/test/java/util/concurrent/tck/
DReentrantLockTest.java191 long nanosRemaining = c.awaitNanos(timeoutNanos); in await() local
192 assertTrue(nanosRemaining > timeoutNanos / 2); in await()
193 assertTrue(nanosRemaining <= timeoutNanos); in await()
561 long nanosRemaining = c.awaitNanos(timeoutNanos);
562 assertTrue(nanosRemaining <= 0);
DAbstractQueuedSynchronizerTest.java258 long nanosRemaining = c.awaitNanos(nanosTimeout); in await() local
259 assertTrue(nanosRemaining > 0); in await()
286 long nanosRemaining = c.awaitNanos(nanosTimeout); in assertAwaitTimesOut() local
287 assertTrue(nanosRemaining <= 0); in assertAwaitTimesOut()
288 assertTrue(nanosRemaining > -MILLISECONDS.toNanos(LONG_DELAY_MS)); in assertAwaitTimesOut()
DAbstractQueuedLongSynchronizerTest.java255 long nanosRemaining = c.awaitNanos(nanosTimeout); in await() local
256 assertTrue(nanosRemaining > 0); in await()
283 long nanosRemaining = c.awaitNanos(nanosTimeout); in assertAwaitTimesOut() local
284 assertTrue(nanosRemaining <= 0); in assertAwaitTimesOut()
285 assertTrue(nanosRemaining > -MILLISECONDS.toNanos(LONG_DELAY_MS)); in assertAwaitTimesOut()
DReentrantReadWriteLockTest.java200 long nanosRemaining = c.awaitNanos(timeoutNanos); in await() local
201 assertTrue(nanosRemaining > timeoutNanos / 2); in await()
202 assertTrue(nanosRemaining <= timeoutNanos); in await()
962 long nanosRemaining = c.awaitNanos(timeoutNanos);
963 assertTrue(nanosRemaining <= 0);