/external/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 | Android.mk | 23 test_name := thread/thread.mutex/thread.lock.algorithm/try_lock 24 test_src := try_lock.pass.cpp
|
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
|
/external/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()
|
D | Android.mk | 35 test_name := thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/try_lock 36 test_src := try_lock.pass.cpp
|
/external/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 | Android.mk | 35 …mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/try_lock 36 test_src := try_lock.pass.cpp
|
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()
|
/external/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()
|
D | Android.mk | 31 …ead.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/try_lock 32 test_src := try_lock.pass.cpp
|
/external/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()
|
D | Android.mk | 35 test_name := thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/try_lock 36 test_src := try_lock.pass.cpp
|
/external/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()
|
D | Android.mk | 31 …/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/try_lock 32 test_src := try_lock.pass.cpp
|
/external/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()
|
D | Android.mk | 35 …ead.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/try_lock 36 test_src := try_lock.pass.cpp
|
/external/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()
|
D | Android.mk | 51 …read.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock 52 test_src := try_lock.pass.cpp
|
/external/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&...); 204 bool try_lock() _NOEXCEPT; 227 bool try_lock() _NOEXCEPT; 270 bool try_lock() _NOEXCEPT; 308 try_lock(_L0& __l0, _L1& __l1) [all …]
|
D | shared_mutex | 33 bool try_lock(); 79 bool try_lock(); 135 bool try_lock(); 314 bool try_lock(); 363 shared_lock<_Mutex>::try_lock() 366 __throw_system_error(EPERM, "shared_lock::try_lock: references null mutex"); 368 __throw_system_error(EDEADLK, "shared_lock::try_lock: already locked");
|
D | __mutex_base | 44 bool try_lock() _NOEXCEPT; 114 : __m_(&__m), __owns_(__m.try_lock()) {} 158 bool try_lock(); 205 unique_lock<_Mutex>::try_lock() 208 __throw_system_error(EPERM, "unique_lock::try_lock: references null mutex"); 210 __throw_system_error(EDEADLK, "unique_lock::try_lock: already locked"); 211 __owns_ = __m_->try_lock();
|
/external/libcxx/src/ |
D | mutex.cpp | 36 mutex::try_lock() _NOEXCEPT in try_lock() function in mutex 104 recursive_mutex::try_lock() _NOEXCEPT in try_lock() function in recursive_mutex 131 timed_mutex::try_lock() _NOEXCEPT in try_lock() function in timed_mutex 182 recursive_timed_mutex::try_lock() _NOEXCEPT in try_lock() function in recursive_timed_mutex
|
D | shared_mutex.cpp | 34 shared_timed_mutex::try_lock() in try_lock() function in shared_timed_mutex
|
/external/compiler-rt/test/tsan/ |
D | deadlock_detector_stress_test.cc | 46 bool try_lock() { return 0 == pthread_mutex_trylock(&mu_); } in try_lock() function in PthreadMutex 73 bool try_lock() { return 0 == pthread_spin_trylock(&mu_); } in try_lock() function in PthreadSpinLock 94 bool try_lock() { return 0 == pthread_rwlock_trywrlock(&mu_); } in try_lock() function in PthreadRWLock 145 return locks_[i]->try_lock(); in T()
|