Searched refs:leap (Results 1 - 25 of 69) sorted by relevance

123

/macosx-10.10/ntp-92/scripts/
H A Dntp-wait.in26 my $leap = $2;
29 # print "status <$status>, leap <$leap>, sync <$sync>\n";
30 last if ($leap =~ /(sync|leap)_alarm/);
31 if ($leap =~ /leap_(none|((add|del)_sec))/) {
36 print "\bUnexpected 'leap' status <$leap>\n";
/macosx-10.10/ntp-92/ntpd/
H A Drefclock_local.c58 * If fudge flag1 is lit, the leap second bit is set in the peer
59 * status word. It should be set early in the day of a leap second
128 pp->leap = LEAP_NOTINSYNC;
142 * system calls, the leap bits are extracted from the kernel. If there
143 * is a kernel error or the kernel leap bits are set to 11, the NTP leap
145 * NTP leap bits are set to the kernel leap bits and the stratum is set
191 * the leap bits and quality indicators from the kernel.
197 pp->leap
[all...]
H A Drefclock_acts.c442 u_int leap; /* ACTS leap indicator */ local
449 char leapchar; /* WWVB leap indicator */
453 u_int leapmonth; /* PTB/NPL month of leap */
454 char leapdir; /* PTB/NPL leap direction */
484 &pp->minute, &pp->second, &dst, &leap, &dut1,
499 pp->leap = LEAP_NOWARNING;
500 if (leap == 1)
501 pp->leap = LEAP_ADDSECOND;
502 else if (pp->leap
[all...]
H A Drefclock_hopfpci.c74 #define LEWAPWAR 0x20 /* leap second warning bit */
88 char leap_status; /* leap second flag */
220 pp->leap = LEAP_ADDSECOND;
222 pp->leap = LEAP_NOWARNING;
236 pp->leap = LEAP_NOTINSYNC;
248 pp->leap = LEAP_NOTINSYNC;
H A Drefclock_hopfser.c90 char leap_status; /* leap second flag */
269 (pp->second < 0) || (pp->second > 60) /*Allow for leap seconds.*/ ||
281 pp->leap=0;
306 pp->leap = LEAP_NOTINSYNC;
315 pp->leap = LEAP_NOTINSYNC;
327 pp->leap = LEAP_NOTINSYNC;
H A Drefclock_ulink.c216 char leapchar; /* leap indicator */
287 * + Leap year indicator. '+' if a leap year,
303 * to 'I' or 'D' during month preceding leap
359 * + Leap year indicator. '+' if a leap year,
375 * to '+' or '-' during month preceding leap
430 * + = '+' if current year is a leap year, else ' '
526 * Decode synchronization, and leap characters. If
527 * unsynchronized, set the leap bits accordingly and exit.
528 * Otherwise, set the leap bits according to the leap characte
[all...]
H A Drefclock_nmea.c584 pp->leap = LEAP_NOTINSYNC;
586 pp->leap = LEAP_NOWARNING;
598 pp->leap = LEAP_NOTINSYNC;
600 pp->leap = LEAP_NOWARNING;
612 pp->leap = LEAP_NOTINSYNC;
614 pp->leap = LEAP_NOWARNING;
627 pp->leap = LEAP_NOTINSYNC;
629 pp->leap = LEAP_NOWARNING;
631 pp->leap = LEAP_NOWARNING;
H A Drefclock_heath.c175 * leap.
349 * the residue of the seconds mod the seconds in a leap cycle.
381 pp->leap = LEAP_NOTINSYNC;
384 pp->leap = LEAP_NOWARNING;
H A Drefclock_pcf.c218 pp->leap = LEAP_NOTINSYNC;
220 pp->leap = LEAP_NOWARNING;
H A Drefclock_tpro.c194 pp->leap = LEAP_NOTINSYNC;
196 pp->leap = LEAP_NOWARNING;
H A Drefclock_tt560.c223 pp->leap = LEAP_NOTINSYNC;
225 pp->leap = LEAP_NOWARNING;
H A Drefclock_hpgps.c108 * Viva la leap.
469 /* not a leap year */
477 /* a leap year */
532 pp->leap = LEAP_NOTINSYNC;
535 pp->leap = LEAP_NOWARNING;
542 * Ignore leap announcements unless June or December.
548 pp->leap = LEAP_ADDSECOND;
553 pp->leap = LEAP_DELSECOND;
559 printf("hpgps: unrecognized leap indicator: %c\n",
H A Drefclock_shm.c91 int leap; member in struct:shmTime
365 pp->leap=shm->leap;
/macosx-10.10/JavaScriptCore-7600.1.17/tests/mozilla/ecma/
H A Dshell.js380 var leap = InLeapYear(t);
385 if ( (31 <= day) && (day < (59+leap)) ) {
388 if ( ((59+leap) <= day) && (day < (90+leap)) ) {
391 if ( ((90+leap) <= day) && (day < (120+leap)) ) {
394 if ( ((120+leap) <= day) && (day < (151+leap)) ) {
397 if ( ((151+leap) <= day) && (day < (181+leap)) ) {
[all...]
H A Djsref.js339 var leap = InLeapYear(t);
344 if ( (31 <= day) && (day < (59+leap)) ) {
347 if ( ((59+leap) <= day) && (day < (90+leap)) ) {
350 if ( ((90+leap) <= day) && (day < (120+leap)) ) {
353 if ( ((120+leap) <= day) && (day < (151+leap)) ) {
356 if ( ((151+leap) <= day) && (day < (181+leap)) ) {
[all...]
/macosx-10.10/JavaScriptCore-7600.1.17/tests/mozilla/ecma_3/Date/
H A Dshell.js347 var leap = InLeapYear(t);
351 if ( (31 <= day) && (day < (59+leap) )) {return 1;}
352 if ( ((59+leap) <= day) && (day < (90+leap) )) {return 2;}
353 if ( ((90+leap) <= day) && (day < (120+leap) )) {return 3;}
354 if ( ((120+leap) <= day) && (day < (151+leap) )) {return 4;}
355 if ( ((151+leap) <= day) && (day < (181+leap) )) {retur
[all...]
/macosx-10.10/JavaScriptCore-7600.1.17/tests/mozilla/ecma_2/
H A Djsref.js299 var leap = InLeapYear(t);
304 if ( (31 <= day) && (day < (59+leap)) ) {
307 if ( ((59+leap) <= day) && (day < (90+leap)) ) {
310 if ( ((90+leap) <= day) && (day < (120+leap)) ) {
313 if ( ((120+leap) <= day) && (day < (151+leap)) ) {
316 if ( ((151+leap) <= day) && (day < (181+leap)) ) {
[all...]
/macosx-10.10/ksh-23/ksh/src/lib/libast/tm/
H A Dtmxleap.c33 * return t with leap seconds adjusted
47 for (lp = &tm_data.leap[0]; sec < (lp->time - lp->total); lp++);
H A Dtmdata.c181 * leap second time_t and accumulated adjustments
184 * tl.time is the seconds since the epoch for the leap event
190 static Tm_leap_t leap[] = variable
282 Tm_data_t _tm_data_ = { format, lex, digit, days, sum, leap, zone };
/macosx-10.10/ntp-92/util/
H A Dsht.c36 int leap; member in struct:shmTime
122 printf (" lnnnn set leap to nnn\n");
132 p->leap=atoi(&argv[1][1]);
155 printf (" leap=%d, precision=%d, nsamples=%d, valid=%d\n",
156 p->leap, p->precision, p->nsamples, p->valid);
H A Dtg.c17 * a leap second in UTC. Note however, the ultimate accuracy is limited
33 * 1946Z on 1 January 2006 is 060011946. The l option lights the leap
35 * behavior at the next leap second epoch. The remaining options are
43 * left to right. For WWV/H The leap warning L preceeds the first bit.
120 #define LEAP 4 /* leap warning */
132 {LEAP, 0}, /* 3 leap warning */
189 {DATA, DATA0}, /* 60 leap */
243 int leap = 0; /* leap indicator */ variable
290 case 'l': /* set leap warnin
[all...]
/macosx-10.10/ntp-92/ntpdate/
H A Dntpdate.h20 u_char leap; /* leap indicator */ member in struct:server
/macosx-10.10/ntp-92/libsntp/
H A Dlibsntp_query.c28 void set_li_vn_mode (struct pkt *spkt, char leap, char version, char mode);
324 char leap,
330 if(leap > 3) {
331 debug_msg("set_li_vn_mode: leap > 3 using max. 3");
332 leap = 3;
340 spkt->li_vn_mode = leap << 6;
/macosx-10.10/ntp-92/sntp/
H A Dmain.c25 void set_li_vn_mode (struct pkt *spkt, char leap, char version, char mode);
374 char leap,
380 if(leap > 3) {
381 debug_msg("set_li_vn_mode: leap > 3 using max. 3");
382 leap = 3;
390 spkt->li_vn_mode = leap << 6;
372 set_li_vn_mode( struct pkt *spkt, char leap, char version, char mode ) argument
/macosx-10.10/ntp-92/include/
H A Dntp_refclock.h90 * refclock_receive. ORed in leap
116 u_char leap; /* leap bits */ member in struct:refclockstat
181 u_char leap; /* leap/synchronization code */ member in struct:refclockproc

Completed in 134 milliseconds

123