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.java173 protected int tryAcquireShared(int acquires) { in tryAcquireShared() method in CountDownLatch.Sync
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DAbstractQueuedLongSynchronizer.java517 long r = tryAcquireShared(arg); in doAcquireShared()
547 long r = tryAcquireShared(arg); in doAcquireSharedInterruptibly()
581 long r = tryAcquireShared(arg); in doAcquireSharedNanos()
695 protected long tryAcquireShared(long arg) { in tryAcquireShared() method in AbstractQueuedLongSynchronizer
840 if (tryAcquireShared(arg) < 0) in acquireShared()
861 if (tryAcquireShared(arg) < 0) in acquireSharedInterruptibly()
885 return tryAcquireShared(arg) >= 0 || in tryAcquireSharedNanos()
DAbstractQueuedSynchronizer.java985 int r = tryAcquireShared(arg); in doAcquireShared()
1015 int r = tryAcquireShared(arg); in doAcquireSharedInterruptibly()
1049 int r = tryAcquireShared(arg); in doAcquireSharedNanos()
1163 protected int tryAcquireShared(int arg) { in tryAcquireShared() method in AbstractQueuedSynchronizer
1312 if (tryAcquireShared(arg) < 0) in acquireShared()
1333 if (tryAcquireShared(arg) < 0) in acquireSharedInterruptibly()
1357 return tryAcquireShared(arg) >= 0 || in tryAcquireSharedNanos()
DReentrantReadWriteLock.java450 protected final int tryAcquireShared(int unused) { in tryAcquireShared() method in ReentrantReadWriteLock.Sync
/libcore/jsr166-tests/src/test/java/jsr166/
DAbstractQueuedLongSynchronizerTest.java97 public long tryAcquireShared(long ignore) { in tryAcquireShared() method in AbstractQueuedLongSynchronizerTest.BooleanLatch
DAbstractQueuedSynchronizerTest.java101 public int tryAcquireShared(int ignore) { in tryAcquireShared() method in AbstractQueuedSynchronizerTest.BooleanLatch
/libcore/ojluni/src/test/java/util/concurrent/tck/
DAbstractQueuedLongSynchronizerTest.java120 public long tryAcquireShared(long ignore) { in tryAcquireShared() method in AbstractQueuedLongSynchronizerTest.BooleanLatch
DAbstractQueuedSynchronizerTest.java124 public int tryAcquireShared(int ignore) { in tryAcquireShared() method in AbstractQueuedSynchronizerTest.BooleanLatch
/libcore/api/
Dcurrent.txt15437 method protected long tryAcquireShared(long);
15484 method protected int tryAcquireShared(int);