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

1234567

/netbsd-current/external/bsd/ntp/dist/libparse/
H A Dclk_trimtaip.c120 STOI(O_HOUR, &clock_time->hour) ||
H A Dclk_dcf7000.c110 Stoi(&buffer[format->field_offsets[O_HOUR].offset], &clock_time->hour,
H A Dclk_varitext.c92 * Bit 4 - Set= Seasonal change in approx hour; Reset= No seasonal change expected
103 {14, 2}, {17, 2}, {20, 2}, /* hour, minute, second */
156 Stoi(&buffer[format->field_offsets[O_HOUR].offset], &clock_time->hour,
181 if (((*f) & VT_SEASON_CHANGE)) Seasonal change expected in the next hour
/netbsd-current/external/bsd/ntp/dist/ntpd/
H A Dntp_filegen.c159 cal.hour = cal.minute = cal.second = 0;
168 iso.hour = iso.minute = iso.second = 0;
178 cal.hour = cal.minute = cal.second = 0;
189 cal.hour = cal.minute = cal.second = 0;
H A Drefclock_acts.c781 &mjd, &pp->year, &month, &day, &pp->hour,
805 &mjd, &pp->day, &pp->hour, &pp->minute,
827 &pp->second, &pp->year, &month, &day, &pp->hour,
851 &synchar, &pp->day, &pp->hour, &pp->minute,
869 &pp->hour, &pp->minute, &pp->second, &pp->nsec,
H A Drefclock_pst.c27 * The DIPswitches should be set for 9600 bps line speed, 24-hour day-
45 * a = AM/PM indicator (' ' for 24-hour mode)
48 * s = daylight-saving indicator (' ' for 24-hour mode)
241 &ampmchar, &pp->hour, &pp->minute, &pp->second, &pp->nsec,
H A Drefclock_tt560.c218 &pp->day, &pp->hour, &pp->minute, &pp->second, &pp->usec)
H A Drefclock_tpro.c185 &pp->hour, &pp->minute, &pp->second, &pp->nsec)
/netbsd-current/external/bsd/ntp/dist/parseutil/
H A Ddcfd.c202 #define DCFB_LEAP 0x0004 /* LEAP warning (1 hour prior to occurrence) */
211 long hour; member in struct:clocktime
274 * 16 A1 - expect zone change (1 hour before)
280 * 19 A2 - expect leap insertion/deletion (1 hour before)
469 clock_time->hour = ext_bf(buffer, DCF_H10);
470 clock_time->hour = TIMES10(clock_time->hour) + ext_bf(buffer, DCF_H1);
836 /* hour */
837 if (clock_time->hour < 0 || clock_time->hour >
[all...]
/netbsd-current/games/rogue/
H A Dsave.c413 if (saved_time->hour < mod_time->hour) {
415 } else if (saved_time->hour > mod_time->hour) {
/netbsd-current/external/gpl2/xcvs/dist/lib/
H A Dgetdate.y135 /* Meridian: am, pm, or 24-hour style. */
161 /* Gregorian year, month, day, hour, minutes, seconds, and nanoseconds. */
165 long int hour;
169 /* Relative year, month, day, hour, minutes, seconds, and nanoseconds. */
287 pc->hour = $3.tv_nsec / 10000000;
298 pc->hour = $1.value;
306 pc->hour = $1.value;
314 pc->hour = $1.value;
324 pc->hour = $1.value;
331 pc->hour
[all...]
/netbsd-current/external/bsd/ipf/dist/perl/
H A DIpfanaly.pl13 print " -g make graphs, one per 4 hour interval called outN.gif 1<=N<=5\n";
44 # split graphs in to 6 four hour spans for 24 hours
70 # set hour in graph via conf file
165 ($hour,$minute,$sec,$junk) = split ":", $bit;
169 $xpos=($hour * 3600) + ($minute * 60) + ($sec) ;
186 $timemaxin="$hour:$minute";
200 $timemaxout="$hour:$minute";
/netbsd-current/sys/dev/ic/
H A Drs5c313.c184 RTCGET(hour, HOUR);
239 RTCSET(HOUR, hour);
/netbsd-current/external/bsd/ntp/dist/include/
H A Dntp_calendar.h19 uint8_t hour; /* hour of day, midnight = 0 */ member in struct:calendar
20 uint8_t minute; /* minute of hour */
32 uint8_t hour; /* hour of day, midnight = 0 */ member in struct:isodate
33 uint8_t minute; /* minute of hour */
90 #define MINSPERHR (60) /* minutes per hour */
H A Dntp_refclock.h160 int hour; /* hour of day */ member in struct:refclockproc
161 int minute; /* minute of hour */
/netbsd-current/external/gpl3/gdb.old/dist/gnulib/import/extra/
H A Dupdate-copyright163 my ($sec, $min, $hour, $mday, $month, $year) = localtime (time ());
/netbsd-current/external/gpl3/gdb/dist/gnulib/import/extra/
H A Dupdate-copyright163 my ($sec, $min, $hour, $mday, $month, $year) = localtime (time ());
/netbsd-current/usr.bin/make/unit-tests/
H A Dcond-op-or.mk29 # 2021-12-09 and was reverted in cond.c 1.284 an hour later.
/netbsd-current/sys/arch/sh3/dev/
H A Drtc.c191 RTCGET(hour, HR);
252 RTCSET(HR, hour);
/netbsd-current/external/bsd/wpa/dist/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;
/netbsd-current/crypto/dist/ipsec-tools/misc/
H A Dcvs2cl.pl422 my (undef,$min,$hour,$mday,$mon,$year,$wday)
803 my (undef,$min,$hour,$mday,$mon,$year,$wday)
811 $year+1900, $mon+1, $mday, $hour, $min);
1254 my (undef,$min,$hour,$mday,$mon,$year,$wday)
1714 my ($year, $mday, $mon, $wday, $hour, $min);
1717 ($year, $mday, $mon, $wday, $hour, $min) = @_;
1720 (undef, $min, $hour, $mday, $mon, $year, $wday) =
1731 my $ftime = $self->ftime($hour, $min);
1765 my ($hour, $min);
1768 ($hour,
[all...]
/netbsd-current/external/bsd/ntp/dist/libntp/
H A Dntp_calendar.c303 unsigned short hour, minute, second, day, year; local
329 &hour, &minute, &second, monstr, &day, &year)) {
335 jd->hour = (uint8_t)hour;
1075 jd->hour = (uint8_t)ts[0];
1446 * Convert elapsed days and the hour/minute/second information into
1561 return ntpcal_etime_to_seconds(jd->hour, jd->minute,
1917 id->hour = (uint8_t)ts[0];
1973 secs = ntpcal_etime_to_seconds(id->hour, id->minute, id->second);
2230 cdp->hour, cd
[all...]
H A Dprettydate.c199 jd.monthday, jd.year, jd.hour,
/netbsd-current/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)
103 if (hour != ANY)
104 ATF_CHECK_MSG(tm.tm_hour == hour,
105 "parsedate(%s) expected hour %d got %d\n",
106 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
/netbsd-current/usr.bin/mail/
H A Dformat.c560 * time-of-day = hour ":" minute [ ":" second ]
561 * hour = 2DIGIT / obs-hour
570 * obs-hour = [CFWS] 2DIGIT [CFWS]
613 /* Get the required 'hour' and 'minute' */
749 int hour; local
768 sscanf(gmtoff, " %1[+-]%2d%2d ", sign, &hour, &min) == 3) {
772 tm->tm_hour += hour;
776 tm->tm_hour -= hour;

Completed in 307 milliseconds

1234567