/freebsd-11-stable/contrib/tzdata/ |
H A D | leapseconds.awk | 15 # there will be more than 25 hours per day and so some other scheme 156 # ss_mday - day of the month (1-31) 160 # ss_wday - day of week (0-Sunday to 6-Saturday) 185 # Standard day epochs, suitable for epoch_days. 192 quadcentury, century, quadyear, year, month, day) 199 day = epoch_days + int(sstamp / (24 * 60 * 60)) 201 # Compute a year-month-day date with days of the month numbered 203 # start March 1 and end after the last day of February. A quad-year 205 # the last day of February 4 years later. A century starts on and 210 # Any variation is in the last day o [all...] |
/freebsd-11-stable/contrib/ntp/conf/ |
H A D | beauregard.conf | 14 filegen peerstats file peerstats type day enable 15 filegen loopstats file loopstats type day enable 16 filegen clockstats file clockstats type day enable
|
H A D | malarky.conf | 15 filegen peerstats file peerstats type day enable 16 filegen loopstats file loopstats type day enable 17 filegen clockstats file clockstats type day enable
|
H A D | pogo.conf | 43 filegen loopstats file loopstats type day enable 44 filegen cryptostats file cryptostats type day enable
|
H A D | rackety.conf | 53 filegen peerstats file peerstats type day enable 54 filegen loopstats file loopstats type day enable 55 filegen clockstats file clockstats type day enable
|
H A D | grundoon.conf | 36 filegen loopstats file loopstats type day enable
|
/freebsd-11-stable/contrib/ntp/scripts/stats/ |
H A D | ensemble.S | 1 ensemble <- scan(file1, list(day=0, sec=0, gps=0, gpsw=0, loran=0, loranw=0, ensemble=0, std=0)) 5 plot(ensemble$sec, ensemble$ensemble, type="l", xlab=paste("MJD", ensemble$day, "Time (s)"), ylab="Ensemble Offset (ns)", ylim=c(-400, 400))
|
H A D | itf.S | 1 itf <- scan(file1, list(day=0, sec=0, offset=0, stab=0)) 5 plot(itf$sec, itf$offset, type="l", xlab=paste("MJD", itf$day, "Time (s)"), ylab="Internal Offset (ns)", ylim=c(-400, 400))
|
H A D | tdata.S | 1 tdata <- scan(file1, list(day=0, sec=0, m=0, w=0, x=0, y=0, z=0)) 5 plot(tdata$sec, tdata$m, type="l", xlab=paste("MJD", tdata$day, "Time (s)"), ylab="LORAN-M SNR (dB)")
|
H A D | loop.S | 2 loop <- scan(file1, list(day=0, sec=0, offset=0, freq=0, tc=0)) 7 plot(loop$sec, loop$offset, type="l", xlab=paste("MJD", loop$day, "Time (s)"), ylab="PLL Offset (us)", ylim=c(-400, 400))
|
H A D | etf.S | 3 etf <- scan(file1, list(day=0, sec=0, offset=0, stab=0)) 15 plot(etf$sec, etf$offset, type="l", xlab=paste("MJD", etf$day, "Time (s)"), ylab="External Offset (ns)", ylim=c(-400, 400))
|
/freebsd-11-stable/usr.sbin/rtadvd/ |
H A D | timer_subr.c | 64 uint32_t day; local 76 day = hour / 24; 80 if (day > 0) 81 p += sprintf(p, "%" PRIu32 "d", day);
|
/freebsd-11-stable/contrib/ntp/ntpd/ |
H A D | refclock_heath.c | 43 * transition. The timecode includes both the day of year and time of 44 * day. The GC-1001 II has a true bipolar output and a complement of 46 * day. 79 * dd/mm/yr = day, month, year 84 * then lost again for about a day. 278 int month, day; local 304 &pp->minute, &pp->second, &dsec, a, &month, &day, 332 day = tm_time_p->tm_mday; 347 * We determine the day of the year from the DIPswitches. This 353 * months of that year, add one to the day [all...] |
H A D | refclock_hpgps.c | 42 * than 10 usec. per day. 107 * Tables to compute the day of year from yyyymmdd timecode. 262 int month, day, lastday; local 416 &pp->year, &month, &day, &pp->hour, &pp->minute, &pp->second, 461 * Compute the day of year from the yyyymmdd format. 463 if (month < 1 || month > 12 || day < 1) { 470 if (day > day1tab[month - 1]) { 474 for (i = 0; i < month - 1; i++) day += day1tab[i]; 478 if (day > day2tab[month - 1]) { 482 for (i = 0; i < month - 1; i++) day [all...] |
H A D | ntp_util.c | 44 #define L_DAY 86400UL /* seconds per day */ 209 * to simply set the time of day to the current time of day, but 528 * day (MJD) 548 u_long day; local 555 day = now.l_ui / 86400 + MJD_1900; 559 "%lu %s %s %x %.9f %.9f %.9f %.9f\n", day, 571 * day (MJD) 589 u_long day; local 596 day 623 u_long day; local 698 u_long day; local 752 u_long day; local 789 u_long day; local 823 u_long day; local 861 u_long day; local [all...] |
H A D | refclock_hopfser.c | 220 int day, month; /* ddd conversion */ local 252 &day, 264 (day < 1) || (day > 31) || 274 pp->day = ymd2yd(pp->year,month,day); 290 day,
|
/freebsd-11-stable/usr.bin/calendar/ |
H A D | events.c | 43 event_add(int year, int month, int day, char *date, int var, char *txt, argument 51 * - Copy the machine readable day and month 59 e->day = day; 70 addtodate(e, year, month, day); 109 fprintf(stderr, "event_print_allmonth: %d, day: %d\n", 110 month, day);
|
/freebsd-11-stable/usr.bin/chpass/ |
H A D | util.c | 88 int day, month, year; local 115 day = atoi(t); 119 if (day < 1 || day > 31 || month < 1 || month > 12) 130 lt->tm_mday = day;
|
/freebsd-11-stable/sys/kern/ |
H A D | subr_clock.c | 84 * (seconds since 1/1/1970) and yr/mo/day/hr/min/sec 163 if (ct->mon < 1 || ct->mon > 12 || ct->day < 1 || 164 ct->day > days_in_month(year, ct->mon) || 189 days += (ct->day - 1); 219 !validbcd(bct->day) || !validbcd(bct->hour) || 224 bct->year, bct->mon, bct->day, 231 ct.day = FROMBCD(bct->day); 279 ct->day = days + 1; 316 bct->day [all...] |
H A D | subr_fattime.c | 33 * yyyyyyymmmmddddd (year - 1980, month, day) 78 #define DAY (24 * 60 * 60) /* Length of day in seconds */ 185 /* And apply the day in the month */ 222 unsigned day; local 232 day = (dd & 0x1f) - 1; 235 day += LYC * ((dd >> 11) & 0x1f); 238 day += daytab[(dd >> 5) & 0x3f]; 244 if (day >= ((2100 - 1980) / 4 * LYC + FEB)) 245 day--; 248 day [all...] |
/freebsd-11-stable/contrib/ntp/util/ |
H A D | tg.c | 31 * string yydddhhmmss, where yy is the year of century, ddd the day of 32 * year, hh the hour of day and mm the minute of hour. For instance, 159 {COEF, 1}, /* 30 1 day units */ 164 {COEF, 1}, /* 35 10 day tens */ 169 {COEF, 1}, /* 40 100 day hundreds */ 263 int minute, hour, day, year; local 311 sscanf(optarg, "%2d%3d%2d%2d", &year, &day, 356 day = tm->tm_yday + 1; 375 printf("year %d day %d time %02d:%02d:%02d tone %d\n", 376 year, day, hou [all...] |
/freebsd-11-stable/crypto/heimdal/doc/ |
H A D | mdate-sh | 41 # Find the month. Next argument is day, followed by the year or time. 62 day=$2 65 # the time of day or the year. 92 echo $day $month $year
|
/freebsd-11-stable/sys/mips/cavium/ |
H A D | octeon_ds1337.c | 83 CT_CHECK(ct->day < 1 || ct->day > 31, "day"); 84 CT_CHECK(ct->dow < 0 || ct->dow > 6, "day of week"); 128 ct.day = bcd2bin(reg[4] & 0x3f); 177 reg[4] = bin2bcd(ct.day);
|
/freebsd-11-stable/sys/arm/nvidia/ |
H A D | as3722_rtc.c | 62 ct.day = bcd2bin(buf[3] & 0x3F); 87 buf[3] = bin2bcd(ct.day);
|
/freebsd-11-stable/sys/arm/at91/ |
H A D | at91_rtcreg.h | 81 #define RTC_CALR_MK(yr, mon, day, dow) \ 86 (TOBCD(day) << RTC_CALR_DAY_S))
|