Home
last modified time | relevance | path

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

12

/freebsd/stand/efi/libefi/
H A Dtime.c111 efi_time->Year = 1970; in to_efi_time()
112 lyear = isleap(efi_time->Year); in to_efi_time()
117 efi_time->Year++; in to_efi_time()
118 lyear = isleap(efi_time->Year); in to_efi_time()
153 int Year; in from_efi_time() local
158 if (ETime->Year < 1998 || ETime->Year > 2099 || in from_efi_time()
171 for (Year = 1970; Year != ETime->Year; ++Year) { in from_efi_time()
172 UTime += (CumulativeDays[isleap(Year)][13] * SECSPERDAY); in from_efi_time()
180 UTime += (CumulativeDays[isleap(ETime->Year)][ETime->Month] * in from_efi_time()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_parse_date.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 …]
/freebsd/usr.sbin/fifolog/lib/
H A Dgetdate.y559 Convert(time_t Month, time_t Day, time_t Year, in Convert() argument
571 if (Year < 0) in Convert()
572 Year = -Year; in Convert()
573 if (Year < 69) in Convert()
574 Year += 2000; in Convert()
575 else if (Year < 100) in Convert()
576 Year += 1900; in Convert()
577 DaysInMonth[1] = Year % 4 == 0 && (Year % 100 != 0 || Year % 400 == 0) in Convert()
581 if (Year < EPOCH || Year > 2038 in Convert()
595 for (i = EPOCH; i < Year; i++) in Convert()
[all …]
/freebsd/crypto/krb5/src/kadmin/cli/
H A Dgetdate.y562 Convert(time_t Month, time_t Day, time_t Year, time_t Hours, time_t Minutes, in Convert() argument
573 if (Year < 0) in Convert()
574 Year = -Year; in Convert()
575 if (Year < 1900) in Convert()
576 Year += 1900; in Convert()
577 DaysInMonth[1] = Year % 4 == 0 && (Year % 100 != 0 || Year % 400 == 0) in Convert()
579 if (Year < EPOCH in Convert()
580 || Year > EPOCH_END in Convert()
588 for (i = EPOCH; i < Year; i++) in Convert()
589 Julian += 365 + ((i % 4 == 0) && ((Year % 100 != 0) || in Convert()
[all …]
/freebsd/usr.bin/find/
H A Dgetdate.y565 Convert(time_t Month, time_t Day, time_t Year, in Convert() argument
576 if (Year < 0) in Convert()
577 Year = -Year; in Convert()
578 if (Year < 69) in Convert()
579 Year += 2000; in Convert()
580 else if (Year < 100) in Convert()
581 Year += 1900; in Convert()
582 DaysInMonth[1] = Year % 4 == 0 && (Year % 100 != 0 || Year % 400 == 0) in Convert()
586 if (Year < EPOCH || Year > 2038 in Convert()
594 for (i = EPOCH; i < Year; i++) in Convert()
[all …]
/freebsd/contrib/ntp/ntpd/
H A Dcheck_y2k.c105 #define GoodLeap(Year) (((Year)%4 || (!((Year)%100) && (Year)%400)) ? 0 : 13 ) argument
110 Days ( int Year ) /* return number of days since year "0" */ in Days() argument
114 Return = Year * 365; /* first aproximation to the value */ in Days()
115 if ( Year >= 1 ) in Days()
118 Return += (Year+3) / 4; /* add in (too many) leap days */ in Days()
119 Return -= (Year-1) / 100; /* reduce by (too many) centurys */ in Days()
120 Return += (Year-1) / 400; /* get final answer */ in Days()
H A Drefclock_ripencc.c383 unsigned char *Day, unsigned char *Month, unsigned short *Year,
3142 unsigned short *Year, in rpt_0x8FAD() argument
3156 *Year = bGetUShort(&rpt->buf[16]); in rpt_0x8FAD()
5006 Year; in rpt_8FAD() local
5046 &Year, in rpt_8FAD()
5071 Day, Month, Year, Hour, Minute, Second, (long)(FracSec*1.e9)); in rpt_8FAD()
/freebsd/contrib/ntp/util/
H A Dtg2.c578 int Year; local
692 Year = 0;
854 sscanf(optarg, "%2d%2d%2d%2d%2d%2d", &Year, &Month, &DayOfMonth,
1062 DayOfYear = ConvertMonthDayToDayOfYear (Year, Month, DayOfMonth);
1076 Year = TimeStructure->tm_year % 100;
1099 Year, DayOfYear, Hour, Minute, Second, tone, HourTone);
1101 Year / 10, DayOfYear, Hour, Minute, Year % 10);
1105 Year, DayOfYear, Hour, Minute, Second, code);
1127 Year, DayOfYear, Hour, Minute, Second, StraightBinarySeconds, StraightBinarySeconds);
1160 Year, DayOfYear, Hour, Minute, Second, StraightBinarySeconds, StraightBinarySeconds);
[all …]
/freebsd/contrib/llvm-project/libc/include/llvm-libc-types/
H A DEFI_TIME.h15 uint16_t Year; // 1900 - 9999 member
/freebsd/contrib/one-true-awk/testdir/
H A Dfunstack.awk665 label = Volume "(" Number "):" Month ":" Year
970 return ("Volume " wrap(Volume) ", Number " wrap(Number) ", " wrap(Month) ", " wrap(Year))
/freebsd/usr.sbin/ntp/ntpd/
H A Dleap-seconds82 # Day Month Year : epoch in clear
84 #NTP Time DTAI Day Month Year
/freebsd/contrib/ntp/
H A Dreadme.y2kfixes2 AT&T Freeware Year 2000 Certification
13 Year-2000 (Y2K) readiness that were not sufficiently certified
/freebsd/contrib/tzdata/
H A Dleap-seconds.list82 # Day Month Year : epoch in clear
84 #NTP Time DTAI Day Month Year
H A Dbackzone106 # Containing All Legislation Enacted During Year 1940, p 22
113 # Containing All Legislation Enacted During Year 1942, p 48
120 # Containing All Legislation Enacted During Year 1942, p 87
127 # Containing All Legislation Enacted During Year 1945, p 256
133 # Containing All Legislation Enacted During Year 1945, p 69
139 # Containing All Legislation Enacted During Year 1950, p 35
150 # Year 1956, p 83
712 # Appendix to the Statutes of 7 George VI. and the Year 1942. p 34, 43
717 # Appendix to the Statutes of 8 George VI. and the Year 1943. p 9-10, 28-29
722 # 1945 [1945-10-16] Appendix to the Statutes of 9 George VI. and the Year
[all …]
H A Dasia786 # Year Period
866 # Meiji Year 28 "The clause about standard time", mentioned that
877 # Emperor announced Ordinance No. 529 of Showa Year 12 "The clause of
1294 # Reed S, Low F. The Indian Year Book 1936-37. Bennett, Coleman, pp 27-8.
1301 # at +0554 (according to the Indian Year Book). Railway time is more
1946 # conflicts with the Jewish New Year. In 1999, the change to
2111 # ...the Meiji Emperor announced Ordinance No. 167 of Meiji Year 28 "The clause
2115 # ...the Showa Emperor announced Ordinance No. 529 of Showa Year 12 ... which
H A Dnorthamerica3126 # Ordinances of British Honduras Passed in the Year 1927, p 19-20
3130 # Ordinances of British Honduras Passed in the Year 1942, p 31-32
3134 # Ordinances of British Honduras Passed in the Year 1945, p 49-50
3138 # Ordinances of British Honduras Passed in the Year 1947, p 1-2
/freebsd/crypto/heimdal/lib/vers/
H A DChangeLog27 * print_version.c: Happy New Year
/freebsd/sys/contrib/edk2/Include/Uefi/
H A DUefiBaseType.h69 UINT16 Year; member
H A DUefiInternalFormRepresentation.h664 UINT16 Year; member
/freebsd/sys/contrib/dev/acpica/include/
H A Dacbuffer.h191 UINT16 Year; member
/freebsd/contrib/file/magic/Magdir/
H A Datari72 # Year
H A Dmsdos2829 # Version Name Version Year Notes
2957 >>>>>10 uleshort >1900 Year %d
2989 >>>>>10 uleshort >1900 Year %d
/freebsd/contrib/bearssl/src/x509/
H A Dasn1.t0639 \ Read tag; must be UTCTime or GeneralizedTime. Year count is
651 \ Year is 4-digit with GeneralizedTime. With UTCTime, the year
/freebsd/crypto/krb5/src/util/et/
H A Dtexinfo.tex600 % Produces Day Month Year style of output.
607 % Use this if you want the Month Day, Year style of output.
/freebsd/sys/contrib/zstd/
H A DCHANGELOG245 doc: Change License Year to 2021 (#2452 & #2465, @terrelln & @senhuang42)

12