Home
last modified time | relevance | path

Searched refs:readLock (Results 1 – 25 of 36) sorted by relevance

12

/external/conscrypt/common/src/main/java/org/conscrypt/
DNativeSsl.java402 lock.readLock().lock(); in doHandshake()
409 lock.readLock().unlock(); in doHandshake()
414 lock.readLock().lock(); in doHandshake()
418 lock.readLock().unlock(); in doHandshake()
425 lock.readLock().lock(); in read()
433 lock.readLock().unlock(); in read()
440 lock.readLock().lock(); in write()
448 lock.readLock().unlock(); in write()
538 lock.readLock().lock(); in shutdown()
542 lock.readLock().unlock(); in shutdown()
[all …]
DConscryptEngineSocket.java716 private final Object readLock = new Object();
745 synchronized (readLock) {
755 synchronized (readLock) {
772 synchronized (readLock) {
780 synchronized (readLock) {
788 synchronized (readLock) {
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DNativeSsl.java403 lock.readLock().lock(); in doHandshake()
410 lock.readLock().unlock(); in doHandshake()
415 lock.readLock().lock(); in doHandshake()
419 lock.readLock().unlock(); in doHandshake()
426 lock.readLock().lock(); in read()
434 lock.readLock().unlock(); in read()
441 lock.readLock().lock(); in write()
449 lock.readLock().unlock(); in write()
539 lock.readLock().lock(); in shutdown()
543 lock.readLock().unlock(); in shutdown()
[all …]
DConscryptEngineSocket.java732 private final Object readLock = new Object();
761 synchronized (readLock) {
771 synchronized (readLock) {
788 synchronized (readLock) {
796 synchronized (readLock) {
804 synchronized (readLock) {
/external/mockito/src/main/java/org/mockito/internal/matchers/
DCapturingMatcher.java24 private final Lock readLock = lock.readLock(); field in CapturingMatcher
36 readLock.lock(); in getLastValue()
44 readLock.unlock(); in getLastValue()
49 readLock.lock(); in getAllValues()
53 readLock.unlock(); in getAllValues()
/external/jsilver/src/org/clearsilver/
DFactoryLoader.java63 factoryLock.readLock().lock(); in getClearsilverFactory()
65 factoryLock.readLock().unlock(); in getClearsilverFactory()
71 factoryLock.readLock().lock(); in getClearsilverFactory()
77 factoryLock.readLock().unlock(); in getClearsilverFactory()
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/
DJimfsInputStream.java59 file.readLock().lock(); in read()
70 file.readLock().unlock(); in read()
91 file.readLock().lock(); in readInternal()
103 file.readLock().unlock(); in readInternal()
DFileSystemView.java100 store.readLock().lock(); in lookUpWithLock()
104 store.readLock().unlock(); in lookUpWithLock()
135 store.readLock().lock(); in snapshotWorkingDirectoryEntries()
141 store.readLock().unlock(); in snapshotWorkingDirectoryEntries()
152 store.readLock().lock(); in snapshotModifiedTimes()
167 store.readLock().unlock(); in snapshotModifiedTimes()
181 store.readLock().lock(); in isSameFile()
187 store.readLock().unlock(); in isSameFile()
200 store.readLock().lock(); in toRealPath()
216 store.readLock().unlock(); in toRealPath()
[all …]
DJimfsFileChannel.java155 file.readLock().lockInterruptibly(); in read()
164 file.readLock().unlock(); in read()
192 file.readLock().lockInterruptibly(); in read()
201 file.readLock().unlock(); in read()
228 file.readLock().lockInterruptibly(); in read()
234 file.readLock().unlock(); in read()
434 file.readLock().lockInterruptibly(); in size()
439 file.readLock().unlock(); in size()
514 file.readLock().lockInterruptibly(); in transferTo()
520 file.readLock().unlock(); in transferTo()
DJimfsFileStore.java59 private final Lock readLock; field in JimfsFileStore
77 this.readLock = lock.readLock(); in JimfsFileStore()
89 Lock readLock() { in readLock() method in JimfsFileStore
90 return readLock; in readLock()
DRegularFile.java74 public Lock readLock() { in readLock() method in RegularFile
75 return lock.readLock(); in readLock()
144 readLock().lock(); in size()
148 readLock().unlock(); in size()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DWaltTcpConnection.java43 private final Object readLock = new Object(); field in WaltTcpConnection
165 synchronized (readLock) { in blockingRead()
168 readLock.notifyAll(); in blockingRead()
186 synchronized (readLock) { in blockingRead()
187 while (!messageReceived) readLock.wait(TCP_READ_TIMEOUT_MS); in blockingRead()
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/RPC/
DRawByteChannel.h62 readLock.lock(); in startReceiveMessage()
64 readLock.unlock(); in startReceiveMessage()
73 readLock.unlock(); in endReceiveMessage()
78 std::mutex &getReadLock() { return readLock; } in getReadLock()
84 std::mutex readLock, writeLock;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/RPC/
DRawByteChannel.h62 readLock.lock(); in startReceiveMessage()
64 readLock.unlock(); in startReceiveMessage()
73 readLock.unlock(); in endReceiveMessage()
78 std::mutex &getReadLock() { return readLock; } in getReadLock()
84 std::mutex readLock, writeLock;
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICURWLock.java151 rwl.readLock().lock(); in acquireRead()
163 rwl.readLock().unlock(); in releaseRead()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICURWLock.java148 rwl.readLock().lock(); in acquireRead()
160 rwl.readLock().unlock(); in releaseRead()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DStripedTest.java142 Lock readLock = striped.get(key).readLock();
146 readLock.lock();
148 readLock.unlock();
DCycleDetectingLockFactoryTest.java65 readLockA = readWriteLockA.readLock(); in setUp()
66 readLockB = readWriteLockB.readLock(); in setUp()
67 readLockC = readWriteLockC.readLock(); in setUp()
244 Lock lockA = factory.newReentrantReadWriteLock(OtherOrder.FIRST).readLock(); in testExplicitOrdering_reentrantAcquisition()
261 Lock lockB = factory.newReentrantReadWriteLock(OtherOrder.FIRST).readLock(); in testExplicitOrdering_acquiringMultipleLocksWithSameRank()
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DStripedTest.java142 Lock readLock = striped.get(key).readLock();
146 readLock.lock();
148 readLock.unlock();
DCycleDetectingLockFactoryTest.java65 readLockA = readWriteLockA.readLock(); in setUp()
66 readLockB = readWriteLockB.readLock(); in setUp()
67 readLockC = readWriteLockC.readLock(); in setUp()
244 Lock lockA = factory.newReentrantReadWriteLock(OtherOrder.FIRST).readLock(); in testExplicitOrdering_reentrantAcquisition()
261 Lock lockB = factory.newReentrantReadWriteLock(OtherOrder.FIRST).readLock(); in testExplicitOrdering_acquiringMultipleLocksWithSameRank()
/external/jsilver/src/com/google/clearsilver/jsilver/adaptor/
DLoadPathToFileCache.java51 cacheLock.readLock().lock(); in lookup()
55 cacheLock.readLock().unlock(); in lookup()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DSimpleXYSeries.java40 lock.readLock().lock(); in onBeforeDraw()
45 lock.readLock().unlock(); in onAfterDraw()
/external/guava/android/guava/src/com/google/common/util/concurrent/
DCycleDetectingLockFactory.java816 private final CycleDetectingReentrantReadLock readLock; field in CycleDetectingLockFactory.CycleDetectingReentrantReadWriteLock
823 this.readLock = new CycleDetectingReentrantReadLock(this); in CycleDetectingReentrantReadWriteLock()
831 public ReadLock readLock() { in readLock() method in CycleDetectingLockFactory.CycleDetectingReentrantReadWriteLock
832 return readLock; in readLock()
/external/guava/guava/src/com/google/common/util/concurrent/
DCycleDetectingLockFactory.java815 private final CycleDetectingReentrantReadLock readLock; field in CycleDetectingLockFactory.CycleDetectingReentrantReadWriteLock
822 this.readLock = new CycleDetectingReentrantReadLock(this); in CycleDetectingReentrantReadWriteLock()
830 public ReadLock readLock() { in readLock() method in CycleDetectingLockFactory.CycleDetectingReentrantReadWriteLock
831 return readLock; in readLock()
/external/llvm/include/llvm/ExecutionEngine/Orc/
DRPCChannel.h45 std::mutex &getReadLock() { return readLock; } in getReadLock()
51 std::mutex readLock, writeLock;

12