Searched refs:Duration1 (Results 1 – 10 of 10) sorted by relevance
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.comparisons/ |
D | op_equal.pass.cpp | 28 typedef std::chrono::milliseconds Duration1; in main() typedef 30 typedef std::chrono::time_point<Clock, Duration1> T1; in main() 34 T1 t1(Duration1(3)); in main() 35 T1 t2(Duration1(3)); in main() 40 T1 t1(Duration1(3)); in main() 41 T1 t2(Duration1(4)); in main() 46 T1 t1(Duration1(3)); in main() 52 T1 t1(Duration1(3)); in main() 60 constexpr T1 t1(Duration1(3)); in main() 61 constexpr T1 t2(Duration1(3)); in main() [all …]
|
D | op_less.pass.cpp | 36 typedef std::chrono::milliseconds Duration1; in main() typedef 38 typedef std::chrono::time_point<Clock, Duration1> T1; in main() 42 T1 t1(Duration1(3)); in main() 43 T1 t2(Duration1(3)); in main() 50 T1 t1(Duration1(3)); in main() 51 T1 t2(Duration1(4)); in main() 58 T1 t1(Duration1(3)); in main() 66 T1 t1(Duration1(3)); in main() 76 constexpr T1 t1(Duration1(3)); in main() 77 constexpr T1 t2(Duration1(3)); in main() [all …]
|
D | op_equal.fail.cpp | 32 typedef std::chrono::milliseconds Duration1; in main() typedef 34 typedef std::chrono::time_point<Clock1, Duration1> T1; in main() 37 T1 t1(Duration1(3)); in main()
|
D | op_less.fail.cpp | 40 typedef std::chrono::milliseconds Duration1; in main() typedef 42 typedef std::chrono::time_point<Clock1, Duration1> T1; in main() 45 T1 t1(Duration1(3)); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.cons/ |
D | convert.pass.cpp | 23 typedef std::chrono::microseconds Duration1; in main() typedef 27 std::chrono::time_point<Clock, Duration1> t1 = t2; in main() 28 assert(t1.time_since_epoch() == Duration1(3000)); in main() 33 constexpr std::chrono::time_point<Clock, Duration1> t1 = t2; in main() 34 static_assert(t1.time_since_epoch() == Duration1(3000), ""); in main()
|
D | convert.fail.cpp | 24 typedef std::chrono::milliseconds Duration1; in main() typedef 28 std::chrono::time_point<Clock, Duration1> t1 = t2; in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.nonmember/ |
D | op_-time_point.pass.cpp | 24 typedef std::chrono::milliseconds Duration1; in main() typedef 27 std::chrono::time_point<Clock, Duration1> t1(Duration1(3)); in main() 33 constexpr std::chrono::time_point<Clock, Duration1> t1(Duration1(3)); in main()
|
D | op_-duration.pass.cpp | 24 typedef std::chrono::milliseconds Duration1; in main() typedef 27 std::chrono::time_point<Clock, Duration1> t1(Duration1(3)); in main() 33 constexpr std::chrono::time_point<Clock, Duration1> t1(Duration1(3)); in main()
|
D | op_+.pass.cpp | 28 typedef std::chrono::milliseconds Duration1; in main() typedef 31 std::chrono::time_point<Clock, Duration1> t1(Duration1(3)); in main() 39 constexpr std::chrono::time_point<Clock, Duration1> t1(Duration1(3)); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ |
D | chrono | 142 template <class Clock, class Duration1, class Duration2> 143 struct common_type<chrono::time_point<Clock, Duration1>, chrono::time_point<Clock, Duration2>>; 198 template <class Clock, class Duration1, class Rep2, class Period2> 199 time_point<Clock, typename common_type<Duration1, duration<Rep2, Period2>>::type> 200 operator+(const time_point<Clock, Duration1>& lhs, const duration<Rep2, Period2>& rhs); 204 template <class Clock, class Duration1, class Rep2, class Period2> 205 time_point<Clock, typename common_type<Duration1, duration<Rep2, Period2>>::type> 206 operator-(const time_point<Clock, Duration1>& lhs, const duration<Rep2, Period2>& rhs); 207 template <class Clock, class Duration1, class Duration2> 208 typename common_type<Duration1, Duration2>::type [all …]
|