HomeSort by: relevance | last modified time | path
    Searched defs:leap (Results 1 - 8 of 8) 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 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 = 0
    [all...]
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 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 = 0
    [all...]
  /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 in function:day_in_year
    [all...]
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 in function:day_in_year
    [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,
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/lib/libc/time/
Makefile 142 # 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-seconds.list from
    [all...]
Makefile 142 # 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-seconds.list from
    [all...]

Completed in 28 milliseconds