Home
last modified time | relevance | path

Searched refs:awaitNanos (Results 1 – 16 of 16) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/locks/
DCondition.java329 long awaitNanos(long nanosTimeout) throws InterruptedException; in awaitNanos() method
DAbstractQueuedSynchronizer.java2041 public final long awaitNanos(long nanosTimeout) in awaitNanos() method in AbstractQueuedSynchronizer.ConditionObject
DAbstractQueuedLongSynchronizer.java1813 public final long awaitNanos(long nanosTimeout) in awaitNanos() method in AbstractQueuedLongSynchronizer.ConditionObject
/libcore/luni/src/main/java/java/util/concurrent/
DDelayQueue.java194 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()
DCyclicBarrier.java203 nanos = trip.awaitNanos(nanos); in dowait()
DScheduledThreadPoolExecutor.java1060 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()
DLinkedBlockingDeque.java385 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()
DLinkedBlockingQueue.java353 nanos = notFull.awaitNanos(nanos); in offer()
435 nanos = notEmpty.awaitNanos(nanos); in poll()
DArrayBlockingQueue.java349 nanos = notFull.awaitNanos(nanos); in offer()
388 nanos = notEmpty.awaitNanos(nanos); in poll()
DPriorityBlockingQueue.java524 nanos = notEmpty.awaitNanos(nanos); in poll()
DThreadPoolExecutor.java1431 nanos = termination.awaitNanos(nanos); in awaitTermination()
/libcore/jsr166-tests/src/test/java/jsr166/
DAbstractQueuedLongSynchronizerTest.java194 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); }
DAbstractQueuedSynchronizerTest.java197 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); }
DReentrantLockTest.java136 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()
DReentrantReadWriteLockTest.java145 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()
DThreadPoolExecutorSubclassTest.java104 nanos = cond.awaitNanos(nanos); in get()