/external/llvm-project/libcxx/test/std/utilities/time/time.point/time.point.nonmember/ |
D | op_+.pass.cpp | 30 typedef std::chrono::microseconds Duration2; in main() typedef 33 std::chrono::time_point<Clock, Duration2> t2 = t1 + Duration2(5); in main() 34 assert(t2.time_since_epoch() == Duration2(3005)); in main() 35 t2 = Duration2(6) + t1; in main() 36 assert(t2.time_since_epoch() == Duration2(3006)); in main() 41 constexpr std::chrono::time_point<Clock, Duration2> t2 = t1 + Duration2(5); in main() 42 static_assert(t2.time_since_epoch() == Duration2(3005), ""); in main() 43 constexpr std::chrono::time_point<Clock, Duration2> t3 = Duration2(6) + t1; in main() 44 static_assert(t3.time_since_epoch() == Duration2(3006), ""); in main()
|
D | op_-time_point.pass.cpp | 26 typedef std::chrono::microseconds Duration2; in main() typedef 29 std::chrono::time_point<Clock, Duration2> t2(Duration2(5)); in main() 30 assert((t1 - t2) == Duration2(2995)); in main() 35 constexpr std::chrono::time_point<Clock, Duration2> t2(Duration2(5)); in main() 36 static_assert((t1 - t2) == Duration2(2995), ""); in main()
|
D | op_-duration.pass.cpp | 37 typedef std::chrono::microseconds Duration2; in main() typedef 40 std::chrono::time_point<Clock, Duration2> t2 = t1 - Duration2(5); in main() 41 assert(t2.time_since_epoch() == Duration2(2995)); in main() 46 constexpr std::chrono::time_point<Clock, Duration2> t2 = t1 - Duration2(5); in main() 47 static_assert(t2.time_since_epoch() == Duration2(2995), ""); in main()
|
/external/libcxx/test/std/utilities/time/time.point/time.point.nonmember/ |
D | op_+.pass.cpp | 31 typedef std::chrono::microseconds Duration2; in main() typedef 34 std::chrono::time_point<Clock, Duration2> t2 = t1 + Duration2(5); in main() 35 assert(t2.time_since_epoch() == Duration2(3005)); in main() 36 t2 = Duration2(6) + t1; in main() 37 assert(t2.time_since_epoch() == Duration2(3006)); in main() 42 constexpr std::chrono::time_point<Clock, Duration2> t2 = t1 + Duration2(5); in main() 43 static_assert(t2.time_since_epoch() == Duration2(3005), ""); in main() 44 constexpr std::chrono::time_point<Clock, Duration2> t3 = Duration2(6) + t1; in main() 45 static_assert(t3.time_since_epoch() == Duration2(3006), ""); in main()
|
D | op_-time_point.pass.cpp | 27 typedef std::chrono::microseconds Duration2; in main() typedef 30 std::chrono::time_point<Clock, Duration2> t2(Duration2(5)); in main() 31 assert((t1 - t2) == Duration2(2995)); in main() 36 constexpr std::chrono::time_point<Clock, Duration2> t2(Duration2(5)); in main() 37 static_assert((t1 - t2) == Duration2(2995), ""); in main()
|
D | op_-duration.pass.cpp | 38 typedef std::chrono::microseconds Duration2; in main() typedef 41 std::chrono::time_point<Clock, Duration2> t2 = t1 - Duration2(5); in main() 42 assert(t2.time_since_epoch() == Duration2(2995)); in main() 47 constexpr std::chrono::time_point<Clock, Duration2> t2 = t1 - Duration2(5); in main() 48 static_assert(t2.time_since_epoch() == Duration2(2995), ""); in main()
|
/external/libcxx/test/std/utilities/time/time.point/time.point.cons/ |
D | convert.pass.cpp | 26 typedef std::chrono::milliseconds Duration2; in main() typedef 28 std::chrono::time_point<Clock, Duration2> t2(Duration2(3)); in main() 34 constexpr std::chrono::time_point<Clock, Duration2> t2(Duration2(3)); in main()
|
D | convert.fail.cpp | 25 typedef std::chrono::microseconds Duration2; in main() typedef 27 std::chrono::time_point<Clock, Duration2> t2(Duration2(3)); in main()
|
/external/llvm-project/libcxx/test/std/utilities/time/time.point/time.point.cons/ |
D | convert.pass.cpp | 25 typedef std::chrono::milliseconds Duration2; in main() typedef 27 std::chrono::time_point<Clock, Duration2> t2(Duration2(3)); in main() 33 constexpr std::chrono::time_point<Clock, Duration2> t2(Duration2(3)); in main()
|
D | convert.compile.fail.cpp | 24 typedef std::chrono::microseconds Duration2; in main() typedef 26 std::chrono::time_point<Clock, Duration2> t2(Duration2(3)); in main()
|
/external/libcxx/test/std/utilities/time/time.point/time.point.comparisons/ |
D | op_equal.pass.cpp | 31 typedef std::chrono::microseconds Duration2; in main() typedef 33 typedef std::chrono::time_point<Clock, Duration2> T2; in main() 49 T2 t2(Duration2(3000)); in main() 55 T2 t2(Duration2(3001)); in main() 75 constexpr T2 t2(Duration2(3000)); in main() 81 constexpr T2 t2(Duration2(3001)); in main()
|
D | op_less.pass.cpp | 39 typedef std::chrono::microseconds Duration2; in main() typedef 41 typedef std::chrono::time_point<Clock, Duration2> T2; in main() 61 T2 t2(Duration2(3000)); in main() 69 T2 t2(Duration2(3001)); in main() 95 constexpr T2 t2(Duration2(3000)); in main() 103 constexpr T2 t2(Duration2(3001)); in main()
|
D | op_equal.fail.cpp | 33 typedef std::chrono::microseconds Duration2; in main() typedef 35 typedef std::chrono::time_point<Clock2, Duration2> T2; in main() 38 T2 t2(Duration2(3000)); in main()
|
D | op_less.fail.cpp | 41 typedef std::chrono::microseconds Duration2; in main() typedef 43 typedef std::chrono::time_point<Clock2, Duration2> T2; in main() 46 T2 t2(Duration2(3000)); in main()
|
/external/llvm-project/libcxx/test/std/utilities/time/time.point/time.point.comparisons/ |
D | op_equal.pass.cpp | 30 typedef std::chrono::microseconds Duration2; in main() typedef 32 typedef std::chrono::time_point<Clock, Duration2> T2; in main() 48 T2 t2(Duration2(3000)); in main() 54 T2 t2(Duration2(3001)); in main() 74 constexpr T2 t2(Duration2(3000)); in main() 80 constexpr T2 t2(Duration2(3001)); in main()
|
D | op_less.pass.cpp | 38 typedef std::chrono::microseconds Duration2; in main() typedef 40 typedef std::chrono::time_point<Clock, Duration2> T2; in main() 60 T2 t2(Duration2(3000)); in main() 68 T2 t2(Duration2(3001)); in main() 94 constexpr T2 t2(Duration2(3000)); in main() 102 constexpr T2 t2(Duration2(3001)); in main()
|
D | op_equal.compile.fail.cpp | 32 typedef std::chrono::microseconds Duration2; in main() typedef 34 typedef std::chrono::time_point<Clock2, Duration2> T2; in main() 37 T2 t2(Duration2(3000)); in main()
|
D | op_less.compile.fail.cpp | 40 typedef std::chrono::microseconds Duration2; in main() typedef 42 typedef std::chrono::time_point<Clock2, Duration2> T2; in main() 45 T2 t2(Duration2(3000)); in main()
|
/external/catch2/include/internal/benchmark/ |
D | catch_sample_analysis.hpp | 33 template <typename Duration2> 34 operator SampleAnalysis<Duration2>() const { in operator SampleAnalysis<Duration2>() 35 std::vector<Duration2> samples2; in operator SampleAnalysis<Duration2>() 37 …les.begin(), samples.end(), std::back_inserter(samples2), [](Duration d) { return Duration2(d); }); in operator SampleAnalysis<Duration2>()
|
D | catch_estimate.hpp | 23 template <typename Duration2> 24 operator Estimate<Duration2>() const { in operator Estimate<Duration2>()
|
D | catch_environment.hpp | 24 template <typename Duration2> 25 operator EnvironmentEstimate<Duration2>() const { in operator EnvironmentEstimate<Duration2>()
|
D | catch_execution_plan.hpp | 33 template <typename Duration2> 34 operator ExecutionPlan<Duration2>() const { in operator ExecutionPlan<Duration2>()
|
/external/catch2/include/internal/ |
D | catch_interfaces_reporter.h | 189 template <typename Duration2> 190 operator BenchmarkStats<Duration2>() const { in BenchmarkStats() 191 std::vector<Duration2> samples2; in BenchmarkStats() 193 …les.begin(), samples.end(), std::back_inserter(samples2), [](Duration d) { return Duration2(d); }); in BenchmarkStats()
|
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | bugprone-spuriously-wake-up-functions.cpp | 42 template <class Duration2> 43 constexpr time_point(const time_point<clock, Duration2> &t);
|
/external/llvm-project/libcxx/include/ |
D | chrono | 122 template <class Duration2> 123 time_point(const time_point<clock, Duration2>& t); // constexpr in C++14 146 template <class Clock, class Duration1, class Duration2> 147 struct common_type<chrono::time_point<Clock, Duration1>, chrono::time_point<Clock, Duration2>>; 219 template <class Rep1, class Period1, class Clock, class Duration2> 220 time_point<Clock, typename common_type<duration<Rep1, Period1>, Duration2>::type> 221 operator+(const duration<Rep1, Period1>& lhs, const time_point<Clock, Duration2>& rhs); 225 template <class Clock, class Duration1, class Duration2> 226 typename common_type<Duration1, Duration2>::type 227 operator-(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs); [all …]
|