Lines Matching refs:__os
50 operator<<(basic_ostream<_CharT, _Traits>& __os, const sys_time<_Duration>& __tp) {
51 return __os << std::format(__os.getloc(), _LIBCPP_STATICALLY_WIDEN(_CharT, "{:L%F %T}"), __tp);
56 operator<<(basic_ostream<_CharT, _Traits>& __os, const sys_days& __dp) {
57 return __os << year_month_day{__dp};
62 operator<<(basic_ostream<_CharT, _Traits>& __os, const file_time<_Duration> __tp) {
63 return __os << std::format(__os.getloc(), _LIBCPP_STATICALLY_WIDEN(_CharT, "{:L%F %T}"), __tp);
68 operator<<(basic_ostream<_CharT, _Traits>& __os, const local_time<_Duration> __tp) {
69 return __os << sys_time<_Duration>{__tp.time_since_epoch()};
128 operator<<(basic_ostream<_CharT, _Traits>& __os, const duration<_Rep, _Period>& __d) {
130 __s.flags(__os.flags());
131 __s.imbue(__os.getloc());
132 __s.precision(__os.precision());
134 return __os << __s.str();
138 … basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, const day& __d) {
139 return __os << (__d.ok() ? std::format(_LIBCPP_STATICALLY_WIDEN(_CharT, "{:%d}"), __d)
151 operator<<(basic_ostream<_CharT, _Traits>& __os, const month& __m) {
152 …return __os << (__m.ok() ? std::format(__os.getloc(), _LIBCPP_STATICALLY_WIDEN(_CharT, "{:L%b}"), …
153 : std::format(__os.getloc(),
160 operator<<(basic_ostream<_CharT, _Traits>& __os, const year& __y) {
161 return __os << (__y.ok() ? std::format(_LIBCPP_STATICALLY_WIDEN(_CharT, "{:%Y}"), __y)
167 operator<<(basic_ostream<_CharT, _Traits>& __os, const weekday& __wd) {
168 …return __os << (__wd.ok() ? std::format(__os.getloc(), _LIBCPP_STATICALLY_WIDEN(_CharT, "{:L%a}"),…
169 … : std::format(__os.getloc(), // TODO FMT Standard mandated locale isn't used.
176 operator<<(basic_ostream<_CharT, _Traits>& __os, const weekday_indexed& __wdi) {
178 return __os << (__i >= 1 && __i <= 5
179 … ? std::format(__os.getloc(), _LIBCPP_STATICALLY_WIDEN(_CharT, "{:L}[{}]"), __wdi.weekday(), __i)
180 : std::format(__os.getloc(),
188 operator<<(basic_ostream<_CharT, _Traits>& __os, const weekday_last& __wdl) {
189 …return __os << std::format(__os.getloc(), _LIBCPP_STATICALLY_WIDEN(_CharT, "{:L}[last]"), __wdl.we…
194 operator<<(basic_ostream<_CharT, _Traits>& __os, const month_day& __md) {
197 …return __os << std::format(__os.getloc(), _LIBCPP_STATICALLY_WIDEN(_CharT, "{:L}/{}"), __md.month(…
202 operator<<(basic_ostream<_CharT, _Traits>& __os, const month_day_last& __mdl) {
203 …return __os << std::format(__os.getloc(), _LIBCPP_STATICALLY_WIDEN(_CharT, "{:L}/last"), __mdl.mon…
208 operator<<(basic_ostream<_CharT, _Traits>& __os, const month_weekday& __mwd) {
209 return __os << std::format(
210 …__os.getloc(), _LIBCPP_STATICALLY_WIDEN(_CharT, "{:L}/{:L}"), __mwd.month(), __mwd.weekday_indexed…
215 operator<<(basic_ostream<_CharT, _Traits>& __os, const month_weekday_last& __mwdl) {
216 return __os << std::format(
217 …__os.getloc(), _LIBCPP_STATICALLY_WIDEN(_CharT, "{:L}/{:L}"), __mwdl.month(), __mwdl.weekday_last(…
222 operator<<(basic_ostream<_CharT, _Traits>& __os, const year_month& __ym) {
223 …return __os << std::format(__os.getloc(), _LIBCPP_STATICALLY_WIDEN(_CharT, "{}/{:L}"), __ym.year()…
228 operator<<(basic_ostream<_CharT, _Traits>& __os, const year_month_day& __ymd) {
229 return __os << (__ymd.ok() ? std::format(_LIBCPP_STATICALLY_WIDEN(_CharT, "{:%F}"), __ymd)
235 operator<<(basic_ostream<_CharT, _Traits>& __os, const year_month_day_last& __ymdl) {
236 return __os << std::format(
237 …__os.getloc(), _LIBCPP_STATICALLY_WIDEN(_CharT, "{}/{:L}"), __ymdl.year(), __ymdl.month_day_last()…
242 operator<<(basic_ostream<_CharT, _Traits>& __os, const year_month_weekday& __ymwd) {
243 return __os << std::format(
244 __os.getloc(),
253 operator<<(basic_ostream<_CharT, _Traits>& __os, const year_month_weekday_last& __ymwdl) {
254 return __os << std::format(
255 __os.getloc(),
264 operator<<(basic_ostream<_CharT, _Traits>& __os, const hh_mm_ss<_Duration> __hms) {
265 return __os << std::format(__os.getloc(), _LIBCPP_STATICALLY_WIDEN(_CharT, "{:L%T}"), __hms);
272 operator<<(basic_ostream<_CharT, _Traits>& __os, const sys_info& __info) {
276 return __os << std::format(
287 operator<<(basic_ostream<_CharT, _Traits>& __os, const local_info& __info) {
302 return __os << std::format(
310 operator<<(basic_ostream<_CharT, _Traits>& __os, const zoned_time<_Duration, _TimeZonePtr>& __tp) {
311 return __os << std::format(__os.getloc(), _LIBCPP_STATICALLY_WIDEN(_CharT, "{:L%F %T %Z}"), __tp);