/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/ |
try_lock.pass.cpp | 16 // bool try_lock(); 25 bool try_lock() function in struct:mutex 38 assert(lk.try_lock() == true); 43 lk.try_lock(); 51 assert(lk.try_lock() == false); 57 lk.try_lock();
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/ |
try_lock.pass.cpp | 14 // bool try_lock(); 23 bool try_lock() function in struct:mutex 36 assert(lk.try_lock() == true); 41 lk.try_lock(); 49 assert(lk.try_lock() == false); 55 lk.try_lock();
|
/external/libcxx/src/ |
shared_mutex.cpp | 38 __shared_mutex_base::try_lock() function in class:__shared_mutex_base 109 bool shared_timed_mutex::try_lock() { return __base.try_lock(); } function in class:shared_timed_mutex
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/ |
shared_mutex.cpp | 36 shared_timed_mutex::try_lock() function in class:shared_timed_mutex
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock.algorithm/ |
lock.pass.cpp | 32 bool try_lock() function in class:L0 55 bool try_lock() function in class:L1 78 bool try_lock() function in class:L2
|
try_lock.pass.cpp | 15 // int try_lock(L1&, L2&, L3&...); 27 bool try_lock() function in class:L0 45 bool try_lock() function in class:L1 63 bool try_lock() function in class:L2 79 assert(std::try_lock(l0, l1) == -1); 86 assert(std::try_lock(l0, l1) == 1); 93 assert(std::try_lock(l0, l1) == 0); 102 std::try_lock(l0, l1); 116 std::try_lock(l0, l1); 130 assert(std::try_lock(l0, l1, l2) == -1) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock.algorithm/ |
lock.pass.cpp | 30 bool try_lock() function in class:L0 53 bool try_lock() function in class:L1 76 bool try_lock() function in class:L2
|
try_lock.pass.cpp | 13 // int try_lock(L1&, L2&, L3&...); 25 bool try_lock() function in class:L0 43 bool try_lock() function in class:L1 61 bool try_lock() function in class:L2 77 assert(std::try_lock(l0, l1) == -1); 84 assert(std::try_lock(l0, l1) == 1); 91 assert(std::try_lock(l0, l1) == 0); 100 std::try_lock(l0, l1); 114 std::try_lock(l0, l1); 128 assert(std::try_lock(l0, l1, l2) == -1) [all...] |
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/smart_ptr/detail/ |
spinlock_pt.hpp | 34 bool try_lock() function in class:boost::detail::spinlock
|
spinlock_sync.hpp | 38 bool try_lock() function in class:boost::detail::spinlock 46 for( unsigned k = 0; !try_lock(); ++k )
|
/system/core/adb/sysdeps/ |
mutex.h | 50 bool try_lock() { function in class:std::recursive_mutex 86 bool try_lock() { function in class:std::mutex 87 if (!mutex_.try_lock()) {
|
/external/llvm/include/llvm/Support/ |
Mutex.h | 126 bool try_lock() { function in class:llvm::sys::SmartMutex
|
/external/compiler-rt/test/tsan/ |
deadlock_detector_stress_test.cc | 43 bool try_lock() { return 0 == pthread_mutex_trylock(&mu_); } function in class:PthreadMutex 71 bool try_lock() { return 0 == pthread_spin_trylock(&mu_); } function in class:PthreadSpinLock 95 bool try_lock() { return 0 == pthread_rwlock_trywrlock(&mu_); } function in class:PthreadRWLock 146 return locks_[i]->try_lock();
|