| /src/external/bsd/ntp/dist/scripts/ntp-wait/ |
| ntp-wait.in | 36 if (!exists $info->{status_line}{leap}) { 41 my $leap = $info->{status_line}{leap}; 44 if ($leap =~ /(sync|leap)_alarm/) { 50 if ($leap =~ /leap_(none|((add|del)_sec))/) { 56 print "\bUnexpected 'leap' status <$leap>\n";
|
| /src/external/bsd/ntp/dist/ntpd/ |
| refclock_local.c | 122 pp->leap = LEAP_NOTINSYNC; 136 * system calls, the leap bits are extracted from the kernel. If there 137 * is a kernel error or the kernel leap bits are set to 11, the NTP leap 139 * NTP leap bits are set to the kernel leap bits and the stratum is set 183 * the leap bits and quality indicators from the kernel. 189 pp->leap = LEAP_NOWARNING; 194 pp->leap = LEAP_ADDSECOND; 199 pp->leap = LEAP_DELSECOND [all...] |
| refclock_acts.c | 730 u_int leap; /* ACTS leap indicator */ local 737 char leapchar; /* WWVB leap indicator */ 741 int leapmonth; /* PTB/NPL month of leap */ 742 char leapdir; /* PTB/NPL leap direction */ 772 &pp->minute, &pp->second, &dst, &leap, &dut1, 778 pp->leap = LEAP_NOWARNING; 779 if (leap == 1) 780 pp->leap = LEAP_ADDSECOND; 781 else if (leap == 2 [all...] |
| refclock_hopfpci.c | 76 #define LEWAPWAR 0x20 /* leap second warning bit */ 90 char leap_status; /* leap second flag */ 213 pp->leap = LEAP_ADDSECOND; 215 pp->leap = LEAP_NOWARNING; 231 pp->leap = LEAP_NOTINSYNC; 243 pp->leap = LEAP_NOTINSYNC;
|
| refclock_hopfser.c | 86 char leap_status; /* leap second flag */ 259 (pp->second > 60) /*Allow for leap seconds.*/ || 271 pp->leap=0; 296 pp->leap = LEAP_NOTINSYNC; 305 pp->leap = LEAP_NOTINSYNC; 317 pp->leap = LEAP_NOTINSYNC;
|
| refclock_ulink.c | 200 char leapchar; /* leap indicator */ 271 * + Leap year indicator. '+' if a leap year, 286 * L Leap second flag. Changes from space (0x20) 287 * to 'I' or 'D' during month preceding leap 343 * + Leap year indicator. '+' if a leap year, 358 * L Leap second flag. Changes from space (0x20) 359 * to '+' or '-' during month preceding leap 415 * + = '+' if current year is a leap year, else ' [all...] |
| refclock_tsyncpci.c | 94 #define TSYNC_LEAP_IID (0x2307) // CS CAI, LEAP SEC IID 200 ** TSYNC Leap Second Object 505 msyslog(LOG_ERR, "Couldn't allocate transaction memory - Leap Second"); 520 /* Read the leap seconds info from the TSYNC-PCI device */ 557 // Extract leap second info from ioctl payload and perform byte swapping 653 // Subtract leap second info by one second to determine effective day 656 // If there is a leap second today and the KTS is using a time scale 657 // which handles leap seconds then 665 pp->leap = LEAP_ADDSECOND; 670 pp->leap = LEAP_DELSECOND [all...] |
| refclock_shm.c | 103 int leap; member in struct:shmTime 374 int leap; member in struct:shm_stat_t 503 * leap field is not a leap offset but a leap notification code. 507 shm_stat->leap = shmcopy.leap; 637 pp->leap = shm_stat.leap;
|
| refclock_heath.c | 177 * leap. 353 * the residue of the seconds mod the seconds in a leap cycle. 385 pp->leap = LEAP_NOTINSYNC; 388 pp->leap = LEAP_NOWARNING;
|
| refclock_pcf.c | 221 pp->leap = LEAP_NOTINSYNC; 223 pp->leap = LEAP_NOWARNING;
|
| refclock_tpro.c | 192 pp->leap = LEAP_NOTINSYNC; 194 pp->leap = LEAP_NOWARNING;
|
| refclock_tt560.c | 224 pp->leap = LEAP_NOTINSYNC; 226 pp->leap = LEAP_NOWARNING;
|
| refclock_hpgps.c | 110 * Viva la leap. 471 /* not a leap year */ 479 /* a leap year */ 534 pp->leap = LEAP_NOTINSYNC; 537 pp->leap = LEAP_NOWARNING; 544 * Ignore leap announcements unless June or December. 550 pp->leap = LEAP_ADDSECOND; 555 pp->leap = LEAP_DELSECOND; 561 printf("hpgps: unrecognized leap indicator: %c\n",
|
| refclock_wwvb.c | 82 * but is set to 'L' early in the month of an upcoming UTC leap second 265 char leapchar; /* leap indicator */ 393 * Decode synchronization, quality and leap characters. If 394 * unsynchronized, set the leap bits accordingly and exit. 395 * Otherwise, set the leap bits according to the leap character. 428 pp->leap = LEAP_NOTINSYNC; 430 pp->leap = LEAP_ADDSECOND; 432 pp->leap = LEAP_NOWARNING;
|
| refclock_palisade.c | 699 up->month = (mmday >> 5); /* Save for LEAP check */ 705 pp->leap = LEAP_ADDSECOND; 707 pp->leap = LEAP_DELSECOND; 710 pp->leap = LEAP_NOWARNING; 715 pp->leap = LEAP_NOTINSYNC; 764 pp->leap = LEAP_ADDSECOND; /* we ASSUME addsecond */ 766 pp->leap = LEAP_NOWARNING; 770 printf("TSIP_decode: unit %d: 0x%02x leap %d\n", 771 up->unit, mb(0) & 0xff, pp->leap); 830 pp->leap = LEAP_NOTINSYNC [all...] |
| /src/sys/dev/ |
| clock_subr.c | 70 * time from the epoch to 2001 (there were 8 leap years): */ 73 /* 4 year intervals include 1 leap year */ 76 /* 100 year intervals include 24 leap years */ 79 /* 400 year intervals include 97 leap years */ 144 int leap; local 185 for (leap = 0, i = 1; days >= days_in_month(i)+leap; i++) { 186 days -= days_in_month(i)+leap; 188 leap = 1; 190 leap = 0 [all...] |
| /src/lib/libc/time/ |
| Makefile | 133 # seconds since the epoch (not counting leap seconds), use 136 # as seconds since the epoch (counting leap seconds), use 138 # below. If you want both sets of data available, with leap seconds not 141 # below. If you want both sets of data available, with leap seconds counted 144 # below. POSIX mandates that leap seconds not be counted, and a 147 # leap smearing; this can work better than unsmeared "right" time with 148 # applications that are not leap second aware, and is closer to unsmeared 165 # (optionally incorporating leap second information), use 167 # To install text data without leap second information (e.g., because 331 # -DTZ_RUNTIME_LEAPS=0 to disable runtime support for leap seconds [all...] |
| /src/external/public-domain/tz/dist/ |
| Makefile | 133 # seconds since the epoch (not counting leap seconds), use 136 # as seconds since the epoch (counting leap seconds), use 138 # below. If you want both sets of data available, with leap seconds not 141 # below. If you want both sets of data available, with leap seconds counted 144 # below. POSIX mandates that leap seconds not be counted, and a 147 # leap smearing; this can work better than unsmeared "right" time with 148 # applications that are not leap second aware, and is closer to unsmeared 165 # (optionally incorporating leap second information), use 167 # To install text data without leap second information (e.g., because 331 # -DTZ_RUNTIME_LEAPS=0 to disable runtime support for leap seconds [all...] |
| /src/external/bsd/ntp/dist/sntp/ |
| main.h | 21 void set_li_vn_mode(struct pkt *spkt, char leap, char version, char mode);
|
| /src/external/bsd/ntp/dist/util/ |
| sht.c | 41 int leap; member in struct:shmTime 134 printf (" lnnnn set leap to nnn\n"); 156 p->leap=atoi(argp+1); 179 printf (" leap=%d, precision=%d, nsamples=%d, valid=%d\n", 180 p->leap, p->precision, p->nsamples, p->valid);
|
| tg.c | 19 * a leap second in UTC. Note however, the ultimate accuracy is limited 35 * 1946Z on 1 January 2006 is 060011946. The l option lights the leap 37 * behavior at the next leap second epoch. The remaining options are 45 * left to right. For WWV/H The leap warning L preceeds the first bit. 122 #define LEAP 4 /* leap warning */ 134 {LEAP, 0}, /* 3 leap warning */ 191 {DATA, DATA0}, /* 60 leap */ 245 int leap = 0; /* leap indicator * variable [all...] |
| /src/external/bsd/ntp/dist/ntpdate/ |
| ntpdate.h | 22 u_char leap; /* leap indicator */ member in struct:server
|
| /src/external/bsd/openldap/dist/servers/slapd/ |
| syslog.c | 234 /* Leap years. */ 244 int leap; 273 leap = ISLEAP(y); 274 while (days < 0 || days >= (leap ? 366 : 365)) 287 ip = __mon_yday[leap];
|
| /src/sys/arch/arm/sunxi/ |
| sunxi_rtc.c | 97 uint32_t leap, year, month, day; member in struct:sunxi_rtc_config 113 .leap = SUN4I_RTC_LEAP, 127 .leap = SUN6I_RTC_LEAP, 144 .leap = SUN7I_RTC_LEAP, 158 .leap = SUN6I_RTC_LEAP, 175 .leap = SUN6I_RTC_LEAP, 192 .leap = SUN6I_RTC_LEAP, 208 .leap = SUN6I_RTC_LEAP, 226 .leap = SUN6I_RTC_LEAP,
|
| /src/external/bsd/ntp/dist/include/ |
| ntp_refclock.h | 59 * refclock_receive. ORed in leap 86 u_char leap; /* leap bits */ member in struct:refclockstat 146 u_char leap; /* leap/synchronization code */ member in struct:refclockproc
|