/ndk/sources/cxx-stl/llvm-libc++/test/thread/thread.mutex/thread.lock.algorithm/ |
D | try_lock.pass.cpp | 25 bool try_lock() in try_lock() function in L0 43 bool try_lock() in try_lock() function in L1 61 bool try_lock() in try_lock() function in L2 77 assert(std::try_lock(l0, l1) == -1); in main() 84 assert(std::try_lock(l0, l1) == 1); in main() 91 assert(std::try_lock(l0, l1) == 0); in main() 100 std::try_lock(l0, l1); in main() 114 std::try_lock(l0, l1); in main() 128 assert(std::try_lock(l0, l1, l2) == -1); in main() 137 assert(std::try_lock(l0, l1, l2) == 0); in main() [all …]
|
D | lock.pass.cpp | 30 bool try_lock() in try_lock() function in L0 53 bool try_lock() in try_lock() function in L1 76 bool try_lock() in try_lock() function in L2
|
/ndk/sources/cxx-stl/llvm-libc++/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/ |
D | try_lock.pass.cpp | 23 bool try_lock() in try_lock() function 36 assert(lk.try_lock() == true); in main() 41 lk.try_lock(); in main() 49 assert(lk.try_lock() == false); in main() 55 lk.try_lock(); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/test/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/ |
D | try_lock.pass.cpp | 32 assert(!m.try_lock()); in f() 33 assert(!m.try_lock()); in f() 34 assert(!m.try_lock()); in f() 35 while(!m.try_lock()) in f() 38 assert(m.try_lock()); in f()
|
/ndk/sources/cxx-stl/llvm-libc++/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/ |
D | try_lock.pass.cpp | 32 assert(!m.try_lock()); in f() 33 assert(!m.try_lock()); in f() 34 assert(!m.try_lock()); in f() 35 while(!m.try_lock()) in f() 38 assert(m.try_lock()); in f()
|
D | try_lock_for.pass.cpp | 35 assert(m.try_lock()); in f1()
|
D | try_lock_until.pass.cpp | 35 assert(m.try_lock()); in f1()
|
/ndk/sources/cxx-stl/llvm-libc++/test/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/ |
D | try_lock.pass.cpp | 32 assert(!m.try_lock()); in f() 33 assert(!m.try_lock()); in f() 34 assert(!m.try_lock()); in f() 35 while(!m.try_lock()) in f()
|
/ndk/sources/cxx-stl/llvm-libc++/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/ |
D | try_lock.pass.cpp | 32 assert(!m.try_lock()); in f() 33 assert(!m.try_lock()); in f() 34 assert(!m.try_lock()); in f() 35 while(!m.try_lock()) in f()
|
/ndk/sources/cxx-stl/llvm-libc++/include/ |
D | mutex | 30 bool try_lock(); 47 bool try_lock() noexcept; 64 bool try_lock(); 82 bool try_lock() noexcept; 135 bool try_lock(); 156 int try_lock(L1&, L2&, L3&...); 204 bool try_lock() _NOEXCEPT; 227 bool try_lock() _NOEXCEPT; 270 bool try_lock() _NOEXCEPT; 308 try_lock(_L0& __l0, _L1& __l1) [all …]
|
D | __mutex_base | 54 bool try_lock() _NOEXCEPT; 124 : __m_(&__m), __owns_(__m.try_lock()) {} 189 bool try_lock(); 236 unique_lock<_Mutex>::try_lock() 239 __throw_system_error(EPERM, "unique_lock::try_lock: references null mutex"); 241 __throw_system_error(EDEADLK, "unique_lock::try_lock: already locked"); 242 __owns_ = __m_->try_lock();
|
/ndk/sources/cxx-stl/llvm-libc++/src/ |
D | mutex.cpp | 36 mutex::try_lock() _NOEXCEPT in try_lock() function in mutex 101 recursive_mutex::try_lock() _NOEXCEPT in try_lock() function in recursive_mutex 128 timed_mutex::try_lock() _NOEXCEPT in try_lock() function in timed_mutex 179 recursive_timed_mutex::try_lock() _NOEXCEPT in try_lock() function in recursive_timed_mutex
|
D | memory.cpp | 137 while (!m.try_lock()) in lock()
|