/libcore/luni/src/main/java/java/util/concurrent/locks/ |
D | Condition.java | 329 long awaitNanos(long nanosTimeout) throws InterruptedException; in awaitNanos() method
|
D | AbstractQueuedSynchronizer.java | 2041 public final long awaitNanos(long nanosTimeout) in awaitNanos() method in AbstractQueuedSynchronizer.ConditionObject
|
D | AbstractQueuedLongSynchronizer.java | 1813 public final long awaitNanos(long nanosTimeout) in awaitNanos() method in AbstractQueuedLongSynchronizer.ConditionObject
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | DelayQueue.java | 194 available.awaitNanos(delay); in take() 230 nanos = available.awaitNanos(nanos); in poll() 239 nanos = available.awaitNanos(nanos); in poll() 244 long timeLeft = available.awaitNanos(delay); in poll()
|
D | CyclicBarrier.java | 203 nanos = trip.awaitNanos(nanos); in dowait()
|
D | ScheduledThreadPoolExecutor.java | 1060 available.awaitNanos(delay); in take() 1087 nanos = available.awaitNanos(nanos); in poll() 1096 nanos = available.awaitNanos(nanos); in poll() 1101 long timeLeft = available.awaitNanos(delay); in poll()
|
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 | LinkedBlockingQueue.java | 353 nanos = notFull.awaitNanos(nanos); in offer() 435 nanos = notEmpty.awaitNanos(nanos); in poll()
|
D | ArrayBlockingQueue.java | 349 nanos = notFull.awaitNanos(nanos); in offer() 388 nanos = notEmpty.awaitNanos(nanos); in poll()
|
D | PriorityBlockingQueue.java | 524 nanos = notEmpty.awaitNanos(nanos); in poll()
|
D | ThreadPoolExecutor.java | 1431 nanos = termination.awaitNanos(nanos); in awaitTermination()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | AbstractQueuedLongSynchronizerTest.java | 194 enum AwaitMethod { await, awaitTimed, awaitNanos, awaitUntil }; enumConstant 209 case awaitNanos: in await() 211 long nanosRemaining = c.awaitNanos(nanosTimeout); in await() 232 case awaitNanos: in assertAwaitTimesOut() 234 long nanosRemaining = c.awaitNanos(nanosTimeout); in assertAwaitTimesOut() 637 public void testAwaitNanos_Timeout() { testAwait_Timeout(AwaitMethod.awaitNanos); } 652 public void testSignal_awaitNanos() { testSignal(AwaitMethod.awaitNanos); } 981 public void testInterruptible_awaitNanos() { testInterruptible(AwaitMethod.awaitNanos); } 1004 public void testSignalAll_awaitNanos() { testSignalAll(AwaitMethod.awaitNanos); }
|
D | AbstractQueuedSynchronizerTest.java | 197 enum AwaitMethod { await, awaitTimed, awaitNanos, awaitUntil }; enumConstant 212 case awaitNanos: in await() 214 long nanosRemaining = c.awaitNanos(nanosTimeout); in await() 235 case awaitNanos: in assertAwaitTimesOut() 237 long nanosRemaining = c.awaitNanos(nanosTimeout); in assertAwaitTimesOut() 640 public void testAwaitNanos_Timeout() { testAwait_Timeout(AwaitMethod.awaitNanos); } 655 public void testSignal_awaitNanos() { testSignal(AwaitMethod.awaitNanos); } 984 public void testInterruptible_awaitNanos() { testInterruptible(AwaitMethod.awaitNanos); } 1007 public void testSignalAll_awaitNanos() { testSignalAll(AwaitMethod.awaitNanos); }
|
D | ReentrantLockTest.java | 136 enum AwaitMethod { await, awaitTimed, awaitNanos, awaitUntil }; enumConstant 151 case awaitNanos: in await() 153 long nanosRemaining = c.awaitNanos(nanosTimeout); in await() 524 long nanosRemaining = c.awaitNanos(timeoutNanos); 932 …blic void testInterruptible_awaitNanos() { testInterruptible(false, AwaitMethod.awaitNanos); } in testInterruptible_awaitNanos() 933 …blic void testInterruptible_awaitNanos_fair() { testInterruptible(true, AwaitMethod.awaitNanos); } in testInterruptible_awaitNanos_fair() 971 public void testSignalAll_awaitNanos() { testSignalAll(false, AwaitMethod.awaitNanos); } in testSignalAll_awaitNanos() 972 public void testSignalAll_awaitNanos_fair() { testSignalAll(true, AwaitMethod.awaitNanos); } in testSignalAll_awaitNanos_fair()
|
D | ReentrantReadWriteLockTest.java | 145 enum AwaitMethod { await, awaitTimed, awaitNanos, awaitUntil }; enumConstant 159 case awaitNanos: in await() 160 long nanosRemaining = c.awaitNanos(MILLISECONDS.toNanos(2 * LONG_DELAY_MS)); in await() 923 long nanosRemaining = c.awaitNanos(timeoutNanos); 1057 …blic void testInterruptible_awaitNanos() { testInterruptible(false, AwaitMethod.awaitNanos); } in testInterruptible_awaitNanos() 1058 …blic void testInterruptible_awaitNanos_fair() { testInterruptible(true, AwaitMethod.awaitNanos); } in testInterruptible_awaitNanos_fair() 1096 public void testSignalAll_awaitNanos() { testSignalAll(false, AwaitMethod.awaitNanos); } in testSignalAll_awaitNanos() 1097 public void testSignalAll_awaitNanos_fair() { testSignalAll(true, AwaitMethod.awaitNanos); } in testSignalAll_awaitNanos_fair()
|
D | ThreadPoolExecutorSubclassTest.java | 104 nanos = cond.awaitNanos(nanos); in get()
|