/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | SemaphoreTest.java | 80 lock.acquire(); in realRun() 93 lock.acquire(); in realRun() 124 acquire() { in acquire() enumConstant 125 void acquire(Semaphore s) throws InterruptedException { in acquire() method 126 s.acquire(); in acquire() 130 void acquire(Semaphore s, int permits) throws InterruptedException { in acquireN() method 131 s.acquire(permits); in acquireN() 135 void acquire(Semaphore s) { in acquireUninterruptibly() method 140 void acquire(Semaphore s, int permits) { in acquireUninterruptiblyN() method 145 void acquire(Semaphore s) { in tryAcquire() method [all …]
|
D | AbstractQueuedSynchronizerTest.java | 101 public void acquire() { in acquire() method in AbstractQueuedSynchronizerTest.Mutex 102 acquire(LOCKED); in acquire() 223 sync.acquire(); in assertHasWaitersUnlocked() 317 sync.acquire(); in testAcquire() 340 sync.acquire(); in testHasQueuedThreads() 375 sync.acquire(); in testIsQueued() 400 sync.acquire(); in testGetFirstQueuedThread() 421 sync.acquire(); in testHasContended() 445 sync.acquire(); in testGetQueuedThreads() 473 sync.acquire(); in testGetExclusiveQueuedThreads() [all …]
|
D | AbstractQueuedLongSynchronizerTest.java | 97 public void acquire() { in acquire() method in AbstractQueuedLongSynchronizerTest.Mutex 98 acquire(LOCKED); in acquire() 220 sync.acquire(); in assertHasWaitersUnlocked() 314 sync.acquire(); in testAcquire() 337 sync.acquire(); in testHasQueuedThreads() 372 sync.acquire(); in testIsQueued() 397 sync.acquire(); in testGetFirstQueuedThread() 418 sync.acquire(); in testHasContended() 442 sync.acquire(); in testGetQueuedThreads() 470 sync.acquire(); in testGetExclusiveQueuedThreads() [all …]
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | SemaphoreTest.java | 57 lock.acquire(); in realRun() 70 lock.acquire(); in realRun() 101 acquire() { in acquire() method 102 void acquire(Semaphore s) throws InterruptedException { in acquire() method 103 s.acquire(); in acquire() 107 void acquire(Semaphore s, int permits) throws InterruptedException { in acquireN() method 108 s.acquire(permits); in acquireN() 112 void acquire(Semaphore s) { in acquireUninterruptibly() method 117 void acquire(Semaphore s, int permits) { in acquireUninterruptiblyN() method 122 void acquire(Semaphore s) { in tryAcquire() method [all …]
|
D | AbstractQueuedSynchronizerTest.java | 78 public void acquire() { in acquire() method in AbstractQueuedSynchronizerTest.Mutex 79 acquire(LOCKED); in acquire() 195 sync.acquire(); in assertHasWaitersUnlocked() 289 sync.acquire(); in testAcquire() 312 sync.acquire(); in testHasQueuedThreads() 347 sync.acquire(); in testIsQueued() 372 sync.acquire(); in testGetFirstQueuedThread() 393 sync.acquire(); in testHasContended() 417 sync.acquire(); in testGetQueuedThreads() 445 sync.acquire(); in testGetExclusiveQueuedThreads() [all …]
|
D | AbstractQueuedLongSynchronizerTest.java | 74 public void acquire() { in acquire() method in AbstractQueuedLongSynchronizerTest.Mutex 75 acquire(LOCKED); in acquire() 192 sync.acquire(); in assertHasWaitersUnlocked() 286 sync.acquire(); in testAcquire() 309 sync.acquire(); in testHasQueuedThreads() 344 sync.acquire(); in testIsQueued() 369 sync.acquire(); in testGetFirstQueuedThread() 390 sync.acquire(); in testHasContended() 414 sync.acquire(); in testGetQueuedThreads() 442 sync.acquire(); in testGetExclusiveQueuedThreads() [all …]
|
/libcore/ojluni/src/main/java/java/util/concurrent/locks/ |
D | AbstractQueuedSynchronizer.java | 636 final int acquire(Node node, int arg, boolean shared, in acquire() method in AbstractQueuedSynchronizer 936 public final void acquire(int arg) { in acquire() method in AbstractQueuedSynchronizer 938 acquire(null, arg, false, false, false, 0L); in acquire() 958 (!tryAcquire(arg) && acquire(null, arg, false, true, false, 0L) < 0)) in acquireInterruptibly() 986 int stat = acquire(null, arg, false, true, true, in tryAcquireNanos() 1027 acquire(null, arg, true, false, false, 0L); in acquireShared() 1047 acquire(null, arg, true, true, false, 0L) < 0)) in acquireSharedInterruptibly() 1074 int stat = acquire(null, arg, true, true, true, in tryAcquireSharedNanos() 1589 acquire(node, savedState, false, false, false, 0L); in awaitUninterruptibly() 1634 acquire(node, savedState, false, false, false, 0L); in await() [all …]
|
D | AbstractQueuedLongSynchronizer.java | 271 final int acquire(Node node, long arg, boolean shared, in acquire() method in AbstractQueuedLongSynchronizer 570 public final void acquire(long arg) { in acquire() method in AbstractQueuedLongSynchronizer 572 acquire(null, arg, false, false, false, 0L); in acquire() 592 (!tryAcquire(arg) && acquire(null, arg, false, true, false, 0L) < 0)) in acquireInterruptibly() 620 int stat = acquire(null, arg, false, true, true, in tryAcquireNanos() 661 acquire(null, arg, true, false, false, 0L); in acquireShared() 681 acquire(null, arg, true, true, false, 0L) < 0)) in acquireSharedInterruptibly() 708 int stat = acquire(null, arg, true, true, true, in tryAcquireSharedNanos() 1223 acquire(node, savedState, false, false, false, 0L); in awaitUninterruptibly() 1268 acquire(node, savedState, false, false, false, 0L); in await() [all …]
|
D | ReentrantLock.java | 153 acquire(1); in lock()
|
D | ReentrantReadWriteLock.java | 959 sync.acquire(1); in lock()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | Semaphore.java | 317 public void acquire() throws InterruptedException { in acquire() method in Semaphore 473 public void acquire(int permits) throws InterruptedException { in acquire() method in Semaphore
|
D | ThreadPoolExecutor.java | 670 public void lock() { acquire(1); } in lock()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldThreadTest.java | 325 sem.acquire(); in test_getState() 350 sem.acquire(); in test_getState() 364 sem.acquire(); in test_getState()
|
/libcore/api/ |
D | current.txt | 16294 method public void acquire() throws java.lang.InterruptedException; 16295 method public void acquire(int) throws java.lang.InterruptedException; 16838 method public final void acquire(long); 16885 method public final void acquire(int);
|