Lines Matching refs:Period
438 template <typename Period> FMT_CONSTEXPR const char* get_units() {
723 template <typename Rep, typename Period,
726 std::chrono::duration<Rep, Period> d) {
746 template <typename Rep, typename Period,
749 std::chrono::duration<Rep, Period> d) {
751 auto ms = mod(d.count() * static_cast<common_type>(Period::num) /
752 static_cast<common_type>(Period::den) * 1000,
779 template <typename Char, typename Period, typename OutputIt>
781 if (const char* unit = get_units<Period>())
784 if (const_check(Period::den == 1)) return format_to(out, num_f, Period::num);
786 return format_to(out, num_def_f, Period::num, Period::den);
790 typename Period>
808 std::chrono::duration<Rep, Period> d)
822 auto tmpval = std::chrono::duration<rep, Period>(val);
826 std::chrono::duration<rep, Period>(val));
951 using duration_rep = std::chrono::duration<rep, Period>;
952 using duration_Rep = std::chrono::duration<Rep, Period>;
955 auto tmpval = std::chrono::duration<Rep, Period>(val);
1005 out = format_duration_unit<char_type, Period>(out);
1010 template <typename Rep, typename Period, typename Char>
1011 struct formatter<std::chrono::duration<Rep, Period>, Char> {
1019 using duration = std::chrono::duration<Rep, Period>;
1104 detail::format_duration_unit<Char, Period>(out);
1106 detail::chrono_formatter<FormatContext, decltype(out), Rep, Period> f(