/libcore/ojluni/src/main/java/java/util/concurrent/locks/ |
D | ReentrantLock.java | 666 public final int getQueueLength() { in getQueueLength() method in ReentrantLock 667 return sync.getQueueLength(); in getQueueLength()
|
D | ReentrantReadWriteLock.java | 1385 public final int getQueueLength() { in getQueueLength() method in ReentrantReadWriteLock 1386 return sync.getQueueLength(); in getQueueLength()
|
D | AbstractQueuedLongSynchronizer.java | 1091 public final int getQueueLength() { in getQueueLength() method in AbstractQueuedLongSynchronizer
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | SemaphoreTest.java | 371 assertEquals(0, lock.getQueueLength()); in testGetQueueLength() 375 assertEquals(1, lock.getQueueLength()); in testGetQueueLength() 378 assertEquals(2, lock.getQueueLength()); in testGetQueueLength() 381 assertEquals(1, lock.getQueueLength()); in testGetQueueLength() 384 assertEquals(0, lock.getQueueLength()); in testGetQueueLength()
|
D | ReentrantLockTest.java | 297 assertEquals(0, lock.getQueueLength()); in testGetQueueLength() 301 assertEquals(1, lock.getQueueLength()); in testGetQueueLength() 304 assertEquals(2, lock.getQueueLength()); in testGetQueueLength() 307 assertEquals(1, lock.getQueueLength()); in testGetQueueLength() 310 assertEquals(0, lock.getQueueLength()); in testGetQueueLength()
|
D | AbstractQueuedLongSynchronizerTest.java | 178 assertEquals(expected.length, sync.getQueueLength()); in assertHasQueuedThreads()
|
D | AbstractQueuedSynchronizerTest.java | 181 assertEquals(expected.length, sync.getQueueLength()); in assertHasQueuedThreads()
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/locks/ |
D | ReentrantLock.java | 104 public final int getQueueLength() { in getQueueLength() method in ReentrantLock
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ReentrantLockTest.java | 274 assertEquals(0, lock.getQueueLength()); in testGetQueueLength() 278 assertEquals(1, lock.getQueueLength()); in testGetQueueLength() 281 assertEquals(2, lock.getQueueLength()); in testGetQueueLength() 284 assertEquals(1, lock.getQueueLength()); in testGetQueueLength() 287 assertEquals(0, lock.getQueueLength()); in testGetQueueLength()
|
D | ReentrantReadWriteLockTest.java | 1341 assertEquals(0, lock.getQueueLength()); in testGetQueueLength() 1345 assertEquals(1, lock.getQueueLength()); in testGetQueueLength() 1348 assertEquals(2, lock.getQueueLength()); in testGetQueueLength() 1351 assertEquals(1, lock.getQueueLength()); in testGetQueueLength() 1354 assertEquals(0, lock.getQueueLength()); in testGetQueueLength()
|
D | AbstractQueuedSynchronizerTest.java | 158 assertEquals(expected.length, sync.getQueueLength()); in assertHasQueuedThreads()
|