Home
last modified time | relevance | path

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

12

/ndk/sources/cxx-stl/llvm-libc++/libcxx/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++/libcxx/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++/libcxx/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
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
Dshared_mutex.cpp27 unique_lock<mutex> lk(__mut_); in lock() local
38 unique_lock<mutex> lk(__mut_); in try_lock() local
60 unique_lock<mutex> lk(__mut_); in lock_shared() local
71 unique_lock<mutex> lk(__mut_); in try_lock_shared() local
Dcondition_variable.cpp37 condition_variable::wait(unique_lock<mutex>& lk) _NOEXCEPT in wait()
48 condition_variable::__do_timed_wait(unique_lock<mutex>& lk, in __do_timed_wait()
78 notify_all_at_thread_exit(condition_variable& cond, unique_lock<mutex> lk) in notify_all_at_thread_exit()
Dmutex.cpp125 unique_lock<mutex> lk(__m_); in lock() local
134 unique_lock<mutex> lk(__m_, try_to_lock); in try_lock() local
168 unique_lock<mutex> lk(__m_); in lock() local
186 unique_lock<mutex> lk(__m_, try_to_lock); in try_lock() local
201 unique_lock<mutex> lk(__m_); in unlock() local
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/
Dmutex_try_to_lock.pass.cpp36 std::shared_lock<std::shared_timed_mutex> lk(m, std::try_to_lock); in f() local
40 std::shared_lock<std::shared_timed_mutex> lk(m, std::try_to_lock); in f() local
44 std::shared_lock<std::shared_timed_mutex> lk(m, std::try_to_lock); in f() local
49 std::shared_lock<std::shared_timed_mutex> lk(m, std::try_to_lock); in f() local
Dmutex_defer_lock.pass.cpp23 std::shared_lock<std::shared_timed_mutex> lk(m, std::defer_lock); in main() local
Dmutex_adopt_lock.pass.cpp24 std::shared_lock<std::shared_timed_mutex> lk(m, std::adopt_lock); in main() local
/ndk/sources/cxx-stl/llvm-libc++/libcxx/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

12