Searched refs:acquires (Results 1 – 9 of 9) sorted by relevance
132 final boolean nonfairTryAcquire(int acquires) { in nonfairTryAcquire() argument136 if (compareAndSetState(0, acquires)) { in nonfairTryAcquire()142 int nextc = c + acquires; in nonfairTryAcquire()219 protected final boolean tryAcquire(int acquires) { in tryAcquire() argument220 return nonfairTryAcquire(acquires); in tryAcquire()240 protected final boolean tryAcquire(int acquires) { in tryAcquire() argument245 compareAndSetState(0, acquires)) { in tryAcquire()251 int nextc = c + acquires; in tryAcquire()
382 protected final boolean tryAcquire(int acquires) { in tryAcquire() argument401 if (w + exclusiveCount(acquires) > MAX_COUNT) in tryAcquire()404 setState(c + acquires); in tryAcquire()408 !compareAndSetState(c, c + acquires)) in tryAcquire()
39 public boolean tryAcquire(long acquires) { in tryAcquire() argument40 return super.tryAcquire(acquires); in tryAcquire()44 public long tryAcquireShared(long acquires) { in tryAcquireShared() argument45 return super.tryAcquireShared(acquires); in tryAcquireShared()
39 public boolean tryAcquire(int acquires) { in tryAcquire() argument40 return super.tryAcquire(acquires); in tryAcquire()44 public int tryAcquireShared(int acquires) { in tryAcquireShared() argument45 return super.tryAcquireShared(acquires); in tryAcquireShared()
149 protected boolean tryAcquire(int acquires) { in tryAcquire() argument167 protected boolean tryAcquire(int acquires) { in tryAcquire() argument183 final boolean nonfairTryAcquire(int acquires) { in nonfairTryAcquire() argument
173 protected int tryAcquireShared(int acquires) { in tryAcquireShared() argument
74 public boolean tryAcquire(long acquires) { in tryAcquire() argument75 assertEquals(LOCKED, acquires); in tryAcquire()
77 @Override public boolean tryAcquire(int acquires) { in tryAcquire() argument78 assertEquals(LOCKED, acquires); in tryAcquire()
54 @Override public boolean tryAcquire(int acquires) { in tryAcquire() argument55 assertEquals(LOCKED, acquires); in tryAcquire()