/freebsd-10.1-release/contrib/ntp/tests/libntp/ |
H A D | clocktime.c | 58 const int yday=175, hour=12, minute=50, second=0, tzoff=0; local 63 TEST_ASSERT_TRUE(clocktime(yday, hour, minute, second, tzoff, 84 const int yday=175, hour=12, minute=0, second=0, tzoff=0; local 89 TEST_ASSERT_TRUE(clocktime(yday, hour, minute, second, tzoff, 108 const int yday=175, hour=4, minute=0, second=0, tzoff=8; local 113 TEST_ASSERT_TRUE(clocktime(yday, hour, minute, second, tzoff, timestamp, 129 const int yday=2, hour=11, minute=0, second=0, tzoff=0; local 134 TEST_ASSERT_TRUE(clocktime(yday, hour, minute, second, tzoff, timestamp, 150 const int yday=365, hour=23, minute=0, second=0, tzoff=0; local 155 TEST_ASSERT_TRUE(clocktime(yday, hour, minute, secon 171 const int yday=1, hour=1, minute=0, second=0, tzoff=0; local 188 const int yday=100, hour=12, minute=0, second=0, tzoff=0; local 221 int minute; local [all...] |
H A D | caljulian.c | 44 snprintf(buffer, 100, "%u", (u_int)cal.minute); 60 && expected.minute == actual.minute
|
H A D | calendar.c | 87 (u_int)cal->hour, (u_int)cal->minute, (u_int)cal->second); 99 (u_int)iso->hour, (u_int)iso->minute, (u_int)iso->second); 114 expected->minute == actual->minute && 139 expected->minute == actual->minute && 411 date.hour = date.minute = date.second = 0; 431 date.hour = date.minute = date.second = 0; 450 date.hour = date.minute = date.second = 0; 470 date.hour = date.minute [all...] |
/freebsd-10.1-release/sys/boot/pc98/libpc98/ |
H A D | time.c | 46 int hr, minute, sec; local 57 minute = bcd2bin(bios_time[4]); 60 return (hr * 3600 + minute * 60 + sec);
|
/freebsd-10.1-release/contrib/ntp/libntp/ |
H A D | caltontp.c | 49 REQUIRE(jt->minute <= MINSPERHR); 65 ntpcal_etime_to_seconds(jt->hour, jt->minute,
|
H A D | clocktime.c | 2 * clocktime - compute the NTP date from a day of year, hour, minute 35 * Take a time spec given as day-of-year, hour, minute and second as 55 int minute , /* minute of hour */ 56 int second , /* second of minute */ 72 SECSPERMIN * ((int32)minute +
|
/freebsd-10.1-release/sys/boot/i386/libi386/ |
H A D | time.c | 45 int hr, minute, sec; local 53 minute = bcd2bin(v86.ecx & 0xff); /* minute in %cl */ 56 return (hr * 3600 + minute * 60 + sec);
|
/freebsd-10.1-release/sys/i386/isa/ |
H A D | pmtimer.c | 96 u_int second, minute, hour; local 126 minute = second / 60; 129 hour, minute, second);
|
/freebsd-10.1-release/contrib/ntp/util/ |
H A D | tg.c | 32 * 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 year / 10, day, hour, minute, yea [all...] |
/freebsd-10.1-release/contrib/ntp/parseutil/ |
H A D | testdcf.c | 61 long minute; member in struct:clocktime 92 * next minute mark 129 * 59 - usually missing (minute indication), except for leap insertion 243 clock_time->minute = ext_bf(buffer, DCF_M10); 244 clock_time->minute = TIMES10(clock_time->minute) + ext_bf(buffer, DCF_M1); 418 clock_time.minute = 0; 459 clock_time.minute = 0; 492 (int)clock_time.hour, (int)clock_time.minute, (int)i, (int)clock_time.day, (int)clock_time.month,
|
/freebsd-10.1-release/contrib/ntp/ntpd/ |
H A D | refclock_fg.c | 279 and doubles min every hour at HH:10:ss for a minute. 289 pp->minute = BP1(7)*10 + BP2(7); 295 pp->minute = BP1(6)*10 + BP2(6); 301 if ((pp->hour == 10) && (pp->minute == 10)) { 307 pp->minute, pp->second); 314 pp->year, pp->day, pp->hour, pp->minute, pp->second);
|
H A D | refclock_hopfser.c | 250 &pp->minute, 262 (pp->minute < 0) || (pp->minute > 59) || (pp->second < 0) || 294 pp->minute, 335 msyslog(LOG_ERR, " D:%x D:%d D:%d",synch,pp->minute,pp->second);
|
H A D | refclock_datum.c | 96 ** defined. If you really want to force GMT without the funny +- 30 minute 140 int minute; /* minutes */ member in struct:datum_pts_unit 549 ** Convert the seven bytes received in our time buffer to day, hour, minute, 562 datum_pts->minute = 10*((datum_pts->retbuf[3] & 0x70)>>4) + 576 printf("day %d, hour %d, minute %d, second %d, msec %d\n", 579 datum_pts->minute, 621 datum_pts->minute, 662 datum_pts->minute, 770 printf("PTS: day %d, hour %d, minute %d, second %d, msec %d, Time Error %f\n", 773 datum_pts->minute, [all...] |
H A D | refclock_hpgps.c | 416 &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 D | refclock_mx4200.c | 484 double minute, lat, lon, alt; local 570 minute = (lat - (double)(int)lat) * 60.0; 571 snprintf(lats, sizeof(lats), "%02d%02.4f", (int)lat, minute); 572 minute = (lon - (double)(int)lon) * 60.0; 573 snprintf(lons, sizeof(lons), "%03d%02.4f", (int)lon, minute); 883 pp->year, pp->day, pp->hour, pp->minute, pp->second, 956 int hour, minute, second, leapsec_warn; local 966 &hour, &minute, &second, &time_sync, &op_mode, 995 if (second > 60 || minute > 59 || hour > 23 || 996 second < 0 || minute < [all...] |
H A D | refclock_jjy.c | 178 int year, month, day, hour, minute, second, msecond ; member in struct:jjyunit 415 #define JJY_CLOCKSTATS_MESSAGE_SSCANF_INVALID_TIME "# Invalid time : rc=%d hour=%d minute=%d second=%d" 416 #define JJY_CLOCKSTATS_MESSAGE_SSCANF_INVALID_DATETIME "# Invalid time : rc=%d year=%d month=%d day=%d hour=%d minute=%d second=%d" 1013 pp->minute = up->minute ; 1050 up->hour, up->minute, up->second, up->msecond, 1051 pp->year, pp->day, pp->hour, pp->minute, pp->second, 1243 &up->hour, &up->minute, &up->second ) ; 1245 if ( rc != 3 || up->hour > 23 || up->minute > 59 || 1249 rc, up->hour, up->minute, u [all...] |
H A D | refclock_leitch.c | 79 short minute; member in struct:leitchunit 423 if (!clocktime(leitch->yearday,leitch->hour,leitch->minute, 441 if (!clocktime(leitch->yearday,leitch->hour,leitch->minute, 458 if (!clocktime(leitch->yearday,leitch->hour,leitch->minute, 589 leitch->minute = ATOB(2)*10 +ATOB(3); 592 if ((leitch->hour > 23) || (leitch->minute > 60) ||
|
H A D | refclock_heath.c | 304 &pp->minute, &pp->second, &dsec, a, &month, &day, 317 &pp->minute, &pp->second, &dsec) != 4) {
|
H A D | refclock_hopfpci.c | 207 pp->minute = m_time.wMinute; 217 m_time.wStatus, pp->hour, pp->minute, pp->second,
|
/freebsd-10.1-release/usr.bin/at/ |
H A D | parsetime.c | 89 { "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.1-release/contrib/ntp/libparse/ |
H A D | clk_sel240x.c | 148 clock_time->minute = ptime.tm_min;
|
/freebsd-10.1-release/contrib/dialog/ |
H A D | timebox.c | 143 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.1-release/usr.sbin/cron/cron/ |
H A D | cron.c | 175 * 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.1-release/usr.sbin/cron/lib/ |
H A D | entry.c | 52 "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.1-release/contrib/ntp/include/ |
H A D | ntp_calendar.h | 18 uint8_t minute; /* minute of hour */ member in struct:calendar 19 uint8_t second; /* second of minute */ 29 uint8_t minute; /* minute of hour */ member in struct:isodate 30 uint8_t second; /* second of minute */ 83 #define SECSPERMIN (60) /* seconds per minute */
|