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

/src/sys/dev/
H A Dclock_subr.c70 * 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 in function:clock_secs_to_ymdhms
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
[all...]
/src/lib/libc/time/
H A DMakefile142 # seconds since the epoch (not counting leap seconds), use
145 # as seconds since the epoch (counting leap seconds), use
147 # below. If you want both sets of data available, with leap seconds not
150 # below. If you want both sets of data available, with leap seconds counted
153 # below. POSIX mandates that leap seconds not be counted; for compatibility
155 # leap smearing; this can work better than unsmeared "right" time with
156 # applications that are not leap second aware, and is closer to unsmeared
173 # (optionally incorporating leap second information), use
175 # To install text data without leap second information (e.g., because
449 # Where to fetch leap
[all...]
/src/sys/arch/arm/sunxi/
H A Dsunxi_rtc.c97 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/usr.bin/cal/
H A Dcal.c94 /* 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 year
533 int i, leap; local in function:day_in_year
[all...]

Completed in 6 milliseconds