/external/libcxx/include/ |
D | __mutex_base | 96 class _LIBCPP_TYPE_VIS_ONLY unique_lock 107 unique_lock() _NOEXCEPT : __m_(nullptr), __owns_(false) {} 109 explicit unique_lock(mutex_type& __m) 112 unique_lock(mutex_type& __m, defer_lock_t) _NOEXCEPT 115 unique_lock(mutex_type& __m, try_to_lock_t) 118 unique_lock(mutex_type& __m, adopt_lock_t) 122 unique_lock(mutex_type& __m, const chrono::time_point<_Clock, _Duration>& __t) 126 unique_lock(mutex_type& __m, const chrono::duration<_Rep, _Period>& __d) 129 ~unique_lock() 136 unique_lock(unique_lock const&); // = delete; [all …]
|
D | mutex | 113 class unique_lock 117 unique_lock() noexcept; 118 explicit unique_lock(mutex_type& m); 119 unique_lock(mutex_type& m, defer_lock_t) noexcept; 120 unique_lock(mutex_type& m, try_to_lock_t); 121 unique_lock(mutex_type& m, adopt_lock_t); 123 unique_lock(mutex_type& m, const chrono::time_point<Clock, Duration>& abs_time); 125 unique_lock(mutex_type& m, const chrono::duration<Rep, Period>& rel_time); 126 ~unique_lock(); 128 unique_lock(unique_lock const&) = delete; [all …]
|
D | condition_variable | 34 void wait(unique_lock<mutex>& lock); 36 void wait(unique_lock<mutex>& lock, Predicate pred); 40 wait_until(unique_lock<mutex>& lock, 45 wait_until(unique_lock<mutex>& lock, 51 wait_for(unique_lock<mutex>& lock, 56 wait_for(unique_lock<mutex>& lock, 64 void notify_all_at_thread_exit(condition_variable& cond, unique_lock<mutex> lk); 191 unique_lock<mutex> __lk(*__mut); 194 lock_guard<unique_lock<mutex> > __lx(__lk, adopt_lock); 213 unique_lock<mutex> __lk(*__mut); [all …]
|
/external/llvm/include/llvm/Support/ |
D | UniqueLock.h | 28 class unique_lock { 32 unique_lock(const unique_lock &) = delete; 33 void operator=(const unique_lock &) = delete; 35 unique_lock() : M(nullptr), locked(false) {} in unique_lock() function 36 explicit unique_lock(MutexT &m) : M(&m), locked(true) { M->lock(); } in unique_lock() function 38 void operator=(unique_lock &&o) { 47 ~unique_lock() { if (owns_lock()) M->unlock(); } in ~unique_lock()
|
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvar/ |
D | notify_one.pass.cpp | 32 std::unique_lock<std::mutex> lk(mut); in f1() 42 std::unique_lock<std::mutex> lk(mut); in f2() 56 std::unique_lock<std::mutex>lk(mut); in main() 63 std::unique_lock<std::mutex>lk(mut); in main() 80 std::unique_lock<std::mutex>lk(mut); in main()
|
D | notify_all.pass.cpp | 32 std::unique_lock<std::mutex> lk(mut); in f1() 42 std::unique_lock<std::mutex> lk(mut); in f2() 56 std::unique_lock<std::mutex>lk(mut); in main() 63 std::unique_lock<std::mutex>lk(mut); in main()
|
D | wait_for.pass.cpp | 39 std::unique_lock<std::mutex> lk(mut); in f() 64 std::unique_lock<std::mutex>lk(mut); in main() 78 std::unique_lock<std::mutex>lk(mut); in main()
|
D | wait_for_pred.pass.cpp | 49 std::unique_lock<std::mutex> lk(mut); in f() 72 std::unique_lock<std::mutex>lk(mut); in main() 86 std::unique_lock<std::mutex>lk(mut); in main()
|
D | wait_until.pass.cpp | 54 std::unique_lock<std::mutex> lk(mut); in f() 79 std::unique_lock<std::mutex>lk(mut); in main() 93 std::unique_lock<std::mutex>lk(mut); in main()
|
D | wait_until_pred.pass.cpp | 64 std::unique_lock<std::mutex> lk(mut); in f() 90 std::unique_lock<std::mutex>lk(mut); in main() 104 std::unique_lock<std::mutex>lk(mut); in main()
|
/external/llvm/lib/Support/ |
D | ThreadPool.cpp | 36 std::unique_lock<std::mutex> LockGuard(QueueLock); in ThreadPool() 50 std::unique_lock<std::mutex> LockGuard(CompletionLock); in ThreadPool() 64 std::unique_lock<std::mutex> LockGuard(CompletionLock); in ThreadPool() 77 std::unique_lock<std::mutex> LockGuard(CompletionLock); in wait() 88 std::unique_lock<std::mutex> LockGuard(QueueLock); in asyncImpl() 102 std::unique_lock<std::mutex> LockGuard(QueueLock); in ~ThreadPool()
|
/external/libcxx/src/ |
D | future.cpp | 94 unique_lock<mutex> __lk(__mut_); in set_value() 106 unique_lock<mutex> __lk(__mut_); in set_value_at_thread_exit() 118 unique_lock<mutex> __lk(__mut_); in set_exception() 131 unique_lock<mutex> __lk(__mut_); in set_exception_at_thread_exit() 143 unique_lock<mutex> __lk(__mut_); in __make_ready() 151 unique_lock<mutex> __lk(__mut_); in copy() 160 unique_lock<mutex> __lk(__mut_); in wait() 165 __assoc_sub_state::__sub_wait(unique_lock<mutex>& __lk) in __sub_wait()
|
D | shared_mutex.cpp | 29 unique_lock<mutex> lk(__mut_); in lock() 40 unique_lock<mutex> lk(__mut_); in try_lock() 62 unique_lock<mutex> lk(__mut_); in lock_shared() 73 unique_lock<mutex> lk(__mut_); in try_lock_shared()
|
D | mutex.cpp | 126 unique_lock<mutex> lk(__m_); in lock() 135 unique_lock<mutex> lk(__m_, try_to_lock); in try_lock() 169 unique_lock<mutex> lk(__m_); in lock() 187 unique_lock<mutex> lk(__m_, try_to_lock); in try_lock() 202 unique_lock<mutex> lk(__m_); in unlock()
|
D | condition_variable.cpp | 39 condition_variable::wait(unique_lock<mutex>& lk) _NOEXCEPT in wait() 50 condition_variable::__do_timed_wait(unique_lock<mutex>& lk, in __do_timed_wait() 80 notify_all_at_thread_exit(condition_variable& cond, unique_lock<mutex> lk) in notify_all_at_thread_exit()
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/ |
D | mutex_try_to_lock.pass.cpp | 35 std::unique_lock<std::mutex> lk(m, std::try_to_lock); in f() 39 std::unique_lock<std::mutex> lk(m, std::try_to_lock); in f() 43 std::unique_lock<std::mutex> lk(m, std::try_to_lock); in f() 48 std::unique_lock<std::mutex> lk(m, std::try_to_lock); in f()
|
D | copy_ctor.fail.cpp | 23 std::unique_lock<std::mutex> lk0(m); in main() 24 std::unique_lock<std::mutex> lk = lk0; in main()
|
D | move_ctor.pass.cpp | 26 std::unique_lock<std::mutex> lk0(m); in main() 27 std::unique_lock<std::mutex> lk = std::move(lk0); in main()
|
D | copy_assign.fail.cpp | 24 std::unique_lock<std::mutex> lk0(m0); in main() 25 std::unique_lock<std::mutex> lk1(m1); in main()
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/ |
D | op_bool.pass.cpp | 25 std::unique_lock<std::mutex> lk0; in main() 27 std::unique_lock<std::mutex> lk1(m); in main()
|
D | owns_lock.pass.cpp | 25 std::unique_lock<std::mutex> lk0; in main() 27 std::unique_lock<std::mutex> lk1(m); in main()
|
D | mutex.pass.cpp | 25 std::unique_lock<std::mutex> lk0; in main() 27 std::unique_lock<std::mutex> lk1(m); in main()
|
/external/llvm/test/CodeGen/PowerPC/ |
D | glob-comp-aa-crash.ll | 15 %"class.std::__1::unique_lock" = type { %"class.std::__1::mutex"*, i8 } 22 %__lk = alloca %"class.std::__1::unique_lock", align 8 27 …%__m_.i.i = getelementptr inbounds %"class.std::__1::unique_lock", %"class.std::__1::unique_lock"*… 29 …__owns_.i.i = getelementptr inbounds %"class.std::__1::unique_lock", %"class.std::__1::unique_lock… 32 …NS_5mutexEEE(%"class.std::__1::__assoc_sub_state"* %this, %"class.std::__1::unique_lock"* %__lk) #4 99 …ockINS_5mutexEEE(%"class.std::__1::__assoc_sub_state"*, %"class.std::__1::unique_lock"*) #0 align 2
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/ |
D | member_swap.pass.cpp | 31 std::unique_lock<mutex> lk1(m); in main() 32 std::unique_lock<mutex> lk2; in main()
|
D | nonmember_swap.pass.cpp | 32 std::unique_lock<mutex> lk1(m); in main() 33 std::unique_lock<mutex> lk2; in main()
|