/freebsd-10.0-release/contrib/ntp/libparse/ |
H A D | clk_wharton.c | 105 clock_time->year = (buffer[12] - '0') * 10 + buffer[11] - '0';
|
H A D | clk_dcf7000.c | 105 Stoi(&buffer[format->field_offsets[O_YEAR].offset], &clock_time->year,
|
H A D | clk_hopf6021.c | 153 STOI(O_YEAR, &clock_time->year) ||
|
H A D | clk_trimtaip.c | 116 STOI(O_YEAR, &clock_time->year) ||
|
/freebsd-10.0-release/contrib/ntp/ntpd/ |
H A D | ntp_filegen.c | 123 basename, SUFFIX_SEP, cal.year, cal.month, cal.monthday); 136 basename, SUFFIX_SEP, cal.year, cal.yearday / 7); 143 basename, SUFFIX_SEP, cal.year, cal.month); 149 sprintf(filename, "%s%c%04d", basename, SUFFIX_SEP, cal.year); 323 /* just round time to integral 7 day period for actual year */
|
H A D | refclock_ulink.c | 286 * YYYY Current year, 2000-2099 287 * + Leap year indicator. '+' if a leap year, 289 * DDD Day of year, 000 - 365. 310 char_quality, &pp->year, &pp->day, 358 * YYYY Current year, 1990-2089 359 * + Leap year indicator. '+' if a leap year, 361 * DDD Day of year, 001 - 366. 382 char_quality, &pp->year, [all...] |
H A D | refclock_wwvb.c | 63 * yy = year (as broadcast) 64 * ddd = day of year 252 * you have a PPS gadget and don't have to have the year, format 290 &syncchar, &qualchar, &pp->year, &pp->day, 303 &syncchar, &pp->year, &month, &day, &pp->hour, 306 pp->day = ymd2yd(pp->year, month, day);
|
H A D | refclock_nmea.c | 77 * Tables to compute the ddd of year form icky dd/mm timecode. Viva la 608 pp->year = dp[4] - '0'; 609 pp->year = (pp->year * 10) + dp[5] - '0'; 617 pp->year= t->tm_year; 626 /* good thing that 2000 is a leap year */ 627 /* pp->year will be 00-99 if read from GPS, 00-> (years since 1900) from tm_year */ 628 if (pp->year % 4) {
|
H A D | refclock_bancomm.c | 91 unsigned short year; member in struct:vmedate 320 * The year must come from the system clock. 325 tptr->year = (unsigned short)(tadr->tm_year + 1900);
|
H A D | refclock_acts.c | 104 * nnn day of year 435 int month; /* month of the year */ 481 &mjd, &pp->year, &month, &day, &pp->hour, 496 pp->day = ymd2yd(pp->year, month, day); 537 &pp->second, &pp->year, &month, &day, &pp->hour, 550 pp->day = ymd2yd(pp->year, month, day); 582 &synchar, &qualchar, &pp->year, &pp->day,
|
/freebsd-10.0-release/contrib/wpa/src/utils/ |
H A D | os_internal.c | 44 int os_mktime(int year, int month, int day, int hour, int min, int sec, argument 49 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 || 55 tm.tm_year = year - 1900; 80 tm->year = tm2->tm_year + 1900;
|
H A D | os_none.c | 29 int os_mktime(int year, int month, int day, int hour, int min, int sec, argument
|
H A D | os_unix.c | 63 int os_mktime(int year, int month, int day, int hour, int min, int sec, argument 70 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 || 76 tm.tm_year = year - 1900; 116 tm->year = tm2->tm_year + 1900;
|
H A D | os.h | 51 * @year: Four digit year 64 int os_mktime(int year, int month, int day, int hour, int min, int sec, 73 int year; /* Four digit year */ member in struct:os_tm
|
/freebsd-10.0-release/tools/tools/prstats/ |
H A D | prstats.pl | 58 [ 90, 365, 0 ], # Three months to a year 72 my $year; 82 ($month, $day, $hour, $minute, $second, $year) = 89 return mktime($second, $minute, $hour, $day, $month - 1, $year - 1900); 346 graph_open_prs(&DATFILE, "year.png", $NOW - (86400 * 365) + 1, $NOW, 347 "Open FreeBSD problem reports (year view)");
|
/freebsd-10.0-release/sys/fs/udf/ |
H A D | udf_vnops.c | 197 udf_isaleapyear(int year) argument 201 i = (year % 4) ? 0 : 1; 202 i &= (year % 100) ? 1 : 0; 203 i |= (year % 400) ? 0 : 1; 214 int i, lpyear, daysinyear, year, startyear; local 221 * DirectCD seems to like using bogus year values. 224 year = le16toh(time->year); 225 if (year < 1970 || time->month < 1 || time->month > 12) { 238 lpyear = udf_isaleapyear(year); [all...] |
/freebsd-10.0-release/contrib/ntp/ntpq/ |
H A D | ntpq.c | 1846 cal.year = (u_short)(*cp++ - '0'); 1848 cal.year = (u_short)((cal.year << 3) + (cal.year << 1)); 1849 cal.year = (u_short)(*cp++ - '0'); 1852 cal.year = (u_short)((cal.year << 3) + (cal.year << 1)); 1853 cal.year = (u_short)(cal.year [all...] |
/freebsd-10.0-release/contrib/tzcode/zic/ |
H A D | zic.c | 159 static int yearistype(int year, const char * type); 1109 int year, month, day; local 1119 if (sscanf(cp, scheck(cp, "%d"), &year) != 1) { 1123 error(_("invalid leaping year")); 1126 if (!leapseen || leapmaxyear < year) 1127 leapmaxyear = year; 1128 if (!leapseen || leapminyear > year) 1129 leapminyear = year; 1132 while (j != year) { 1133 if (year > 1983 register int year; local [all...] |
/freebsd-10.0-release/contrib/ofed/management/infiniband-diags/src/ |
H A D | vendstat.c | 77 uint16_t year; member in struct:__anon3997 263 gi->fw_info.month, gi->fw_info.day, ntohs(gi->fw_info.year));
|
/freebsd-10.0-release/crypto/openssl/crypto/ |
H A D | o_time.c | 179 short year, month, day, hour, minute, second, member in struct:vms_vectime 207 result->tm_year = time_values.year - 1900; 229 * with restricted date types and overflows which cause the year 2038
|
/freebsd-10.0-release/sys/arm/at91/ |
H A D | at91_rtc.c | 286 ct.year = RTC_CALR_CEN(calr) * 100 + RTC_CALR_YEAR(calr); 328 WR4(sc, RTC_CALR, RTC_CALR_MK(ct.year, ct.mon, ct.day, ct.dow+1));
|
/freebsd-10.0-release/sys/dev/iicbus/ |
H A D | s35390a.c | 282 ct.year = FROMBCD(bcd[S390_RT1_YEAR]) + 2000; 305 bcd[S390_RT1_YEAR] = TOBCD(ct.year % 100);
|
/freebsd-10.0-release/usr.bin/touch/ |
H A D | touch.c | 302 stime_arg2(const char *arg, int year, struct timeval *tvp) argument 316 if (year) {
|
/freebsd-10.0-release/contrib/tzcode/stdtime/ |
H A D | localtime.c | 166 #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-10.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;
|