Home
last modified time | relevance | path

Searched refs:Duration1 (Results 1 – 10 of 10) sorted by relevance

/external/libcxx/test/std/utilities/time/time.point/time.point.comparisons/
Dop_equal.pass.cpp30 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 …]
Dop_less.pass.cpp38 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 …]
Dop_less.fail.cpp40 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()
Dop_equal.fail.cpp32 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/
Dconvert.pass.cpp25 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()
Dconvert.fail.cpp24 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/
Dop_-time_point.pass.cpp26 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()
Dop_+.pass.cpp30 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()
Dop_-duration.pass.cpp37 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/
Dchrono145 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 …]