/external/libcxx/src/ |
D | shared_mutex.cpp | 15 shared_timed_mutex::shared_timed_mutex() in shared_timed_mutex() function in shared_timed_mutex 23 shared_timed_mutex::lock() in lock() 34 shared_timed_mutex::try_lock() in try_lock() 46 shared_timed_mutex::unlock() in unlock() 56 shared_timed_mutex::lock_shared() in lock_shared() 67 shared_timed_mutex::try_lock_shared() in try_lock_shared() 82 shared_timed_mutex::unlock_shared() in unlock_shared()
|
/external/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/ |
D | copy_assign.fail.cpp | 20 std::shared_timed_mutex m0; 21 std::shared_timed_mutex m1; 28 std::shared_lock<std::shared_timed_mutex> lk0(m0); in main() 29 std::shared_lock<std::shared_timed_mutex> lk1(m1); in main()
|
D | move_assign.pass.cpp | 21 std::shared_timed_mutex m0; 22 std::shared_timed_mutex m1; 29 std::shared_lock<std::shared_timed_mutex> lk0(m0); in main() 30 std::shared_lock<std::shared_timed_mutex> lk1(m1); in main()
|
D | mutex_try_to_lock.pass.cpp | 24 std::shared_timed_mutex m; 36 std::shared_lock<std::shared_timed_mutex> lk(m, std::try_to_lock); in f() 40 std::shared_lock<std::shared_timed_mutex> lk(m, std::try_to_lock); in f() 44 std::shared_lock<std::shared_timed_mutex> lk(m, std::try_to_lock); in f() 49 std::shared_lock<std::shared_timed_mutex> lk(m, std::try_to_lock); in f()
|
D | copy_ctor.fail.cpp | 19 std::shared_timed_mutex m; 25 std::shared_lock<std::shared_timed_mutex> lk0(m); in main() 26 std::shared_lock<std::shared_timed_mutex> lk = lk0; in main()
|
D | move_ctor.pass.cpp | 20 std::shared_timed_mutex m; 26 std::shared_lock<std::shared_timed_mutex> lk0(m); in main() 27 std::shared_lock<std::shared_timed_mutex> lk = std::move(lk0); in main()
|
D | mutex.pass.cpp | 24 std::shared_timed_mutex m; 37 std::shared_lock<std::shared_timed_mutex> ul(m); in f() 49 std::shared_lock<std::shared_timed_mutex> ul(m); in g()
|
D | mutex_duration.pass.cpp | 25 std::shared_timed_mutex m; 36 std::shared_lock<std::shared_timed_mutex> lk(m, ms(300)); in f1() 46 std::shared_lock<std::shared_timed_mutex> lk(m, ms(250)); in f2()
|
D | mutex_time_point.pass.cpp | 25 std::shared_timed_mutex m; 36 std::shared_lock<std::shared_timed_mutex> lk(m, Clock::now() + ms(300)); in f1() 46 std::shared_lock<std::shared_timed_mutex> lk(m, Clock::now() + ms(250)); in f2()
|
D | mutex_defer_lock.pass.cpp | 22 std::shared_timed_mutex m; in main() 23 std::shared_lock<std::shared_timed_mutex> lk(m, std::defer_lock); in main()
|
D | mutex_adopt_lock.pass.cpp | 22 std::shared_timed_mutex m; in main() 24 std::shared_lock<std::shared_timed_mutex> lk(m, std::adopt_lock); in main()
|
D | default.pass.cpp | 22 std::shared_lock<std::shared_timed_mutex> ul; in main()
|
/external/libcxx/include/ |
D | shared_mutex | 22 class shared_timed_mutex 25 shared_timed_mutex(); 26 ~shared_timed_mutex(); 28 shared_timed_mutex(const shared_timed_mutex&) = delete; 29 shared_timed_mutex& operator=(const shared_timed_mutex&) = delete; 117 class _LIBCPP_TYPE_VIS shared_timed_mutex 127 shared_timed_mutex(); 128 _LIBCPP_INLINE_VISIBILITY ~shared_timed_mutex() = default; 130 shared_timed_mutex(const shared_timed_mutex&) = delete; 131 shared_timed_mutex& operator=(const shared_timed_mutex&) = delete; [all …]
|
/external/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.obs/ |
D | op_bool.pass.cpp | 21 std::shared_timed_mutex m; 28 std::shared_lock<std::shared_timed_mutex> lk0; in main() 30 std::shared_lock<std::shared_timed_mutex> lk1(m); in main()
|
D | owns_lock.pass.cpp | 21 std::shared_timed_mutex m; 28 std::shared_lock<std::shared_timed_mutex> lk0; in main() 30 std::shared_lock<std::shared_timed_mutex> lk1(m); in main()
|
D | mutex.pass.cpp | 21 std::shared_timed_mutex m; 28 std::shared_lock<std::shared_timed_mutex> lk0; in main() 30 std::shared_lock<std::shared_timed_mutex> lk1(m); in main()
|
/external/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/ |
D | copy.fail.cpp | 21 std::shared_timed_mutex m0; in main() 22 std::shared_timed_mutex m1(m0); in main()
|
D | assign.fail.cpp | 21 std::shared_timed_mutex m0; in main() 22 std::shared_timed_mutex m1; in main()
|
D | default.pass.cpp | 21 std::shared_timed_mutex m; in main()
|
D | lock.pass.cpp | 23 std::shared_timed_mutex m;
|
D | try_lock.pass.cpp | 23 std::shared_timed_mutex m;
|
D | try_lock_shared.pass.cpp | 24 std::shared_timed_mutex m;
|
D | try_lock_until.pass.cpp | 24 std::shared_timed_mutex m;
|
D | try_lock_for.pass.cpp | 24 std::shared_timed_mutex m;
|
/external/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/ |
D | lock.pass.cpp | 24 std::shared_timed_mutex m; 34 std::shared_lock<std::shared_timed_mutex> lk(m, std::defer_lock); in f()
|