Home
last modified time | relevance | path

Searched refs:tryAcquireSharedNanos (Results 1 – 10 of 10) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/
DSemaphore.java415 return sync.tryAcquireSharedNanos(1, unit.toNanos(timeout)); in tryAcquire()
592 return sync.tryAcquireSharedNanos(permits, unit.toNanos(timeout)); in tryAcquire()
DCountDownLatch.java276 return sync.tryAcquireSharedNanos(1, unit.toNanos(timeout)); in await()
/libcore/jsr166-tests/src/test/java/jsr166/
DAbstractQueuedSynchronizerTest.java1159 assertTrue(l.tryAcquireSharedNanos(0, nanos));
1161 assertTrue(l.tryAcquireSharedNanos(0, nanos));
1200 l.tryAcquireSharedNanos(0, nanos);
1224 assertFalse(l.tryAcquireSharedNanos(0, nanos));
DAbstractQueuedLongSynchronizerTest.java1156 assertTrue(l.tryAcquireSharedNanos(0, nanos));
1158 assertTrue(l.tryAcquireSharedNanos(0, nanos));
1197 l.tryAcquireSharedNanos(0, nanos);
1221 assertFalse(l.tryAcquireSharedNanos(0, nanos));
/libcore/ojluni/src/test/java/util/concurrent/tck/
DAbstractQueuedSynchronizerTest.java1187 assertTrue(l.tryAcquireSharedNanos(0, nanos));
1189 assertTrue(l.tryAcquireSharedNanos(0, nanos));
1228 l.tryAcquireSharedNanos(0, nanos);
1252 assertFalse(l.tryAcquireSharedNanos(0, nanos));
DAbstractQueuedLongSynchronizerTest.java1184 assertTrue(l.tryAcquireSharedNanos(0, nanos));
1186 assertTrue(l.tryAcquireSharedNanos(0, nanos));
1225 l.tryAcquireSharedNanos(0, nanos);
1249 assertFalse(l.tryAcquireSharedNanos(0, nanos));
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DReentrantReadWriteLock.java882 return sync.tryAcquireSharedNanos(1, unit.toNanos(timeout)); in tryLock()
DAbstractQueuedSynchronizer.java1067 public final boolean tryAcquireSharedNanos(int arg, long nanosTimeout) in tryAcquireSharedNanos() method in AbstractQueuedSynchronizer
DAbstractQueuedLongSynchronizer.java701 public final boolean tryAcquireSharedNanos(long arg, long nanosTimeout) in tryAcquireSharedNanos() method in AbstractQueuedLongSynchronizer
/libcore/api/
Dcurrent.txt16864 …method public final boolean tryAcquireSharedNanos(long, long) throws java.lang.InterruptedExceptio…
16911 …method public final boolean tryAcquireSharedNanos(int, long) throws java.lang.InterruptedException;