/ndk/sources/cxx-stl/llvm-libc++/test/thread/thread.condition/thread.condition.condvar/ |
D | notify_one.pass.cpp | 30 std::unique_lock<std::mutex> lk(mut); in f1() local 40 std::unique_lock<std::mutex> lk(mut); in f2() local 54 std::unique_lock<std::mutex>lk(mut); in main() local 61 std::unique_lock<std::mutex>lk(mut); in main() local 78 std::unique_lock<std::mutex>lk(mut); in main() local
|
D | notify_all.pass.cpp | 30 std::unique_lock<std::mutex> lk(mut); in f1() local 40 std::unique_lock<std::mutex> lk(mut); in f2() local 54 std::unique_lock<std::mutex>lk(mut); in main() local 61 std::unique_lock<std::mutex>lk(mut); in main() local
|
D | destructor.pass.cpp | 30 Lock lk(m); in f() local 38 Lock lk(m); in g() local 49 Lock lk(m); in main() local
|
D | wait_for.pass.cpp | 37 std::unique_lock<std::mutex> lk(mut); in f() local 62 std::unique_lock<std::mutex>lk(mut); in main() local 76 std::unique_lock<std::mutex>lk(mut); in main() local
|
D | wait.pass.cpp | 29 std::unique_lock<std::mutex> lk(mut); in f() local 40 std::unique_lock<std::mutex>lk(mut); in main() local
|
D | wait_for_pred.pass.cpp | 47 std::unique_lock<std::mutex> lk(mut); in f() local 70 std::unique_lock<std::mutex>lk(mut); in main() local 84 std::unique_lock<std::mutex>lk(mut); in main() local
|
D | wait_pred.pass.cpp | 40 std::unique_lock<std::mutex> lk(mut); in f() local 50 std::unique_lock<std::mutex>lk(mut); in main() local
|
D | wait_until.pass.cpp | 52 std::unique_lock<std::mutex> lk(mut); in f() local 77 std::unique_lock<std::mutex>lk(mut); in main() local 91 std::unique_lock<std::mutex>lk(mut); in main() local
|
/ndk/sources/cxx-stl/llvm-libc++/test/thread/thread.condition/thread.condition.condvarany/ |
D | notify_one.pass.cpp | 34 L1 lk(m0); in f1() local 44 L1 lk(m0); in f2() local 58 L1 lk(m0); in main() local 65 L1 lk(m0); in main() local 82 L1 lk(m0); in main() local
|
D | notify_all.pass.cpp | 34 L1 lk(m0); in f1() local 44 L1 lk(m0); in f2() local 58 L1 lk(m0); in main() local 65 L1 lk(m0); in main() local
|
D | wait_for.pass.cpp | 40 L1 lk(m0); in f() local 65 L1 lk(m0); in main() local 79 L1 lk(m0); in main() local
|
D | wait.pass.cpp | 34 L1 lk(m0); in f() local 45 L1 lk(m0); in main() local
|
D | wait_for_pred.pass.cpp | 50 L1 lk(m0); in f() local 73 L1 lk(m0); in main() local 87 L1 lk(m0); in main() local
|
D | wait_pred.pass.cpp | 44 L1 lk(m0); in f() local 54 L1 lk(m0); in main() local
|
D | wait_until.pass.cpp | 55 L1 lk(m0); in f() local 80 L1 lk(m0); in main() local 94 L1 lk(m0); in main() local
|
/ndk/sources/cxx-stl/llvm-libc++/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/ |
D | mutex_try_to_lock.pass.cpp | 33 std::unique_lock<std::mutex> lk(m, std::try_to_lock); in f() local 37 std::unique_lock<std::mutex> lk(m, std::try_to_lock); in f() local 41 std::unique_lock<std::mutex> lk(m, std::try_to_lock); in f() local 46 std::unique_lock<std::mutex> lk(m, std::try_to_lock); in f() local
|
D | mutex_adopt_lock.pass.cpp | 23 std::unique_lock<std::mutex> lk(m, std::adopt_lock); in main() local
|
D | mutex_defer_lock.pass.cpp | 22 std::unique_lock<std::mutex> lk(m, std::defer_lock); in main() local
|
D | move_ctor.pass.cpp | 25 std::unique_lock<std::mutex> lk = std::move(lk0); in main() local
|
D | copy_ctor.fail.cpp | 24 std::unique_lock<std::mutex> lk = lk0; in main() local
|
D | mutex_duration.pass.cpp | 33 std::unique_lock<std::timed_mutex> lk(m, ms(300)); in f1() local 43 std::unique_lock<std::timed_mutex> lk(m, ms(250)); in f2() local
|
D | mutex_time_point.pass.cpp | 33 std::unique_lock<std::timed_mutex> lk(m, Clock::now() + ms(300)); in f1() local 43 std::unique_lock<std::timed_mutex> lk(m, Clock::now() + ms(250)); in f2() local
|
/ndk/sources/cxx-stl/llvm-libc++/test/thread/thread.condition/ |
D | notify_all_at_thread_exit.pass.cpp | 29 std::unique_lock<std::mutex> lk(mut); in func() local 36 std::unique_lock<std::mutex> lk(mut); in main() local
|
/ndk/sources/cxx-stl/llvm-libc++/src/ |
D | condition_variable.cpp | 35 condition_variable::wait(unique_lock<mutex>& lk) in wait() 46 condition_variable::__do_timed_wait(unique_lock<mutex>& lk, in __do_timed_wait() 76 notify_all_at_thread_exit(condition_variable& cond, unique_lock<mutex> lk) in notify_all_at_thread_exit()
|
D | mutex.cpp | 121 unique_lock<mutex> lk(__m_); in lock() local 130 unique_lock<mutex> lk(__m_, try_to_lock); in try_lock() local 164 unique_lock<mutex> lk(__m_); in lock() local 182 unique_lock<mutex> lk(__m_, try_to_lock); in try_lock() local 197 unique_lock<mutex> lk(__m_); in unlock() local
|