Home
last modified time | relevance | path

Searched refs:lock2 (Results 1 – 3 of 3) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DReentrantLockTest.java648 final ReentrantLock lock2 = new ReentrantLock(fair); in testHasWaitersIAE() local
650 lock2.hasWaiters(c); in testHasWaitersIAE()
677 final ReentrantLock lock2 = new ReentrantLock(fair); in testGetWaitQueueLengthIAE() local
679 lock2.getWaitQueueLength(c); in testGetWaitQueueLengthIAE()
706 final PublicReentrantLock lock2 = new PublicReentrantLock(fair); in testGetWaitingThreadsIAE() local
708 lock2.getWaitingThreads(c); in testGetWaitingThreadsIAE()
DReentrantReadWriteLockTest.java1425 final ReentrantReadWriteLock lock2 = new ReentrantReadWriteLock(fair); in testHasWaitersIAE() local
1427 lock2.hasWaiters(c); in testHasWaitersIAE()
1454 final ReentrantReadWriteLock lock2 = new ReentrantReadWriteLock(fair); in testGetWaitQueueLengthIAE() local
1456 lock2.getWaitQueueLength(c); in testGetWaitQueueLengthIAE()
1484 final PublicReentrantReadWriteLock lock2 = in testGetWaitingThreadsIAE() local
1487 lock2.getWaitingThreads(c); in testGetWaitingThreadsIAE()
/libcore/luni/src/main/java/java/nio/
DFileChannelImpl.java48 public int compare(FileLock lock1, FileLock lock2) {
50 long position2 = lock2.position();