/ndk/sources/cxx-stl/llvm-libc++/libcxx/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++/libcxx/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++/libcxx/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_until.pass.cpp | 35 assert(m.try_lock()); in f1()
|
D | try_lock_for.pass.cpp | 35 assert(m.try_lock()); in f1()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/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++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/ |
D | try_lock.pass.cpp | 41 assert(lk.try_lock() == true); in main() 46 lk.try_lock(); in main() 54 assert(lk.try_lock() == false); in main() 60 lk.try_lock(); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/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++/libcxx/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++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/ |
D | try_lock.pass.cpp | 34 assert(!m.try_lock()); in f() 35 assert(!m.try_lock()); in f() 36 assert(!m.try_lock()); in f() 37 while(!m.try_lock()) in f()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/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&...); 206 bool try_lock() _NOEXCEPT; 229 bool try_lock() _NOEXCEPT; 272 bool try_lock() _NOEXCEPT; 310 try_lock(_L0& __l0, _L1& __l1) [all …]
|
D | shared_mutex | 33 bool try_lock(); 79 bool try_lock(); 137 bool try_lock(); 316 bool try_lock(); 365 shared_lock<_Mutex>::try_lock() 368 __throw_system_error(EPERM, "shared_lock::try_lock: references null mutex"); 370 __throw_system_error(EDEADLK, "shared_lock::try_lock: already locked");
|
D | __mutex_base | 47 bool try_lock() _NOEXCEPT; 118 : __m_(&__m), __owns_(__m.try_lock()) {} 162 bool try_lock(); 209 unique_lock<_Mutex>::try_lock() 212 __throw_system_error(EPERM, "unique_lock::try_lock: references null mutex"); 214 __throw_system_error(EDEADLK, "unique_lock::try_lock: already locked"); 215 __owns_ = __m_->try_lock();
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/smart_ptr/detail/ |
D | spinlock_sync.hpp | 38 bool try_lock() in try_lock() function in boost::detail::spinlock 46 for( unsigned k = 0; !try_lock(); ++k ) in lock()
|
D | spinlock_pt.hpp | 34 bool try_lock() in try_lock() function in boost::detail::spinlock
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/ |
D | mutex.cpp | 37 mutex::try_lock() _NOEXCEPT in try_lock() function in mutex 105 recursive_mutex::try_lock() _NOEXCEPT in try_lock() function in recursive_mutex 132 timed_mutex::try_lock() _NOEXCEPT in try_lock() function in timed_mutex 183 recursive_timed_mutex::try_lock() _NOEXCEPT in try_lock() function in recursive_timed_mutex
|
D | shared_mutex.cpp | 36 shared_timed_mutex::try_lock() in try_lock() function in shared_timed_mutex
|
D | memory.cpp | 145 while (!m.try_lock()) in lock()
|
/ndk/tests/device/test-libc++-shared-full/jni/ |
D | Android.mk | 3734 $(call gen-test, thread/thread.mutex/thread.lock.algorithm/try_lock) 3749 …l gen-test, thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/try_lock) 3770 …l gen-test, thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/try_lock) 3787 …thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/try_lock) 3791 …ad.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/try_lock) 3797 …irements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock) # path-change 3806 …ad.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/try_lock) 3811 …utex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/try_lock)
|
/ndk/tests/device/test-libc++-static-full/jni/ |
D | Android.mk | 3725 $(call gen-test, thread/thread.mutex/thread.lock.algorithm/try_lock) 3740 …l gen-test, thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/try_lock) 3761 …l gen-test, thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/try_lock) 3778 …thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/try_lock) 3782 …ad.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/try_lock) 3788 …irements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock) # path-change 3797 …ad.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/try_lock) 3802 …utex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/try_lock)
|