/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixSecureDirectoryStream.java | 118 ds.readLock().lock(); in newDirectoryStream() 145 ds.readLock().unlock(); in newDirectoryStream() 166 ds.readLock().lock(); in newByteChannel() 177 ds.readLock().unlock(); in newByteChannel() 196 ds.readLock().lock(); in implDelete() 226 ds.readLock().unlock(); in implDelete() 263 this.ds.readLock().lock(); in move() 265 that.ds.readLock().lock(); in move() 279 that.ds.readLock().unlock(); in move() 282 this.ds.readLock().unlock(); in move() [all …]
|
D | UnixDirectoryStream.java | 83 protected final Lock readLock() { in readLock() method in UnixDirectoryStream 84 return streamLock.readLock(); in readLock() 177 readLock().lock(); in readNextEntry() 186 readLock().unlock(); in readNextEntry()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ReentrantReadWriteLockTest.java | 225 lock.readLock().lock(); in testLock() 228 lock.readLock().unlock(); in testLock() 275 lock.readLock().lock(); in testGetReadHoldCount() 279 lock.readLock().unlock(); in testGetReadHoldCount() 305 lock.readLock().unlock(); in testReadUnlock_IMSE() 361 lock.readLock().lockInterruptibly(); in testReadLockInterruptibly_Interruptible() 381 lock.readLock().tryLock(2 * LONG_DELAY_MS, MILLISECONDS); in testReadTryLock_Interruptible() 435 assertFalse(lock.readLock().tryLock()); in testReadTryLockWhenLocked() 449 lock.readLock().lock(); in testMultipleReadLocks() 452 assertTrue(lock.readLock().tryLock()); in testMultipleReadLocks() [all …]
|
/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
D | ReentrantReadWriteLockTest.java | 43 lock.readLock().lock(); in run() 44 lock.readLock().unlock(); in run() 90 final Condition condition = lock.readLock().newCondition(); in testReadLockCondition()
|
/libcore/ojluni/src/main/java/java/util/concurrent/locks/ |
D | ReadWriteLock.java | 125 Lock readLock(); in readLock() method
|
D | StampedLock.java | 420 public long readLock() { in readLock() method in StampedLock 880 public void lock() { readLock(); } in lock() 912 public Lock readLock() { return asReadLock(); } in readLock() method in StampedLock.ReadWriteLockView
|
D | ReentrantReadWriteLock.java | 248 public ReentrantReadWriteLock.ReadLock readLock() { return readerLock; } in readLock() method in ReentrantReadWriteLock
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | AsynchronousFileChannelImpl.java | 83 closeLock.readLock().lock(); in begin() 92 closeLock.readLock().unlock(); in end() 166 closeLock.readLock().lock(); in addToFileLockTable()
|
D | AsynchronousSocketChannelImpl.java | 68 private final Object readLock = new Object(); field in AsynchronousSocketChannelImpl 116 closeLock.readLock().lock(); in begin() 125 closeLock.readLock().unlock(); in end() 148 synchronized (readLock) { in enableReading() 172 synchronized (readLock) { in killReading() 247 synchronized (readLock) { in read() 537 synchronized (readLock) { in shutdownInput()
|
D | SocketChannelImpl.java | 85 private final Object readLock = new Object(); field in SocketChannelImpl 340 synchronized (readLock) { in read() 468 synchronized (readLock) { in read() 610 synchronized (readLock) { in bind() 660 synchronized (readLock) { in connect() 737 synchronized (readLock) { in finishConnect() 1007 synchronized (readLock) { in poll()
|
D | AsynchronousServerSocketChannelImpl.java | 83 closeLock.readLock().lock(); in begin() 92 closeLock.readLock().unlock(); in end()
|
D | DatagramChannelImpl.java | 79 private final Object readLock = new Object(); field in DatagramChannelImpl 366 synchronized (readLock) { in receive() 580 synchronized (readLock) { in read() 609 synchronized (readLock) { in read() 707 synchronized (readLock) { in bind() 762 synchronized(readLock) { in connect() 814 synchronized(readLock) { in disconnect() 1152 synchronized (readLock) { in poll()
|
/libcore/ojluni/annotations/hiddenapi/java/io/ |
D | Console.java | 111 private java.lang.Object readLock; field in Console
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | Channels.java | 366 private Object readLock = new Object(); 376 synchronized (readLock) {
|