/external/guava/guava/src/com/google/common/util/concurrent/ |
D | Monitor.java | 375 if (!fair && lock.tryLock()) { in enter() 383 return lock.tryLock(timeoutNanos, TimeUnit.NANOSECONDS); in enter() 402 return lock.tryLock(time, unit); in enterInterruptibly() 413 return lock.tryLock(); in tryEnter() 478 if (fair || !lock.tryLock()) { in enterWhen() 480 if (!lock.tryLock(time, unit)) { in enterWhen() 522 if (fair || !lock.tryLock()) { in enterWhenUninterruptibly() 526 locked = lock.tryLock(timeoutNanos, TimeUnit.NANOSECONDS); in enterWhenUninterruptibly() 643 if (!lock.tryLock(time, unit)) { in enterIfInterruptibly() 670 if (!lock.tryLock()) { in tryEnterIf()
|
D | CycleDetectingLockFactory.java | 836 public boolean tryLock() { in tryLock() method in CycleDetectingLockFactory.CycleDetectingReentrantLock 839 return super.tryLock(); in tryLock() 846 public boolean tryLock(long timeout, TimeUnit unit) in tryLock() method in CycleDetectingLockFactory.CycleDetectingReentrantLock 850 return super.tryLock(timeout, unit); in tryLock() 943 public boolean tryLock() { in tryLock() method in CycleDetectingLockFactory.CycleDetectingReentrantReadLock 946 return super.tryLock(); in tryLock() 953 public boolean tryLock(long timeout, TimeUnit unit) in tryLock() method in CycleDetectingLockFactory.CycleDetectingReentrantReadLock 957 return super.tryLock(timeout, unit); in tryLock() 1005 public boolean tryLock() { in tryLock() method in CycleDetectingLockFactory.CycleDetectingReentrantWriteLock 1008 return super.tryLock(); in tryLock() [all …]
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | CycleDetectingLockFactoryTest.java | 473 assertFalse(lockA.tryLock()); in testReentrantLock_tryLock() 476 assertTrue(lockA.tryLock()); in testReentrantLock_tryLock() 484 assertFalse(writeLockA.tryLock()); in testReentrantWriteLock_tryLock() 485 assertFalse(readLockA.tryLock()); in testReentrantWriteLock_tryLock() 488 assertTrue(writeLockA.tryLock()); in testReentrantWriteLock_tryLock() 489 assertTrue(readLockA.tryLock()); in testReentrantWriteLock_tryLock() 497 assertFalse(writeLockA.tryLock()); in testReentrantReadLock_tryLock() 498 assertTrue(readLockA.tryLock()); in testReentrantReadLock_tryLock() 502 assertTrue(writeLockA.tryLock()); in testReentrantReadLock_tryLock() 503 assertTrue(readLockA.tryLock()); in testReentrantReadLock_tryLock()
|
/external/deqp/framework/delibs/decpp/ |
D | deMutex.hpp | 45 bool tryLock (void) throw(); 114 inline bool Mutex::tryLock (void) throw() in tryLock() function in de::Mutex
|
D | deThreadSafeRingBuffer.hpp | 110 if (!m_writeMutex.tryLock()) in tryPushFront() 139 if (!m_readMutex.tryLock()) in tryPopBack()
|
D | deBlockBuffer.hpp | 276 if (!m_writeLock.tryLock()) in tryWrite() 325 if (!m_writeLock.tryLock()) in tryFlush() 355 if (!m_readLock.tryLock()) in tryRead()
|
/external/deqp/framework/common/ |
D | tcuApp.cpp | 226 if (!m_crashLock.tryLock() || m_crashed) in onWatchdogTimeout() 253 if (!m_crashLock.tryLock() || m_crashed) in onCrash()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | tilemgr.h | 55 bool tryLock() in tryLock() function 57 return mFifo.tryLock(); in tryLock()
|
D | fifo.hpp | 71 bool tryLock() in tryLock() function
|
D | threads.cpp | 540 if (tile->tryLock()) in WorkOnFifoBE()
|
/external/deqp/execserver/ |
D | xsTcpServer.cpp | 126 if (m_connectionListLock.tryLock()) in ~TcpServer()
|
D | xsExecutionServer.cpp | 114 if (!m_testDriverLock.tryLock()) in acquireTestDriver()
|
/external/deqp/framework/platform/ios/ |
D | tcuIOSPlatform.mm | 50 if (!m_viewLock.tryLock())
|
/external/guava/guava/src/com/google/common/collect/ |
D | MapMakerInternalMap.java | 2171 if (tryLock()) { in tryDrainReferenceQueues() 2328 if (tryLock()) { in tryExpireEntries() 3078 if (tryLock()) { in runLockedCleanup()
|
/external/guava/guava/src/com/google/common/cache/ |
D | LocalCache.java | 2460 if (tryLock()) { in tryDrainReferenceQueues() 2608 if (tryLock()) { in tryExpireEntries() 3446 if (tryLock()) { in runLockedCleanup()
|