/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)}). 216 * if (lock.tryLock()) { 232 boolean tryLock(); 292 boolean tryLock(long time, TimeUnit unit) throws InterruptedException;
|
ReentrantLock.java | 38 * Also note that the untimed {@link #tryLock()} method does not 97 * Performs non-fair tryLock. tryAcquire is implemented in 98 * subclasses, but both need nonfair try for trylock method. 316 * fair ordering policy, a call to {@code tryLock()} <em>will</em> 322 * {@link #tryLock(long, TimeUnit) tryLock(0, TimeUnit.SECONDS) } 335 public boolean tryLock() { 348 * are waiting for the lock. This is in contrast to the {@link #tryLock()} 349 * method. If you want a timed {@code tryLock} that does permit barging on 353 * if (lock.tryLock() || [all...] |
ReentrantReadWriteLock.java | 52 * {@link ReadLock#tryLock()} and {@link WriteLock#tryLock()} methods 523 * Performs tryLock for write, enabling barging in both modes. 544 * Performs tryLock for read, enabling barging in both modes. 754 * fair ordering policy, a call to {@code tryLock()} 760 * for this lock, then use {@link #tryLock(long, TimeUnit) 761 * tryLock(0, TimeUnit.SECONDS) } which is almost equivalent 770 public boolean tryLock() { 785 * lock. This is in contrast to the {@link #tryLock()} 786 * method. If you want a timed {@code tryLock} that doe [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
ReadOnlyBinaryDictionary.java | 57 if (mLock.readLock().tryLock()) { 70 if (mLock.readLock().tryLock()) { 82 if (mLock.readLock().tryLock()) { 94 if (mLock.readLock().tryLock()) { 106 if (mLock.readLock().tryLock()) {
|
/external/deqp/framework/delibs/decpp/ |
deMutex.hpp | 45 bool tryLock (void) throw(); 114 inline bool Mutex::tryLock (void) throw()
|
deThreadSafeRingBuffer.hpp | 106 if (!m_writeMutex.tryLock()) 132 if (!m_readMutex.tryLock())
|
deBlockBuffer.hpp | 276 if (!m_writeLock.tryLock()) 325 if (!m_writeLock.tryLock()) 355 if (!m_readLock.tryLock())
|
/packages/apps/Nfc/nci/jni/ |
Mutex.h | 78 ** Function: tryLock 85 bool tryLock ();
|
Mutex.cpp | 106 ** Function: tryLock 113 bool Mutex::tryLock () 118 ALOGE ("Mutex::tryLock: error=0x%X", res);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/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);
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
ThreadingPrimitives.h | 102 bool tryLock(); 108 bool tryLock(); 116 MutexTryLocker(Mutex& mutex) : m_mutex(mutex), m_locked(mutex.tryLock()) { }
|
ThreadingPthreads.cpp | 153 // There is a separate tryLock implementation for the Mutex and the 154 // RecursiveMutex since on Windows we need to manually check if tryLock should 158 bool Mutex::tryLock() 177 bool RecursiveMutex::tryLock()
|
/libcore/luni/src/main/java/java/nio/channels/ |
FileChannel.java | 192 * <code>tryLock()</code> methods. 567 * {@code fileChannel.tryLock(0L, Long.MAX_VALUE, false);} 583 public final FileLock tryLock() throws IOException { 584 return tryLock(0L, Long.MAX_VALUE, false); 616 public abstract FileLock tryLock(long position, long size, boolean shared) [all...] |
/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
sync.h | 18 int tryLock() {
|
/system/core/include/utils/ |
Mutex.h | 59 status_t tryLock(); 117 inline status_t Mutex::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/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...] |
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
sync.h | 33 int tryLock() {
|
/external/deqp/framework/common/ |
tcuApp.cpp | 168 if (!m_crashLock.tryLock() || m_crashed) 191 if (!m_crashLock.tryLock() || m_crashed)
|
/packages/apps/Camera2/src/com/android/camera/tinyplanet/ |
TinyPlanetPreview.java | 82 if (mLock != null && mLock.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...] |
/external/deqp/execserver/ |
xsTcpServer.cpp | 126 if (m_connectionListLock.tryLock())
|