/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
H A D | Mutex.h | 82 ** Function: tryLock 89 bool tryLock ();
|
H A D | Mutex.cpp | 109 ** Function: tryLock 116 bool Mutex::tryLock () function in class:Mutex 121 ALOGE ("Mutex::tryLock: error=0x%X", res);
|
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/ |
H A D | FileChannelLockingTest.java | 159 readOnlyChannel.tryLock(); 169 readOnlyChannel.tryLock(0, 99, false); 177 readOnlyChannel.tryLock(-99, 0, true); 184 FileLock tmpLock = readOnlyChannel.tryLock(0, 10, true); 189 FileLock lock = readOnlyChannel.tryLock(10, 788, true); 194 readOnlyChannel.tryLock(1, 23, true); 201 FileLock adjacentLock = readOnlyChannel.tryLock(1, 3, true);
|
H A D | FileChannelTest.java | 863 * @tests java.nio.channels.FileChannel#tryLock() 867 // Verify that calling tryLock() leads to the method 868 // tryLock(long, long, boolean) being called with a 0 for the 871 mockFileChannel.tryLock(); 876 * @tests java.nio.channels.FileChannel#tryLock(long, long, boolean) 881 readOnlyFileChannel.tryLock(0, 10, false); 889 writeOnlyFileChannel.tryLock(0, 10, false); 897 readWriteFileChannel.tryLock(0, 10, false); 905 readWriteFileChannel.tryLock(-1, 0, false); 913 * @tests java.nio.channels.FileChannel#tryLock(lon 3089 public FileLock tryLock(long position, long size, boolean shared) method in class:FileChannelTest.MockFileChannel [all...] |
/external/webkit/Source/JavaScriptCore/wtf/ |
H A D | ThreadingNone.cpp | 48 bool Mutex::tryLock() { return false; } function in class:WTF::Mutex
|
H A D | ThreadingPrimitives.h | 107 bool tryLock();
|
H A D | ThreadingPthreads.cpp | 273 bool Mutex::tryLock() function in class:WTF::Mutex
|
H A D | ThreadingWin.cpp | 294 bool Mutex::tryLock() function in class:WTF::Mutex
|
/external/webkit/Source/WebCore/storage/ |
H A D | OriginQuotaManager.h | 49 bool tryLock();
|
H A D | OriginQuotaManager.cpp | 45 bool OriginQuotaManager::tryLock() function in class:WebCore::OriginQuotaManager 47 bool locked = m_usageRecordGuard.tryLock();
|
H A D | DatabaseTracker.cpp | 110 ASSERT(!m_databaseGuard.tryLock()); 195 ASSERT(!m_databaseGuard.tryLock()); 208 ASSERT(!m_databaseGuard.tryLock()); 275 ASSERT(!m_databaseGuard.tryLock()); 276 ASSERT(!originQuotaManager().tryLock()); 336 ASSERT(!m_databaseGuard.tryLock()); 372 ASSERT(!m_databaseGuard.tryLock()); 617 ASSERT(!originQuotaManager().tryLock()); 646 ASSERT(!m_databaseGuard.tryLock()); 706 ASSERT(!m_databaseGuard.tryLock()); [all...] |
H A D | StorageTracker.cpp | 95 ASSERT(!m_databaseGuard.tryLock()); 103 ASSERT(!m_databaseGuard.tryLock()); 508 ASSERT(!m_originSetGuard.tryLock()); 518 ASSERT(!m_originSetGuard.tryLock()); 525 ASSERT(!m_databaseGuard.tryLock());
|
H A D | AbstractDatabase.cpp | 115 ASSERT(!guidMutex().tryLock());
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
H A D | Monitor.java | 311 if (!fair && lock.tryLock()) { 321 return lock.tryLock(remainingNanos, TimeUnit.NANOSECONDS); 340 return lock.tryLock(time, unit); 351 return lock.tryLock(); 410 if (!fair && lock.tryLock()) { 414 if (!lock.tryLock(time, unit)) { 445 if (!fair && lock.tryLock()) { 453 if (lock.tryLock(remainingNanos, TimeUnit.NANOSECONDS)) { 564 if (!lock.tryLock(time, unit)) { 591 if (!lock.tryLock()) { [all...] |
/external/webkit/Source/WebCore/webaudio/ |
H A D | AudioBasicProcessorNode.cpp | 74 // The realtime thread can't block on this lock, so we call tryLock() instead. 75 if (m_processLock.tryLock()) { 90 // Too bad - the tryLock() failed. We must be in the middle of re-connecting and were already outputting silence anyway...
|
H A D | AudioGainNode.cpp | 60 // The realtime thread can't block on this lock, so we call tryLock() instead. 61 if (m_processLock.tryLock()) { 73 // Too bad - the tryLock() failed. We must be in the middle of re-connecting and were already outputting silence anyway...
|
H A D | ConvolverNode.cpp | 69 if (m_processLock.tryLock()) { 82 // Too bad - the tryLock() failed. We must be in the middle of setting a new impulse response.
|
H A D | AudioContext.cpp | 395 bool AudioContext::tryLock(bool& mustReleaseLock) function in class:WebCore::AudioContext 404 // In release build treat tryLock() as lock() (since above ASSERT(isAudioThread) never fires) - this is the best we can do. 417 hasLock = m_contextGraphMutex.tryLock(); 457 // It's OK if the tryLock() fails, we'll just take slightly longer to pick up the changes. 459 if (tryLock(mustReleaseLock)) { 473 // Must use a tryLock() here too. Don't worry, the lock will very rarely be contended and this method is called frequently. 477 if (tryLock(mustReleaseLock)) { 478 // Take care of finishing any derefs where the tryLock() failed previously.
|
H A D | AudioNode.cpp | 205 // In the case of the audio thread, we must use a tryLock to avoid glitches. 211 hasLock = context()->tryLock(mustReleaseLock);
|
H A D | AudioContext.h | 156 bool tryLock(bool& mustReleaseLock); 182 // In AudioNode::deref() a tryLock() is used for calling finishDeref(), but if it fails keep track here.
|
H A D | AudioBufferSourceNode.cpp | 88 // The audio thread can't block on this lock, so we call tryLock() instead. 89 // Careful - this is a tryLock() and not an autolocker, so we must unlock() before every return. 90 if (m_processLock.tryLock()) { 132 // Too bad - the tryLock() failed. We must be in the middle of changing buffers and were already outputting silence anyway.
|
/external/webkit/Source/JavaScriptCore/wtf/qt/ |
H A D | ThreadingQt.cpp | 231 bool Mutex::tryLock() function in class:WTF::Mutex 233 return m_mutex->tryLock();
|
/external/webkit/Source/JavaScriptCore/wtf/gtk/ |
H A D | ThreadingGtk.cpp | 189 bool Mutex::tryLock() function in class:WTF::Mutex
|
/external/webkit/Source/WebCore/platform/audio/ |
H A D | ReverbConvolver.cpp | 204 // Not using a MutexLocker looks strange, but we use a tryLock() instead because this is run on the real-time 209 if (m_backgroundThreadLock.tryLock()) {
|
/external/webkit/Source/WebCore/platform/sql/ |
H A D | SQLiteDatabase.cpp | 112 while (!m_lockingMutex.tryLock()) { 126 ASSERT(!m_lockingMutex.tryLock());
|