Home
last modified time | relevance | path

Searched refs:reducePermits (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/
DSemaphore.java204 final void reducePermits(int reductions) { in reducePermits() method in Semaphore.Sync
652 protected void reducePermits(int reduction) { in reducePermits() method in Semaphore
654 sync.reducePermits(reduction); in reducePermits()
/libcore/jsr166-tests/src/test/java/jsr166/
DSemaphoreTest.java44 public void reducePermits(int reduction) { in reducePermits() method in SemaphoreTest.PublicSemaphore
45 super.reducePermits(reduction); in reducePermits()
427 s.reducePermits(-1); in testReducePermitsIAE()
440 s.reducePermits(0); in testReducePermits()
442 s.reducePermits(1); in testReducePermits()
444 s.reducePermits(10); in testReducePermits()
446 s.reducePermits(10); in testReducePermits()
448 s.reducePermits(0); in testReducePermits()
643 s.reducePermits(5);