/freebsd-11.0-release/sys/dev/iicbus/ |
H A D | ds3231.c | 515 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 D | refclock_acts.c | 110 * 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 D | refclock_zyfer.c | 268 &pp->year, &pp->day, &pp->hour, &pp->minute, &pp->second,
|
H A D | refclock_bancomm.c | 121 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 D | ntp_leapsec.c | 196 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 D | refclock_irig.c | 50 * 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 D | ntpq.c | 2053 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 D | load.c | 74 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 D | localtime.c | 166 #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 D | os_unix.c | 125 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 D | os.h | 119 * @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 D | ntp_refclock.h | 158 int year; /* year of eternity */ member in struct:refclockproc 159 int day; /* day of year */ 164 u_long yearstart; /* beginning of year */
|
H A D | parse.h | 307 long year; member in struct:clocktime
|
/freebsd-11.0-release/contrib/ntp/libntp/ |
H A D | prettydate.c | 42 * 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 D | calendar.c | 37 * 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 D | vxge_cmn.h | 201 u32 year; member in struct:_vxge_hal_device_date_t
|
/freebsd-11.0-release/crypto/openssl/crypto/ |
H A D | o_time.c | 227 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 D | x509v3.c | 544 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 D | clk_meinberg.c | 74 * <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 D | data_mbg.c | 140 tmp->year = get_lsb_int16(buffpp); 268 tmp->year, tmp->month, tmp->mday,
|
/freebsd-11.0-release/sys/dev/hpt27xx/ |
H A D | osm.h | 123 HPT_U32 year:5; /* 0=2000, 31=2031 */ member in struct:_TIME_RECORD
|
/freebsd-11.0-release/sys/dev/hptmv/ |
H A D | array.h | 45 UINT year:5; /* 0=2000, 31=2031 */ member in struct:_TIME_RECORD
|
H A D | vdevice.h | 280 UINT year:5; /* 0=2000, 31=2031 */ member in struct:_TIME_RECORD
|
/freebsd-11.0-release/sys/dev/hptnr/ |
H A D | osm.h | 121 HPT_U32 year:5; /* 0=2000, 31=2031 */ member in struct:_TIME_RECORD
|
/freebsd-11.0-release/sys/dev/hptrr/ |
H A D | osm.h | 91 HPT_U32 year:5; /* 0=2000, 31=2031 */ member in struct:_TIME_RECORD
|