HomeSort by: relevance | last modified time | path
    Searched defs:leap (Results 1 - 17 of 17) sorted by relevancy

  /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/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...]
tg2.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.
178 * - Added leap second pending and DST change pending into IEEE 1344.
183 * - Added leap second addition and deletion.
325 #define LEAP (4) /* leap warning */
342 {LEAP, 0}, /* 3 leap warning *
520 int leap = 0; \/* leap indicator *\/ variable
    [all...]
  /src/external/bsd/ntp/dist/ntpd/
refclock_datum.c 146 u_char leap; /* funny leap character code */ member in struct:datum_pts_unit
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_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_chu.c 96 * 2 Leap second warning. One second will be added.
97 * 4 Leap second warning. One second will be subtracted.
167 * l leap second indicator (space, L or D)
365 int leap; /* leap/dut code */ member in struct:chuunit
1154 if (sscanf((char *)code, "%1x%1d%4d%2d%2x", &up->leap, &up->dut,
1160 if (up->leap & 0x8)
1371 pp->leap = LEAP_NOTINSYNC;
1373 } else if (up->leap & 0x2) {
1374 pp->leap = LEAP_ADDSECOND
    [all...]
refclock_nmea.c 142 * LS -- GPS leap seconds, accumulated ( UTC + LS == GPS )
185 * UTC due to not respecting leap seconds since 1970 or so. Other
789 pp->leap = parse_qual(&rdata, 2, 'A', 0);
801 pp->leap = parse_qual(&rdata, 6, '0', 1);
809 pp->leap = parse_qual(&rdata, 6, 'A', 0);
826 pp->leap = parse_qual(&rdata, 4, '0', 1);
841 pp->leap = parse_qual(&rdata, 11, '0', 1);
864 pp->leap = LEAP_NOWARNING;
868 if (pp->leap == LEAP_NOTINSYNC) { /* no good status? */
896 if (up->ppsapi_lit && pp->leap != LEAP_NOTINSYNC
1699 uint16_t week, leap = 0; local
    [all...]
  /src/external/bsd/ntp/dist/ntpdate/
ntpdate.h 22 u_char leap; /* leap indicator */ member in struct:server
  /src/external/bsd/ntp/dist/sntp/
networking.h 58 u_char leap; member in struct:speer
  /src/usr.bin/cal/
cal.c 94 /* leap years according to the julian calendar */
99 /* leap years according to the gregorian calendar */
105 /* leap year -- account for gregorian reformation at some point */
110 /* number of julian leap days that have passed by a given date */
114 /* number of gregorian leap days that have passed by a given date */
120 * Subtracting the gregorian leap day count (for a given date) from
121 * the julian leap day count (for the same date) describes the number
138 * leap years (leap days celebrated during centennial years that are
151 /* number of leap years between year 1 and this year, not inclusive *
533 int i, leap; local
    [all...]
  /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
ntp_request.h 400 u_char leap; /* peer.leap */ member in struct:info_peer
500 u_char leap; /* system leap bits */ member in struct:info_sys
ntp.h 51 * LEAP YEAR test for full 4-digit years (e.g, 1999, 2010)
57 * LEAP YEAR test for tm_year (struct tm) years (e.g, 99, 110)
299 u_char leap; /* local leap indicator */ member in struct:peer
417 * Values for peer.leap, sys_leap
419 #define LEAP_NOWARNING 0x0 /* normal, no leap second warning */
553 u_char li_vn_mode; /* peer leap indicator */
658 #define EVNT_ARMED 9 /* leap armed */
659 #define EVNT_DISARMED 10 /* leap disarmed */
660 #define EVNT_LEAP 11 /* leap event *
    [all...]
  /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/wpa/dist/wpa_supplicant/
config_ssid.h 392 * leap - Number of EAP methods using LEAP
394 * This field should be set to 1 if LEAP is enabled. This is used to
397 int leap; member in struct:wpa_ssid
400 * non_leap - Number of EAP methods not using LEAP
402 * This field should be set to >0 if any EAP method other than LEAP is

Completed in 53 milliseconds