/external/llvm-project/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/ |
D | move_assign.pass.cpp | 37 std::shared_lock<M> lk1(m1); in main() local 38 lk1 = std::move(lk0); in main() 39 assert(lk1.mutex() == std::addressof(m0)); in main() 40 assert(lk1.owns_lock() == true); in main() 49 std::shared_lock<M> lk1(m1); in main() local 50 lk1 = std::move(lk0); in main() 51 assert(lk1.mutex() == std::addressof(m0)); in main() 52 assert(lk1.owns_lock() == true); in main()
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/ |
D | move_assign.pass.cpp | 31 std::shared_lock<M> lk1(m1); in main() local 32 lk1 = std::move(lk0); in main() 33 assert(lk1.mutex() == std::addressof(m0)); in main() 34 assert(lk1.owns_lock() == true); in main() 43 std::shared_lock<M> lk1(m1); in main() local 44 lk1 = std::move(lk0); in main() 45 assert(lk1.mutex() == std::addressof(m0)); in main() 46 assert(lk1.owns_lock() == true); in main()
|
/external/llvm-project/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/ |
D | move_assign.pass.cpp | 30 std::unique_lock<M> lk1(m1); in main() local 31 lk1 = std::move(lk0); in main() 32 assert(lk1.mutex() == std::addressof(m0)); in main() 33 assert(lk1.owns_lock() == true); in main() 42 std::unique_lock<M> lk1(m1); in main() local 43 lk1 = std::move(lk0); in main() 44 assert(lk1.mutex() == std::addressof(m0)); in main() 45 assert(lk1.owns_lock() == true); in main()
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/ |
D | move_assign.pass.cpp | 29 std::unique_lock<M> lk1(m1); in main() local 30 lk1 = std::move(lk0); in main() 31 assert(lk1.mutex() == std::addressof(m0)); in main() 32 assert(lk1.owns_lock() == true); in main() 41 std::unique_lock<M> lk1(m1); in main() local 42 lk1 = std::move(lk0); in main() 43 assert(lk1.mutex() == std::addressof(m0)); in main() 44 assert(lk1.owns_lock() == true); in main()
|
D | copy_assign.fail.cpp | 26 std::unique_lock<M> lk1(m1); in main() local 27 lk1 = lk0; in main() 28 assert(lk1.mutex() == &m0); in main() 29 assert(lk1.owns_lock() == true); in main()
|
/external/llvm-project/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.mod/ |
D | nonmember_swap.pass.cpp | 34 std::shared_lock<mutex> lk1(m); in main() local 36 swap(lk1, lk2); in main() 37 assert(lk1.mutex() == nullptr); in main() 38 assert(lk1.owns_lock() == false); in main() 41 static_assert(noexcept(swap(lk1, lk2)), "non-member swap must be noexcept"); in main()
|
D | member_swap.pass.cpp | 33 std::shared_lock<mutex> lk1(m); in main() local 35 lk1.swap(lk2); in main() 36 assert(lk1.mutex() == nullptr); in main() 37 assert(lk1.owns_lock() == false); in main() 40 static_assert(noexcept(lk1.swap(lk2)), "member swap must be noexcept"); in main()
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.mod/ |
D | member_swap.pass.cpp | 32 std::shared_lock<mutex> lk1(m); in main() local 34 lk1.swap(lk2); in main() 35 assert(lk1.mutex() == nullptr); in main() 36 assert(lk1.owns_lock() == false); in main() 39 static_assert(noexcept(lk1.swap(lk2)), "member swap must be noexcept"); in main()
|
D | nonmember_swap.pass.cpp | 33 std::shared_lock<mutex> lk1(m); in main() local 35 swap(lk1, lk2); in main() 36 assert(lk1.mutex() == nullptr); in main() 37 assert(lk1.owns_lock() == false); in main() 40 static_assert(noexcept(swap(lk1, lk2)), "non-member swap must be noexcept"); in main()
|
/external/llvm-project/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/ |
D | op_bool.pass.cpp | 28 std::unique_lock<std::mutex> lk1(m); in main() local 29 assert(static_cast<bool>(lk1) == true); in main() 30 lk1.unlock(); in main() 31 assert(static_cast<bool>(lk1) == false); in main()
|
D | owns_lock.pass.cpp | 28 std::unique_lock<std::mutex> lk1(m); in main() local 29 assert(lk1.owns_lock() == true); in main() 30 lk1.unlock(); in main() 31 assert(lk1.owns_lock() == false); in main()
|
D | mutex.pass.cpp | 28 std::unique_lock<std::mutex> lk1(m); in main() local 29 assert(lk1.mutex() == &m); in main() 30 lk1.unlock(); in main() 31 assert(lk1.mutex() == &m); in main()
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/ |
D | op_bool.pass.cpp | 27 std::unique_lock<std::mutex> lk1(m); in main() local 28 assert(static_cast<bool>(lk1) == true); in main() 29 lk1.unlock(); in main() 30 assert(static_cast<bool>(lk1) == false); in main()
|
D | owns_lock.pass.cpp | 27 std::unique_lock<std::mutex> lk1(m); in main() local 28 assert(lk1.owns_lock() == true); in main() 29 lk1.unlock(); in main() 30 assert(lk1.owns_lock() == false); in main()
|
D | mutex.pass.cpp | 27 std::unique_lock<std::mutex> lk1(m); in main() local 28 assert(lk1.mutex() == &m); in main() 29 lk1.unlock(); in main() 30 assert(lk1.mutex() == &m); in main()
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.obs/ |
D | op_bool.pass.cpp | 28 std::shared_lock<std::shared_timed_mutex> lk1(m); in main() local 29 assert(static_cast<bool>(lk1) == true); in main() 30 lk1.unlock(); in main() 31 assert(static_cast<bool>(lk1) == false); in main()
|
D | owns_lock.pass.cpp | 28 std::shared_lock<std::shared_timed_mutex> lk1(m); in main() local 29 assert(lk1.owns_lock() == true); in main() 30 lk1.unlock(); in main() 31 assert(lk1.owns_lock() == false); in main()
|
D | mutex.pass.cpp | 28 std::shared_lock<std::shared_timed_mutex> lk1(m); in main() local 29 assert(lk1.mutex() == &m); in main() 30 lk1.unlock(); in main() 31 assert(lk1.mutex() == &m); in main()
|
/external/llvm-project/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.obs/ |
D | op_bool.pass.cpp | 34 std::shared_lock<std::shared_timed_mutex> lk1(m); in main() local 35 assert(static_cast<bool>(lk1) == true); in main() 36 lk1.unlock(); in main() 37 assert(static_cast<bool>(lk1) == false); in main()
|
D | owns_lock.pass.cpp | 34 std::shared_lock<std::shared_timed_mutex> lk1(m); in main() local 35 assert(lk1.owns_lock() == true); in main() 36 lk1.unlock(); in main() 37 assert(lk1.owns_lock() == false); in main()
|
D | mutex.pass.cpp | 34 std::shared_lock<std::shared_timed_mutex> lk1(m); in main() local 35 assert(lk1.mutex() == &m); in main() 36 lk1.unlock(); in main() 37 assert(lk1.mutex() == &m); in main()
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/ |
D | member_swap.pass.cpp | 31 std::unique_lock<mutex> lk1(m); in main() local 33 lk1.swap(lk2); in main() 34 assert(lk1.mutex() == nullptr); in main() 35 assert(lk1.owns_lock() == false); in main()
|
D | nonmember_swap.pass.cpp | 32 std::unique_lock<mutex> lk1(m); in main() local 34 swap(lk1, lk2); in main() 35 assert(lk1.mutex() == nullptr); in main() 36 assert(lk1.owns_lock() == false); in main()
|
/external/llvm-project/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/ |
D | member_swap.pass.cpp | 32 std::unique_lock<mutex> lk1(m); in main() local 34 lk1.swap(lk2); in main() 35 assert(lk1.mutex() == nullptr); in main() 36 assert(lk1.owns_lock() == false); in main()
|
D | nonmember_swap.pass.cpp | 33 std::unique_lock<mutex> lk1(m); in main() local 35 swap(lk1, lk2); in main() 36 assert(lk1.mutex() == nullptr); in main() 37 assert(lk1.owns_lock() == false); in main()
|