Home
last modified time | relevance | path

Searched refs:years (Results 1 – 25 of 116) sorted by relevance

12345

/freebsd/contrib/llvm-project/libcxx/include/__chrono/
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;
79 _LIBCPP_HIDE_FROM_ABI inline constexpr year operator+(const year& __lhs, const years& __rhs) noexcept {
83 _LIBCPP_HIDE_FROM_ABI inline constexpr year operator+(const years& __lhs, const year& __rhs) noexcept {
87 _LIBCPP_HIDE_FROM_ABI inline constexpr year operator-(const year& __lhs, const years& __rhs) noexcept {
91 _LIBCPP_HIDE_FROM_ABI inline constexpr years operator-(const year& __lhs, const year& __rhs) noexcept { in ok()
92 return years{static_cast<int>(__lhs) - static_cast<int>(__rhs)}; in ok()
95 _LIBCPP_HIDE_FROM_ABI inline constexpr year& year::operator+=(const years& __dy) noexcept {
100 _LIBCPP_HIDE_FROM_ABI inline constexpr year& year::operator-=(const years& __dy) noexcept {
H A Dyear_month_weekday.h52 _LIBCPP_HIDE_FROM_ABI constexpr year_month_weekday& operator+=(const years&) noexcept;
53 _LIBCPP_HIDE_FROM_ABI constexpr year_month_weekday& operator-=(const years&) noexcept;
136 operator+(const year_month_weekday& __lhs, const years& __rhs) noexcept {
141 operator+(const years& __lhs, const year_month_weekday& __rhs) noexcept {
146 operator-(const year_month_weekday& __lhs, const years& __rhs) noexcept {
158 _LIBCPP_HIDE_FROM_ABI inline constexpr year_month_weekday& year_month_weekday::operator+=(const years& __dy) noexcept { in year_month_weekday_last()
162 _LIBCPP_HIDE_FROM_ABI inline constexpr year_month_weekday& year_month_weekday::operator-=(const years& __dy) noexcept {
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()
246 operator+(const year_month_weekday_last& __lhs, const years
[all...]
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;
160 operator+(const year_month_day& __lhs, const years& __rhs) noexcept {
165 operator+(const years& __lhs, const year_month_day& __rhs) noexcept {
170 operator-(const year_month_day& __lhs, const years& __rhs) noexcept {
182 _LIBCPP_HIDE_FROM_ABI inline constexpr year_month_day& year_month_day::operator+=(const years& __dy…
186 _LIBCPP_HIDE_FROM_ABI inline constexpr year_month_day& year_month_day::operator-=(const years& __dy…
202 _LIBCPP_HIDE_FROM_ABI constexpr year_month_day_last& operator+=(const years& __y) noexcept;
203 _LIBCPP_HIDE_FROM_ABI constexpr year_month_day_last& operator-=(const years& __y) noexcept;
287 operator+(const year_month_day_last& __lhs, const years& __rhs) noexcept {
[all …]
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;
69 return (__lhs.year() + years(__dy)) / month(static_cast<unsigned>(__dmi));
76 _LIBCPP_HIDE_FROM_ABI inline constexpr year_month operator+(const year_month& __lhs, const years& __rhs) noexcept {
80 _LIBCPP_HIDE_FROM_ABI inline constexpr year_month operator+(const years& __lhs, const year_month& __rhs) noexcept {
93 _LIBCPP_HIDE_FROM_ABI inline constexpr year_month operator-(const year_month& __lhs, const years& __rhs) noexcept {
107 _LIBCPP_HIDE_FROM_ABI inline constexpr year_month& year_month::operator+=(const years& __dy) noexcept {
112 _LIBCPP_HIDE_FROM_ABI inline constexpr year_month& year_month::operator-=(const years& __dy) noexcept {
/freebsd/contrib/ldns/
H A Dduration.c62 duration->years = 0; in ldns_duration_create()
87 if (d1->years != d2->years) { in ldns_duration_compare()
88 return (int) (d1->years - d2->years); in ldns_duration_compare()
140 duration->years = (time_t) atoi(str+1); in ldns_duration_create_from_string()
221 if (dur_scan_print(&p, eob, 'Y', d->years) in ldns_duration2string()
257 period += (duration->years)*86400*365; in ldns_duration2time()
/freebsd/contrib/ntp/libntp/
H A Dntp_calendar.c366 * ELAPSED date units, which is the number of full years, full months
466 * than 50 years to the year Y. ("century unfolding")
556 * that somehow got lost over the last years.
865 * number into the number of elapsed years in 'res.hi' and the number
869 * regular years and a non-zero value for leap years.
879 * centuries and years in a century with one division each. This in ntpcal_split_eradays()
932 /* Split off years in century -- days >= 0 here, and we're far in ntpcal_split_eradays()
1008 * upper 16 bits is set after shifting to unity-based years, we in ntpcal_rd_to_date()
1281 * get leap years sinc
1287 ntpcal_leapyears_in_years(int32_t years) ntpcal_leapyears_in_years() argument
1322 ntpcal_days_in_years(int32_t years) ntpcal_days_in_years() argument
1392 ntpcal_edate_to_eradays(int32_t years,int32_t mons,int32_t mdays) ntpcal_edate_to_eradays() argument
1421 ntpcal_edate_to_yeardays(int32_t years,int32_t mons,int32_t mdays) ntpcal_edate_to_yeardays() argument
1776 isocal_weeks_in_years(int32_t years) isocal_weeks_in_years() argument
[all...]
/freebsd/sys/dev/iicbus/pmic/rockchip/
H A Drk8xx_rtc.c80 if (data[sc->rtc_regs.years] < 0x19) in rk8xx_gettime()
84 bct.year = data[sc->rtc_regs.years]; in rk8xx_gettime()
127 data[sc->rtc_regs.years] = bct.year; in rk8xx_settime()
H A Drk8xx.h83 uint8_t years; member
H A Drk805.c169 sc->rtc_regs.years = RK805_RTC_YEARS; in rk805_attach()
H A Drk808.c244 sc->rtc_regs.years = RK808_RTC_YEARS; in rk808_attach()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dchrono387 constexpr year operator+(const year& x, const years& y) noexcept;
388 constexpr year operator+(const years& x, const year& y) noexcept;
389 constexpr year operator-(const year& x, const years& y) noexcept;
390 constexpr years operator-(const year& x, const year& y) noexcept;
474 constexpr year_month operator+(const year_month& ym, const years& dy) noexcept;
475 constexpr year_month operator+(const years& dy, const year_month& ym) noexcept;
476 constexpr year_month operator-(const year_month& ym, const years& dy) noexcept;
490 constexpr year_month_day operator+(const year_month_day& ymd, const years& dy) noexcept;
491 constexpr year_month_day operator+(const years& dy, const year_month_day& ymd) noexcept;
493 constexpr year_month_day operator-(const year_month_day& ymd, const years& dy) noexcept;
[all …]
/freebsd/contrib/wireguard-tools/
H A Dshow.c132 unsigned long long years, days, hours, minutes, seconds; in pretty_time() local
134 years = left / (365 * 24 * 60 * 60); in pretty_time()
143 if (years) in pretty_time()
144 …s%llu " TERMINAL_FG_CYAN "year%s" TERMINAL_RESET, offset ? ", " : "", years, years == 1 ? "" : "s"… in pretty_time()
/freebsd/contrib/one-true-awk/testdir/
H A DREADME.TESTS9 sampling of awk constructions collected over the years.
41 collecting for years and may need pruning. Suggestions for
/freebsd/contrib/ldns/ldns/
H A Dduration.h53 time_t years; member
/freebsd/contrib/tzcode/
H A Dzdump.c688 register intmax_t myy, seconds, years; in yeartot() local
699 years = diff400 * 400; in yeartot()
702 years = 1; in yeartot()
704 myy += years; in yeartot()
715 years = diff400 * 400; in yeartot()
718 years = 1; in yeartot()
720 myy -= years; in yeartot()
H A Dcalendars56 different from both Julian and Gregorian for a period of 40 years.
64 getting there only 13 years behind the original schedule.
H A Dlocaltime.c1017 ** years. in getrule()
1018 ** In non-leap years, or if the day number is 59 or less, just in getrule()
1567 register time_t years; in tzalloc()
1576 years = seconds / SECSPERREPEAT * YEARSPERREPEAT; in tzfree()
1577 seconds = years * AVGSECSPERYEAR; in tzfree()
1578 years += YEARSPERREPEAT; in tzfree()
1592 result->tm_year, years)
1594 result->tm_year, years))
1601 newy -= years;
1602 else newy += years;
1626 register time_t years; localsub() local
[all...]
/freebsd/crypto/heimdal/lib/hx509/
H A Dtest_windows.in57 --lifetime=10years \
/freebsd/contrib/ntp/sntp/include/
H A Dntp.lic1 <PFX>Copyright (C) <years> <owner>, all rights reserved.
/freebsd/contrib/tzdata/
H A Dcalendars56 different from both Julian and Gregorian for a period of 40 years.
64 getting there only 13 years behind the original schedule.
H A Dleap-seconds.list31 # leap second at a rate of 1 to 2 years. Since the year 2000 leap seconds are introduced with an
32 # average interval of 3 to 4 years due to the acceleration of the Earth's rotation speed.
/freebsd/usr.sbin/ntp/ntpd/
H A Dleap-seconds31 # leap second at a rate of 1 to 2 years. Since the year 2000 leap seconds are introduced with…
32 # average interval of 3 to 4 years due to the acceleration of the Earth's rotation speed.
/freebsd/usr.bin/calendar/
H A Dparsedata.c375 } *years, *yearinfo; variable
483 yearinfo = years; in parsedaymonth()
495 yearinfo->next = years; in parsedaymonth()
496 years = yearinfo; in parsedaymonth()
/freebsd/sys/contrib/openzfs/
H A DRELEASES.md30 not supported. LTS releases will receive patches for at least 2 years.
/freebsd/usr.bin/fortune/
H A DREADME2 Some years ago, my neighbor Avery said to me: "There has not been an

12345