/external/libcxx/test/std/thread/thread.mutex/thread.lock.algorithm/ |
D | try_lock.pass.cpp | 29 bool try_lock() in try_lock() function in L0 47 bool try_lock() in try_lock() function in L1 65 bool try_lock() in try_lock() function in L2 81 assert(std::try_lock(l0, l1) == -1); in main() 88 assert(std::try_lock(l0, l1) == 1); in main() 95 assert(std::try_lock(l0, l1) == 0); in main() 105 (void)std::try_lock(l0, l1); in main() 119 (void)std::try_lock(l0, l1); in main() 134 assert(std::try_lock(l0, l1, l2) == -1); in main() 143 assert(std::try_lock(l0, l1, l2) == 0); in main() [all …]
|
D | lock.pass.cpp | 39 bool try_lock() in try_lock() function in L0 62 bool try_lock() in try_lock() function in L1 85 bool try_lock() in try_lock() function in L2
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/ |
D | try_lock.pass.cpp | 27 bool try_lock() in try_lock() function 40 assert(lk.try_lock() == true); in main() 46 TEST_IGNORE_NODISCARD lk.try_lock(); in main() 55 assert(lk.try_lock() == false); in main() 62 TEST_IGNORE_NODISCARD lk.try_lock(); in main()
|
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/ |
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() 40 assert(m.try_lock()); in f()
|
D | try_lock_for.pass.cpp | 37 assert(m.try_lock()); in f1()
|
D | try_lock_until.pass.cpp | 37 assert(m.try_lock()); in f1()
|
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/ |
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() 40 assert(m.try_lock()); in f()
|
/external/libcxx/test/std/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() 47 TEST_IGNORE_NODISCARD lk.try_lock(); in main() 56 assert(lk.try_lock() == false); in main() 63 TEST_IGNORE_NODISCARD lk.try_lock(); in main()
|
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.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()
|
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.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()
|
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/ |
D | try_lock.pass.cpp | 35 assert(!m.try_lock()); in f() 36 assert(!m.try_lock()); in f() 37 assert(!m.try_lock()); in f() 38 while(!m.try_lock()) in f()
|
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/ |
D | try_lock.pass.cpp | 35 assert(!m.try_lock()); in f() 36 assert(!m.try_lock()); in f() 37 assert(!m.try_lock()); in f() 38 while(!m.try_lock()) in f()
|
/external/libcxx/include/ |
D | mutex | 30 bool try_lock(); 47 bool try_lock() noexcept; 64 bool try_lock(); 82 bool try_lock() noexcept; 150 bool try_lock(); 171 int try_lock(L1&, L2&, L3&...); 226 bool try_lock() _NOEXCEPT; 250 bool try_lock() _NOEXCEPT; 294 bool try_lock() _NOEXCEPT; 333 try_lock(_L0& __l0, _L1& __l1) [all …]
|
D | shared_mutex | 33 bool try_lock(); 56 bool try_lock(); 102 bool try_lock(); 166 bool try_lock() _LIBCPP_THREAD_SAFETY_ANNOTATION(try_acquire_capability(true)); 192 _LIBCPP_INLINE_VISIBILITY bool try_lock() { return __base.try_lock(); } 218 bool try_lock(); 400 bool try_lock(); 449 shared_lock<_Mutex>::try_lock() 452 __throw_system_error(EPERM, "shared_lock::try_lock: references null mutex"); 454 __throw_system_error(EDEADLK, "shared_lock::try_lock: already locked");
|
D | __mutex_base | 63 bool try_lock() _NOEXCEPT _LIBCPP_THREAD_SAFETY_ANNOTATION(try_acquire_capability(true)); 137 : __m_(_VSTD::addressof(__m)), __owns_(__m.try_lock()) {} 181 bool try_lock(); 228 unique_lock<_Mutex>::try_lock() 231 __throw_system_error(EPERM, "unique_lock::try_lock: references null mutex"); 233 __throw_system_error(EDEADLK, "unique_lock::try_lock: already locked"); 234 __owns_ = __m_->try_lock();
|
/external/libcxx/src/ |
D | mutex.cpp | 37 mutex::try_lock() _NOEXCEPT in try_lock() function in mutex 83 recursive_mutex::try_lock() _NOEXCEPT in try_lock() function in recursive_mutex 110 timed_mutex::try_lock() _NOEXCEPT in try_lock() function in timed_mutex 161 recursive_timed_mutex::try_lock() _NOEXCEPT in try_lock() function in recursive_timed_mutex
|
D | shared_mutex.cpp | 37 __shared_mutex_base::try_lock() in try_lock() function in __shared_mutex_base 108 bool shared_timed_mutex::try_lock() { return __base.try_lock(); } in try_lock() function in shared_timed_mutex
|
/external/tensorflow/tensorflow/core/platform/default/ |
D | mutex.h | 46 bool try_lock() EXCLUSIVE_TRYLOCK_FUNCTION(true); 73 if (!mu.try_lock()) { in mutex_lock()
|
D | mutex.cc | 40 bool mutex::try_lock() { return nsync::nsync_mu_trylock(mu_cast(&mu_)) != 0; }; in try_lock() function in tensorflow::mutex
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/ |
D | mutex.pass.cpp | 29 bool try_lock() { if (locked) return false; locked = true; return true; } in try_lock() function 52 bool try_lock() { in try_lock() function
|
D | adopt_lock.pass.cpp | 28 bool try_lock() { if (locked) return false; locked = true; return true; } in try_lock() function
|
/external/compiler-rt/test/tsan/ |
D | deadlock_detector_stress_test.cc | 43 bool try_lock() { return 0 == pthread_mutex_trylock(&mu_); } in try_lock() function in PthreadMutex 71 bool try_lock() { return 0 == pthread_spin_trylock(&mu_); } in try_lock() function in PthreadSpinLock 95 bool try_lock() { return 0 == pthread_rwlock_trywrlock(&mu_); } in try_lock() function in PthreadRWLock 146 return locks_[i]->try_lock(); in T()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | Mutex.h | 127 bool try_lock() { in try_lock() function
|
/external/llvm/include/llvm/Support/ |
D | Mutex.h | 126 bool try_lock() { in try_lock() function
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Mutex.h | 126 bool try_lock() { in try_lock() function
|