/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | DelayQueue.java | 228 available.awaitNanos(delay); in take() 264 nanos = available.awaitNanos(nanos); in poll() 273 nanos = available.awaitNanos(nanos); in poll() 278 long timeLeft = available.awaitNanos(delay); in poll()
|
D | CyclicBarrier.java | 237 nanos = trip.awaitNanos(nanos); in dowait()
|
D | ScheduledThreadPoolExecutor.java | 1132 available.awaitNanos(delay); in take() 1159 nanos = available.awaitNanos(nanos); in poll() 1168 nanos = available.awaitNanos(nanos); in poll() 1173 long timeLeft = available.awaitNanos(delay); in poll()
|
D | LinkedBlockingDeque.java | 417 nanos = notFull.awaitNanos(nanos); in offerFirst() 440 nanos = notFull.awaitNanos(nanos); in offerLast() 522 nanos = notEmpty.awaitNanos(nanos); in pollFirst() 540 nanos = notEmpty.awaitNanos(nanos); in pollLast()
|
D | LinkedBlockingQueue.java | 385 nanos = notFull.awaitNanos(nanos); in offer() 467 nanos = notEmpty.awaitNanos(nanos); in poll()
|
D | ArrayBlockingQueue.java | 363 nanos = notFull.awaitNanos(nanos); in offer() 402 nanos = notEmpty.awaitNanos(nanos); in poll()
|
D | PriorityBlockingQueue.java | 562 nanos = notEmpty.awaitNanos(nanos); in poll()
|
D | ThreadPoolExecutor.java | 1486 nanos = termination.awaitNanos(nanos); in awaitTermination()
|
/libcore/ojluni/src/main/java/java/util/concurrent/locks/ |
D | Condition.java | 359 long awaitNanos(long nanosTimeout) throws InterruptedException; in awaitNanos() method
|
D | AbstractQueuedLongSynchronizer.java | 1620 public final long awaitNanos(long nanosTimeout) in awaitNanos() method in AbstractQueuedLongSynchronizer.ConditionObject
|
D | AbstractQueuedSynchronizer.java | 2092 public final long awaitNanos(long nanosTimeout) in awaitNanos() method in AbstractQueuedSynchronizer.ConditionObject
|
/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() 255 case awaitNanos: in assertAwaitTimesOut() 258 long nanosRemaining = c.awaitNanos(nanosTimeout); in assertAwaitTimesOut() 666 public void testAwaitNanos_Timeout() { testAwait_Timeout(AwaitMethod.awaitNanos); } 681 public void testSignal_awaitNanos() { testSignal(AwaitMethod.awaitNanos); } 1010 public void testInterruptible_awaitNanos() { testInterruptible(AwaitMethod.awaitNanos); } 1033 public void testSignalAll_awaitNanos() { testSignalAll(AwaitMethod.awaitNanos); } 1244 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() 252 case awaitNanos: in assertAwaitTimesOut() 255 long nanosRemaining = c.awaitNanos(nanosTimeout); in assertAwaitTimesOut() 663 public void testAwaitNanos_Timeout() { testAwait_Timeout(AwaitMethod.awaitNanos); } 678 public void testSignal_awaitNanos() { testSignal(AwaitMethod.awaitNanos); } 1007 public void testInterruptible_awaitNanos() { testInterruptible(AwaitMethod.awaitNanos); } 1030 public void testSignalAll_awaitNanos() { testSignalAll(AwaitMethod.awaitNanos); } 1241 assertTrue(c.awaitNanos(0L) <= 0); [all …]
|
D | ReentrantLockTest.java | 151 enum AwaitMethod { await, awaitTimed, awaitNanos, awaitUntil } enumConstant 166 case awaitNanos: in await() 168 long nanosRemaining = c.awaitNanos(timeoutNanos); in await() 538 long nanosRemaining = c.awaitNanos(timeoutNanos); 940 …blic void testInterruptible_awaitNanos() { testInterruptible(false, AwaitMethod.awaitNanos); } in testInterruptible_awaitNanos() 941 …blic void testInterruptible_awaitNanos_fair() { testInterruptible(true, AwaitMethod.awaitNanos); } in testInterruptible_awaitNanos_fair() 979 public void testSignalAll_awaitNanos() { testSignalAll(false, AwaitMethod.awaitNanos); } in testSignalAll_awaitNanos() 980 public void testSignalAll_awaitNanos_fair() { testSignalAll(true, AwaitMethod.awaitNanos); } in testSignalAll_awaitNanos_fair()
|
D | ReentrantReadWriteLockTest.java | 160 enum AwaitMethod { await, awaitTimed, awaitNanos, awaitUntil } enumConstant 175 case awaitNanos: in await() 177 long nanosRemaining = c.awaitNanos(timeoutNanos); in await() 940 long nanosRemaining = c.awaitNanos(timeoutNanos); 1068 …blic void testInterruptible_awaitNanos() { testInterruptible(false, AwaitMethod.awaitNanos); } in testInterruptible_awaitNanos() 1069 …blic void testInterruptible_awaitNanos_fair() { testInterruptible(true, AwaitMethod.awaitNanos); } in testInterruptible_awaitNanos_fair() 1107 public void testSignalAll_awaitNanos() { testSignalAll(false, AwaitMethod.awaitNanos); } in testSignalAll_awaitNanos() 1108 public void testSignalAll_awaitNanos_fair() { testSignalAll(true, AwaitMethod.awaitNanos); } in testSignalAll_awaitNanos_fair()
|
D | ThreadPoolExecutorSubclassTest.java | 140 nanos = cond.awaitNanos(nanos); in get()
|