Searched refs:minute (Results 1 - 25 of 94) sorted by relevance

1234

/freebsd-10.0-release/sys/boot/pc98/libpc98/
H A Dtime.c46 int hr, minute, sec; local
57 minute = bcd2bin(bios_time[4]);
60 return (hr * 3600 + minute * 60 + sec);
/freebsd-10.0-release/contrib/ntp/libntp/
H A Dcalyearstart.c20 jt.hour = jt.minute = jt.second = 0;
H A Dcaltontp.c39 ntp_days*SECSPERDAY+SECSPERMIN*(MINSPERHR*jt->hour + jt->minute);
H A Dclocktime.c2 * clocktime - compute the NTP date from a day of year, hour, minute
34 int minute,
51 tmp = MULBY60(tmp) + (long)minute;
31 clocktime( int yday, int hour, int minute, int second, int tzoff, u_long rec_ui, u_long *yearstart, u_int32 *ts_ui ) argument
H A Dcaljulian.c58 jt->minute = (u_char)(minutes % MINSPERHR);
139 jt->minute = (u_char) tm->tm_min;
/freebsd-10.0-release/sys/boot/i386/libi386/
H A Dtime.c45 int hr, minute, sec; local
53 minute = bcd2bin(v86.ecx & 0xff); /* minute in %cl */
56 return (hr * 3600 + minute * 60 + sec);
/freebsd-10.0-release/sys/i386/isa/
H A Dpmtimer.c96 u_int second, minute, hour; local
126 minute = second / 60;
129 hour, minute, second);
/freebsd-10.0-release/contrib/ntp/util/
H A Dtg.c32 * year, hh the hour of day and mm the minute of hour. For instance,
119 #define MIN 3 /* minute pulse */
129 {MIN, 800}, /* 0 minute sync pulse */
139 {COEF, 1}, /* 10 1 minute units */
144 {COEF, 1}, /* 15 10 minute tens */
263 int minute, hour, day, year; local
312 &hour, &minute);
354 minute = tm->tm_min;
376 year, day, hour, minute, second, tone);
378 hour, minute, yea
[all...]
/freebsd-10.0-release/contrib/ntp/ntpd/
H A Drefclock_jjy.c172 int year, month, day, hour, minute, second, msecond ; member in struct:jjyunit
519 pp->minute = up->minute ;
538 up->year, up->month, up->day, up->hour, up->minute, up->second, up->msecond/100 ) ;
540 pp->year, pp->day, pp->hour, pp->minute, pp->second, (int)(pp->nsec/100000000) ) ;
550 up->year, up->month, up->day, up->hour, up->minute, up->second, up->msecond/100 ) ;
665 rc = sscanf ( pBuf, "%2d:%2d:%2d", &up->hour, &up->minute, &up->second ) ;
666 if ( rc != 3 || up->hour > 23 || up->minute > 59 || up->second > 60 ) {
676 if ( up->hour == 0 && up->minute == 0 && up->second <= 2 ) {
742 &up->year, &up->month, &up->day, &up->hour, &up->minute,
[all...]
H A Drefclock_fg.c289 and doubles min every hour at HH:10:ss for a minute.
300 pp->minute = BP1(7)*10 + BP2(7);
306 pp->minute = BP1(6)*10 + BP2(6);
312 if((pp->hour == 10) && (pp->minute == 10))
317 sprintf(pp->a_lastcode, "%d %d %d %d %d", pp->year, pp->day, pp->hour, pp->minute, pp->second);
324 pp->year, pp->day, pp->hour, pp->minute, pp->second);
H A Drefclock_hopfser.c259 &pp->minute,
271 (pp->minute < 0) || (pp->minute > 59) ||
303 pp->minute,
344 msyslog(LOG_ERR, " D:%x D:%d D:%d",synch,pp->minute,pp->second);
H A Drefclock_hpgps.c416 &pp->year, &month, &day, &pp->hour, &pp->minute, &pp->second,
492 pp->minute -= up->tzminute;
495 if (pp->minute < 0) {
496 pp->minute += 60;
499 if (pp->minute > 59) {
500 pp->minute -= 60;
H A Drefclock_mx4200.c492 double minute, lat, lon, alt; local
578 minute = (lat - (double)(int)lat) * 60.0;
579 sprintf(lats,"%02d%02.4f", (int)lat, minute);
580 minute = (lon - (double)(int)lon) * 60.0;
581 sprintf(lons,"%03d%02.4f", (int)lon, minute);
891 pp->year, pp->day, pp->hour, pp->minute, pp->second,
964 int hour, minute, second, leapsec; local
974 &hour, &minute, &second, &time_sync, &op_mode,
1003 if (second > 60 || minute > 59 || hour > 23 ||
1004 second < 0 || minute <
[all...]
H A Drefclock_datum.c107 ** defined. If you really want to force GMT without the funny +- 30 minute
152 int minute; /* minutes */ member in struct:datum_pts_unit
644 ** Convert the seven bytes received in our time buffer to day, hour, minute,
657 datum_pts->minute = 10*((datum_pts->retbuf[3] & 0x70)>>4) +
671 printf("day %d, hour %d, minute %d, second %d, msec %d\n",
674 datum_pts->minute,
716 datum_pts->minute,
757 datum_pts->minute,
865 printf("PTS: day %d, hour %d, minute %d, second %d, msec %d, Time Error %f\n",
868 datum_pts->minute,
[all...]
H A Drefclock_leitch.c84 short minute; member in struct:leitchunit
449 if (!clocktime(leitch->yearday,leitch->hour,leitch->minute,
467 if (!clocktime(leitch->yearday,leitch->hour,leitch->minute,
484 if (!clocktime(leitch->yearday,leitch->hour,leitch->minute,
615 leitch->minute = ATOB(2)*10 +ATOB(3);
618 if ((leitch->hour > 23) || (leitch->minute > 60) ||
H A Drefclock_heath.c302 &pp->minute, &pp->second, &dsec, a, &month, &day,
315 &pp->minute, &pp->second, &dsec) != 4) {
H A Drefclock_hopfpci.c216 pp->minute = m_time.wMinute;
225 m_time.wStatus, pp->hour, pp->minute, pp->second,
H A Drefclock_pcf.c197 pp->minute = tp->tm_min;
207 pp->minute, pp->second);
/freebsd-10.0-release/contrib/ntp/parseutil/
H A Dtestdcf.c60 long minute; member in struct:clocktime
91 * next minute mark
127 * 59 - usually missing (minute indication), except for leap insertion
241 clock_time->minute = ext_bf(buffer, DCF_M10);
242 clock_time->minute = TIMES10(clock_time->minute) + ext_bf(buffer, DCF_M1);
416 clock_time.minute = 0;
457 clock_time.minute = 0;
490 (int)clock_time.hour, (int)clock_time.minute, (int)i, (int)clock_time.day, (int)clock_time.month,
/freebsd-10.0-release/usr.bin/at/
H A Dparsetime.c89 { "minute", MINUTES,0 }, /* minutes multiplier */
363 int hour, minute = 0; local
374 minute = atoi(sc_token);
375 if (minute > 59)
380 minute = hour%100;
381 if (minute > 59)
415 tm->tm_min = minute;
/freebsd-10.0-release/contrib/ntp/include/
H A Dntp_calendar.h15 u_char minute; /* minute of hour */ member in struct:calendar
16 u_char second; /* second of minute */
41 #define SECSPERMIN (60) /* seconds per minute */
/freebsd-10.0-release/contrib/dialog/
H A Dtimebox.c143 int minute,
215 if (hour >= 24 || minute >= 60 || second >= 60) {
256 minute >= 0 ? minute : current.tm_min,
347 minute = mn_box.value;
138 dialog_timebox(const char *title, const char *subtitle, int height, int width, int hour, int minute, int second) argument
/freebsd-10.0-release/usr.sbin/cron/cron/
H A Dcron.c175 * are already at minute's boundary, so
177 * next minute.
227 register int second, minute, hour, dom, month, dow; local
234 minute = tm->tm_min -FIRST_MINUTE;
241 getpid(), second, minute, hour, dom, month, dow))
317 && bit_test(e->minute, otzminute)
337 && bit_test(e->minute, minute)
358 * following minute and initialize TargetTime to this value. TargetTime
361 * the "current minute" befor
[all...]
/freebsd-10.0-release/usr.sbin/cron/lib/
H A Dentry.c52 "bad minute",
155 bit_set(e->minute, 0);
164 bit_set(e->minute, 0);
173 bit_set(e->minute, 0);
182 bit_set(e->minute, 0);
190 bit_set(e->minute, 0);
198 bit_nset(e->minute, 0, (LAST_MINUTE-FIRST_MINUTE+1));
207 bit_nset(e->minute, 0, (LAST_MINUTE-FIRST_MINUTE+1));
228 ch = get_list(e->minute, FIRST_MINUTE, LAST_MINUTE,
/freebsd-10.0-release/contrib/ntp/libparse/
H A Dclk_computime.c61 * The Computime receiver sends a datagram in the following format every minute
84 {14, 2}, {17, 2}, {20, 2}, /* hour, minute, second */
131 Stoi(&buffer[format->field_offsets[O_MIN].offset], &clock_time->minute,

Completed in 112 milliseconds

1234