Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/
DSemaphore.java204 final void reducePermits(int reductions) { in reducePermits() method in Semaphore.Sync
655 protected void reducePermits(int reduction) { in reducePermits() method in Semaphore
657 sync.reducePermits(reduction); in reducePermits()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DSemaphoreTest.java67 public void reducePermits(int reduction) { in reducePermits() method in SemaphoreTest.PublicSemaphore
68 super.reducePermits(reduction); in reducePermits()
450 s.reducePermits(-1); in testReducePermitsIAE()
463 s.reducePermits(0); in testReducePermits()
465 s.reducePermits(1); in testReducePermits()
467 s.reducePermits(10); in testReducePermits()
469 s.reducePermits(10); in testReducePermits()
471 s.reducePermits(0); in testReducePermits()
666 s.reducePermits(5);
/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);
/libcore/api/
Dcurrent.txt16304 method protected void reducePermits(int);