/freebsd/contrib/llvm-project/libcxx/include/__chrono/ |
H A D | year.h | 57 _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 D | year_month_weekday.h | 52 _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 D | year_month_day.h | 57 _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 D | year_month.h | 41 _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/ntp/include/ |
H A D | ntp_calendar.h | 180 /* Get the number of leap years since epoch for the number of elapsed 181 * full years 184 ntpcal_leapyears_in_years(int32_t /* years */); 187 * Convert elapsed years in Era into elapsed days in Era. 190 ntpcal_days_in_years(int32_t /* years */); 197 * excessive years that must be considered when converting the years, 206 * Convert ELAPSED years/months/days of gregorian calendar to elapsed 210 ntpcal_edate_to_eradays(int32_t /* years */, int32_t /* months */, int32_t /* mdays */); 219 * Convert ELAPSED years/months/days of gregorian calendar to elapsed 226 ntpcal_edate_to_yeardays(int32_t /* years */, int32_t /* months */, int32_t /* mdays */); [all …]
|
H A D | gps.h | 20 #define GREG1E 0x0043 /* Gen reg. 1 Word E (units Years ) */ 52 #define PYRS1 0x005D /* Gen. preset register units tens and unit years */
|
/freebsd/contrib/tzcode/ |
H A D | asctime.c | 22 ** All years associated with 32-bit time_t values are exactly four digits long; 23 ** some years associated with 64-bit time_t values are not. 24 ** Vintage programs are coded for years that are always four digits long 26 ** For years that are less than four digits, we pad the output with 29 ** we call a strftime variant that produces fewer characters for some years. 35 ** For years that are more than four digits we put extra spaces before the year
|
H A D | newctime.3 | 69 Years requiring fewer than four characters are padded with leading zeroes. 70 For years longer than four characters, the string is of the form 80 misleading values for out-of-range years. 357 behave strangely for years before 1000 or after 9999. 359 that years from \-99 through 999 are converted without 365 restricted to years in the range 1900 through 2099.
|
/freebsd/contrib/ldns/ |
H A D | duration.c | 62 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() 261 if (duration->months || duration->years) { in ldns_duration2time()
|
/freebsd/contrib/ntp/libntp/ |
H A D | ntp_calendar.c | 366 * 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...] |
H A D | clocktime.c | 20 * Since we try to match years, the result of a full search will not 80 * next few thousand years. in clocktime() 102 * We calculate the effective timestamps for the three years in clocktime()
|
H A D | prettydate.c | 40 * An explanation: The julian calendar repeats ever 28 years, because 45 * stamps by 28 years to make them suitable for localtime() and 54 * solar cycle in unsigned secs and years, and the cycle limits.
|
/freebsd/contrib/ntp/sntp/libopts/ |
H A D | parse-duration.h | 32 This represents NNN years, NNN months, NNN weeks, NNN days, NNN hours, 54 NOTE! Months are always 30 days and years are always 365 days long. 55 5 years is always 1825 days, not 1826 or 1827 depending on leap year 62 * The meanings are yy years, mm months, ww weeks and dd days.
|
/freebsd/lib/libcalendar/ |
H A D | calendar.3 | 62 These functions provide calendar arithmetic for a large range of years, 142 The Gregorian Calendar excludes years that are multiples of 144 This means the years 1700, 1800, 1900, 2100 are not leap years
|
H A D | calendar.c | 39 * starts on March 1st. So we don't need a special table for leap years. 209 * Thereafter years which are multiples of 100 and not multiples in ndaysgi() 210 * of 400 were not leap years anymore. in ndaysgi() 213 * year measures 365.2422d. So in 10000/3 years we are in ndaysgi()
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | chrono | 387 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/bin/date/ |
H A D | date.1 | 240 and years are in a limited range depending on the platform. 242 On i386, years are in the range 69-38 representing 1969-2038. 243 On every other platform, years 0-68 are accepted and represent 2000-2068, and 245 In both cases, years between 100 and 1900 (both included) are accepted and 248 Years starting at 1901 are also accepted, and are interpreted as absolute years. 373 and leap years are handled automatically.
|
/freebsd/contrib/llvm-project/libcxx/src/filesystem/ |
H A D | time_utils.h | 73 // There were 369 years and 89 leap days from the Windows epoch 150 typedef duration<long long, ratio<3600 * 24 * 365> > Years; in get_min_nsecs() 151 return duration_cast<Years>(fs_seconds(max_seconds)) > Years(250) && in get_min_nsecs() 152 duration_cast<Years>(fs_seconds(min_seconds)) < Years(-250); in get_min_nsecs() 163 typedef duration<long long, ratio<3600 * 24 * 365> > Years; check_range() typedef
|
/freebsd/crypto/heimdal/lib/hx509/ |
H A D | test_ca.in | 105 echo "issue certificate (10years 1 month)" 109 --lifetime="10years 1 month" \ 311 --lifetime="2years" \ 326 --lifetime="3years" \ 342 --lifetime="2years" \ 359 --lifetime="3years" \ 376 --lifetime="3years" \ 392 --lifetime="2years" \
|
/freebsd/contrib/tzdata/ |
H A D | leapseconds.awk | 122 # The difference between the NTP and POSIX epochs is 70 years 211 # 0-30, months (March-February) numbered 0-11, and years that start 214 # the last day of February 4 years later. A century starts on and 215 # ends before March 1 in years evenly divisible by 100. 216 # A quad-century starts on and ends before March 1 in years divisible
|
/freebsd/contrib/one-true-awk/testdir/ |
H A D | README.TESTS | 9 sampling of awk constructions collected over the years. 41 collecting for years and may need pruning. Suggestions for
|
/freebsd/contrib/ntp/ntpd/ |
H A D | refclock_tsyncpci.c | 809 unsigned int yrs; // Years in SecTimeFromDoyTime() 810 unsigned int lyrs; // Leap years in SecTimeFromDoyTime() 816 // Calculate the number of years and leap years in SecTimeFromDoyTime() 820 // Convert leap years and years in SecTimeFromDoyTime() 849 unsigned int yrs; // Years accumulator variable in DoyTimeFromSecTime() 866 // Increment the number of years and subtract a normal year of time in DoyTimeFromSecTime() 874 // Increment the number of years and subtract a normal year of time in DoyTimeFromSecTime() 882 // Increment the number of years an in DoyTimeFromSecTime() [all...] |
/freebsd/sys/dev/iicbus/pmic/rockchip/ |
H A D | rk8xx_rtc.c | 80 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()
|
/freebsd/usr.bin/at/ |
H A D | parsetime.c | 67 MINUTES, HOURS, DAYS, WEEKS, MONTHS, YEARS, enumerator 100 { "year", YEARS,0 }, /* year ... */ 101 { "years", YEARS,1 }, /* (pluralized) */ 293 case YEARS: in plus_or_minus() 327 * at [NOW] PLUS NUMBER [MINUTES|HOURS|DAYS|WEEKS|MONTHS|YEARS]
|
/freebsd/lib/libc/stdtime/ |
H A D | strptime.3 | 79 Years 69-00 are interpreted in the 20th century (1969-2000), years
|