Home
last modified time | relevance | path

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

12

/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/conscrypt/repackaged/common/src/main/java/com/android/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.java723 private final Object readLock = new Object();
752 synchronized (readLock) {
762 synchronized (readLock) {
779 synchronized (readLock) {
787 synchronized (readLock) {
795 synchronized (readLock) {
DConscryptFileDescriptorSocket.java514 private final Object readLock = new Object(); field in ConscryptFileDescriptorSocket.SSLInputStream
545 synchronized (readLock) { in read()
583 synchronized (readLock) {} in awaitPendingOps()
/external/conscrypt/common/src/main/java/org/conscrypt/
DNativeSsl.java401 lock.readLock().lock(); in doHandshake()
408 lock.readLock().unlock(); in doHandshake()
413 lock.readLock().lock(); in doHandshake()
417 lock.readLock().unlock(); in doHandshake()
424 lock.readLock().lock(); in read()
432 lock.readLock().unlock(); in read()
439 lock.readLock().lock(); in write()
447 lock.readLock().unlock(); in write()
537 lock.readLock().lock(); in shutdown()
541 lock.readLock().unlock(); in shutdown()
[all …]
DConscryptEngineSocket.java707 private final Object readLock = new Object();
736 synchronized (readLock) {
746 synchronized (readLock) {
763 synchronized (readLock) {
771 synchronized (readLock) {
779 synchronized (readLock) {
DConscryptFileDescriptorSocket.java514 private final Object readLock = new Object(); field in ConscryptFileDescriptorSocket.SSLInputStream
545 synchronized (readLock) { in read()
583 synchronized (readLock) {} in awaitPendingOps()
/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/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/Orc/
DRawByteChannel.h63 readLock.lock(); in startReceiveMessage()
65 readLock.unlock(); in startReceiveMessage()
74 readLock.unlock(); in endReceiveMessage()
79 std::mutex &getReadLock() { return readLock; } in getReadLock()
85 std::mutex readLock, writeLock;
/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/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/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/jsilver/src/com/google/clearsilver/jsilver/adaptor/
DLoadPathToFileCache.java51 cacheLock.readLock().lock(); in lookup()
55 cacheLock.readLock().unlock(); in lookup()
/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()
DStriped.java329 public Lock readLock() {
330 return new WeakSafeLock(delegate.readLock(), this);
/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()
DStriped.java329 public Lock readLock() {
330 return new WeakSafeLock(delegate.readLock(), this);
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DSimpleXYSeries.java40 lock.readLock().lock(); in onBeforeDraw()
45 lock.readLock().unlock(); in onAfterDraw()
/external/llvm/include/llvm/ExecutionEngine/Orc/
DRPCChannel.h45 std::mutex &getReadLock() { return readLock; } in getReadLock()
51 std::mutex readLock, writeLock;
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/decoder/
DSkiaPooledImageRegionDecoder.java253 decoderLock.readLock().lock(); in decodeRegion()
277 decoderLock.readLock().unlock(); in decodeRegion()
DSkiaImageRegionDecoder.java155 return decoderLock.readLock(); in getDecodeLock()

12