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

/openbsd-current/gnu/usr.bin/perl/
H A Dtime64.c191 /* Don't forget leap seconds */
223 /* The exceptional centuries without leap years cause the cycle to
249 2) Has the same leap year status.
258 It doesn't need the same leap year status since we only care about
266 /* Change non-leap xx00 years to an equivalent */
323 int leap; local
404 leap = IS_LEAP (year);
405 while (m >= (Time64_T) length_of_year[leap]) {
406 m -= (Time64_T) length_of_year[leap];
408 leap
[all...]
/openbsd-current/share/zoneinfo/
H A DMakefile43 # seconds since the epoch (not counting leap seconds), use
46 # as seconds since the epoch (counting leap seconds), use
48 # below. If you want both sets of data available, with leap seconds not
51 # below. If you want both sets of data available, with leap seconds counted
54 # below. POSIX mandates that leap seconds not be counted; for compatibility
56 # leap smearing; this can work better than unsmeared "right" time with
57 # applications that are not leap second aware, and is closer to unsmeared
73 # (optionally incorporating leap second information), use
75 # To install text data without leap second information (e.g., because
110 leapseconds: leapseconds.awk datfiles/leap
[all...]
/openbsd-current/sys/dev/fdt/
H A Dacrtc.c200 uint16_t leap = isleap(dt->dt_year) ? RTC_YEA_LEAP_YEAR : 0; local
208 acrtc_write_reg(sc, RTC_YEA, TOBCD(dt->dt_year - 2000) | leap);
/openbsd-current/usr.bin/cal/
H A Dcal.c110 /* leap year -- account for gregorian reformation in 1752 */
123 /* number of leap years between year 1 and this year, not inclusive */
447 int i, leap; local
449 leap = leap_year(year);
451 day += days_in_month[leap][i];
/openbsd-current/usr.sbin/ntpd/
H A Dserver.c180 reply.status = lconf->status.leap;
H A Dntpd.h143 u_int8_t leap; member in struct:ntp_status
H A Dntp.c805 conf->status.leap = offsets[i]->status.leap;
H A Dclient.c402 p->reply[p->shift].status.leap = (msg.status & LIMASK);

Completed in 126 milliseconds