Home
last modified time | relevance | path

Searched refs:tryLock (Results 1 – 14 of 14) sorted by relevance

/external/guava/guava/src/com/google/common/util/concurrent/
DMonitor.java311 if (!fair && lock.tryLock()) { in enter()
321 return lock.tryLock(remainingNanos, TimeUnit.NANOSECONDS); in enter()
340 return lock.tryLock(time, unit); in enterInterruptibly()
351 return lock.tryLock(); in tryEnter()
410 if (!fair && lock.tryLock()) { in enterWhen()
414 if (!lock.tryLock(time, unit)) { in enterWhen()
445 if (!fair && lock.tryLock()) { in enterWhenUninterruptibly()
453 if (lock.tryLock(remainingNanos, TimeUnit.NANOSECONDS)) { in enterWhenUninterruptibly()
564 if (!lock.tryLock(time, unit)) { in enterIfInterruptibly()
591 if (!lock.tryLock()) { in tryEnterIf()
/external/chromium_org/third_party/WebKit/Source/wtf/
DThreadingPrimitives.h81 bool tryLock();
95 MutexTryLocker(Mutex& mutex) : m_mutex(mutex), m_locked(mutex.tryLock()) { } in MutexTryLocker()
DThreadingPthreads.cpp318 bool Mutex::tryLock() in tryLock() function in WTF::Mutex
DThreadingWin.cpp284 bool Mutex::tryLock() in tryLock() function in WTF::Mutex
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
DMutex.h89 bool tryLock ();
DMutex.cpp116 bool Mutex::tryLock () in tryLock() function in Mutex
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/
DDatabaseBackendBase.cpp147 ASSERT(!guidMutex().tryLock()); in guidToVersionMap()
156 ASSERT(!guidMutex().tryLock()); in updateGuidVersionMap()
172 ASSERT(!guidMutex().tryLock()); in guidToDatabaseMap()
180 ASSERT(!guidMutex().tryLock()); in guidForOriginAndName()
DDatabaseBackend.cpp130 ASSERT(!m_transactionInProgressMutex.tryLock()); // Locked by caller. in scheduleTransaction()
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/sqlite/
DSQLiteDatabase.cpp122 while (!m_lockingMutex.tryLock()) { in interrupt()
135 ASSERT(!m_lockingMutex.tryLock()); in isInterrupted()
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
DAudioContext.cpp740 bool AudioContext::tryLock(bool& mustReleaseLock) in tryLock() function in WebCore::AudioContext
762 hasLock = m_contextGraphMutex.tryLock(); in tryLock()
804 if (tryLock(mustReleaseLock)) { in handlePreRenderTasks()
824 if (tryLock(mustReleaseLock)) { in handlePostRenderTasks()
DAudioContext.h194 bool tryLock(bool& mustReleaseLock);
DAudioNode.cpp512 hasLock = context()->tryLock(mustReleaseLock); in deref()
/external/guava/guava/src/com/google/common/collect/
DMapMakerInternalMap.java2206 if (tryLock()) { in tryDrainReferenceQueues()
2363 if (tryLock()) { in tryExpireEntries()
3123 if (tryLock()) { in runLockedCleanup()
/external/guava/guava/src/com/google/common/cache/
DLocalCache.java2488 if (tryLock()) { in tryDrainReferenceQueues()
2636 if (tryLock()) { in tryExpireEntries()
3476 if (tryLock()) { in runLockedCleanup()