Home
last modified time | relevance | path

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

/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/common/src/main/java/org/conscrypt/
DNativeSsl.java381 lock.readLock().lock(); in doHandshake()
388 lock.readLock().unlock(); in doHandshake()
393 lock.readLock().lock(); in doHandshake()
397 lock.readLock().unlock(); in doHandshake()
404 lock.readLock().lock(); in read()
412 lock.readLock().unlock(); in read()
419 lock.readLock().lock(); in write()
427 lock.readLock().unlock(); in write()
530 lock.readLock().lock(); in readDirectByteBuffer()
535 lock.readLock().unlock(); in readDirectByteBuffer()
[all …]
DConscryptEngineSocket.java654 private final Object readLock = new Object();
683 synchronized (readLock) {
693 synchronized (readLock) {
710 synchronized (readLock) {
718 synchronized (readLock) {
726 synchronized (readLock) {
DConscryptFileDescriptorSocket.java506 private final Object readLock = new Object(); field in ConscryptFileDescriptorSocket.SSLInputStream
537 synchronized (readLock) { in read()
570 synchronized (readLock) {} in awaitPendingOps()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DNativeSsl.java382 lock.readLock().lock(); in doHandshake()
389 lock.readLock().unlock(); in doHandshake()
394 lock.readLock().lock(); in doHandshake()
398 lock.readLock().unlock(); in doHandshake()
405 lock.readLock().lock(); in read()
413 lock.readLock().unlock(); in read()
420 lock.readLock().lock(); in write()
428 lock.readLock().unlock(); in write()
531 lock.readLock().lock(); in readDirectByteBuffer()
536 lock.readLock().unlock(); in readDirectByteBuffer()
[all …]
DConscryptEngineSocket.java662 private final Object readLock = new Object();
691 synchronized (readLock) {
701 synchronized (readLock) {
718 synchronized (readLock) {
726 synchronized (readLock) {
734 synchronized (readLock) {
DConscryptFileDescriptorSocket.java507 private final Object readLock = new Object(); field in ConscryptFileDescriptorSocket.SSLInputStream
538 synchronized (readLock) { in read()
571 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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICURWLock.java148 rwl.readLock().lock(); in acquireRead()
160 rwl.readLock().unlock(); in releaseRead()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICURWLock.java151 rwl.readLock().lock(); in acquireRead()
163 rwl.readLock().unlock(); in releaseRead()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DCycleDetectingLockFactoryTest.java71 readLockA = readWriteLockA.readLock(); in setUp()
72 readLockB = readWriteLockB.readLock(); in setUp()
73 readLockC = readWriteLockC.readLock(); in setUp()
256 Lock lockA = factory.newReentrantReadWriteLock(OtherOrder.FIRST).readLock(); in testExplicitOrdering_reentrantAcquisition()
273 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/guava/guava/src/com/google/common/util/concurrent/
DCycleDetectingLockFactory.java873 private final CycleDetectingReentrantReadLock readLock; field in CycleDetectingLockFactory.CycleDetectingReentrantReadWriteLock
881 this.readLock = new CycleDetectingReentrantReadLock(this); in CycleDetectingReentrantReadWriteLock()
889 public ReadLock readLock() { in readLock() method in CycleDetectingLockFactory.CycleDetectingReentrantReadWriteLock
890 return readLock; in readLock()
/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/guava/src/com/google/common/eventbus/
DEventBus.java256 subscribersByTypeLock.readLock().lock(); in post()
267 subscribersByTypeLock.readLock().unlock(); in post()
/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()
/external/deqp/framework/delibs/decpp/
DdeBlockBuffer.hpp147 ScopedLock readLock (m_readLock); in clear() local
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/
DSubsamplingScaleImageView.java1643 view.decoderLock.readLock().lock(); in doInBackground()
1656 view.decoderLock.readLock().unlock(); in doInBackground()
/external/sqlite/dist/orig/
Dsqlite3.c56050 i16 readLock; /* Which read lock is being held. -1 for none */
56950 pRet->readLock = -1;
57843 pWal->readLock = 0;
58023 assert( pWal->readLock<0 ); /* Not currently locked */
58124 pWal->readLock = 0;
58219 pWal->readLock = (i16)mxI;
58247 assert( pWal->readLock>=0 );
58354 assert( pWal->readLock>0 || pWal->hdr.mxFrame==0 );
58355 assert( pInfo->aReadMark[pWal->readLock]<=pSnapshot->mxFrame );
58381 assert( pWal->readLock>0 );
[all …]
/external/sqlite/dist/
Dsqlite3.c56066 i16 readLock; /* Which read lock is being held. -1 for none */
56966 pRet->readLock = -1;
57859 pWal->readLock = 0;
58039 assert( pWal->readLock<0 ); /* Not currently locked */
58140 pWal->readLock = 0;
58235 pWal->readLock = (i16)mxI;
58263 assert( pWal->readLock>=0 );
58370 assert( pWal->readLock>0 || pWal->hdr.mxFrame==0 );
58371 assert( pInfo->aReadMark[pWal->readLock]<=pSnapshot->mxFrame );
58397 assert( pWal->readLock>0 );
[all …]