Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/util/concurrent/
DSemaphore.java169 final void reducePermits(int reductions) { in reducePermits() method in Semaphore.Sync
613 protected void reducePermits(int reduction) { in reducePermits() method in Semaphore
615 sync.reducePermits(reduction); in reducePermits()
/libcore/jsr166-tests/src/test/java/jsr166/
DSemaphoreTest.java31 public void reducePermits(int reduction) { in reducePermits() method in SemaphoreTest.PublicSemaphore
32 super.reducePermits(reduction); in reducePermits()
414 s.reducePermits(-1); in testReducePermitsIAE()
427 s.reducePermits(0); in testReducePermits()
429 s.reducePermits(1); in testReducePermits()
431 s.reducePermits(10); in testReducePermits()
433 s.reducePermits(10); in testReducePermits()
435 s.reducePermits(0); in testReducePermits()
625 s.reducePermits(5);