Home
last modified time | relevance | path

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

12

/openbsd/src/gnu/usr.bin/perl/
Dtime64.c323 int leap; in Perl_gmtime64_r() local
404 leap = IS_LEAP (year); in Perl_gmtime64_r()
405 while (m >= (Time64_T) length_of_year[leap]) { in Perl_gmtime64_r()
406 m -= (Time64_T) length_of_year[leap]; in Perl_gmtime64_r()
408 leap = IS_LEAP (year); in Perl_gmtime64_r()
413 while (m >= (Time64_T) days_in_month[leap][v_tm_mon]) { in Perl_gmtime64_r()
414 m -= (Time64_T) days_in_month[leap][v_tm_mon]; in Perl_gmtime64_r()
430 leap = IS_LEAP (year); in Perl_gmtime64_r()
431 while (m < (Time64_T) -length_of_year[leap]) { in Perl_gmtime64_r()
432 m += (Time64_T) length_of_year[leap]; in Perl_gmtime64_r()
[all …]
/openbsd/src/share/zoneinfo/datfiles/
Dleap-seconds.list1 # $OpenBSD: leap-seconds.list,v 1.5 2025/01/19 22:03:27 millert Exp $
21 # than 0.9 seconds. Therefore, when necessary a "leap second" is applied to UTC.
25 # theoretically possible to have a negative leap second (a second removed from UTC), but so far,
26 # all leap seconds have been positive (a second has been added to UTC). Based on what we know about
27 # the earth's rotation, it is unlikely that we will ever have a negative leap second.
31 # The first leap second was added on June 30, 1972. Until the year 2000, it was necessary in averag…
32 # leap second at a rate of 1 to 2 years. Since the year 2000 leap seconds are introduced with…
37 # The decision to introduce a leap second in UTC is the responsibility of the Earth Orientation Cen…
39 # Observatory. According to international agreements, leap seconds should be scheduled only for cer…
41 # and September. Since the introduction of leap seconds in 1972, only dates in June and December we…
Detcetera24 # Functions like gmtime load the "GMT" file to handle leap seconds properly.
Dnorthamerica3470 # The alterpresse.org source seems to show a US-style leap from 2:00 a.m. to
/openbsd/src/usr.bin/cal/
DREADME13 add the number of leap years (days?) since year 1
16 this compensates for the non-inclusive leap year
31 It must be noted that the number of leap years calculation is sensitive
32 to the date for which the leap year is being calculated. A year that occurs
33 before the reformation is determined to be a leap year if its modulo of
34 4 equals zero. But after the reformation, a year is only a leap year if
37 zero, then the year is a leap year anyway. This is, in fact, what the
Dcal.c447 int i, leap; in day_in_year() local
449 leap = leap_year(year); in day_in_year()
451 day += days_in_month[leap][i]; in day_in_year()
/openbsd/src/usr.bin/file/magdir/
Dtimezone18 >28 belong 0 \b, no leap seconds
19 >28 belong 1 \b, 1 leap second
20 >28 belong >1 \b, %d leap seconds
/openbsd/src/share/zoneinfo/
DMakefile110 leapseconds: leapseconds.awk datfiles/leap-seconds.list
112 ${.CURDIR}/datfiles/leap-seconds.list >${.OBJDIR}/$@.out
144 ${INSTALL} -c -o root -g bin -m 644 ${.CURDIR}/datfiles/leap-seconds.list \
/openbsd/src/sys/dev/fdt/
Dacrtc.c200 uint16_t leap = isleap(dt->dt_year) ? RTC_YEA_LEAP_YEAR : 0; in acrtc_clock_write() local
208 acrtc_write_reg(sc, RTC_YEA, TOBCD(dt->dt_year - 2000) | leap); in acrtc_clock_write()
/openbsd/src/lib/libc/time/
DREADME36 Since POSIX frowns on correct leap second handling, the default behavior of
38 leap second information from its output files.
DTheory97 * POSIX requires that systems ignore leap seconds.
150 * These functions can account for leap seconds, thanks to Bradley White.
440 those unsightly calendar gaps :-), they simply decreed that the next leap
445 they did, after all, have a leap year that year. And one in 1708. In 1712
/openbsd/src/games/quiz/datfiles/
Dcollectives49 leopards:leap
/openbsd/src/gnu/usr.bin/cvs/doc/
DRCSFILES242 +Times use UTC, except that for portability's sake leap seconds are not allowed;
243 +implementations that support leap seconds should output
247 +during an inserted leap second, and should accept
249 +for a deleted leap second.
/openbsd/src/gnu/usr.bin/perl/cpan/Time-Piece/t/
D07arith.t22 # this one wraps around to March because of the leap year
/openbsd/src/usr.sbin/ntpd/
Dserver.c180 reply.status = lconf->status.leap; in server_dispatch()
Dntpd.h143 u_int8_t leap; member
Dntp.c805 conf->status.leap = offsets[i]->status.leap; in priv_adjtime()
Dclient.c402 p->reply[p->shift].status.leap = (msg.status & LIMASK); in client_dispatch()
/openbsd/src/gnu/usr.bin/perl/cpan/Test-Simple/lib/Test/
DTutorial.pod262 Does it get leap years right? We could keep repeating the code above,
/openbsd/src/share/snmp/
DSNMPv2-TC.txt699 (use 60 for leap-second)
/openbsd/src/gnu/usr.bin/gcc/gcc/f/
Dintdoc.in1221 Seconds after the minute, range 0--59 or 0--61 to allow for leap
1260 Seconds after the minute, range 0--59 or 0--61 to allow for leap
/openbsd/src/gnu/llvm/clang/include/clang/Tooling/Inclusions/
DStdSymbolMap.inc1366 SYMBOL(leap, std::chrono::, <chrono>)
/openbsd/src/games/fortune/datfiles/
Dfortunes-o1525 Then leap up and snap;
/openbsd/src/gnu/gcc/libcpp/po/
Del.po1240 #~ msgstr "repeated leap second moment"
/openbsd/src/gnu/usr.bin/perl/Porting/
Depigraphs.pod819 There are some things one can only achieve by a deliberate leap
2947 To leap up into joy celestial.

12