/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.cons/ |
D | duration.pass.cpp | 22 typedef std::chrono::milliseconds Duration; in main() typedef 24 std::chrono::time_point<Clock, Duration> t(Duration(3)); in main() 25 assert(t.time_since_epoch() == Duration(3)); in main() 28 std::chrono::time_point<Clock, Duration> t(std::chrono::seconds(3)); in main() 29 assert(t.time_since_epoch() == Duration(3000)); in main() 33 constexpr std::chrono::time_point<Clock, Duration> t(Duration(3)); in main() 34 static_assert(t.time_since_epoch() == Duration(3), ""); in main() 37 constexpr std::chrono::time_point<Clock, Duration> t(std::chrono::seconds(3)); in main() 38 static_assert(t.time_since_epoch() == Duration(3000), ""); in main()
|
D | default.pass.cpp | 24 typedef std::chrono::duration<Rep, std::milli> Duration; in main() typedef 26 std::chrono::time_point<Clock, Duration> t; in main() 27 assert(t.time_since_epoch() == Duration::zero()); in main() 31 constexpr std::chrono::time_point<Clock, Duration> t; in main() 32 static_assert(t.time_since_epoch() == Duration::zero(), ""); in main()
|
D | duration.fail.cpp | 23 typedef std::chrono::milliseconds Duration; in main() typedef 24 std::chrono::time_point<Clock, Duration> t = Duration(3); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.arithmetic/ |
D | op_-EQ.pass.cpp | 22 typedef std::chrono::milliseconds Duration; in main() typedef 23 std::chrono::time_point<Clock, Duration> t(Duration(3)); in main() 24 t -= Duration(2); in main() 25 assert(t.time_since_epoch() == Duration(1)); in main()
|
D | op_-=.pass.cpp | 22 typedef std::chrono::milliseconds Duration; in main() typedef 23 std::chrono::time_point<Clock, Duration> t(Duration(3)); in main() 24 t -= Duration(2); in main() 25 assert(t.time_since_epoch() == Duration(1)); in main()
|
D | op_+EQ.pass.cpp | 22 typedef std::chrono::milliseconds Duration; in main() typedef 23 std::chrono::time_point<Clock, Duration> t(Duration(3)); in main() 24 t += Duration(2); in main() 25 assert(t.time_since_epoch() == Duration(5)); in main()
|
D | op_+=.pass.cpp | 22 typedef std::chrono::milliseconds Duration; in main() typedef 23 std::chrono::time_point<Clock, Duration> t(Duration(3)); in main() 24 t += Duration(2); in main() 25 assert(t.time_since_epoch() == Duration(5)); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.special/ |
D | min.pass.cpp | 22 typedef std::chrono::milliseconds Duration; in main() typedef 23 typedef std::chrono::time_point<Clock, Duration> TP; in main() 24 assert(TP::min() == TP(Duration::min())); in main()
|
D | max.pass.cpp | 22 typedef std::chrono::milliseconds Duration; in main() typedef 23 typedef std::chrono::time_point<Clock, Duration> TP; in main() 24 assert(TP::max() == TP(Duration::max())); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ |
D | condition_variable | 38 template <class Clock, class Duration> 41 const chrono::time_point<Clock, Duration>& abs_time); 43 template <class Clock, class Duration, class Predicate> 46 const chrono::time_point<Clock, Duration>& abs_time, 83 template <class Lock, class Clock, class Duration> 86 const chrono::time_point<Clock, Duration>& abs_time); 88 template <class Lock, class Clock, class Duration, class Predicate> 91 const chrono::time_point<Clock, Duration>& abs_time,
|
D | shared_mutex | 36 template <class Clock, class Duration> 37 bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time); 46 template <class Clock, class Duration> 48 try_lock_shared_until(const chrono::time_point<Clock, Duration>& abs_time); 64 template <class Clock, class Duration> 66 const chrono::time_point<Clock, Duration>& abs_time); 82 template <class Clock, class Duration> 83 bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time); 319 template <class Clock, class Duration> 320 bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time);
|
D | mutex | 67 template <class Clock, class Duration> 68 bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time); 85 template <class Clock, class Duration> 86 bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time); 122 template <class Clock, class Duration> 123 unique_lock(mutex_type& m, const chrono::time_point<Clock, Duration>& abs_time); 139 template <class Clock, class Duration> 140 bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time);
|
D | chrono | 102 template <class Clock, class Duration = typename Clock::duration> 107 typedef Duration duration; 227 template <class ToDuration, class Clock, class Duration> 228 time_point<Clock, ToDuration> time_point_cast(const time_point<Clock, Duration>& t); 516 // Duration == 546 // Duration != 557 // Duration < 587 // Duration > 598 // Duration <= 609 // Duration >= [all …]
|
D | future | 171 template <class Clock, class Duration> 173 wait_until(const chrono::time_point<Clock, Duration>& abs_time) const; 198 template <class Clock, class Duration> 200 wait_until(const chrono::time_point<Clock, Duration>& abs_time) const; 225 template <class Clock, class Duration> 227 wait_until(const chrono::time_point<Clock, Duration>& abs_time) const; 252 template <class Clock, class Duration> 254 wait_until(const chrono::time_point<Clock, Duration>& abs_time) const; 279 template <class Clock, class Duration> 281 wait_until(const chrono::time_point<Clock, Duration>& abs_time) const; [all …]
|
D | thread | 76 template <class Clock, class Duration> 77 void sleep_until(const chrono::time_point<Clock, Duration>& abs_time);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/ |
D | try_lock_until.pass.cpp | 26 template <class Clock, class Duration> 27 bool try_lock_shared_until(const std::chrono::time_point<Clock, Duration>& abs_time) in try_lock_shared_until()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/ |
D | try_lock_until.pass.cpp | 24 template <class Clock, class Duration> 25 bool try_lock_until(const std::chrono::time_point<Clock, Duration>& abs_time) in try_lock_until()
|