Searched refs:__year (Results 1 – 5 of 5) sorted by relevance
| /freebsd/contrib/llvm-project/libcxx/src/experimental/include/tzdb/ |
| H A D | types_private.h | 36 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI year_month_day operator()(year __year, month __month) const { in operator() 37 auto __result = static_cast<sys_days>(year_month_day{__year, __month, __day}); in operator() 107 year __year = chrono::year::min();
|
| /freebsd/contrib/llvm-project/libcxx/src/experimental/ |
| H A D | time_zone.cpp | 226 [[nodiscard]] static year_month_day __to_year_month_day(year __year, month __month, __tz::__on __on… in __to_year_month_day() argument 231 return year_month_day{__year, __month, __value}; in __to_year_month_day() 233 … return year_month_day{static_cast<sys_days>(year_month_weekday_last{__year, __month, __value})}; in __to_year_month_day() 235 return __value(__year, __month); in __to_year_month_day() 246 if (__continuation.__year == chrono::year::min()) in __until_to_sys_seconds() 249 …year_month_day __ymd = chrono::__to_year_month_day(__continuation.__year, __continuation.__in, __c… in __until_to_sys_seconds() 304 …atic sys_seconds __from_to_sys_seconds(seconds __stdoff, const __tz::__rule& __rule, year __year) { in __from_to_sys_seconds() argument 305 year_month_day __ymd = chrono::__to_year_month_day(__year, __rule.__in, __rule.__on); in __from_to_sys_seconds() 412 __rule_to_sys_seconds(seconds __stdoff, seconds __save, const __tz::__rule& __rule, year __year) { in __rule_to_sys_seconds() argument 413 year_month_day __ymd = chrono::__to_year_month_day(__year, __rule.__in, __rule.__on); in __rule_to_sys_seconds() [all …]
|
| H A D | tzdb.cpp | 489 __result.__year = chrono::__parse_year(__input); in __parse_continuation()
|
| /freebsd/contrib/llvm-project/libcxx/include/__chrono/ |
| H A D | parser_std_format_spec.h | 54 __year = 0x20, enumerator 60 __year_month = __month | __year, 61 __date = __day | __month | __year | __weekday, 107 if ((__flags & __flags::__year) != __flags::__year) in __validate_year()
|
| H A D | formatter.h | 176 _LIBCPP_HIDE_FROM_ABI void __format_year(basic_stringstream<_CharT>& __sstr, int __year) { in __format_year() argument 177 if (__year < 0) { in __format_year() 179 __year = -__year; in __format_year() 188 __sstr << std::format(_LIBCPP_STATICALLY_WIDEN(_CharT, "{:04}"), __year); in __format_year() 192 _LIBCPP_HIDE_FROM_ABI void __format_century(basic_stringstream<_CharT>& __sstr, int __year) { in __format_century() argument 198 bool __negative = __year < 0; in __format_century() 199 int __century = (__year - (99 * __negative)) / 100; // floored division in __format_century() 276 int __year = __t.tm_year + 1900; in __format_chrono_using_chrono_specs() local 277 if (__year < 1000 || __year > 9999) in __format_chrono_using_chrono_specs() 278 __formatter::__format_century(__sstr, __year); in __format_chrono_using_chrono_specs() [all …]
|