Home
last modified time | relevance | path

Searched refs:Year (Results 1 – 25 of 82) sorted by relevance

1234

/netbsd-src/sys/arch/ia64/stand/ia64/ski/
H A Dtime.c65 int Year; member
114 int Year; in EfiTimeToUnixTime() local
116 ETime->Year += 1900; in EfiTimeToUnixTime()
121 if ( ETime->Year < 1998 || ETime->Year > 2099 || in EfiTimeToUnixTime()
134 for (Year = 1970; Year != ETime->Year; ++Year) { in EfiTimeToUnixTime()
135 UTime += (CumulativeDays[isleap(Year)][13] * SECSPERDAY); in EfiTimeToUnixTime()
143 UTime += (CumulativeDays[isleap(ETime->Year)][ETime->Month] * SECSPERDAY); in EfiTimeToUnixTime()
/netbsd-src/sys/arch/ia64/stand/efi/libefi/
H A Dtime.c103 int Year; in EfiTimeToUnixTime() local
108 if ( ETime->Year < 1998 || ETime->Year > 2099 || in EfiTimeToUnixTime()
123 for (Year = 1970; Year != ETime->Year; ++Year) { in EfiTimeToUnixTime()
124 UTime += (CumulativeDays[isleap(Year)][13] * SECSPERDAY); in EfiTimeToUnixTime()
132 UTime += (CumulativeDays[isleap(ETime->Year)][ETime->Month] * SECSPERDAY); in EfiTimeToUnixTime()
/netbsd-src/external/bsd/libarchive/dist/libarchive/
H A Darchive_getdate.c78 time_t Year; member
216 gds->Year = gds->tokenp[0].value; in datephrase()
225 gds->Year = gds->tokenp[4].value; in datephrase()
230 gds->Year = gds->tokenp[4].value; in datephrase()
257 gds->Year = gds->tokenp[0].value; in datephrase()
274 gds->Year = gds->tokenp[0].value; in datephrase()
281 gds->Year = gds->tokenp[4].value; in datephrase()
297 gds->Year = gds->tokenp[3].value; in datephrase()
322 gds->Year = gds->tokenp[2].value; in datephrase()
472 gds->Year = gds->tokenp[0].value; in phrase()
[all …]
/netbsd-src/external/bsd/ntp/dist/ntpd/
H A Dcheck_y2k.c107 #define GoodLeap(Year) (((Year)%4 || (!((Year)%100) && (Year)%400)) ? 0 : 13 ) argument
112 Days ( int Year ) /* return number of days since year "0" */ in Days() argument
116 Return = Year * 365; /* first aproximation to the value */ in Days()
117 if ( Year >= 1 ) in Days()
120 Return += (Year+3) / 4; /* add in (too many) leap days */ in Days()
121 Return -= (Year-1) / 100; /* reduce by (too many) centurys */ in Days()
122 Return += (Year-1) / 400; /* get final answer */ in Days()
/netbsd-src/external/bsd/ntp/dist/util/
H A Dtg2.c580 int Year; local
694 Year = 0;
856 sscanf(optarg, "%2d%2d%2d%2d%2d%2d", &Year, &Month, &DayOfMonth,
1064 DayOfYear = ConvertMonthDayToDayOfYear (Year, Month, DayOfMonth);
1078 Year = TimeStructure->tm_year % 100;
1101 Year, DayOfYear, Hour, Minute, Second, tone, HourTone);
1103 Year / 10, DayOfYear, Hour, Minute, Year % 10);
1107 Year, DayOfYear, Hour, Minute, Second, code);
1129 Year, DayOfYear, Hour, Minute, Second, StraightBinarySeconds, StraightBinarySeconds);
1162 Year, DayOfYear, Hour, Minute, Second, StraightBinarySeconds, StraightBinarySeconds);
[all …]
/netbsd-src/sys/arch/i386/stand/efiboot/
H A Defigetsecs.c38 r = (t.Year - 1970) * 365; in getsecs()
39 for (y = 1970; y < t.Year; y++) { in getsecs()
43 r += daytab[isleap(t.Year) ? 1 : 0][t.Month] + t.Day; in getsecs()
/netbsd-src/sys/stand/efiboot/
H A Defigetsecs.c42 r = (t.Year - 1970) * 365; in getsecs_rtc()
43 for (y = 1970; y < t.Year; y++) { in getsecs_rtc()
47 r += daytab[isleap(t.Year) ? 1 : 0][t.Month] + t.Day; in getsecs_rtc()
/netbsd-src/usr.bin/calendar/calendars/
H A Dcalendar.usholiday1 01/01 New Year's Day
2 01/14 Julian Calendar New Year's Day
32 12/31 New Year's Eve
H A Dcalendar.holiday1 01/01 New Year's Day
6 01/03 New Year's Holiday in Scotland
36 02/01 Chinese New Year Holiday (3 days) in Taiwan
85 03/21 Afghan New Year in Afghanistan
115 04/15 Bengali New Year in Bangladesh
120 04/17 Burmese New Year in Burma
516 09/11 Ethiopian New Year in Ethiopia
H A Dcalendar.judaic17 09/22* First Day of Rosh Hashanah (Jewish Lunar New Year; 5782 == 2022;
/netbsd-src/lib/libutil/
H A Dparsedate.y767 AdjustYear(time_t Year)
770 if (Year < 0)
771 Year = -Year;
772 if (Year < 69) /* POSIX compliant, 0..68 is 2000's, 69-99 1900's */
773 Year += 2000;
774 else if (Year < 100)
775 Year += 1900;
776 return Year;
783 time_t Year, /* year, not abbreviated in any way */
804 tm.tm_year = Year - 1900;
[all …]
/netbsd-src/external/bsd/top/dist/
H A DY2K1 Top and the Year 2000
12 Top and the Year 2038
/netbsd-src/external/historical/nawk/dist/testdir/
H A Dfunstack.awk665 label = Volume "(" Number "):" Month ":" Year
970 return ("Volume " wrap(Volume) ", Number " wrap(Number) ", " wrap(Month) ", " wrap(Year))
/netbsd-src/sys/external/bsd/gnu-efi/dist/inc/
H A Defidef.h82 UINT16 Year; // 1998 - 20XX member
/netbsd-src/external/bsd/ntp/dist/
H A Dreadme.y2kfixes2 AT&T Freeware Year 2000 Certification
13 Year-2000 (Y2K) readiness that were not sufficiently certified
/netbsd-src/external/public-domain/tz/dist/
H A Dleap-seconds.list82 # Day Month Year : epoch in clear
84 #NTP Time DTAI Day Month Year
/netbsd-src/sys/external/bsd/gnu-efi/dist/lib/
H A Dprint.c1459 UINTN Hour, Year; in TimeToString() local
1473 Year = Time->Year % 100; in TimeToString()
1479 Year, in TimeToString()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/vers/
H A DChangeLog27 * print_version.c: Happy New Year
/netbsd-src/external/gpl2/texinfo/dist/doc/
H A Dtxi-nl.tex60 % Produces Day Month Year style of output.
H A Dtxi-it.tex61 % Produces Day Month Year style of output.
H A Dtxi-pl.tex64 % Produces Day Month Year style of output.
H A Dtxi-fr.tex64 % Produces Day Month Year style of output.
H A Dtxi-en.tex61 % Produces Day Month Year style of output.
H A Dtxi-tr.tex74 % Produces Day Month Year style of output.
/netbsd-src/external/bsd/flex/dist/tests/
H A Dyyextra.txt24 chosen every second Year by the People of the several States, and the
66 vacated at the Expiration of the second Year, of the second Class at
67 the Expiration of the fourth Year, and of the third Class at the
68 Expiration of the sixth Year, so that one third may be chosen every
69 second Year; and if Vacancies happen by Resignation, or otherwise,
105 Clause 2: The Congress shall assemble at least once in every Year, and
254 prohibited by the Congress prior to the Year one thousand eight
535 Year One thousand eight hundred and eight shall in any Manner affect
567 Seventeenth Day of September in the Year of our Lord one thousand

1234