/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.obs/ |
D | owns_lock.pass.cpp | 31 assert(lk0.owns_lock() == false); in main() 33 assert(lk1.owns_lock() == true); in main() 35 assert(lk1.owns_lock() == false); in main() 36 static_assert(noexcept(lk0.owns_lock()), "owns_lock must be noexcept"); in main()
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/ |
D | mutex_try_to_lock.pass.cpp | 36 assert(lk.owns_lock() == false); in f() 40 assert(lk.owns_lock() == false); in f() 44 assert(lk.owns_lock() == false); in f() 49 if (lk.owns_lock()) in f()
|
D | copy_ctor.fail.cpp | 26 assert(lk.owns_lock() == true); in main() 28 assert(lk0.owns_lock() == false); in main()
|
D | move_ctor.pass.cpp | 29 assert(lk.owns_lock() == true); in main() 31 assert(lk0.owns_lock() == false); in main()
|
D | copy_assign.fail.cpp | 28 assert(lk1.owns_lock() == true); in main() 30 assert(lk0.owns_lock() == false); in main()
|
D | move_assign.pass.cpp | 31 assert(lk1.owns_lock() == true); in main() 33 assert(lk0.owns_lock() == false); in main()
|
D | mutex_duration.pass.cpp | 36 assert(lk.owns_lock() == true); in f1() 46 assert(lk.owns_lock() == false); in f2()
|
D | mutex_time_point.pass.cpp | 36 assert(lk.owns_lock() == true); in f1() 46 assert(lk.owns_lock() == false); in f2()
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/ |
D | mutex_try_to_lock.pass.cpp | 39 assert(lk.owns_lock() == false); in f() 43 assert(lk.owns_lock() == false); in f() 47 assert(lk.owns_lock() == false); in f() 52 if (lk.owns_lock()) in f()
|
D | move_ctor.pass.cpp | 31 assert(lk.owns_lock() == true); in main() 33 assert(lk0.owns_lock() == false); in main()
|
D | move_assign.pass.cpp | 35 assert(lk1.owns_lock() == true); in main() 37 assert(lk0.owns_lock() == false); in main()
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/ |
D | owns_lock.pass.cpp | 26 assert(lk0.owns_lock() == false); in main() 28 assert(lk1.owns_lock() == true); in main() 30 assert(lk1.owns_lock() == false); in main()
|
/external/llvm/include/llvm/Support/ |
D | UniqueLock.h | 39 if (owns_lock()) 47 ~unique_lock() { if (owns_lock()) M->unlock(); } in ~unique_lock() 63 bool owns_lock() { return locked; } in owns_lock() function
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/ |
D | member_swap.pass.cpp | 35 assert(lk1.owns_lock() == false); in main() 37 assert(lk2.owns_lock() == true); in main()
|
D | nonmember_swap.pass.cpp | 36 assert(lk1.owns_lock() == false); in main() 38 assert(lk2.owns_lock() == true); in main()
|
D | release.pass.cpp | 38 assert(lk.owns_lock() == true); in main() 43 assert(lk.owns_lock() == false); in main()
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.mod/ |
D | member_swap.pass.cpp | 40 assert(lk1.owns_lock() == false); in main() 42 assert(lk2.owns_lock() == true); in main()
|
D | nonmember_swap.pass.cpp | 41 assert(lk1.owns_lock() == false); in main() 43 assert(lk2.owns_lock() == true); in main()
|
D | release.pass.cpp | 43 assert(lk.owns_lock() == true); in main() 48 assert(lk.owns_lock() == false); in main()
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/ |
D | try_lock.pass.cpp | 40 assert(lk.owns_lock() == true); in main() 53 assert(lk.owns_lock() == false); in main()
|
D | try_lock_for.pass.cpp | 45 assert(lk.owns_lock() == true); in main() 58 assert(lk.owns_lock() == false); in main()
|
D | try_lock_until.pass.cpp | 45 assert(lk.owns_lock() == true); in main() 58 assert(lk.owns_lock() == false); in main()
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/ |
D | try_lock.pass.cpp | 45 assert(lk.owns_lock() == true); in main() 58 assert(lk.owns_lock() == false); in main()
|
D | try_lock_for.pass.cpp | 50 assert(lk.owns_lock() == true); in main() 63 assert(lk.owns_lock() == false); in main()
|
D | try_lock_until.pass.cpp | 50 assert(lk.owns_lock() == true); in main() 63 assert(lk.owns_lock() == false); in main()
|