Searched refs:year (Results 101 - 125 of 173) sorted by relevance

1234567

/freebsd-9.3-release/contrib/ofed/management/infiniband-diags/src/
H A Dvendstat.c77 uint16_t year; member in struct:__anon3923
263 gi->fw_info.month, gi->fw_info.day, ntohs(gi->fw_info.year));
/freebsd-9.3-release/sys/arm/at91/
H A Dat91_rtc.c213 ct.year = RTC_CALR_CEN(calr) * 100 + RTC_CALR_YEAR(calr);
233 WR4(sc, RTC_CALR, RTC_CALR_MK(ct.year, ct.mon, ct.day, ct.dow));
/freebsd-9.3-release/contrib/ntp/ntpd/
H A Drefclock_acts.c110 * nnn day of year
733 int month; /* month of the year */
779 &mjd, &pp->year, &month, &day, &pp->hour,
785 pp->day = ymd2yd(pp->year, month, day);
825 &pp->second, &pp->year, &month, &day, &pp->hour,
838 pp->day = ymd2yd(pp->year, month, day);
866 &synchar, &qualchar, &pp->year, &pp->day,
H A Drefclock_zyfer.c268 &pp->year, &pp->day, &pp->hour, &pp->minute, &pp->second,
H A Drefclock_bancomm.c121 unsigned short year; member in struct:vmedate
361 * The year must come from the system clock.
366 tptr->year = (unsigned short)(tadr->tm_year + 1900);
H A Dntp_leapsec.c196 build.year -= 10;
264 ttb.year, ttb.month, ttb.monthday);
273 ttb.year, ttb.month, ttb.monthday,
275 atb.year, atb.month, atb.monthday,
1169 tm.year, tm.month, tm.monthday,
H A Drefclock_irig.c50 * hour and day of the year and sometimes the year and synchronization
86 * are interpreted as below. This is followed by the year of century,
87 * day of year and time of day. Note that the time of day is for the
88 * previous minute, not the current time. The status indicator and year
894 * year; if so, it is nonzero after year 2000.
897 * when bad. We watch this only if the year is
906 "%6s%2d%1d%2s%3d%2d%2d%2d", sbs, &pp->year,
918 * synchronization. Raise an alarm if the year
[all...]
/freebsd-9.3-release/contrib/ntp/ntpq/
H A Dntpq.c2037 cal.year = (u_short)(*cp++ - '0');
2039 cal.year = (u_short)((cal.year << 3) + (cal.year << 1));
2040 cal.year = (u_short)(*cp++ - '0');
2043 cal.year = (u_short)((cal.year << 3) + (cal.year << 1));
2044 cal.year = (u_short)(cal.year
[all...]
/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Dgen.c515 char year[11]; local
621 n = snprintf(year, sizeof(year), "-%d",
623 INSIST(n > 0 && (unsigned)n < sizeof(year));
625 year[0] = 0;
627 year[0] = 0;
629 if (!depend) fprintf(stdout, copyright, year);
/freebsd-9.3-release/contrib/tzcode/stdtime/
H A Dlocaltime.c166 #define DAY_OF_YEAR 1 /* n - day of year */
212 static time_t transtime(time_t janfirst, int year,
864 ** Day of year.
882 ** Given the Epoch-relative time of January 1, 00:00:00 UTC, in a year, the
883 ** year, a rule, and the offset from UTC at the time that rule takes effect,
888 transtime(janfirst, year, rulep, offset)
890 const int year;
900 leapyear = isleap(year);
918 ** n - day of year.
938 yy0 = (rulep->r_mon <= 2) ? (year
1054 int year; local
[all...]
/freebsd-9.3-release/crypto/heimdal/kadmin/
H A Dload.c76 int year, month, date, hour, minute, second; local
82 &year, &month, &date, &hour, &minute, &second) != 6)
84 tm.tm_year = year - 1900;
/freebsd-9.3-release/lib/libcalendar/
H A Dcalendar.c37 * For each month tabulate the number of days elapsed in a year before the
38 * month. This assumes the internal date representation, where a year
40 * But we do need a special table for the year 1582, since 10 days are
60 static int firstweek(int year);
64 * March 1st of year zero.
73 * Compute the year by starting with an approximation not smaller
75 * year which does not begin after ndays.
84 * Set r to the days left in the year and compute the month by
100 * Return the number of days since March 1st of the year zero.
127 * days since March 1st, year zer
[all...]
/freebsd-9.3-release/tools/tools/vxge/
H A Dvxge_cmn.h201 u32 year; member in struct:_vxge_hal_device_date_t
/freebsd-9.3-release/contrib/ntp/libntp/
H A Dprettydate.c42 * it's the LCM of 7 and 1461, the week and leap year cycles. This is
44 * long as no centennial year (divisible by 100, but not 400) goes in
192 jd.monthday, jd.year, jd.hour,
/freebsd-9.3-release/contrib/ntp/include/
H A Dntp_refclock.h158 int year; /* year of eternity */ member in struct:refclockproc
159 int day; /* day of year */
164 u_long yearstart; /* beginning of year */
/freebsd-9.3-release/usr.bin/touch/
H A Dtouch.c307 stime_arg2(char *arg, int year, struct timeval *tvp) argument
321 if (year) {
/freebsd-9.3-release/contrib/wpa/src/tls/
H A Dx509v3.c551 int year, month, day, hour, min, sec; local
572 if (sscanf(pos, "%02d", &year) != 1) {
574 "UTCTime year", buf, len);
577 if (year < 50)
578 year += 2000;
580 year += 1900;
589 if (sscanf(pos, "%04d", &year) != 1) {
591 "GeneralizedTime year", buf, len);
636 if (os_mktime(year, month, day, hour, min, sec, val) < 0) {
639 if (year < 197
[all...]
/freebsd-9.3-release/sys/ia64/ia64/
H A Dnexus.c505 * a year smaller than that. Assume the EFI clock is out of whack
517 ct.year = tm.tm_year;
535 tm.tm_year = ct.year;
/freebsd-9.3-release/contrib/ntp/libparse/
H A Ddata_mbg.c140 tmp->year = get_lsb_int16(buffpp);
268 tmp->year, tmp->month, tmp->mday,
H A Dclk_meinberg.c74 * <dd>,<mm>,<yy> = day, month, year(2 digits!!)
97 * <dd>,<mm>,<yy> = day, month, year(2 digits!!)
126 * <dd>,<mm>,<yy> = day, month, year(2 digits!!)
306 Stoi(&buffer[format->field_offsets[O_YEAR].offset], &clock_time->year,
486 Stoi(&buffer[format->field_offsets[O_YEAR].offset], &clock_time->year,
/freebsd-9.3-release/contrib/cvs/contrib/
H A Dlog_accum.in387 local($sec,$min,$hour,$mday,$mon,$year) = localtime(time);
390 $cvs_user, $year%100, $mon+1, $mday,
393 # $login, $year%100, $mon+1, $mday,
/freebsd-9.3-release/contrib/wpa/src/utils/
H A Dos.h57 * @year: Four digit year
70 int os_mktime(int year, int month, int day, int hour, int min, int sec,
/freebsd-9.3-release/sys/dev/hpt27xx/
H A Dosm.h122 HPT_U32 year:5; /* 0=2000, 31=2031 */ member in struct:_TIME_RECORD
/freebsd-9.3-release/sys/dev/hptmv/
H A Darray.h45 UINT year:5; /* 0=2000, 31=2031 */ member in struct:_TIME_RECORD
H A Dvdevice.h280 UINT year:5; /* 0=2000, 31=2031 */ member in struct:_TIME_RECORD

Completed in 1321 milliseconds

1234567