Searched refs:day (Results 76 - 100 of 154) sorted by relevance

1234567

/freebsd-11.0-release/sys/arm/at91/
H A Dat91_rtc.c182 * Register as a time of day clock with 1-second resolution.
252 * Get the time of day clock and return it in ts.
288 ct.day = RTC_CALR_DAY(calr);
294 * Set the time of day clock based on the value of the struct timespec arg.
328 WR4(sc, RTC_CALR, RTC_CALR_MK(ct.year, ct.mon, ct.day, ct.dow+1));
/freebsd-11.0-release/sys/pc98/cbus/
H A Dpcrtc.c185 rtc_outb(bin2bcd(ct.day)); /* Write back Day */
209 ct.day = bcd2bin(rtc_inb() & 0xff); /* date */
/freebsd-11.0-release/sys/powerpc/mpc85xx/
H A Dds1553_core.c85 * Get time of day and convert it to a struct timespec.
111 ct.day = FROMBCD((*sc->sc_read)(dev, DS1553_OFF_DATE) &
128 * Set the time of day clock based on the value of the struct timespec arg.
163 (*sc->sc_write)(dev, DS1553_OFF_DATE, TOBCD(ct.day) &
/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 ||
140 tm.tm_mday = day;
176 tm->day = tm2->tm_mday;
H A Dos.h121 * @day: Day of month (1 .. 31)
132 int os_mktime(int year, int month, int day, int hour, int min, int sec,
139 int day; /* 1..31 */ member in struct:os_tm
/freebsd-11.0-release/crypto/openssh/
H A Dmoduli.c516 int day, hr, min; local
521 day = seconds / 60 / 60 / 24;
522 if (day > 0)
523 snprintf(buf, sizeof buf, "%dd %d:%02d", day, hr, min);
/freebsd-11.0-release/contrib/ntp/include/
H A Dntp_refclock.h159 int day; /* day of year */ member in struct:refclockproc
160 int hour; /* hour of day */
/freebsd-11.0-release/tools/tools/vxge/
H A Dvxge_cmn.h199 u32 day; member in struct:_vxge_hal_device_date_t
/freebsd-11.0-release/contrib/ntp/libparse/
H A Dparse.c451 /* day */
452 if (clock_time->day < 1 || ((clock_time->month == 2 && days_per_year(clock_time->year) == 366) ?
453 clock_time->day > 29 : clock_time->day > days_of_month[clock_time->month]))
456 return -1; /* bad day */
459 t += clock_time->day - 1;
/freebsd-11.0-release/contrib/ntp/ntpd/
H A Drefclock_hopfpci.c205 pp->day = ymd2yd(m_time.wYear,m_time.wMonth,m_time.wDay);
H A Drefclock_pcf.c198 pp->day = tp->tm_yday + 1;
H A Drefclock_pst.c25 * The DIPswitches should be set for 9600 bps line speed, 24-hour day-
28 * the DIPswitches; otherwise, the day of year will be incorrect after
45 * dd/mm/ddd = day of month, month, day of year
49 * d = features indicator (@ = month/day display enabled)
240 &daychar, junque, &pp->day, info, &ltemp) != 10) {
H A Drefclock_tpro.c182 if (sscanf(pp->a_lastcode, "%3d %2d:%2d:%2d.%6ld", &pp->day,
H A Drefclock_tt560.c216 &pp->day, &pp->hour, &pp->minute, &pp->second, &pp->usec)
H A Drefclock_zyfer.c268 &pp->year, &pp->day, &pp->hour, &pp->minute, &pp->second,
H A Drefclock_wwv.c40 * change throughout the weasons, both day and night.
129 * LEPSEC is set during the last minute of the leap day. At the end of
229 #define DST2 0x20 /* 2 DST2 DST1 delayed one day */
311 #define DA 4 /* day digits (3) */
345 {COEF, 0}, /* 30 1 day units */
350 {COEF, 0}, /* 35 10 day tens */
355 {COEF, 0}, /* 40 100 day hundreds */
422 * Digits 0-3 (day hundreds)
1739 * warning bit is set, the last minute (1439) of 30 June (day 181 or 182
1740 * for leap years) or 31 December (day 36
2221 int minute, day, isleap; local
2623 int year, day, hour, minute, second, dut; local
[all...]
H A Drefclock_irig.c50 * hour and day of the year and sometimes the year and synchronization
87 * day of year and time of day. Note that the time of day is for the
907 &syncdig, spare, &pp->day, &pp->hour,
915 * Raise an alarm if the day field is zero,
926 if (pp->day == 0 || (pp->year != 0 && syncdig ==
947 up->errflg, pp->year, pp->day,
/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
253 result->tm_mday = time_values.day;
294 /* Convert time and offset into julian day and seconds */
298 /* Convert Julian day back to date */
349 /* Convert tm structure and offset into julian day and seconds */
356 /* split offset into days and day seconds */
363 /* Adjust day seconds if overflow */
373 * Convert date of time structure into a Julian day number.
382 /* Work out Julian day of new date */
394 * Convert date to and from julian day Use
[all...]
/freebsd-11.0-release/contrib/apr/time/unix/
H A Dtime.c262 tmpdate.tm_mday = os2date.day;
282 os2date->day = lt->tm_mday;
/freebsd-11.0-release/sys/dev/mk48txx/
H A Dmk48txx.c36 * Mostek MK48T02, MK48T08, MK48T18, MK48T37 and MK48T59 time-of-day chip
153 * Get time-of-day and convert to a `struct timespec'
180 ct.day = FROMBCD(FROMREG(MK48TXX_IDAY, MK48TXX_DAY_MASK));
214 * Set the time-of-day clock based on the value of the `struct timespec' arg.
251 TOREG(MK48TXX_IDAY, MK48TXX_DAY_MASK, TOBCD(ct.day));
/freebsd-11.0-release/sys/dev/iicbus/
H A Dds133x.c301 ct.day = FROMBCD(date[4] & 0x3f);
329 date[4] = TOBCD(ct.day) & 0x3f;
H A Dds1307.c374 ct.day = FROMBCD(data[DS1307_DATE] & DS1307_DATE_MASK);
404 data[DS1307_DATE + 1] = TOBCD(ct.day);
/freebsd-11.0-release/sys/dev/ips/
H A Dipsreg.h262 u_int8_t day; member in struct:__anon10302
386 u_int8_t day; member in struct:__anon10313
/freebsd-11.0-release/sys/x86/isa/
H A Datrtc.c169 writertc(RTC_DAY, bin2bcd(ct.day)); /* Write back Day */
357 ct.day = readrtc(RTC_DAY);
/freebsd-11.0-release/crypto/heimdal/appl/ftp/ftp/
H A Dcmds.c659 int yy, mo, day, hour, min, sec; local
674 &yy, &mo, &day, &hour, &min, &sec)
688 tm->tm_mday > day) ||
689 (tm->tm_mday == day &&
2103 int yy, mo, day, hour, min, sec; local
2105 &day, &hour, &min, &sec);
2108 mo, day, yy, hour, min, sec);

Completed in 310 milliseconds

1234567