Home
last modified time | relevance | path

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/
Dop_equal.pass.cpp28 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 …]
Dop_less.pass.cpp36 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 …]
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()
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()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.cons/
Dconvert.pass.cpp23 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()
Dconvert.fail.cpp24 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/
Dop_-time_point.pass.cpp24 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()
Dop_-duration.pass.cpp24 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()
Dop_+.pass.cpp28 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/
Dchrono142 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 …]