HomeSort by: relevance | last modified time | path
    Searched refs:years (Results 1 - 25 of 51) sorted by relevancy

1 2 3

  /src/tests/bin/date/
t_date.sh 39 years="1 10 100 1000 10000 100000 1000000 10000000 \
42 for year in $years; do
46 yyy=$(date -d "$year years" +%Y) || continue
  /src/external/bsd/ntp/dist/tests/libntp/
calendar.c 262 /* -*- table for regular years -*- */
264 /* -*- table for leap years -*- */
270 /* -*- table for regular years -*- */
272 /* -*- table for leap years -*- */
446 /* check last day of february for first 10000 years */
465 /* check first day of march for first 10000 years */
483 /* check the 'is_leapyear()' implementation for 4400 years */
623 * Most of the functions are straight forward, but converting from years
624 * to weeks and from weeks to years warrants some extra tests. These use
625 * an independent reference implementation of the conversion from years
662 int32_t years; local
679 int32_t years; local
699 int32_t years; local
    [all...]
  /src/crypto/external/bsd/heimdal/dist/lib/hx509/
test_windows.in 57 --lifetime=10years \
  /src/usr.bin/quota/
printquota.c 102 time_t years, months, weeks, days, hours, minutes; local
112 years = (seconds + YEAR / 2) / YEAR;
116 if (years >= 2) {
117 (void)snprintf(buf, len, "%" PRId64 "years", years);
  /src/external/gpl3/binutils/dist/etc/
update-copyright.py 30 # new files have been added with old years). On the other hand:
179 # Characters in a range of years. Include '.' for typos.
201 # 2: the years. Include the whitespace in the year, so that
260 def year_range (self, years):
262 for year in self.year_re.findall (years)]
273 def canonicalise_years (self, dir, filename, filter, years):
275 if years.startswith ('@value'):
276 return years
278 (min_year, max_year) = self.year_range (years)
370 # Update the copyright years
    [all...]
  /src/external/gpl3/binutils.old/dist/etc/
update-copyright.py 30 # new files have been added with old years). On the other hand:
179 # Characters in a range of years. Include '.' for typos.
201 # 2: the years. Include the whitespace in the year, so that
260 def year_range (self, years):
262 for year in self.year_re.findall (years)]
273 def canonicalise_years (self, dir, filename, filter, years):
275 if years.startswith ('@value'):
276 return years
278 (min_year, max_year) = self.year_range (years)
370 # Update the copyright years
    [all...]
  /src/external/bsd/ntp/dist/libntp/
ntp_calendar.c 368 * ELAPSED date units, which is the number of full years, full months
468 * than 50 years to the year Y. ("century unfolding")
558 * that somehow got lost over the last years.
867 * number into the number of elapsed years in 'res.hi' and the number
871 * regular years and a non-zero value for leap years.
881 * centuries and years in a century with one division each. This
934 /* Split off years in century -- days >= 0 here, and we're far
1010 * upper 16 bits is set after shifting to unity-based years, we
1283 * get leap years since epoch in elapsed year
    [all...]
  /src/crypto/external/apache2/openssl/dist/crypto/x509/
v3_timespec.c 101 ASN1_EXP_SET_OF_OPT(OSSL_TIME_PERIOD, years, ASN1_INTEGER, 4),
371 } else if (p->years != NULL) {
457 } else if (p->years != NULL) {
521 if (p->years) {
524 for (i = 0; i < sk_ASN1_INTEGER_num(p->years); i++) {
525 big_val = sk_ASN1_INTEGER_value(p->years, i);
  /src/external/gpl3/gcc/dist/contrib/
update-copyright.py 35 # new files have been added with old years). On the other hand:
171 # Characters in a range of years. Include '.' for typos.
194 # 2: the years. Include the whitespace in the year, so that
253 def year_range (self, years):
255 for year in self.year_re.findall (years)]
266 def canonicalise_years (self, dir, filename, filter, years):
268 if years.startswith ('@value'):
269 return years
271 (min_year, max_year) = self.year_range (years)
363 # Update the copyright years
    [all...]
  /src/external/gpl3/gcc.old/dist/contrib/
update-copyright.py 35 # new files have been added with old years). On the other hand:
170 # Characters in a range of years. Include '.' for typos.
193 # 2: the years. Include the whitespace in the year, so that
252 def year_range (self, years):
254 for year in self.year_re.findall (years)]
265 def canonicalise_years (self, dir, filename, filter, years):
267 if years.startswith ('@value'):
268 return years
270 (min_year, max_year) = self.year_range (years)
362 # Update the copyright years
    [all...]
  /src/lib/libc/time/
zdump.c 623 intmax_t myy, seconds, years; local
634 years = diff400 * 400;
637 years = 1;
639 myy += years;
650 years = diff400 * 400;
653 years = 1;
655 myy -= years;
localtime.c 1673 ** years.
1674 ** In non-leap years, or if the day number is 59 or less, just
2231 register time_t years; local
2240 years = (time_t)(seconds / SECSPERREPEAT
2242 seconds = (time_t)(years * AVGSECSPERYEAR);
2243 years += YEARSPERREPEAT;
2259 result->tm_year, years)
2261 result->tm_year, years))
2268 newy -= years;
2269 else newy += years;
    [all...]
  /src/external/gpl3/gcc.old/dist/libphobos/src/std/datetime/
date.d 114 In some date calculations, adding months or years can cause the date to fall
123 AllowDayOverflow only applies to calculations involving months or years.
140 `"years"`
143 "hours", "days", "weeks", "months", "years"];
1055 Adds the given number of years or months to this $(LREF DateTime),
1067 units = The type of units to add ("years" or "months").
1068 value = The number of months or years to add to this
1078 if (units == "years" || units == "months")
1096 dt3.add!"years"(1);
1100 dt4.add!"years"(1, AllowDayOverflow.no)
    [all...]
interval.d 1137 __traits(compiles, begin.add!"years"(1)))
1141 of years and/or months (a positive number of years and months shifts
1143 It adds the years the given years and months to both begin and end.
1144 It effectively calls `add!"years"()` and then `add!"months"()`
1145 on begin and end with the given number of years and months.
1148 years = The number of years to shift the interval by.
1170 void shift(T)(T years, T months = 0, AllowDayOverflow allowOverflow = AllowDayOverflow.yes
    [all...]
  /src/external/gpl2/xcvs/dist/lib/
mktime.c 139 /* Normal years. */
141 /* Leap years. */
189 time_t years = tyear1 - year0; local
190 time_t days = 365 * years + yday1 - yday0 + intervening_leap_days;
351 biennium. A biennium is 2 years; use this unit instead of
352 years to avoid integer overflow. For example, 2 average
353 Gregorian years are 2 * 365.2425 * 24 * 60 * 60 seconds,
strftime.c 136 /* Nonzero if YEAR is a leap year (every 4 years,
305 int years = a->tm_year - b->tm_year; local
306 int days = (365 * years + intervening_leap_days
getdate.y 824 /* XPG4 suggests that years 00-68 map to 2000-2068, and
825 years 69-99 map to 1969-1999. */
872 long int years = ayear - b->tm_year;
873 long int days = (365 * years + intervening_leap_days
  /src/usr.bin/make/unit-tests/
varmod-gmtime.mk 56 # 1970. Going back 50 years in the past is not a practical use case for
directive-for-escape.mk 41 # loop, allowing this edge case to go unnoticed for years.
  /src/crypto/external/bsd/netpgp/dist/src/lib/
packet-print.c 210 int mins, hours, days, years; local
219 years = days / 365;
222 if (years) {
223 printf("%d %s", years, years == 1 ? "year" : "years");
  /src/external/gpl2/diffutils/dist/lib/
strftime.c 165 /* Nonzero if YEAR is a leap year (every 4 years,
376 int years = a->tm_year - b->tm_year; local
377 int days = (365 * years + intervening_leap_days
  /src/external/historical/nawk/dist/
FIXES.1e 443 has irritated me for 20+ years.
558 removed the 9-years-obsolete -mr and -mf flags.
  /src/external/bsd/ntp/dist/ntpd/
ntpd-opts.def 147 (up to 68 years in the past or future \(em
  /src/crypto/external/apache2/openssl/dist/include/openssl/
x509v3.h.in 1279 STACK_OF(ASN1_INTEGER) *years;
  /src/crypto/external/bsd/openssl/dist/external/perl/Text-Template-1.56/lib/Text/
Template.pm 1451 four years ago and it is too late to change it.
2311 for telling me how to do the C<Safe> support (I spent two years

Completed in 65 milliseconds

1 2 3