Home
last modified time | relevance | path

Searched refs:releases (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/
DSemaphore.java158 protected final boolean tryReleaseShared(int releases) { in tryReleaseShared() argument
161 int next = current + releases; in tryReleaseShared()
DCountDownLatch.java147 protected boolean tryReleaseShared(int releases) { in tryReleaseShared() argument
/libcore/luni/src/main/java/java/util/concurrent/locks/
DReentrantLock.java119 protected final boolean tryRelease(int releases) { in tryRelease() argument
120 int c = getState() - releases; in tryRelease()
DReentrantReadWriteLock.java341 protected final boolean tryRelease(int releases) { in tryRelease() argument
344 int nextc = getState() - releases; in tryRelease()
/libcore/jsr166-tests/src/test/java/jsr166/
DAbstractQueuedSynchronizerTest.java43 @Override public boolean tryRelease(int releases) { in tryRelease() argument
45 assertEquals(LOCKED, releases); in tryRelease()
DAbstractQueuedLongSynchronizerTest.java40 public boolean tryRelease(long releases) { in tryRelease() argument