HomeSort by: relevance | last modified time | path
    Searched defs:years (Results 1 - 9 of 9) sorted by relevancy

  /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/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/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.c 2735 /* XPG4 suggests that years 00-68 map to 2000-2068, and
2736 years 69-99 map to 1969-1999. */
2783 long int years = ayear - b->tm_year;
2784 long int days = (365 * years + intervening_leap_days
2780 long int years = ayear - b->tm_year; local
  /src/lib/libc/time/
zdump.c 668 intmax_t myy, seconds, years; local
679 years = diff400 * 400;
682 years = 1;
684 myy += years;
695 years = diff400 * 400;
698 years = 1;
700 myy -= years;
localtime.c 1633 ** years.
1634 ** In non-leap years, or if the day number is 59 or less, just
2269 register time_t years; local
2278 years = (time_t)(seconds / SECSPERREPEAT
2280 seconds = (time_t)(years * AVGSECSPERYEAR);
2281 years += YEARSPERREPEAT;
2297 result->tm_year, years)
2299 result->tm_year, years))
2306 newy -= years;
2307 else newy += years;
    [all...]
  /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/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

Completed in 60 milliseconds