/libcore/luni/src/main/java/java/util/concurrent/locks/ |
D | Condition.java | 330 long awaitNanos(long nanosTimeout) throws InterruptedException; in awaitNanos() method
|
D | AbstractQueuedLongSynchronizer.java | 1814 public final long awaitNanos(long nanosTimeout) in awaitNanos() method in AbstractQueuedLongSynchronizer.ConditionObject
|
D | AbstractQueuedSynchronizer.java | 2038 public final long awaitNanos(long nanosTimeout) in awaitNanos() method in AbstractQueuedSynchronizer.ConditionObject
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | DelayQueue.java | 195 available.awaitNanos(delay); in take() 231 nanos = available.awaitNanos(nanos); in poll() 240 nanos = available.awaitNanos(nanos); in poll() 245 long timeLeft = available.awaitNanos(delay); in poll()
|
D | CyclicBarrier.java | 204 nanos = trip.awaitNanos(nanos); in dowait()
|
D | LinkedBlockingDeque.java | 385 nanos = notFull.awaitNanos(nanos); in offerFirst() 408 nanos = notFull.awaitNanos(nanos); in offerLast() 490 nanos = notEmpty.awaitNanos(nanos); in pollFirst() 508 nanos = notEmpty.awaitNanos(nanos); in pollLast()
|
D | ScheduledThreadPoolExecutor.java | 1090 available.awaitNanos(delay); in take() 1117 nanos = available.awaitNanos(nanos); in poll() 1126 nanos = available.awaitNanos(nanos); in poll() 1131 long timeLeft = available.awaitNanos(delay); in poll()
|
D | LinkedBlockingQueue.java | 353 nanos = notFull.awaitNanos(nanos); in offer() 435 nanos = notEmpty.awaitNanos(nanos); in poll()
|
D | ArrayBlockingQueue.java | 333 nanos = notFull.awaitNanos(nanos); in offer() 372 nanos = notEmpty.awaitNanos(nanos); in poll()
|
D | PriorityBlockingQueue.java | 524 nanos = notEmpty.awaitNanos(nanos); in poll()
|
D | ThreadPoolExecutor.java | 1434 nanos = termination.awaitNanos(nanos); in awaitTermination()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | AbstractQueuedSynchronizerTest.java | 213 enum AwaitMethod { await, awaitTimed, awaitNanos, awaitUntil } enumConstant 228 case awaitNanos: in await() 230 long nanosRemaining = c.awaitNanos(nanosTimeout); in await() 253 case awaitNanos: in assertAwaitTimesOut() 255 long nanosRemaining = c.awaitNanos(nanosTimeout); in assertAwaitTimesOut() 658 public void testAwaitNanos_Timeout() { testAwait_Timeout(AwaitMethod.awaitNanos); } 673 public void testSignal_awaitNanos() { testSignal(AwaitMethod.awaitNanos); } 1002 public void testInterruptible_awaitNanos() { testInterruptible(AwaitMethod.awaitNanos); } 1025 public void testSignalAll_awaitNanos() { testSignalAll(AwaitMethod.awaitNanos); } 1236 assertTrue(c.awaitNanos(0L) <= 0); [all …]
|
D | AbstractQueuedLongSynchronizerTest.java | 210 enum AwaitMethod { await, awaitTimed, awaitNanos, awaitUntil } enumConstant 225 case awaitNanos: in await() 227 long nanosRemaining = c.awaitNanos(nanosTimeout); in await() 250 case awaitNanos: in assertAwaitTimesOut() 252 long nanosRemaining = c.awaitNanos(nanosTimeout); in assertAwaitTimesOut() 655 public void testAwaitNanos_Timeout() { testAwait_Timeout(AwaitMethod.awaitNanos); } 670 public void testSignal_awaitNanos() { testSignal(AwaitMethod.awaitNanos); } 999 public void testInterruptible_awaitNanos() { testInterruptible(AwaitMethod.awaitNanos); } 1022 public void testSignalAll_awaitNanos() { testSignalAll(AwaitMethod.awaitNanos); } 1233 assertTrue(c.awaitNanos(0L) <= 0); [all …]
|
D | ReentrantLockTest.java | 150 enum AwaitMethod { await, awaitTimed, awaitNanos, awaitUntil } enumConstant 165 case awaitNanos: in await() 167 long nanosRemaining = c.awaitNanos(nanosTimeout); in await() 536 long nanosRemaining = c.awaitNanos(timeoutNanos); 938 …blic void testInterruptible_awaitNanos() { testInterruptible(false, AwaitMethod.awaitNanos); } in testInterruptible_awaitNanos() 939 …blic void testInterruptible_awaitNanos_fair() { testInterruptible(true, AwaitMethod.awaitNanos); } in testInterruptible_awaitNanos_fair() 977 public void testSignalAll_awaitNanos() { testSignalAll(false, AwaitMethod.awaitNanos); } in testSignalAll_awaitNanos() 978 public void testSignalAll_awaitNanos_fair() { testSignalAll(true, AwaitMethod.awaitNanos); } in testSignalAll_awaitNanos_fair()
|
D | ReentrantReadWriteLockTest.java | 160 enum AwaitMethod { await, awaitTimed, awaitNanos, awaitUntil } enumConstant 174 case awaitNanos: in await() 175 long nanosRemaining = c.awaitNanos(MILLISECONDS.toNanos(2 * LONG_DELAY_MS)); in await() 938 long nanosRemaining = c.awaitNanos(timeoutNanos); 1066 …blic void testInterruptible_awaitNanos() { testInterruptible(false, AwaitMethod.awaitNanos); } in testInterruptible_awaitNanos() 1067 …blic void testInterruptible_awaitNanos_fair() { testInterruptible(true, AwaitMethod.awaitNanos); } in testInterruptible_awaitNanos_fair() 1105 public void testSignalAll_awaitNanos() { testSignalAll(false, AwaitMethod.awaitNanos); } in testSignalAll_awaitNanos() 1106 public void testSignalAll_awaitNanos_fair() { testSignalAll(true, AwaitMethod.awaitNanos); } in testSignalAll_awaitNanos_fair()
|
D | ThreadPoolExecutorSubclassTest.java | 134 nanos = cond.awaitNanos(nanos); in get()
|