Home
last modified time | relevance | path

Searched refs:parkNanos (Results 1 – 12 of 12) sorted by relevance

/libcore/ojluni/src/test/java/util/concurrent/tck/
DLockSupportTest.java84 parkNanos() { in parkNanos() method
86 LockSupport.parkNanos(MILLISECONDS.toNanos(millis)); in parkNanos()
104 LockSupport.parkNanos(theBlocker(), in parkNanosBlocker()
126 testParkBeforeUnpark(ParkMethod.parkNanos); in testParkBeforeUnpark_parkNanos()
160 testParkAfterUnpark(ParkMethod.parkNanos); in testParkAfterUnpark_parkNanos()
198 testParkBeforeInterrupt(ParkMethod.parkNanos); in testParkBeforeInterrupt_parkNanos()
236 testParkAfterInterrupt(ParkMethod.parkNanos); in testParkAfterInterrupt_parkNanos()
273 testParkTimesOut(ParkMethod.parkNanos); in testParkTimesOut_parkNanos()
361 testPark0(ParkMethod.parkNanos); in testPark0_parkNanos()
385 testParkNeg(ParkMethod.parkNanos); in testParkNeg_parkNanos()
/libcore/jsr166-tests/src/test/java/jsr166/
DLockSupportTest.java60 parkNanos() { in parkNanos() enumConstant
62 LockSupport.parkNanos(MILLISECONDS.toNanos(millis)); in parkNanos()
80 LockSupport.parkNanos(theBlocker(), in parkNanosBlocker()
102 testParkBeforeUnpark(ParkMethod.parkNanos); in testParkBeforeUnpark_parkNanos()
136 testParkAfterUnpark(ParkMethod.parkNanos); in testParkAfterUnpark_parkNanos()
174 testParkBeforeInterrupt(ParkMethod.parkNanos); in testParkBeforeInterrupt_parkNanos()
212 testParkAfterInterrupt(ParkMethod.parkNanos); in testParkAfterInterrupt_parkNanos()
249 testParkTimesOut(ParkMethod.parkNanos); in testParkTimesOut_parkNanos()
337 testPark0(ParkMethod.parkNanos); in testPark0_parkNanos()
361 testParkNeg(ParkMethod.parkNanos); in testParkNeg_parkNanos()
/libcore/ojluni/src/main/java/java/util/concurrent/
DFutureTask.java431 final long parkNanos; in awaitDone() local
436 parkNanos = nanos; in awaitDone()
443 parkNanos = nanos - elapsed; in awaitDone()
447 LockSupport.parkNanos(this, parkNanos); in awaitDone()
DSynchronousQueue.java461 LockSupport.parkNanos(this, nanos); in awaitFulfill()
762 LockSupport.parkNanos(this, nanos); in awaitFulfill()
DPhaser.java1130 LockSupport.parkNanos(this, nanos); in block()
DLinkedTransferQueue.java727 LockSupport.parkNanos(this, nanos); in awaitMatch()
DCompletableFuture.java1725 LockSupport.parkNanos(this, nanos); in block()
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DLockSupport.java226 public static void parkNanos(Object blocker, long nanos) { in parkNanos() method in LockSupport
351 public static void parkNanos(long nanos) { in parkNanos() method in LockSupport
DAbstractQueuedLongSynchronizer.java496 LockSupport.parkNanos(this, nanosTimeout); in doAcquireNanos()
595 LockSupport.parkNanos(this, nanosTimeout); in doAcquireSharedNanos()
1637 LockSupport.parkNanos(this, nanosTimeout); in awaitNanos()
1725 LockSupport.parkNanos(this, nanosTimeout); in await()
DAbstractQueuedSynchronizer.java964 LockSupport.parkNanos(this, nanosTimeout); in doAcquireNanos()
1063 LockSupport.parkNanos(this, nanosTimeout); in doAcquireSharedNanos()
2109 LockSupport.parkNanos(this, nanosTimeout); in awaitNanos()
2197 LockSupport.parkNanos(this, nanosTimeout); in await()
/libcore/luni/src/test/java/libcore/java/lang/
DThreadTest.java468 LockSupport.parkNanos(nanos); in LongParker()
/libcore/api/
Dcurrent.txt15527 method public static void parkNanos(Object, long);
15528 method public static void parkNanos(long);