/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
Mutex.h | 82 ** Function: tryLock 89 bool tryLock ();
|
Mutex.cpp | 109 ** Function: tryLock 116 bool Mutex::tryLock () 121 ALOGE ("Mutex::tryLock: error=0x%X", res);
|
/libcore/luni/src/main/java/java/util/concurrent/locks/ |
Lock.java | 68 * #tryLock()}), an attempt to acquire the lock that can be 70 * the lock that can timeout ({@link #tryLock(long, TimeUnit)}). 215 * if (lock.tryLock()) { 231 boolean tryLock(); 291 boolean tryLock(long time, TimeUnit unit) throws InterruptedException;
|
ReentrantLock.java | 38 * Also note that the untimed {@link #tryLock() tryLock} method does not 98 * Performs non-fair tryLock. tryAcquire is 100 * try for trylock method. 319 * fair ordering policy, a call to {@code tryLock()} <em>will</em> 325 * {@link #tryLock(long, TimeUnit) tryLock(0, TimeUnit.SECONDS) } 338 public boolean tryLock() { 351 * are waiting for the lock. This is in contrast to the {@link #tryLock()} 352 * method. If you want a timed {@code tryLock} that does permit barging o [all...] |
/packages/apps/Nfc/nci/jni/ |
Mutex.h | 78 ** Function: tryLock 85 bool tryLock ();
|
Mutex.cpp | 104 ** Function: tryLock 111 bool Mutex::tryLock () 116 ALOGE ("Mutex::tryLock: error=0x%X", res);
|
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/ |
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);
|
/libcore/luni/src/main/java/java/nio/channels/ |
FileChannel.java | 192 * <code>tryLock()</code> methods. 570 * {@code fileChannel.tryLock(0L, Long.MAX_VALUE, false);} 586 public final FileLock tryLock() throws IOException { 587 return tryLock(0L, Long.MAX_VALUE, false); 619 public abstract FileLock tryLock(long position, long size, boolean shared) [all...] |
/external/webkit/Source/JavaScriptCore/wtf/ |
ThreadingNone.cpp | 48 bool Mutex::tryLock() { return false; }
|
ThreadingPrimitives.h | 107 bool tryLock();
|
/frameworks/native/include/utils/ |
Mutex.h | 59 status_t tryLock(); 117 inline status_t Mutex::tryLock() {
|
/frameworks/av/media/libmedia/ |
AudioTrackShared.cpp | 74 if (!tryLock()) { 161 if (!tryLock()) { 177 bool audio_track_cblk_t::tryLock() 184 err = lock.tryLock(); 187 err = lock.tryLock();
|
/hardware/samsung_slsi/exynos5/libexynosutils/ |
ExynosMutex.cpp | 157 bool ExynosMutex::tryLock(void) 167 ALOGD("%s::%s'trylock() start", __func__, m_name); 170 ret = ((Mutex *)m_mutex)->tryLock(); 173 ALOGD("%s::%s'trylock() end", __func__, m_name); 247 return ((ExynosMutex *)handle)->tryLock();
|
ExynosMutex.h | 70 //! trylock Mutex 71 bool tryLock(void);
|
/external/webkit/Source/WebCore/storage/ |
OriginQuotaManager.h | 49 bool tryLock();
|
OriginQuotaManager.cpp | 45 bool OriginQuotaManager::tryLock() 47 bool locked = m_usageRecordGuard.tryLock();
|
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...] |
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());
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
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/ |
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...
|
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...
|
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.
|
/external/webkit/Source/JavaScriptCore/wtf/qt/ |
ThreadingQt.cpp | 231 bool Mutex::tryLock() 233 return m_mutex->tryLock();
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
OldFileChannelTest.java | 209 writeOnlyFileChannel.tryLock(0, -1, false); 216 writeOnlyFileChannel.tryLock(-1, 0, false); 223 readWriteFileChannel.tryLock(-1, -1, false); 230 readWriteFileChannel.tryLock(Long.MAX_VALUE, 1, false); 239 FileLock lock = readWriteFileChannel.tryLock(tooBig, 1, false); 243 lock = readWriteFileChannel.tryLock(0, tooBig, false); 249 FileLock lockOne = readWriteFileChannel.tryLock(0, 10, false); 250 FileLock lockTwo = readWriteFileChannel.tryLock(10, 20, false); 254 lockOne = readWriteFileChannel.tryLock(0, 10, false); [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
ExpandableBinaryDictionary.java | 206 if (mLocalDictionaryController.tryLock()) { 226 if (mLocalDictionaryController.tryLock()) { 247 if (mLocalDictionaryController.tryLock()) {
|