Home
last modified time | relevance | path

Searched refs:__dy (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/libcxx/include/__chrono/
H A Dyear_month.h41 _LIBCPP_HIDE_FROM_ABI inline constexpr year_month& operator+=(const years& __dy) noexcept;
42 _LIBCPP_HIDE_FROM_ABI inline constexpr year_month& operator-=(const years& __dy) noexcept;
67 const int __dy = (__dmi >= 0 ? __dmi : __dmi - 11) / 12;
68 __dmi = __dmi - __dy * 12 + 1;
69 return (__lhs.year() + years(__dy)) / month(static_cast<unsigned>(__dmi));
107 _LIBCPP_HIDE_FROM_ABI inline constexpr year_month& year_month::operator+=(const years& __dy) noexcept {
108 *this = *this + __dy;
112 _LIBCPP_HIDE_FROM_ABI inline constexpr year_month& year_month::operator-=(const years& __dy) noexcept {
113 *this = *this - __dy;
66 const int __dy = (__dmi >= 0 ? __dmi : __dmi-11) / 12; global() variable
H A Dyear_month_day.h57 _LIBCPP_HIDE_FROM_ABI constexpr year_month_day& operator+=(const years& __dy) noexcept;
58 _LIBCPP_HIDE_FROM_ABI constexpr year_month_day& operator-=(const years& __dy) noexcept;
85 const unsigned __dy = __doy - (153 * __mp + 2) / 5 + 1; // [1, 31] in __from_days() local
87 return year_month_day{chrono::year{__yr + (__mth <= 2)}, chrono::month{__mth}, chrono::day{__dy}}; in __from_days()
97 const unsigned __dy = static_cast<unsigned>(__d_); in __to_days() local
101 const unsigned __doy = (153 * (__mth + (__mth > 2 ? -3 : 9)) + 2) / 5 + __dy - 1; // [0, 365] in __to_days()
182 _LIBCPP_HIDE_FROM_ABI inline constexpr year_month_day& year_month_day::operator+=(const years& __dy
183 *this = *this + __dy;
186 _LIBCPP_HIDE_FROM_ABI inline constexpr year_month_day& year_month_day::operator-=(const years& __dy
187 *this = *this - __dy;
[all …]
H A Dyear.h57 _LIBCPP_HIDE_FROM_ABI constexpr year& operator+=(const years& __dy) noexcept;
58 _LIBCPP_HIDE_FROM_ABI constexpr year& operator-=(const years& __dy) noexcept;
95 _LIBCPP_HIDE_FROM_ABI inline constexpr year& year::operator+=(const years& __dy) noexcept {
96 *this = *this + __dy;
100 _LIBCPP_HIDE_FROM_ABI inline constexpr year& year::operator-=(const years& __dy) noexcept {
101 *this = *this - __dy;
H A Dyear_month_weekday.h158 _LIBCPP_HIDE_FROM_ABI inline constexpr year_month_weekday& year_month_weekday::operator+=(const years& __dy) noexcept { in year_month_weekday_last()
159 *this = *this + __dy; in year_month_weekday_last()
162 _LIBCPP_HIDE_FROM_ABI inline constexpr year_month_weekday& year_month_weekday::operator-=(const years& __dy) noexcept {
163 *this = *this - __dy;
179 _LIBCPP_HIDE_FROM_ABI constexpr year_month_weekday_last& operator+=(const years& __dy) noexcept; in __to_days()
180 _LIBCPP_HIDE_FROM_ABI constexpr year_month_weekday_last& operator-=(const years& __dy) noexcept; in __to_days()
271 year_month_weekday_last::operator+=(const years& __dy) noexcept {
272 *this = *this + __dy;
276 year_month_weekday_last::operator-=(const years& __dy) noexcept {
277 *this = *this - __dy;
[all...]