Home
last modified time | relevance | path

Searched refs:leap (Results 1 – 25 of 124) sorted by relevance

12345

/freebsd/contrib/ntp/scripts/update-leap/
H A DMakefile.am32 update-leap-opts \
35 update-leap.in \
38 update-leap.sh \
39 update-leap.texi \
40 update-leap.html \
53 update-leap-opts \
56 $(srcdir)/update-leap: $(srcdir)/update-leap-opts
59 $(srcdir)/update-leap-opts: update-leap-opts.def $(std_def_list)
69 mv $(srcdir)/update-leap.man.in+ $(srcdir)/update-leap.man.in
78 mv $(srcdir)/update-leap.mdoc.in+ $(srcdir)/update-leap.mdoc.in
[all …]
H A Dupdate-leap.texi3 @setfilename update-leap.info
4 @settitle update-leap User's Manual
10 This file documents the use of @code{update-leap},
18 * update-leap: (update-leap). Check the leapfile and update it if needed.
22 @title update-leap User's Manual
23 @subtitle update-leap, version @value{VERSION}, @value{UPDATED}
30 @node Top, update-leap Description, (dir), (dir)
34 This document applies to version @value{VERSION} of @code{update-leap}.
39 * update-leap Description:: Description
40 * update-leap Invocation:: Invoking update-leap
[all …]
H A Dinvoke-update-leap.texi1 @node update-leap Invocation
2 @section Invoking update-leap
3 @pindex update-leap
16 @code{update-leap}
45 * update-leap usage:: update-leap help/usage (@option{--help})
57 @node update-leap usage
59 @cindex update-leap help
159 @node update-leap ipv4
161 @cindex update-leap-ipv4
241 @node update-leap Usage
[all …]
H A DMakefile.in493 update-leap-opts \
496 update-leap.in \
499 update-leap.sh \
500 update-leap.texi \
548 update-leap: $(top_builddir)/config.status $(srcdir)/update-leap.in
936 $(srcdir)/update-leap: $(srcdir)/update-leap-opts
939 $(srcdir)/update-leap-opts: update-leap-opts.def $(std_def_list)
949 mv $(srcdir)/update-leap.man.in+ $(srcdir)/update-leap.man.in
958 mv $(srcdir)/update-leap.mdoc.in+ $(srcdir)/update-leap.mdoc.in
964 mv update-leap.$(UPDATE_LEAP_MS)+ update-leap.$(UPDATE_LEAP_MS)
[all …]
H A Dupdate-leap-opts1 # EDIT THIS FILE WITH CAUTION (update-leap-opts)
4 # From the definitions update-leap-opts.def
49 update-leap - leap-seconds file manager/updater - Ver. 4.2.8p18
50 USAGE: update-leap [ -<flag> [<val>] | --<name>[{=| }<val>] ]...
H A Dinvoke-update-leap.menu1 * update-leap Invocation:: Invoking update-leap
H A Dupdate-leap-opts.def6 prog-name = 'update-leap';
7 prog-title = 'leap-seconds file manager/updater';
121 and if necessary, updates leap-second definition file.
136 This can be run as a cron job. As the file is rarely updated, and leap
/freebsd/contrib/ntp/
H A DREADME.leapsmear17 prescribed way to handle leap seconds in POSIX.
19 Whenever a leap second is to be handled ntpd either:
24 - applies the leap second correction itself.
28 approaching leap second, and can handle the leap second appropriately.
58 slewed by the client to compensate the leap second.
89 leap second.
161 works around kernel bugs due to the leap second.
202 - Even if ntpd has been compiled to enable leap smearing support, leap
220 to use a leap second file. If they had a leap second file they would apply
233 If an NTP server should perform leap smearing then the leap smear interval
[all …]
/freebsd/contrib/tzdata/
H A Dleapseconds1 # Allowance for leap seconds added to each time zone file.
6 # NIST/IERS format leap-seconds.list file, which can be copied from
7 # <https://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-seconds.list>
9 # <ftp://ftp.boulder.nist.gov/pub/time/leap-seconds.list>.
10 # For more about leap-seconds.list, please see
12 # <https://www.eecis.udel.edu/~mills/leap.html>.
22 # and publishes leap second data in a copyrighted file
24 # See: Levine J. Coordinated Universal Time and the leap second.
34 # All leap-seconds are Stationary (S) at the given UTC time.
68 # UTC timestamp when this leap second list expires.
[all …]
H A DMakefile593 LEAP_DEPS= leapseconds.awk leap-seconds.list
623 leap-seconds.list leapseconds.awk localtime.c \
726 -f leapseconds.awk leap-seconds.list >$@.out
741 fetch-leap-seconds.list:
745 commit-leap-seconds.list: fetch-leap-seconds.list
749 leap-seconds.list
1000 $(ZIC) $$leap -d $@.dir $(DATAFORM).zi && \
1001 $(ZIC) $$leap -d $@-shrunk.dir tzdata.zi && \
1004 $(ZIC) $$leap -d $@-t.dir $(TDATA) && \
1006 $(ZIC) $$leap -d $@-t.dir - $(PACKRATDATA) && \
[all …]
H A Dleap-seconds.list20 # than 0.9 second. Therefore, when necessary a "leap second" is applied to UTC.
24 # theorically possible to have a negative leap second (a second removed from UTC), but so far,
25 # all leap seconds have been positive (a second has been added to UTC). Based on what we know about
26 # the earth's rotation, it is unlikely that we will ever have a negative leap second.
30 # The first leap second was added on June 30, 1972. Until yhe year 2000, it was necessary in averag…
31 # leap second at a rate of 1 to 2 years. Since the year 2000 leap seconds are introduced with…
36 # The decision to introduce a leap second in UTC is the responsibility of the Earth Orientation Cen…
38 # Observatory. According to international agreements, leap seconds should only be scheduled for cer…
40 # and September. Since the introduction of leap seconds in 1972, only dates in June and December we…
/freebsd/contrib/ntp/scripts/ntp-wait/
H A Dntp-wait.in36 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";
/freebsd/contrib/ntp/ntpd/
H A Drefclock_local.c120 pp->leap = LEAP_NOTINSYNC; in local_start()
187 pp->leap = LEAP_NOWARNING; in local_poll()
192 pp->leap = LEAP_ADDSECOND; in local_poll()
197 pp->leap = LEAP_DELSECOND; in local_poll()
202 pp->leap = LEAP_NOTINSYNC; in local_poll()
208 pp->leap = LEAP_NOWARNING; in local_poll()
H A Drefclock_acts.c776 pp->leap = LEAP_NOWARNING; in acts_timecode()
777 if (leap == 1) in acts_timecode()
778 pp->leap = LEAP_ADDSECOND; in acts_timecode()
779 else if (leap == 2) in acts_timecode()
780 pp->leap = LEAP_DELSECOND; in acts_timecode()
804 pp->leap = LEAP_NOWARNING; in acts_timecode()
821 pp->leap = LEAP_NOWARNING; in acts_timecode()
844 pp->leap = LEAP_NOWARNING; in acts_timecode()
846 pp->leap = LEAP_NOTINSYNC; in acts_timecode()
863 pp->leap = LEAP_NOWARNING; in acts_timecode()
[all …]
H A Drefclock_hopfpci.c211 pp->leap = LEAP_ADDSECOND; in hopfpci_poll()
213 pp->leap = LEAP_NOWARNING; in hopfpci_poll()
229 pp->leap = LEAP_NOTINSYNC; in hopfpci_poll()
241 pp->leap = LEAP_NOTINSYNC; in hopfpci_poll()
H A Drefclock_tsyncpci.c663 pp->leap = LEAP_ADDSECOND; in tsync_poll()
668 pp->leap = LEAP_DELSECOND; in tsync_poll()
674 pp->leap = LEAP_NOWARNING; in tsync_poll()
680 pp->leap = LEAP_NOWARNING; in tsync_poll()
683 peer->leap = pp->leap; in tsync_poll()
752 pp->leap = LEAP_NOTINSYNC; in tsync_poll()
753 peer->leap = pp->leap; in tsync_poll()
H A Drefclock_hopfser.c269 pp->leap=0; in hopfserial_receive()
294 pp->leap = LEAP_NOTINSYNC; in hopfserial_receive()
303 pp->leap = LEAP_NOTINSYNC; in hopfserial_receive()
315 pp->leap = LEAP_NOTINSYNC; in hopfserial_receive()
H A Drefclock_ulink.c514 pp->leap = LEAP_NOTINSYNC; in ulink_receive()
516 pp->leap = LEAP_ADDSECOND; in ulink_receive()
518 pp->leap = LEAP_DELSECOND; in ulink_receive()
520 pp->leap = LEAP_NOWARNING; in ulink_receive()
H A Drefclock_shm.c101 int leap; member
372 int leap; member
505 shm_stat->leap = shmcopy.leap; in shm_query()
635 pp->leap = shm_stat.leap; in shm_timer()
/freebsd/usr.sbin/ntp/ntpd/
H A Dleap-seconds71 # 4. The decision to insert a leap second into UTC is currently
86 # of dropping seconds ("negative" leap seconds), this has
93 # leap second is not well defined. The official name of that leap
101 # is used for the second time. Thus the leap second which
133 # during the leap second does not arise.
135 # Some systems implement leap seconds by amortizing the leap second
151 # Last Update of leap second values: 8 July 2016
155 # the leap second data was added to the file. This line can
179 # file name leap-seconds to form the name leap-seconds.<NTP TIME>.
189 # at least twice per year whether or not a new leap second is
[all …]
/freebsd/contrib/tzcode/
H A DMakefile593 LEAP_DEPS= leapseconds.awk leap-seconds.list
623 leap-seconds.list leapseconds.awk localtime.c \
726 -f leapseconds.awk leap-seconds.list >$@.out
741 fetch-leap-seconds.list:
745 commit-leap-seconds.list: fetch-leap-seconds.list
749 leap-seconds.list
1000 $(ZIC) $$leap -d $@.dir $(DATAFORM).zi && \
1001 $(ZIC) $$leap -d $@-shrunk.dir tzdata.zi && \
1004 $(ZIC) $$leap -d $@-t.dir $(TDATA) && \
1006 $(ZIC) $$leap -d $@-t.dir - $(PACKRATDATA) && \
[all …]
/freebsd/contrib/file/magic/Magdir/
H A Dtimezone18 >28 belong 0 \b, no leap seconds
19 >28 belong 1 \b, 1 leap second
20 >28 belong >1 \b, %d leap seconds
/freebsd/contrib/ntp/util/
H A Dtg.c243 int leap = 0; /* leap indicator */ variable
291 leap++; in main()
425 if (leap) { in main()
428 leap = 0; in main()
525 if (leap) { in main()
H A Dsht.c39 int leap; member
154 p->leap=atoi(argp+1); in main()
178 p->leap, p->precision, p->nsamples, p->valid); in main()
/freebsd/contrib/ntp/scripts/stats/
H A DREADME.stats227 UTC leap-second information
229 These data determine when the next leap second is to occur. The exact
236 +9.0000E+00 current leap seconds (s)
237 +2.0480E+05 time for leap seconds (s)
238 +2.0100E+02 week number for delta leap (weeks)
239 +1.9100E+02 week number for future leap (weeks)
240 +4.0000E+00 day number for future leap (days)
241 +9.0000E+00 future leap seconds (s)

12345