Home
last modified time | relevance | path

Searched refs:writeLock (Results 1 – 25 of 37) sorted by relevance

12

/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DSimpleXYSeries.java95 lock.writeLock().lock(); in useImplicitXVals()
99 lock.writeLock().unlock(); in useImplicitXVals()
111 lock.writeLock().lock(); in setModel()
155 lock.writeLock().unlock(); in setModel()
165 lock.writeLock().lock(); in setX()
169 lock.writeLock().unlock(); in setX()
179 lock.writeLock().lock(); in setY()
183 lock.writeLock().unlock(); in setY()
194 lock.writeLock().lock(); in setXY()
198 } finally {lock.writeLock().unlock();} in setXY()
[all …]
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/
DJimfsFileChannel.java259 file.writeLock().lockInterruptibly(); in write()
269 file.writeLock().unlock(); in write()
297 file.writeLock().lockInterruptibly(); in write()
307 file.writeLock().unlock(); in write()
337 file.writeLock().lockInterruptibly(); in write()
345 file.writeLock().unlock(); in write()
360 file.writeLock().lockInterruptibly(); in write()
366 file.writeLock().unlock(); in write()
462 file.writeLock().lockInterruptibly(); in truncate()
471 file.writeLock().unlock(); in truncate()
[all …]
DFileSystemView.java254 store.writeLock().lock(); in createFile()
277 store.writeLock().unlock(); in createFile()
331 store.writeLock().lock(); in getOrCreateRegularFileWithWriteLock()
340 store.writeLock().unlock(); in getOrCreateRegularFileWithWriteLock()
350 file.writeLock().lock(); in open()
354 file.writeLock().unlock(); in open()
412 store.writeLock().lock(); in link()
428 store.writeLock().unlock(); in link()
434 store.writeLock().lock(); in deleteFile()
439 store.writeLock().unlock(); in deleteFile()
[all …]
DJimfsOutputStream.java54 file.writeLock().lock(); in write()
63 file.writeLock().unlock(); in write()
81 file.writeLock().lock(); in writeInternal()
90 file.writeLock().unlock(); in writeInternal()
DJimfsFileStore.java60 private final Lock writeLock; field in JimfsFileStore
78 this.writeLock = lock.writeLock(); in JimfsFileStore()
94 Lock writeLock() { in writeLock() method in JimfsFileStore
95 return writeLock; in writeLock()
/external/mockito/src/main/java/org/mockito/internal/matchers/
DCapturingMatcher.java25 private final Lock writeLock = lock.writeLock(); field in CapturingMatcher
58 writeLock.lock(); in captureFrom()
62 writeLock.unlock(); in captureFrom()
/external/jsilver/src/org/clearsilver/
DFactoryLoader.java66 factoryLock.writeLock().lock(); in getClearsilverFactory()
73 factoryLock.writeLock().unlock(); in getClearsilverFactory()
91 factoryLock.writeLock().lock(); in setClearsilverFactory()
97 factoryLock.writeLock().unlock(); in setClearsilverFactory()
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/RPC/
DRawByteChannel.h43 writeLock.lock(); in startSendMessage()
45 writeLock.unlock(); in startSendMessage()
54 writeLock.unlock(); in endSendMessage()
81 std::mutex &getWriteLock() { return writeLock; } in getWriteLock()
84 std::mutex readLock, writeLock;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/RPC/
DRawByteChannel.h43 writeLock.lock(); in startSendMessage()
45 writeLock.unlock(); in startSendMessage()
54 writeLock.unlock(); in endSendMessage()
81 std::mutex &getWriteLock() { return writeLock; } in getWriteLock()
84 std::mutex readLock, writeLock;
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/decoder/
DSkiaImageRegionDecoder.java137 decoderLock.writeLock().lock(); in recycle()
142 decoderLock.writeLock().unlock(); in recycle()
153 return decoderLock.writeLock(); in getDecodeLock()
DSkiaPooledImageRegionDecoder.java230 decoderLock.writeLock().lock(); in initialiseDecoder()
236 decoderLock.writeLock().unlock(); in initialiseDecoder()
296 decoderLock.writeLock().lock(); in recycle()
305 decoderLock.writeLock().unlock(); in recycle()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICURWLock.java186 rwl.writeLock().lock(); in acquireWrite()
199 rwl.writeLock().unlock(); in releaseWrite()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICURWLock.java183 rwl.writeLock().lock(); in acquireWrite()
196 rwl.writeLock().unlock(); in releaseWrite()
/external/jsilver/src/com/google/clearsilver/jsilver/adaptor/
DLoadPathToFileCache.java68 cacheLock.writeLock().lock(); in add()
72 cacheLock.writeLock().unlock(); in add()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DStripedTest.java145 Lock writeLock = striped.get(key).writeLock();
147 assertFalse(writeLock.tryLock());
DCycleDetectingLockFactoryTest.java68 writeLockA = readWriteLockA.writeLock(); in setUp()
69 writeLockB = readWriteLockB.writeLock(); in setUp()
70 writeLockC = readWriteLockC.writeLock(); in setUp()
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DStripedTest.java145 Lock writeLock = striped.get(key).writeLock();
147 assertFalse(writeLock.tryLock());
DCycleDetectingLockFactoryTest.java68 writeLockA = readWriteLockA.writeLock(); in setUp()
69 writeLockB = readWriteLockB.writeLock(); in setUp()
70 writeLockC = readWriteLockC.writeLock(); in setUp()
/external/conscrypt/common/src/main/java/org/conscrypt/
DConscryptEngineSocket.java610 private final Object writeLock = new Object();
628 synchronized (writeLock) {
636 synchronized (writeLock) {
644 synchronized (writeLock) {
689 synchronized (writeLock) {
DNativeSsl.java611 lock.writeLock().lock(); in close()
619 lock.writeLock().unlock(); in close()
695 lock.writeLock().lock(); in close()
703 lock.writeLock().unlock(); in close()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DConscryptEngineSocket.java626 private final Object writeLock = new Object();
644 synchronized (writeLock) {
652 synchronized (writeLock) {
660 synchronized (writeLock) {
705 synchronized (writeLock) {
DNativeSsl.java612 lock.writeLock().lock(); in close()
620 lock.writeLock().unlock(); in close()
696 lock.writeLock().lock(); in close()
704 lock.writeLock().unlock(); in close()
/external/guava/android/guava/src/com/google/common/util/concurrent/
DCycleDetectingLockFactory.java817 private final CycleDetectingReentrantWriteLock writeLock; field in CycleDetectingLockFactory.CycleDetectingReentrantReadWriteLock
824 this.writeLock = new CycleDetectingReentrantWriteLock(this); in CycleDetectingReentrantReadWriteLock()
836 public WriteLock writeLock() { in writeLock() method in CycleDetectingLockFactory.CycleDetectingReentrantReadWriteLock
837 return writeLock; in writeLock()
/external/guava/guava/src/com/google/common/util/concurrent/
DCycleDetectingLockFactory.java816 private final CycleDetectingReentrantWriteLock writeLock; field in CycleDetectingLockFactory.CycleDetectingReentrantReadWriteLock
823 this.writeLock = new CycleDetectingReentrantWriteLock(this); in CycleDetectingReentrantReadWriteLock()
835 public WriteLock writeLock() { in writeLock() method in CycleDetectingLockFactory.CycleDetectingReentrantReadWriteLock
836 return writeLock; in writeLock()
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DJimfsAsynchronousFileChannelTest.java124 file.writeLock().lock(); // cause another thread trying to write to block in testAsyncClose_write()
158 file.writeLock().lock(); // cause another thread trying to read to block in testAsyncClose_read()

12