Home
last modified time | relevance | path

Searched refs:lk1 (Results 1 – 16 of 16) sorted by relevance

/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.mod/
Dmember_swap.pass.cpp36 std::shared_lock<mutex> lk1(m); in main() local
38 lk1.swap(lk2); in main()
39 assert(lk1.mutex() == nullptr); in main()
40 assert(lk1.owns_lock() == false); in main()
43 static_assert(noexcept(lk1.swap(lk2)), "member swap must be noexcept"); in main()
Dnonmember_swap.pass.cpp37 std::shared_lock<mutex> lk1(m); in main() local
39 swap(lk1, lk2); in main()
40 assert(lk1.mutex() == nullptr); in main()
41 assert(lk1.owns_lock() == false); in main()
44 static_assert(noexcept(swap(lk1, lk2)), "non-member swap must be noexcept"); in main()
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/
Dop_bool.pass.cpp27 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()
Downs_lock.pass.cpp27 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()
Dmutex.pass.cpp27 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/
Dop_bool.pass.cpp32 std::shared_lock<std::shared_timed_mutex> lk1(m); in main() local
33 assert(static_cast<bool>(lk1) == true); in main()
34 lk1.unlock(); in main()
35 assert(static_cast<bool>(lk1) == false); in main()
Downs_lock.pass.cpp32 std::shared_lock<std::shared_timed_mutex> lk1(m); in main() local
33 assert(lk1.owns_lock() == true); in main()
34 lk1.unlock(); in main()
35 assert(lk1.owns_lock() == false); in main()
Dmutex.pass.cpp32 std::shared_lock<std::shared_timed_mutex> lk1(m); in main() local
33 assert(lk1.mutex() == &m); in main()
34 lk1.unlock(); in main()
35 assert(lk1.mutex() == &m); in main()
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/
Dmember_swap.pass.cpp31 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()
Dnonmember_swap.pass.cpp32 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/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/
Dcopy_assign.fail.cpp25 std::unique_lock<std::mutex> lk1(m1); in main() local
26 lk1 = lk0; in main()
27 assert(lk1.mutex() == &m0); in main()
28 assert(lk1.owns_lock() == true); in main()
Dmove_assign.pass.cpp28 std::unique_lock<std::mutex> lk1(m1); in main() local
29 lk1 = std::move(lk0); in main()
30 assert(lk1.mutex() == &m0); in main()
31 assert(lk1.owns_lock() == true); in main()
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/
Dmove_assign.pass.cpp32 std::shared_lock<std::shared_timed_mutex> lk1(m1); in main() local
33 lk1 = std::move(lk0); in main()
34 assert(lk1.mutex() == &m0); in main()
35 assert(lk1.owns_lock() == true); in main()
Dcopy_assign.fail.cpp29 std::shared_lock<std::shared_timed_mutex> lk1(m1); in main() local
30 lk1 = lk0; in main()
/external/libpng/projects/owatcom/
Dpngconfig.mak156 $(DELETE) pngtest.exe pngtest.map pngtest.lk1 pngtest.mk1
157 $(DELETE) pngvalid.exe pngvalid.map pngvalid.lk1 pngvalid.mk1
/external/valgrind/helgrind/
Dhg_errors.c106 Lock* lk1 = (Lock*)lk1W; in lock_unique_cmp() local
108 tl_assert( HG_(is_sane_LockNorP)(lk1) ); in lock_unique_cmp()
110 if (lk1->unique < lk2->unique) return -1; in lock_unique_cmp()
111 if (lk1->unique > lk2->unique) return 1; in lock_unique_cmp()