Home
last modified time | relevance | path

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

/external/libcxx/test/std/utilities/time/time.point/time.point.cast/
Dround.pass.cpp29 typedef std::chrono::time_point<Clock, ToDuration> ToTimePoint; in test() typedef
32 ToTimePoint t(d); in test()
34 static_assert((std::is_same<R, ToTimePoint>::value), ""); in test()
44 typedef std::chrono::time_point<Clock, ToDuration> ToTimePoint; in test_constexpr() typedef
47 constexpr ToTimePoint t{ToDuration{To}}; in test_constexpr()
Dfloor.pass.cpp29 typedef std::chrono::time_point<Clock, ToDuration> ToTimePoint; in test() typedef
32 ToTimePoint t(d); in test()
34 static_assert((std::is_same<R, ToTimePoint>::value), ""); in test()
44 typedef std::chrono::time_point<Clock, ToDuration> ToTimePoint; in test_constexpr() typedef
47 constexpr ToTimePoint t{ToDuration{To}}; in test_constexpr()
Dceil.pass.cpp29 typedef std::chrono::time_point<Clock, ToDuration> ToTimePoint; in test() typedef
32 ToTimePoint t(d); in test()
34 static_assert((std::is_same<R, ToTimePoint>::value), ""); in test()
44 typedef std::chrono::time_point<Clock, ToDuration> ToTimePoint; in test_constexpr() typedef
47 constexpr ToTimePoint t{ToDuration{To}}; in test_constexpr()
Dtime_point_cast.pass.cpp30 typedef std::chrono::time_point<Clock, ToDuration> ToTimePoint; in test() typedef
33 ToTimePoint t(d); in test()
35 static_assert((std::is_same<R, ToTimePoint>::value), ""); in test()
47 typedef std::chrono::time_point<Clock, ToDuration> ToTimePoint; in test_constexpr() typedef
50 constexpr ToTimePoint t{ToDuration{To}}; in test_constexpr()
Dtoduration.fail.cpp26 typedef std::chrono::time_point<Clock, std::chrono::minutes> ToTimePoint; in main() typedef
27 std::chrono::time_point_cast<ToTimePoint>(FromTimePoint(std::chrono::milliseconds(3))); in main()
/external/llvm-project/libcxx/test/std/utilities/time/time.point/time.point.cast/
Dceil.pass.cpp30 typedef std::chrono::time_point<Clock, ToDuration> ToTimePoint; in test() typedef
33 ToTimePoint t(d); in test()
35 static_assert((std::is_same<R, ToTimePoint>::value), ""); in test()
45 typedef std::chrono::time_point<Clock, ToDuration> ToTimePoint; in test_constexpr() typedef
48 constexpr ToTimePoint t{ToDuration{To}}; in test_constexpr()
Dround.pass.cpp30 typedef std::chrono::time_point<Clock, ToDuration> ToTimePoint; in test() typedef
33 ToTimePoint t(d); in test()
35 static_assert((std::is_same<R, ToTimePoint>::value), ""); in test()
45 typedef std::chrono::time_point<Clock, ToDuration> ToTimePoint; in test_constexpr() typedef
48 constexpr ToTimePoint t{ToDuration{To}}; in test_constexpr()
Dfloor.pass.cpp30 typedef std::chrono::time_point<Clock, ToDuration> ToTimePoint; in test() typedef
33 ToTimePoint t(d); in test()
35 static_assert((std::is_same<R, ToTimePoint>::value), ""); in test()
45 typedef std::chrono::time_point<Clock, ToDuration> ToTimePoint; in test_constexpr() typedef
48 constexpr ToTimePoint t{ToDuration{To}}; in test_constexpr()
Dtime_point_cast.pass.cpp29 typedef std::chrono::time_point<Clock, ToDuration> ToTimePoint; in test() typedef
32 ToTimePoint t(d); in test()
34 static_assert((std::is_same<R, ToTimePoint>::value), ""); in test()
46 typedef std::chrono::time_point<Clock, ToDuration> ToTimePoint; in test_constexpr() typedef
49 constexpr ToTimePoint t{ToDuration{To}}; in test_constexpr()
Dtoduration.compile.fail.cpp25 typedef std::chrono::time_point<Clock, std::chrono::minutes> ToTimePoint; in main() typedef
26 std::chrono::time_point_cast<ToTimePoint>(FromTimePoint(std::chrono::milliseconds(3))); in main()