Home
last modified time | relevance | path

Searched refs:tryAcquireShared (Results 1 – 12 of 12) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/concurrent/
DAbstractQueuedSynchronizerTest.java44 public int tryAcquireShared(int acquires) { in tryAcquireShared() method in AbstractQueuedSynchronizerTest.DefaultMutex
45 return super.tryAcquireShared(acquires); in tryAcquireShared()
92 mutex.tryAcquireShared(1); in testDefaultTryAcquireSharedFails()
DAbstractQueuedLongSynchronizerTest.java44 public long tryAcquireShared(long acquires) { in tryAcquireShared() method in AbstractQueuedLongSynchronizerTest.DefaultMutex
45 return super.tryAcquireShared(acquires); in tryAcquireShared()
92 mutex.tryAcquireShared(1); in testDefaultTryAcquireSharedFails()
/libcore/ojluni/src/main/java/java/util/concurrent/
DSemaphore.java234 protected int tryAcquireShared(int acquires) { in tryAcquireShared() method in Semaphore.NonfairSync
249 protected int tryAcquireShared(int acquires) { in tryAcquireShared() method in Semaphore.FairSync
DCountDownLatch.java171 protected int tryAcquireShared(int acquires) { in tryAcquireShared() method in CountDownLatch.Sync
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DAbstractQueuedSynchronizer.java670 acquired = (tryAcquireShared(arg) >= 0); in acquire()
877 protected int tryAcquireShared(int arg) { in tryAcquireShared() method in AbstractQueuedSynchronizer
1026 if (tryAcquireShared(arg) < 0) in acquireShared()
1046 (tryAcquireShared(arg) < 0 && in acquireSharedInterruptibly()
1070 if (tryAcquireShared(arg) >= 0) in tryAcquireSharedNanos()
DAbstractQueuedLongSynchronizer.java305 acquired = (tryAcquireShared(arg) >= 0); in acquire()
511 protected long tryAcquireShared(long arg) { in tryAcquireShared() method in AbstractQueuedLongSynchronizer
660 if (tryAcquireShared(arg) < 0) in acquireShared()
680 (tryAcquireShared(arg) < 0 && in acquireSharedInterruptibly()
704 if (tryAcquireShared(arg) >= 0) in tryAcquireSharedNanos()
DReentrantReadWriteLock.java453 protected final int tryAcquireShared(int unused) { in tryAcquireShared() method in ReentrantReadWriteLock.Sync
/libcore/jsr166-tests/src/test/java/jsr166/
DAbstractQueuedSynchronizerTest.java101 public int tryAcquireShared(int ignore) { in tryAcquireShared() method in AbstractQueuedSynchronizerTest.BooleanLatch
DAbstractQueuedLongSynchronizerTest.java97 public long tryAcquireShared(long ignore) { in tryAcquireShared() method in AbstractQueuedLongSynchronizerTest.BooleanLatch
/libcore/ojluni/src/test/java/util/concurrent/tck/
DAbstractQueuedSynchronizerTest.java124 public int tryAcquireShared(int ignore) { in tryAcquireShared() method in AbstractQueuedSynchronizerTest.BooleanLatch
DAbstractQueuedLongSynchronizerTest.java120 public long tryAcquireShared(long ignore) { in tryAcquireShared() method in AbstractQueuedLongSynchronizerTest.BooleanLatch
/libcore/api/
Dcurrent.txt16863 method protected long tryAcquireShared(long);
16910 method protected int tryAcquireShared(int);