Home
last modified time | relevance | path

Searched refs:__duration (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/libcxx/include/__chrono/
H A Dparser_std_format_spec.h62 __duration = 0x80 | __time, enumerator
114 if (((__flags & __flags::__date) != __flags::__date) && ((__flags & __flags::__duration) != __flags::__duration)) in __validate_date_or_duration()
129 if ((__flags & __flags::__duration) != __flags::__duration) in __validate_duration()
H A Dformatter.h91 using __duration = chrono::duration<_Rep, _Period>; in __format_sub_seconds() local
95 if (__value < chrono::seconds{0} && __fraction != __duration{0}) in __format_sub_seconds()
112 … chrono::duration_cast<typename chrono::hh_mm_ss<__duration>::precision>(__fraction).count(), in __format_sub_seconds()
113 chrono::hh_mm_ss<__duration>::fractional_width); in __format_sub_seconds()
117 … chrono::duration_cast<typename chrono::hh_mm_ss<__duration>::precision>(__fraction).count(), in __format_sub_seconds()
118 chrono::hh_mm_ss<__duration>::fractional_width); in __format_sub_seconds()
764 …ase::__parse(__ctx, __format_spec::__fields_chrono_fractional, __format_spec::__flags::__duration);
766 … return _Base::__parse(__ctx, __format_spec::__fields_chrono, __format_spec::__flags::__duration);