Searched refs:Duration1 (Results 1 – 10 of 10) sorted by relevance
/external/libcxx/test/std/utilities/time/time.point/time.point.comparisons/ |
D | op_equal.pass.cpp | 30 typedef std::chrono::milliseconds Duration1; in main() typedef 32 typedef std::chrono::time_point<Clock, Duration1> T1; in main() 36 T1 t1(Duration1(3)); in main() 37 T1 t2(Duration1(3)); in main() 42 T1 t1(Duration1(3)); in main() 43 T1 t2(Duration1(4)); in main() 48 T1 t1(Duration1(3)); in main() 54 T1 t1(Duration1(3)); in main() 62 constexpr T1 t1(Duration1(3)); in main() 63 constexpr T1 t2(Duration1(3)); in main() [all …]
|
D | op_less.pass.cpp | 38 typedef std::chrono::milliseconds Duration1; in main() typedef 40 typedef std::chrono::time_point<Clock, Duration1> T1; in main() 44 T1 t1(Duration1(3)); in main() 45 T1 t2(Duration1(3)); in main() 52 T1 t1(Duration1(3)); in main() 53 T1 t2(Duration1(4)); in main() 60 T1 t1(Duration1(3)); in main() 68 T1 t1(Duration1(3)); in main() 78 constexpr T1 t1(Duration1(3)); in main() 79 constexpr T1 t2(Duration1(3)); in main() [all …]
|
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()
|
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()
|
/external/libcxx/test/std/utilities/time/time.point/time.point.cons/ |
D | convert.pass.cpp | 25 typedef std::chrono::microseconds Duration1; in main() typedef 29 std::chrono::time_point<Clock, Duration1> t1 = t2; in main() 30 assert(t1.time_since_epoch() == Duration1(3000)); in main() 35 constexpr std::chrono::time_point<Clock, Duration1> t1 = t2; in main() 36 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()
|
/external/libcxx/test/std/utilities/time/time.point/time.point.nonmember/ |
D | op_-time_point.pass.cpp | 26 typedef std::chrono::milliseconds Duration1; in main() typedef 29 std::chrono::time_point<Clock, Duration1> t1(Duration1(3)); in main() 35 constexpr std::chrono::time_point<Clock, Duration1> t1(Duration1(3)); in main()
|
D | op_+.pass.cpp | 30 typedef std::chrono::milliseconds Duration1; in main() typedef 33 std::chrono::time_point<Clock, Duration1> t1(Duration1(3)); in main() 41 constexpr std::chrono::time_point<Clock, Duration1> t1(Duration1(3)); in main()
|
D | op_-duration.pass.cpp | 37 typedef std::chrono::milliseconds Duration1; in main() typedef 40 std::chrono::time_point<Clock, Duration1> t1(Duration1(3)); in main() 46 constexpr std::chrono::time_point<Clock, Duration1> t1(Duration1(3)); in main()
|
/external/libcxx/include/ |
D | chrono | 145 template <class Clock, class Duration1, class Duration2> 146 struct common_type<chrono::time_point<Clock, Duration1>, chrono::time_point<Clock, Duration2>>; 208 template <class Clock, class Duration1, class Rep2, class Period2> 209 time_point<Clock, typename common_type<Duration1, duration<Rep2, Period2>>::type> 210 operator+(const time_point<Clock, Duration1>& lhs, const duration<Rep2, Period2>& rhs); 214 template <class Clock, class Duration1, class Rep2, class Period2> 215 time_point<Clock, typename common_type<Duration1, duration<Rep2, Period2>>::type> 216 operator-(const time_point<Clock, Duration1>& lhs, const duration<Rep2, Period2>& rhs); 217 template <class Clock, class Duration1, class Duration2> 218 typename common_type<Duration1, Duration2>::type [all …]
|