/openbsd-src/gnu/llvm/libcxx/include/__chrono/ |
H A D | year.h | 43 _LIBCPP_HIDE_FROM_ABI constexpr year& operator+=(const years& __dy) noexcept; 44 _LIBCPP_HIDE_FROM_ABI constexpr year& operator-=(const years& __dy) noexcept; 65 year operator+ (const year& __lhs, const years& __rhs) noexcept 69 year operator+ (const years& __lhs, const year& __rhs) noexcept 73 year operator- (const year& __lhs, const years& __rhs) noexcept 77 years operator-(const year& __lhs, const year& __rhs) noexcept 78 { return years{static_cast<int>(__lhs) - static_cast<int>(__rhs)}; } 82 year& year::operator+=(const years& __dy) noexcept 86 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; 139 year_month_weekday operator+(const year_month_weekday& __lhs, const years& __rhs) noexcept 143 year_month_weekday operator+(const years& __lhs, const year_month_weekday& __rhs) noexcept 147 year_month_weekday operator-(const year_month_weekday& __lhs, const years& __rhs) noexcept 153 …inline constexpr year_month_weekday& year_month_weekday::operator+=(const years& __dy) noexcept {… 154 …inline constexpr year_month_weekday& year_month_weekday::operator-=(const years& __dy) noexcept {… 167 … _LIBCPP_HIDE_FROM_ABI constexpr year_month_weekday_last& operator+=(const years& __dy) noexcept; 168 … _LIBCPP_HIDE_FROM_ABI constexpr year_month_weekday_last& operator-=(const years& __dy) noexcept; 233 year_month_weekday_last operator+(const year_month_weekday_last& __lhs, const years& __rhs) noexcept [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 year_month_day operator+(const year_month_day& __lhs, const years& __rhs) noexcept 164 year_month_day operator+(const years& __lhs, const year_month_day& __rhs) noexcept 168 year_month_day operator-(const year_month_day& __lhs, const years& __rhs) noexcept 173 _LIBCPP_HIDE_FROM_ABI inline constexpr year_month_day& year_month_day::operator+=(const years& __dy… 174 _LIBCPP_HIDE_FROM_ABI inline constexpr year_month_day& year_month_day::operator-=(const years& __dy… 186 _LIBCPP_HIDE_FROM_ABI constexpr year_month_day_last& operator+=(const years& __y) noexcept; 187 _LIBCPP_HIDE_FROM_ABI constexpr year_month_day_last& operator-=(const years& __y) noexcept; 274 year_month_day_last 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 { this-… 42 …_LIBCPP_HIDE_FROM_ABI inline constexpr year_month& operator-=(const years& __dy) noexcept { this-… 68 return (__lhs.year() + years(__dy)) / month(static_cast<unsigned>(__dmi)); 76 year_month operator+(const year_month& __lhs, const years& __rhs) noexcept 80 year_month operator+(const years& __lhs, const year_month& __rhs) noexcept 92 year_month operator-(const year_month& __lhs, const years& __rhs) noexcept
|
/openbsd-src/gnu/usr.bin/perl/t/re/ |
H A D | reg_eval.t | 50 (\d+)(?{ local $hash->{age} = $^N })[ ]years[ ]old,[ ] 70 match("John Smith, 42 years old, secret number 36."); 74 match("Jim Jones, 35 years old, secret wombat 007." 75 ." John Smith, 42 years old, secret number 36."); 79 match("John Smith, 54 years old, secret number 7."); 83 match("Jim Jones, 35 years old, secret wombat 007.");
|
/openbsd-src/sys/dev/pci/drm/i915/ |
H A D | TODO.txt | 6 improved a lot the past 2 years, there's no reason anymore not to use it. 12 - There's a lot of complexity added past few years to make relocations faster. 13 That doesn't make sense given hw and gpu apis moved away from this model years 16 2. Any complexity added in this area past few years which can't be justified
|
/openbsd-src/lib/libc/time/ |
H A D | asctime.c | 27 ** All years associated with 32-bit time_t values are exactly four digits long; 28 ** some years associated with 64-bit time_t values are not. 29 ** Vintage programs are coded for years that are always four digits long 31 ** For years that are less than four digits, we pad the output with 34 ** we call a strftime variant that produces fewer characters for some years. 41 ** For years that are more than four digits we put extra spaces before the year
|
H A D | ctime.3 | 63 Years requiring fewer than four characters are padded with leading zeroes. 64 For years longer than four characters, the string is of the form 71 misleading values for out-of-range years. 373 behave strangely for years before 1000 or after 9999. 375 that years from \-99 through 999 are converted without 379 restricted to years in the range 1900 through 2099.
|
/openbsd-src/usr.bin/cal/ |
H A D | README | 12 calculate the number of days in all prior years (year-1)*365 13 add the number of leap years (days?) since year 1 31 It must be noted that the number of leap years calculation is sensitive 36 there is an exception for these century years. If the modulo of 400 equals
|
/openbsd-src/gnu/usr.bin/perl/cpan/Time-Local/lib/Time/ |
H A D | Local.pm | 319 These functions expect the year value to be the number of years since 1900, 339 years as a two-digit value like C<99> for C<1999> or C<1> for C<2001>. This 389 of the year easier for humans, however, who are more accustomed to seeing years 396 Years greater than 999 are interpreted as being the actual year, rather than 402 Years in the range 100..999 are interpreted as offset from 1900, so that 112 403 indicates 2012. This rule also applies to years less than zero (but see note 408 Years in the range 0..99 are interpreted as shorthand for years in the rolling 409 "current century," defined as 50 years on either side of the current year. 411 to 1955. Twenty years fro [all...] |
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/format/ |
H A D | c90-strftime-1.c | 12 /* Formats which are Y2K-compliant (no 2-digit years). */ in foo() 14 /* Formats with 2-digit years. */ in foo() 16 /* Formats with 2-digit years in some locales. */ in foo()
|
/openbsd-src/gnu/llvm/libcxx/include/ |
H A D | chrono | 361 constexpr year operator+(const year& x, const years& y) noexcept; 362 constexpr year operator+(const years& x, const year& y) noexcept; 363 constexpr year operator-(const year& x, const years& y) noexcept; 364 constexpr years operator-(const year& x, const year& y) noexcept; 453 constexpr year_month operator+(const year_month& ym, const years& dy) noexcept; 454 constexpr year_month operator+(const years& dy, const year_month& ym) noexcept; 455 constexpr year_month operator-(const year_month& ym, const years& dy) noexcept; 469 constexpr year_month_day operator+(const year_month_day& ymd, const years& dy) noexcept; 470 constexpr year_month_day operator+(const years& dy, const year_month_day& ymd) noexcept; 472 constexpr year_month_day operator-(const year_month_day& ymd, const years& dy) noexcept; [all …]
|
/openbsd-src/usr.bin/at/ |
H A D | parsetime.c | 30 * at [NOW] PLUS NUMBER MINUTES|HOURS|DAYS|WEEKS|MONTHS|YEARS 35 * \PLUS NUMBER MINUTES|HOURS|DAYS|WEEKS|MONTHS|YEARS/ 57 MINUTES, HOURS, DAYS, WEEKS, MONTHS, YEARS, enumerator 100 { "year", YEARS, 0 }, /* year ... */ 101 { "y", YEARS, 0 }, 102 { "years", YEARS, 1 }, /* (pluralized) */ 329 * at [NOW] PLUS NUMBER [MINUTES|HOURS|DAYS|WEEKS|MONTHS|YEARS] 349 case YEARS: in plus() 498 * \PLUS NUMBER MINUTES|HOURS|DAYS|WEEKS|MONTHS|YEARS/
|
/openbsd-src/share/snmp/ |
H A D | SNMPv2-SMI.txt | 33 -- Extended UTCTime, to allow dates with four-digit years 39 -- where: YY - last two digits of year (only years 49 -- 8:15pm GMT on 19 February 1995. Years after 1999 must use 50 -- the four digit year format. Years 1900-1999 may use the
|
/openbsd-src/share/zoneinfo/ |
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
|
/openbsd-src/gnu/llvm/libcxx/docs/DesignDocs/ |
H A D | FileTimeType.rst | 75 292 thousand years on either side of the epoch, as opposed to only 292 years 78 ``timespec`` can represent time points +/- 292 billion years from the epoch 79 (just in case you needed a time point 200 billion years before the big bang, 86 of file time stamps shouldn't exceed +/- 300 years, so should we care to support it? 171 a valid time point, adding a couple hundred billions of years in error, 404 to a range of +/- 300 years from the epoch. 477 years. This final case should be rather rare, as ``__int128_t``
|
/openbsd-src/lib/libcrypto/asn1/ |
H A D | posix_time.h | 36 * OPENSSL_tm_to_posix converts a time value between the years 0 and 9999 in 43 * OPENSSL_timegm converts a time value between the years 0 and 9999 in |tm| to
|
/openbsd-src/gnu/usr.bin/perl/cpan/Time-Piece/ |
H A D | Seconds.pm | 143 sub years { subroutine 206 to find out the number of minutes, hours, days, weeks or years in a given 237 $val->years;
|
/openbsd-src/usr.sbin/ypserv/ypserv/ |
H A D | ypserv.8 | 50 YP hasn't been known for high security through the years. 51 In recent years
|
/openbsd-src/games/hack/ |
H A D | data | 96 ninety-nine years and a day. If anyone was so unwary as to 98 The ninety-nine years is nearly up, so trouble may soon be 208 to all poisons. Less than 200 years ago in France, the horn
|
/openbsd-src/gnu/usr.bin/perl/ |
H A D | time64.c | 223 /* The exceptional centuries without leap years cause the cycle to 266 /* Change non-leap xx00 years to an equivalent */ in S_safe_year() 270 /* Also xx01 years, since the previous year will be wrong */ in S_safe_year() 403 /* Years */ in Perl_gmtime64_r() 429 /* Years */ in Perl_gmtime64_r()
|
/openbsd-src/gnu/llvm/libcxx/src/filesystem/ |
H A D | filesystem_common.h | 325 typedef duration<long long, ratio<3600 * 24 * 365> > Years; in check_range() typedef 326 return duration_cast<Years>(fs_seconds(max_seconds)) > Years(250) && in check_range() 327 duration_cast<Years>(fs_seconds(min_seconds)) < Years(-250); in check_range()
|
/openbsd-src/share/zoneinfo/datfiles/ |
H A D | leap-seconds.list | 32 # leap second at a rate of 1 to 2 years. Since the year 2000 leap seconds are introduced with an 33 # average interval of 3 to 4 years due to the acceleration of the Earth's rotation speed.
|
/openbsd-src/lib/libcrypto/man/ |
H A D | ASN1_TIME_set.3 | 258 which is valid for the years 1950 to 2049, or an 262 which is valid for the years 0000 to 1949 and 2050 to 9999. 557 converts a time value between the years 0 and 9999 in
|
/openbsd-src/sys/kern/ |
H A D | clock_subr.c | 95 * First from years, then from months. in clock_ymdhms_to_secs() 136 /* Subtract out whole years, counting them in i. */ in clock_secs_to_ymdhms()
|