Searched refs:HMS (Results 1 – 7 of 7) sorted by relevance
29 using HMS = std::chrono::hh_mm_ss<Duration>; in check_subseconds() typedef30 ASSERT_SAME_TYPE(typename HMS::precision, decltype(std::declval<HMS>().subseconds())); in check_subseconds()31 ASSERT_NOEXCEPT( std::declval<HMS>().subseconds()); in check_subseconds()32 return HMS(d).subseconds().count(); in check_subseconds()
28 using HMS = std::chrono::hh_mm_ss<Duration>; in check_duration() typedef29 ASSERT_SAME_TYPE(typename HMS::precision, decltype(std::declval<HMS>().to_duration())); in check_duration()30 ASSERT_NOEXCEPT( std::declval<HMS>().to_duration()); in check_duration()32 return HMS(d).to_duration().count(); in check_duration()
37 using HMS = std::chrono::hh_mm_ss<Duration>; in check_hours() typedef38 ASSERT_SAME_TYPE(std::chrono::hours, decltype(std::declval<HMS>().hours())); in check_hours()39 ASSERT_NOEXCEPT( std::declval<HMS>().hours()); in check_hours()40 return HMS(d).hours().count(); in check_hours()
28 using HMS = std::chrono::hh_mm_ss<Duration>; in check_minutes() typedef29 ASSERT_SAME_TYPE(std::chrono::minutes, decltype(std::declval<HMS>().minutes())); in check_minutes()30 ASSERT_NOEXCEPT( std::declval<HMS>().minutes()); in check_minutes()31 return HMS(d).minutes().count(); in check_minutes()
29 using HMS = std::chrono::hh_mm_ss<Duration>; in check_seconds() typedef30 ASSERT_SAME_TYPE(std::chrono::seconds, decltype(std::declval<HMS>().seconds())); in check_seconds()31 ASSERT_NOEXCEPT( std::declval<HMS>().seconds()); in check_seconds()32 return HMS(d).seconds().count(); in check_seconds()
33 using HMS = std::chrono::hh_mm_ss<Duration>; in check_width() typedef34 return HMS::fractional_width == width; in check_width()
54 using HMS = std::chrono::hh_mm_ss<Duration>; in check_precision() typedef57 return std::is_same_v<typename HMS::precision, Pre>; in check_precision()