Home
last modified time | relevance | path

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

12

/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
DFileChannelLockingTest.java159 readOnlyChannel.tryLock(); in test_tryLock()
169 readOnlyChannel.tryLock(0, 99, false); in test_tryLockLLZ()
177 readOnlyChannel.tryLock(-99, 0, true); in test_tryLockLLZ()
184 FileLock tmpLock = readOnlyChannel.tryLock(0, 10, true); in test_tryLockLLZ()
189 FileLock lock = readOnlyChannel.tryLock(10, 788, true); in test_tryLockLLZ()
194 readOnlyChannel.tryLock(1, 23, true); in test_tryLockLLZ()
201 FileLock adjacentLock = readOnlyChannel.tryLock(1, 3, true); in test_tryLockLLZ()
DFileChannelTest.java871 mockFileChannel.tryLock(); in test_tryLock()
881 readOnlyFileChannel.tryLock(0, 10, false); in test_tryLockJJZ_Closed()
889 writeOnlyFileChannel.tryLock(0, 10, false); in test_tryLockJJZ_Closed()
897 readWriteFileChannel.tryLock(0, 10, false); in test_tryLockJJZ_Closed()
905 readWriteFileChannel.tryLock(-1, 0, false); in test_tryLockJJZ_Closed()
917 writeOnlyFileChannel.tryLock(0, -1, false); in test_tryLockJJZ_IllegalArgument()
924 writeOnlyFileChannel.tryLock(-1, 0, false); in test_tryLockJJZ_IllegalArgument()
931 readWriteFileChannel.tryLock(-1, -1, false); in test_tryLockJJZ_IllegalArgument()
938 readWriteFileChannel.tryLock(Long.MAX_VALUE, 1, false); in test_tryLockJJZ_IllegalArgument()
950 readOnlyFileChannel.tryLock(0, 10, false); in test_tryLockJJZ_NonWritable()
[all …]
/external/webkit/Source/WebCore/storage/
DDatabaseTracker.cpp110 ASSERT(!m_databaseGuard.tryLock()); in openTrackerDatabase()
195 ASSERT(!m_databaseGuard.tryLock()); in hasEntryForOriginNoLock()
208 ASSERT(!m_databaseGuard.tryLock()); in hasEntryForDatabase()
275 ASSERT(!m_databaseGuard.tryLock()); in fullPathForDatabaseNoLock()
276 ASSERT(!originQuotaManager().tryLock()); in fullPathForDatabaseNoLock()
336 ASSERT(!m_databaseGuard.tryLock()); in populateOrigins()
372 ASSERT(!m_databaseGuard.tryLock()); in databaseNamesForOriginNoLock()
617 ASSERT(!originQuotaManager().tryLock()); in usageForOriginNoLock()
646 ASSERT(!m_databaseGuard.tryLock()); in quotaForOriginNoLock()
706 ASSERT(!m_databaseGuard.tryLock()); in addDatabase()
[all …]
DOriginQuotaManager.cpp45 bool OriginQuotaManager::tryLock() in tryLock() function in WebCore::OriginQuotaManager
47 bool locked = m_usageRecordGuard.tryLock(); in tryLock()
DStorageTracker.cpp95 ASSERT(!m_databaseGuard.tryLock()); in trackerDatabasePath()
103 ASSERT(!m_databaseGuard.tryLock()); in openTrackerDatabase()
508 ASSERT(!m_originSetGuard.tryLock()); in willDeleteAllOrigins()
518 ASSERT(!m_originSetGuard.tryLock()); in willDeleteOrigin()
525 ASSERT(!m_databaseGuard.tryLock()); in canDeleteOrigin()
DOriginQuotaManager.h49 bool tryLock();
/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/webkit/Source/WebCore/webaudio/
DAudioContext.cpp395 bool AudioContext::tryLock(bool& mustReleaseLock) in tryLock() function in WebCore::AudioContext
417 hasLock = m_contextGraphMutex.tryLock(); in tryLock()
459 if (tryLock(mustReleaseLock)) { in handlePreRenderTasks()
477 if (tryLock(mustReleaseLock)) { in handlePostRenderTasks()
DAudioGainNode.cpp61 if (m_processLock.tryLock()) { in process()
DAudioBasicProcessorNode.cpp75 if (m_processLock.tryLock()) { in process()
DConvolverNode.cpp69 if (m_processLock.tryLock()) { in process()
DAudioNode.cpp211 hasLock = context()->tryLock(mustReleaseLock); in deref()
DAudioContext.h156 bool tryLock(bool& mustReleaseLock);
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
DMutex.h89 bool tryLock ();
DMutex.cpp116 bool Mutex::tryLock () in tryLock() function in Mutex
/external/webkit/Source/JavaScriptCore/wtf/qt/
DThreadingQt.cpp231 bool Mutex::tryLock() in tryLock() function in WTF::Mutex
233 return m_mutex->tryLock(); in tryLock()
/external/webkit/Source/JavaScriptCore/wtf/
DThreadingNone.cpp48 bool Mutex::tryLock() { return false; } in tryLock() function in WTF::Mutex
DThreadingPrimitives.h107 bool tryLock();
/external/webkit/Source/WebCore/platform/sql/
DSQLiteDatabase.cpp112 while (!m_lockingMutex.tryLock()) { in interrupt()
126 ASSERT(!m_lockingMutex.tryLock()); in isInterrupted()
/external/webkit/Source/WebKit2/win/
DWebKit2CFLite.def122 ?tryLock@Mutex@WTF@@QAE_NXZ
DWebKit2.def129 ?tryLock@Mutex@WTF@@QAE_NXZ
/external/webkit/Source/WebKit/win/WebKit.vcproj/
DWebKit_Cairo_debug.def132 ?tryLock@Mutex@WTF@@QAE_NXZ
DWebKit_Cairo.def132 ?tryLock@Mutex@WTF@@QAE_NXZ
/external/webkit/Source/JavaScriptCore/wtf/gtk/
DThreadingGtk.cpp189 bool Mutex::tryLock() in tryLock() function in WTF::Mutex
/external/webkit/Source/WebCore/platform/audio/
DReverbConvolver.cpp209 if (m_backgroundThreadLock.tryLock()) { in process()

12