/external/libcxx/include/ |
D | __mutex_base | 121 class _LIBCPP_TEMPLATE_VIS unique_lock 132 unique_lock() _NOEXCEPT : __m_(nullptr), __owns_(false) {} 134 explicit unique_lock(mutex_type& __m) 137 unique_lock(mutex_type& __m, defer_lock_t) _NOEXCEPT 140 unique_lock(mutex_type& __m, try_to_lock_t) 143 unique_lock(mutex_type& __m, adopt_lock_t) 147 unique_lock(mutex_type& __m, const chrono::time_point<_Clock, _Duration>& __t) 151 unique_lock(mutex_type& __m, const chrono::duration<_Rep, _Period>& __d) 154 ~unique_lock() 161 unique_lock(unique_lock const&); // = delete; [all …]
|
D | mutex | 126 class unique_lock 130 unique_lock() noexcept; 131 explicit unique_lock(mutex_type& m); 132 unique_lock(mutex_type& m, defer_lock_t) noexcept; 133 unique_lock(mutex_type& m, try_to_lock_t); 134 unique_lock(mutex_type& m, adopt_lock_t); 136 unique_lock(mutex_type& m, const chrono::time_point<Clock, Duration>& abs_time); 138 unique_lock(mutex_type& m, const chrono::duration<Rep, Period>& rel_time); 139 ~unique_lock(); 141 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); 200 unique_lock<mutex> __lk(*__mut); 203 lock_guard<unique_lock<mutex> > __lx(__lk, adopt_lock); 222 unique_lock<mutex> __lk(*__mut); [all …]
|
/external/swiftshader/third_party/llvm-subzero/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/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/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() 91 std::unique_lock<std::mutex> LockGuard(QueueLock); in asyncImpl() 105 std::unique_lock<std::mutex> LockGuard(QueueLock); in ~ThreadPool()
|
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvar/ |
D | notify_one.pass.cpp | 33 std::unique_lock<std::mutex> lk(mut); in f1() 43 std::unique_lock<std::mutex> lk(mut); in f2() 57 std::unique_lock<std::mutex>lk(mut); in main() 64 std::unique_lock<std::mutex>lk(mut); in main() 83 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_pred.pass.cpp | 49 std::unique_lock<std::mutex> lk(mut); in f() 73 std::unique_lock<std::mutex>lk(mut); in main() 87 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_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/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 | 103 unique_lock<mutex> lk(__m_); in lock() 112 unique_lock<mutex> lk(__m_, try_to_lock); in try_lock() 146 unique_lock<mutex> lk(__m_); in lock() 164 unique_lock<mutex> lk(__m_, try_to_lock); in try_lock() 179 unique_lock<mutex> lk(__m_); in unlock()
|
D | condition_variable.cpp | 38 condition_variable::wait(unique_lock<mutex>& lk) _NOEXCEPT in wait() 49 condition_variable::__do_timed_wait(unique_lock<mutex>& lk, in __do_timed_wait() 79 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 | move_ctor.pass.cpp | 27 std::unique_lock<M> lk0(m); in main() 28 std::unique_lock<M> lk = std::move(lk0); in main() 37 std::unique_lock<M> lk0(m); in main() 38 std::unique_lock<M> lk = std::move(lk0); in main()
|
D | move_assign.pass.cpp | 28 std::unique_lock<M> lk0(m0); in main() 29 std::unique_lock<M> lk1(m1); in main() 40 std::unique_lock<M> lk0(m0); in main() 41 std::unique_lock<M> lk1(m1); in main()
|
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()
|
/external/vulkan-validation-layers/layers/ |
D | threading.h | 81 std::unique_lock<std::mutex> lock(counter_lock); in startWrite() 150 std::unique_lock<std::mutex> lock(counter_lock); in finishWrite() 163 std::unique_lock<std::mutex> lock(counter_lock); in startRead() 195 std::unique_lock<std::mutex> lock(counter_lock); in finishRead() 330 std::unique_lock<std::mutex> lock(command_pool_lock); 340 std::unique_lock<std::mutex> lock(command_pool_lock); 347 std::unique_lock<std::mutex> lock(command_pool_lock); in startReadObject() 355 std::unique_lock<std::mutex> lock(command_pool_lock); in finishReadObject()
|
/external/drm_hwcomposer/ |
D | queue_worker.h | 76 int WaitCond(std::unique_lock<std::mutex> &lock, Predicate pred, 89 int QueueWorker<T>::WaitCond(std::unique_lock<std::mutex> &lock, Predicate pred, in WaitCond() 111 std::unique_lock<std::mutex> lk(mutex_); in Routine() 142 std::unique_lock<std::mutex> lk(mutex_); in QueueWork()
|
D | worker.cpp | 46 std::unique_lock<std::mutex> lk(mutex_); in Exit() 61 std::unique_lock<std::mutex> lk(mutex_, std::adopt_lock); in WaitForSignalOrExitLocked() 83 std::unique_lock<std::mutex> lk(mutex_, std::defer_lock); in InternalRoutine()
|
/external/libcxx/test/std/thread/thread.condition/ |
D | PR30202_notify_from_pthread_created_thread.pass.cpp | 42 std::unique_lock<std::mutex> lk(mut); in func() 52 std::unique_lock<std::mutex> lk(mut); in main() 66 std::unique_lock<std::mutex> lk(mut); 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()
|