/external/libcxx/test/std/utilities/time/time.point/time.point.nonmember/ |
op_+.pass.cpp | 18 // template <class Rep1, class Period1, class Clock, class Duration2> 19 // time_point<Clock, typename common_type<duration<Rep1, Period1>, Duration2>::type> 20 // operator+(const duration<Rep1, Period1>& lhs, const time_point<Clock, Duration2>& rhs); 31 typedef std::chrono::microseconds Duration2; 34 std::chrono::time_point<Clock, Duration2> t2 = t1 + Duration2(5); 35 assert(t2.time_since_epoch() == Duration2(3005)); 36 t2 = Duration2(6) + t1; 37 assert(t2.time_since_epoch() == Duration2(3006)); 42 constexpr std::chrono::time_point<Clock, Duration2> t2 = t1 + Duration2(5) [all...] |
op_-time_point.pass.cpp | 14 // template <class Clock, class Duration1, class Duration2> 15 // typename common_type<Duration1, Duration2>::type 16 // operator-(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs); 27 typedef std::chrono::microseconds Duration2; 30 std::chrono::time_point<Clock, Duration2> t2(Duration2(5)); 31 assert((t1 - t2) == Duration2(2995)); 36 constexpr std::chrono::time_point<Clock, Duration2> t2(Duration2(5)); 37 static_assert((t1 - t2) == Duration2(2995), "") [all...] |
op_-duration.pass.cpp | 38 typedef std::chrono::microseconds Duration2; 41 std::chrono::time_point<Clock, Duration2> t2 = t1 - Duration2(5); 42 assert(t2.time_since_epoch() == Duration2(2995)); 47 constexpr std::chrono::time_point<Clock, Duration2> t2 = t1 - Duration2(5); 48 static_assert(t2.time_since_epoch() == Duration2(2995), "");
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.nonmember/ |
op_+.pass.cpp | 18 // template <class Rep1, class Period1, class Clock, class Duration2> 19 // time_point<Clock, typename common_type<duration<Rep1, Period1>, Duration2>::type> 20 // operator+(const duration<Rep1, Period1>& lhs, const time_point<Clock, Duration2>& rhs); 29 typedef std::chrono::microseconds Duration2; 32 std::chrono::time_point<Clock, Duration2> t2 = t1 + Duration2(5); 33 assert(t2.time_since_epoch() == Duration2(3005)); 34 t2 = Duration2(6) + t1; 35 assert(t2.time_since_epoch() == Duration2(3006)); 40 constexpr std::chrono::time_point<Clock, Duration2> t2 = t1 + Duration2(5) [all...] |
op_-duration.pass.cpp | 25 typedef std::chrono::microseconds Duration2; 28 std::chrono::time_point<Clock, Duration2> t2 = t1 - Duration2(5); 29 assert(t2.time_since_epoch() == Duration2(2995)); 34 constexpr std::chrono::time_point<Clock, Duration2> t2 = t1 - Duration2(5); 35 static_assert(t2.time_since_epoch() == Duration2(2995), "");
|
op_-time_point.pass.cpp | 14 // template <class Clock, class Duration1, class Duration2> 15 // typename common_type<Duration1, Duration2>::type 16 // operator-(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs); 25 typedef std::chrono::microseconds Duration2; 28 std::chrono::time_point<Clock, Duration2> t2(Duration2(5)); 29 assert((t1 - t2) == Duration2(2995)); 34 constexpr std::chrono::time_point<Clock, Duration2> t2(Duration2(5)); 35 static_assert((t1 - t2) == Duration2(2995), "") [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/time/time.point/time.point.nonmember/ |
op_+.pass.cpp | 18 // template <class Rep1, class Period1, class Clock, class Duration2> 19 // time_point<Clock, typename common_type<duration<Rep1, Period1>, Duration2>::type> 20 // operator+(const duration<Rep1, Period1>& lhs, const time_point<Clock, Duration2>& rhs); 29 typedef std::chrono::microseconds Duration2; 32 std::chrono::time_point<Clock, Duration2> t2 = t1 + Duration2(5); 33 assert(t2.time_since_epoch() == Duration2(3005)); 34 t2 = Duration2(6) + t1; 35 assert(t2.time_since_epoch() == Duration2(3006)); 40 constexpr std::chrono::time_point<Clock, Duration2> t2 = t1 + Duration2(5) [all...] |
op_-duration.pass.cpp | 25 typedef std::chrono::microseconds Duration2; 28 std::chrono::time_point<Clock, Duration2> t2 = t1 - Duration2(5); 29 assert(t2.time_since_epoch() == Duration2(2995)); 34 constexpr std::chrono::time_point<Clock, Duration2> t2 = t1 - Duration2(5); 35 static_assert(t2.time_since_epoch() == Duration2(2995), "");
|
op_-time_point.pass.cpp | 14 // template <class Clock, class Duration1, class Duration2> 15 // typename common_type<Duration1, Duration2>::type 16 // operator-(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs); 25 typedef std::chrono::microseconds Duration2; 28 std::chrono::time_point<Clock, Duration2> t2(Duration2(5)); 29 assert((t1 - t2) == Duration2(2995)); 34 constexpr std::chrono::time_point<Clock, Duration2> t2(Duration2(5)); 35 static_assert((t1 - t2) == Duration2(2995), "") [all...] |
/external/libcxx/test/std/utilities/time/time.point/time.point.cons/ |
convert.fail.cpp | 14 // template <class Duration2> 15 // time_point(const time_point<clock, Duration2>& t); 17 // Duration2 shall be implicitly convertible to duration. 25 typedef std::chrono::microseconds Duration2; 27 std::chrono::time_point<Clock, Duration2> t2(Duration2(3));
|
convert.pass.cpp | 14 // template <class Duration2> 15 // time_point(const time_point<clock, Duration2>& t); 26 typedef std::chrono::milliseconds Duration2; 28 std::chrono::time_point<Clock, Duration2> t2(Duration2(3)); 34 constexpr std::chrono::time_point<Clock, Duration2> t2(Duration2(3));
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.cons/ |
convert.fail.cpp | 14 // template <class Duration2> 15 // time_point(const time_point<clock, Duration2>& t); 17 // Duration2 shall be implicitly convertible to duration. 25 typedef std::chrono::microseconds Duration2; 27 std::chrono::time_point<Clock, Duration2> t2(Duration2(3));
|
convert.pass.cpp | 14 // template <class Duration2> 15 // time_point(const time_point<clock, Duration2>& t); 24 typedef std::chrono::milliseconds Duration2; 26 std::chrono::time_point<Clock, Duration2> t2(Duration2(3)); 32 constexpr std::chrono::time_point<Clock, Duration2> t2(Duration2(3));
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/time/time.point/time.point.cons/ |
convert.fail.cpp | 14 // template <class Duration2> 15 // time_point(const time_point<clock, Duration2>& t); 17 // Duration2 shall be implicitly convertible to duration. 25 typedef std::chrono::microseconds Duration2; 27 std::chrono::time_point<Clock, Duration2> t2(Duration2(3));
|
convert.pass.cpp | 14 // template <class Duration2> 15 // time_point(const time_point<clock, Duration2>& t); 24 typedef std::chrono::milliseconds Duration2; 26 std::chrono::time_point<Clock, Duration2> t2(Duration2(3)); 32 constexpr std::chrono::time_point<Clock, Duration2> t2(Duration2(3));
|
/external/libcxx/test/std/utilities/time/time.point/time.point.comparisons/ |
op_equal.fail.cpp | 14 // template <class Clock, class Duration1, class Duration2> 16 // operator==(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs); 18 // template <class Clock, class Duration1, class Duration2> 20 // operator!=(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs); 33 typedef std::chrono::microseconds Duration2; 35 typedef std::chrono::time_point<Clock2, Duration2> T2; 38 T2 t2(Duration2(3000));
|
op_less.fail.cpp | 14 // template <class Clock, class Duration1, class Duration2> 16 // operator< (const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs); 18 // template <class Clock, class Duration1, class Duration2> 20 // operator> (const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs); 22 // template <class Clock, class Duration1, class Duration2> 24 // operator<=(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs); 26 // template <class Clock, class Duration1, class Duration2> 28 // operator>=(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs); 41 typedef std::chrono::microseconds Duration2; 43 typedef std::chrono::time_point<Clock2, Duration2> T2 [all...] |
op_equal.pass.cpp | 14 // template <class Clock, class Duration1, class Duration2> 16 // operator==(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs); 18 // template <class Clock, class Duration1, class Duration2> 20 // operator!=(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs); 31 typedef std::chrono::microseconds Duration2; 33 typedef std::chrono::time_point<Clock, Duration2> T2; 49 T2 t2(Duration2(3000)); 55 T2 t2(Duration2(3001)); 75 constexpr T2 t2(Duration2(3000)); 81 constexpr T2 t2(Duration2(3001)) [all...] |
op_less.pass.cpp | 14 // template <class Clock, class Duration1, class Duration2> 16 // operator< (const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs); 18 // template <class Clock, class Duration1, class Duration2> 20 // operator> (const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs); 22 // template <class Clock, class Duration1, class Duration2> 24 // operator<=(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs); 26 // template <class Clock, class Duration1, class Duration2> 28 // operator>=(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs); 39 typedef std::chrono::microseconds Duration2; 41 typedef std::chrono::time_point<Clock, Duration2> T2 [all...] |
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.comparisons/ |
op_equal.fail.cpp | 14 // template <class Clock, class Duration1, class Duration2> 16 // operator==(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs); 18 // template <class Clock, class Duration1, class Duration2> 20 // operator!=(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs); 33 typedef std::chrono::microseconds Duration2; 35 typedef std::chrono::time_point<Clock2, Duration2> T2; 38 T2 t2(Duration2(3000));
|
op_less.fail.cpp | 14 // template <class Clock, class Duration1, class Duration2> 16 // operator< (const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs); 18 // template <class Clock, class Duration1, class Duration2> 20 // operator> (const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs); 22 // template <class Clock, class Duration1, class Duration2> 24 // operator<=(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs); 26 // template <class Clock, class Duration1, class Duration2> 28 // operator>=(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs); 41 typedef std::chrono::microseconds Duration2; 43 typedef std::chrono::time_point<Clock2, Duration2> T2 [all...] |
op_equal.pass.cpp | 14 // template <class Clock, class Duration1, class Duration2> 16 // operator==(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs); 18 // template <class Clock, class Duration1, class Duration2> 20 // operator!=(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs); 29 typedef std::chrono::microseconds Duration2; 31 typedef std::chrono::time_point<Clock, Duration2> T2; 47 T2 t2(Duration2(3000)); 53 T2 t2(Duration2(3001)); 73 constexpr T2 t2(Duration2(3000)); 79 constexpr T2 t2(Duration2(3001)) [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/time/time.point/time.point.comparisons/ |
op_equal.fail.cpp | 14 // template <class Clock, class Duration1, class Duration2> 16 // operator==(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs); 18 // template <class Clock, class Duration1, class Duration2> 20 // operator!=(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs); 33 typedef std::chrono::microseconds Duration2; 35 typedef std::chrono::time_point<Clock2, Duration2> T2; 38 T2 t2(Duration2(3000));
|
op_less.fail.cpp | 14 // template <class Clock, class Duration1, class Duration2> 16 // operator< (const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs); 18 // template <class Clock, class Duration1, class Duration2> 20 // operator> (const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs); 22 // template <class Clock, class Duration1, class Duration2> 24 // operator<=(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs); 26 // template <class Clock, class Duration1, class Duration2> 28 // operator>=(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs); 41 typedef std::chrono::microseconds Duration2; 43 typedef std::chrono::time_point<Clock2, Duration2> T2 [all...] |
op_equal.pass.cpp | 14 // template <class Clock, class Duration1, class Duration2> 16 // operator==(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs); 18 // template <class Clock, class Duration1, class Duration2> 20 // operator!=(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs); 29 typedef std::chrono::microseconds Duration2; 31 typedef std::chrono::time_point<Clock, Duration2> T2; 47 T2 t2(Duration2(3000)); 53 T2 t2(Duration2(3001)); 73 constexpr T2 t2(Duration2(3000)); 79 constexpr T2 t2(Duration2(3001)) [all...] |