Home
last modified time | relevance | path

Searched defs:lk (Results 1 – 25 of 33) sorted by relevance

12

/ndk/sources/cxx-stl/llvm-libc++/test/thread/thread.condition/thread.condition.condvar/
Dnotify_one.pass.cpp30 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
Dnotify_all.pass.cpp30 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
Ddestructor.pass.cpp30 Lock lk(m); in f() local
38 Lock lk(m); in g() local
49 Lock lk(m); in main() local
Dwait_for.pass.cpp37 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
Dwait.pass.cpp29 std::unique_lock<std::mutex> lk(mut); in f() local
40 std::unique_lock<std::mutex>lk(mut); in main() local
Dwait_for_pred.pass.cpp47 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
Dwait_pred.pass.cpp40 std::unique_lock<std::mutex> lk(mut); in f() local
50 std::unique_lock<std::mutex>lk(mut); in main() local
Dwait_until.pass.cpp52 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/
Dnotify_one.pass.cpp34 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
Dnotify_all.pass.cpp34 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
Dwait_for.pass.cpp40 L1 lk(m0); in f() local
65 L1 lk(m0); in main() local
79 L1 lk(m0); in main() local
Dwait.pass.cpp34 L1 lk(m0); in f() local
45 L1 lk(m0); in main() local
Dwait_for_pred.pass.cpp50 L1 lk(m0); in f() local
73 L1 lk(m0); in main() local
87 L1 lk(m0); in main() local
Dwait_pred.pass.cpp44 L1 lk(m0); in f() local
54 L1 lk(m0); in main() local
Dwait_until.pass.cpp55 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/
Dmutex_try_to_lock.pass.cpp33 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
Dmutex_adopt_lock.pass.cpp23 std::unique_lock<std::mutex> lk(m, std::adopt_lock); in main() local
Dmutex_defer_lock.pass.cpp22 std::unique_lock<std::mutex> lk(m, std::defer_lock); in main() local
Dmove_ctor.pass.cpp25 std::unique_lock<std::mutex> lk = std::move(lk0); in main() local
Dcopy_ctor.fail.cpp24 std::unique_lock<std::mutex> lk = lk0; in main() local
Dmutex_duration.pass.cpp33 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
Dmutex_time_point.pass.cpp33 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/
Dnotify_all_at_thread_exit.pass.cpp29 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/
Dcondition_variable.cpp35 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()
Dmutex.cpp121 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

12