/libcore/ojluni/src/main/java/java/util/concurrent/locks/ |
D | ReentrantLock.java | 723 public int getWaitQueueLength(Condition condition) { in getWaitQueueLength() method in ReentrantLock 728 return sync.getWaitQueueLength((AbstractQueuedSynchronizer.ConditionObject)condition); in getWaitQueueLength()
|
D | ReentrantReadWriteLock.java | 1442 public int getWaitQueueLength(Condition condition) { in getWaitQueueLength() method in ReentrantReadWriteLock 1447 return sync.getWaitQueueLength((AbstractQueuedSynchronizer.ConditionObject)condition); in getWaitQueueLength()
|
D | AbstractQueuedLongSynchronizer.java | 1339 public final int getWaitQueueLength(ConditionObject condition) { in getWaitQueueLength() method in AbstractQueuedLongSynchronizer 1342 return condition.getWaitQueueLength(); in getWaitQueueLength() 1778 protected final int getWaitQueueLength() { in getWaitQueueLength() method in AbstractQueuedLongSynchronizer.ConditionObject
|
D | AbstractQueuedSynchronizer.java | 1813 public final int getWaitQueueLength(ConditionObject condition) { in getWaitQueueLength() method in AbstractQueuedSynchronizer 1816 return condition.getWaitQueueLength(); in getWaitQueueLength() 2250 protected final int getWaitQueueLength() { in getWaitQueueLength() method in AbstractQueuedSynchronizer.ConditionObject
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ReentrantLockTest.java | 143 assertEquals(threads.length, lock.getWaitQueueLength(c)); in assertHasWaiters() 630 lock.getWaitQueueLength(null); in testGetWaitQueueLengthNPE() 687 lock2.getWaitQueueLength(c); in testGetWaitQueueLengthIAE() 701 lock.getWaitQueueLength(c); in testGetWaitQueueLengthIMSE() 782 assertEquals(0, lock.getWaitQueueLength(c)); in testGetWaitQueueLength() 792 assertEquals(1, lock.getWaitQueueLength(c)); in testGetWaitQueueLength() 799 assertEquals(0, lock.getWaitQueueLength(c)); in testGetWaitQueueLength() 807 assertEquals(1, lock.getWaitQueueLength(c)); in testGetWaitQueueLength() 815 assertEquals(2, lock.getWaitQueueLength(c)); in testGetWaitQueueLength()
|
D | AbstractQueuedSynchronizerTest.java | 206 assertEquals(threads.length, sync.getWaitQueueLength(c)); in assertHasWaitersLocked() 723 sync.getWaitQueueLength(null); 774 sync2.getWaitQueueLength(c); 787 sync.getWaitQueueLength(c); 864 assertEquals(0, sync.getWaitQueueLength(c)); 872 assertEquals(1, sync.getWaitQueueLength(c)); 879 assertEquals(1, sync.getWaitQueueLength(c)); 888 assertEquals(2, sync.getWaitQueueLength(c)); 892 assertEquals(0, sync.getWaitQueueLength(c));
|
D | AbstractQueuedLongSynchronizerTest.java | 203 assertEquals(threads.length, sync.getWaitQueueLength(c)); in assertHasWaitersLocked() 720 sync.getWaitQueueLength(null); 771 sync2.getWaitQueueLength(c); 784 sync.getWaitQueueLength(c); 861 assertEquals(0, sync.getWaitQueueLength(c)); 869 assertEquals(1, sync.getWaitQueueLength(c)); 876 assertEquals(1, sync.getWaitQueueLength(c)); 885 assertEquals(2, sync.getWaitQueueLength(c)); 889 assertEquals(0, sync.getWaitQueueLength(c));
|
D | ReentrantReadWriteLockTest.java | 152 assertEquals(threads.length, lock.getWaitQueueLength(c)); in assertHasWaiters() 1410 lock.getWaitQueueLength(null); in testGetWaitQueueLengthNPE() 1467 lock2.getWaitQueueLength(c); in testGetWaitQueueLengthIAE() 1481 lock.getWaitQueueLength(c); in testGetWaitQueueLengthIMSE() 1565 assertEquals(0, lock.getWaitQueueLength(c)); in testGetWaitQueueLength() 1574 assertEquals(1, lock.getWaitQueueLength(c)); in testGetWaitQueueLength() 1577 assertEquals(0, lock.getWaitQueueLength(c)); in testGetWaitQueueLength()
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/locks/ |
D | ReentrantLock.java | 116 public int getWaitQueueLength(java.util.concurrent.locks.Condition condition) { in getWaitQueueLength() method in ReentrantLock
|