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

1234567

/freebsd-11.0-release/sys/dev/iicbus/
H A Dds3231.c515 ct.year = FROMBCD(data[DS3231_YEAR] & DS3231_YEAR_MASK);
523 ct.year += sc->sc_year0;
524 if (ct.year < POSIX_BASE_YEAR)
525 ct.year += 100; /* assume [1970, 2069] */
552 data[DS3231_YEAR + 1] = TOBCD(ct.year % 100);
/freebsd-11.0-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-11.0-release/contrib/ntp/ntpq/
H A Dntpq.c2053 cal.year = (u_short)(*cp++ - '0');
2055 cal.year = (u_short)((cal.year << 3) + (cal.year << 1));
2056 cal.year = (u_short)(*cp++ - '0');
2059 cal.year = (u_short)((cal.year << 3) + (cal.year << 1));
2060 cal.year = (u_short)(cal.year
[all...]
/freebsd-11.0-release/crypto/heimdal/kadmin/
H A Dload.c74 int year, month, date, hour, minute, second; local
80 &year, &month, &date, &hour, &minute, &second) != 6)
82 tm.tm_year = year - 1900;
/freebsd-11.0-release/contrib/tzcode/stdtime/
H A Dlocaltime.c166 #define DAY_OF_YEAR 1 /* n - day of year */
213 static time_t transtime(time_t janfirst, int year,
862 ** Day of year.
880 ** Given the Epoch-relative time of January 1, 00:00:00 UTC, in a year, the
881 ** year, a rule, and the offset from UTC at the time that rule takes effect,
886 transtime(janfirst, year, rulep, offset)
888 const int year;
898 leapyear = isleap(year);
916 ** n - day of year.
936 yy0 = (rulep->r_mon <= 2) ? (year
1052 int year; local
[all...]
/freebsd-11.0-release/contrib/wpa/src/utils/
H A Dos_unix.c125 int os_mktime(int year, int month, int day, int hour, int min, int sec, argument
132 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 ||
138 tm.tm_year = year - 1900;
178 tm->year = tm2->tm_year + 1900;
H A Dos.h119 * @year: Four digit year
132 int os_mktime(int year, int month, int day, int hour, int min, int sec,
141 int year; /* Four digit year */ member in struct:os_tm
/freebsd-11.0-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 */
H A Dparse.h307 long year; member in struct:clocktime
/freebsd-11.0-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-11.0-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-11.0-release/tools/tools/vxge/
H A Dvxge_cmn.h201 u32 year; member in struct:_vxge_hal_device_date_t
/freebsd-11.0-release/crypto/openssl/crypto/
H A Do_time.c227 short year, month, day, hour, minute, second, centi_second; member in struct:vms_vectime
255 result->tm_year = time_values.year - 1900;
278 * with restricted date types and overflows which cause the year 2038
/freebsd-11.0-release/contrib/wpa/src/tls/
H A Dx509v3.c544 int year, month, day, hour, min, sec; local
565 if (sscanf(pos, "%02d", &year) != 1) {
567 "UTCTime year", buf, len);
570 if (year < 50)
571 year += 2000;
573 year += 1900;
582 if (sscanf(pos, "%04d", &year) != 1) {
584 "GeneralizedTime year", buf, len);
629 if (os_mktime(year, month, day, hour, min, sec, val) < 0) {
632 if (year < 197
[all...]
/freebsd-11.0-release/contrib/ntp/libparse/
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,
H A Ddata_mbg.c140 tmp->year = get_lsb_int16(buffpp);
268 tmp->year, tmp->month, tmp->mday,
/freebsd-11.0-release/sys/dev/hpt27xx/
H A Dosm.h123 HPT_U32 year:5; /* 0=2000, 31=2031 */ member in struct:_TIME_RECORD
/freebsd-11.0-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
/freebsd-11.0-release/sys/dev/hptnr/
H A Dosm.h121 HPT_U32 year:5; /* 0=2000, 31=2031 */ member in struct:_TIME_RECORD
/freebsd-11.0-release/sys/dev/hptrr/
H A Dosm.h91 HPT_U32 year:5; /* 0=2000, 31=2031 */ member in struct:_TIME_RECORD

Completed in 209 milliseconds

1234567