Searched refs:hour (Results 76 - 100 of 153) sorted by relevance

1234567

/freebsd-11-stable/sys/dev/iicbus/
H A Ds35390a.c314 bct.hour = bcd[S390_RT1_HOUR] & 0x3f;
339 bcd[S390_RT1_HOUR] = bct.hour;
H A Dds1307.c357 bct.hour = data[DS1307_HOUR] & hourmask;
385 /* If the chip is in AM/PM mode, adjust hour and set flags as needed. */
395 data[DS1307_HOUR] = bct.hour | pmflags;
/freebsd-11-stable/contrib/ntp/include/
H A Dntp_calendar.h17 uint8_t hour; /* hour of day, midnight = 0 */ member in struct:calendar
18 uint8_t minute; /* minute of hour */
30 uint8_t hour; /* hour of day, midnight = 0 */ member in struct:isodate
31 uint8_t minute; /* minute of hour */
88 #define MINSPERHR (60) /* minutes per hour */
H A Dntp_refclock.h157 int hour; /* hour of day */ member in struct:refclockproc
158 int minute; /* minute of hour */
/freebsd-11-stable/contrib/ntp/ntpd/
H A Drefclock_acts.c779 &mjd, &pp->year, &month, &day, &pp->hour,
803 &mjd, &pp->day, &pp->hour, &pp->minute,
825 &pp->second, &pp->year, &month, &day, &pp->hour,
849 &synchar, &pp->day, &pp->hour, &pp->minute,
867 &pp->hour, &pp->minute, &pp->second, &pp->nsec,
H A Drefclock_pst.c25 * The DIPswitches should be set for 9600 bps line speed, 24-hour day-
43 * a = AM/PM indicator (' ' for 24-hour mode)
46 * s = daylight-saving indicator (' ' for 24-hour mode)
239 &ampmchar, &pp->hour, &pp->minute, &pp->second, &pp->nsec,
H A Drefclock_tpro.c183 &pp->hour, &pp->minute, &pp->second, &pp->nsec)
H A Drefclock_tt560.c216 &pp->day, &pp->hour, &pp->minute, &pp->second, &pp->usec)
H A Dcheck_y2k.c415 ct.hour = ct.minute = ct.second = ct.usecond = 0;
588 ot.hour = ot.minute = ot.second = 0;
H A Drefclock_bancomm.c143 #define GMT 0 /* hour offset from Greenwich */
453 pp->hour = tptr->hr;
461 pp->day, pp->hour, pp->minute, pp->second,
548 /* Get hour */
H A Drefclock_arbiter.c351 &syncchar, &pp->year, &pp->day, &pp->hour,
/freebsd-11-stable/contrib/wpa/src/utils/
H A Dos_unix.c128 int os_mktime(int year, int month, int day, int hour, int min, int sec, argument
136 hour < 0 || hour > 23 || min < 0 || min > 59 || sec < 0 ||
144 tm.tm_hour = hour;
178 tm->hour = tm2->tm_hour;
H A Dos.h122 * @hour: Hour (0 .. 23)
132 int os_mktime(int year, int month, int day, int hour, int min, int sec,
138 int hour; /* 0..23 */ member in struct:os_tm
/freebsd-11-stable/contrib/ntp/libntp/
H A Dntp_calendar.c301 unsigned short hour, minute, second, day, year; local
327 &hour, &minute, &second, monstr, &day, &year)) {
333 jd->hour = (uint8_t)hour;
1073 jd->hour = (uint8_t)ts[0];
1444 * Convert elapsed days and the hour/minute/second information into
1559 return ntpcal_etime_to_seconds(jd->hour, jd->minute,
1915 id->hour = (uint8_t)ts[0];
1971 secs = ntpcal_etime_to_seconds(id->hour, id->minute, id->second);
2228 cdp->hour, cd
[all...]
H A Dprettydate.c197 jd.monthday, jd.year, jd.hour,
/freebsd-11-stable/crypto/heimdal/kadmin/
H A Dload.c74 int year, month, date, hour, minute, second; local
80 &year, &month, &date, &hour, &minute, &second) != 6)
85 tm.tm_hour = hour;
/freebsd-11-stable/contrib/netbsd-tests/lib/libutil/
H A Dt_parsedate.c50 * and check that year/month/day/hour/minute/second are as expected.
59 int year, int month, int day, int hour, int minute, int second)
100 if (hour != ANY)
101 ATF_CHECK_MSG(tm.tm_hour == hour,
102 "parsedate(%s) expected hour %d got %d\n",
103 argstr, hour, (int)tm.tm_hour);
57 parsecheck(const char *datestr, const time_t *reftime, const int *zoff, struct tm * time_to_tm(const time_t *, struct tm *), int year, int month, int day, int hour, int minute, int second) argument
/freebsd-11-stable/sys/dev/mk48txx/
H A Dmk48txx.c179 ct.hour = FROMBCD(FROMREG(MK48TXX_IHOUR, MK48TXX_HOUR_MASK));
248 TOREG(MK48TXX_IHOUR, MK48TXX_HOUR_MASK, TOBCD(ct.hour));
/freebsd-11-stable/crypto/openssl/crypto/
H A Do_time.c228 short year, month, day, hour, minute, second, centi_second; member in struct:vms_vectime
253 result->tm_hour = time_values.hour;
/freebsd-11-stable/crypto/heimdal/appl/ftp/ftp/
H A Dcmds.c659 int yy, mo, day, hour, min, sec; local
674 &yy, &mo, &day, &hour, &min, &sec)
690 tm->tm_hour > hour) ||
691 (tm->tm_hour == hour &&
2103 int yy, mo, day, hour, min, sec; local
2105 &day, &hour, &min, &sec);
2108 mo, day, yy, hour, min, sec);
/freebsd-11-stable/contrib/ntp/libparse/
H A Dparse.c460 /* hour */
461 if (clock_time->hour < 0 || clock_time->hour >= 24)
464 return -1; /* bad hour */
467 t = TIMES24(t) + clock_time->hour;
H A Dclk_meinberg.c76 * <hh>,<mm>,<ss> = hour, minute, second
85 * <A> = '!' during the hour preceeding an daylight saving time
99 * <hh>,<mm>,<ss> = hour, minute, second
105 * <A> = '!' during the hour preceeding an daylight saving time
128 * <hh>,<mm>,<ss> = hour, minute, second
133 * <A> = '!' during the hour preceeding an daylight saving time
308 Stoi(&buffer[format->field_offsets[O_HOUR].offset], &clock_time->hour,
488 Stoi(&buffer[format->field_offsets[O_HOUR].offset], &clock_time->hour,
H A Ddata_mbg.c145 tmp->hour = *(*buffpp)++;
269 tmp->hour, tmp->min, tmp->sec, (long) tmp->frac,
/freebsd-11-stable/contrib/ntp/scripts/monitoring/
H A Dntploopwatch1500 local($sec,$min,$hour,$mday,$mon,$year)
1591 warn("$0: implausible hour $1\n"), return undef
1593 $hour = $1;
1639 $hour = 0 if $last > $[ + 2;
1642 local($rtime) = &timelocal($sec,$min,$hour,$mday,$mon,$year, 0,0, 0);
1646 if $hour == (localtime($rtime))[$[+2];
1648 &timelocal($sec,$min,$hour,$mday,$mon,$year, 0,0, 1)
/freebsd-11-stable/sys/x86/isa/
H A Datrtc.c522 rtcout_locked(RTC_HRS, bct.hour);
567 bct.hour = rtcin_locked(RTC_HRS);

Completed in 303 milliseconds

1234567