Home
last modified time | relevance | path

Searched refs:lk0 (Results 1 – 14 of 14) sorted by relevance

/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/
Dmove_ctor.pass.cpp28 std::shared_lock<M> lk0(m); in main() local
29 std::shared_lock<M> lk = std::move(lk0); in main()
32 assert(lk0.mutex() == nullptr); in main()
33 assert(lk0.owns_lock() == false); in main()
38 std::shared_lock<M> lk0(m); in main() local
39 std::shared_lock<M> lk = std::move(lk0); in main()
42 assert(lk0.mutex() == nullptr); in main()
43 assert(lk0.owns_lock() == false); in main()
Dmove_assign.pass.cpp30 std::shared_lock<M> lk0(m0); in main() local
32 lk1 = std::move(lk0); in main()
35 assert(lk0.mutex() == nullptr); in main()
36 assert(lk0.owns_lock() == false); in main()
42 std::shared_lock<M> lk0(m0); in main() local
44 lk1 = std::move(lk0); in main()
47 assert(lk0.mutex() == nullptr); in main()
48 assert(lk0.owns_lock() == false); in main()
Dcopy_ctor.fail.cpp23 std::shared_lock<std::shared_timed_mutex> lk0(m); in main() local
24 std::shared_lock<std::shared_timed_mutex> lk = lk0; in main()
Dcopy_assign.fail.cpp24 std::shared_lock<std::shared_timed_mutex> lk0(m0); in main() local
26 lk1 = lk0; in main()
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/
Dmove_ctor.pass.cpp27 std::unique_lock<M> lk0(m); in main() local
28 std::unique_lock<M> lk = std::move(lk0); in main()
31 assert(lk0.mutex() == nullptr); in main()
32 assert(lk0.owns_lock() == false); in main()
37 std::unique_lock<M> lk0(m); in main() local
38 std::unique_lock<M> lk = std::move(lk0); in main()
41 assert(lk0.mutex() == nullptr); in main()
42 assert(lk0.owns_lock() == false); in main()
Dmove_assign.pass.cpp28 std::unique_lock<M> lk0(m0); in main() local
30 lk1 = std::move(lk0); in main()
33 assert(lk0.mutex() == nullptr); in main()
34 assert(lk0.owns_lock() == false); in main()
40 std::unique_lock<M> lk0(m0); in main() local
42 lk1 = std::move(lk0); in main()
45 assert(lk0.mutex() == nullptr); in main()
46 assert(lk0.owns_lock() == false); in main()
Dcopy_ctor.fail.cpp24 std::unique_lock<M> lk0(m); in main() local
25 std::unique_lock<M> lk = lk0; in main()
28 assert(lk0.mutex() == nullptr); in main()
29 assert(lk0.owns_lock() == false); in main()
Dcopy_assign.fail.cpp25 std::unique_lock<M> lk0(m0); in main() local
27 lk1 = lk0; in main()
30 assert(lk0.mutex() == nullptr); in main()
31 assert(lk0.owns_lock() == false); in main()
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.obs/
Dop_bool.pass.cpp26 std::shared_lock<std::shared_timed_mutex> lk0; in main() local
27 assert(static_cast<bool>(lk0) == false); in main()
32 static_assert(noexcept(static_cast<bool>(lk0)), "explicit operator bool() must be noexcept"); in main()
Downs_lock.pass.cpp26 std::shared_lock<std::shared_timed_mutex> lk0; in main() local
27 assert(lk0.owns_lock() == false); in main()
32 static_assert(noexcept(lk0.owns_lock()), "owns_lock must be noexcept"); in main()
Dmutex.pass.cpp26 std::shared_lock<std::shared_timed_mutex> lk0; in main() local
27 assert(lk0.mutex() == nullptr); in main()
32 static_assert(noexcept(lk0.mutex()), "mutex() must be noexcept"); in main()
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/
Dop_bool.pass.cpp25 std::unique_lock<std::mutex> lk0; in main() local
26 assert(static_cast<bool>(lk0) == false); in main()
Downs_lock.pass.cpp25 std::unique_lock<std::mutex> lk0; in main() local
26 assert(lk0.owns_lock() == false); in main()
Dmutex.pass.cpp25 std::unique_lock<std::mutex> lk0; in main() local
26 assert(lk0.mutex() == nullptr); in main()