Home
last modified time | relevance | path

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

123456

/external/cldr/tools/cldr-code/src/main/resources/org/unicode/cldr/util/data/
Dleapseconds1 # Allowance for leap seconds added to each time zone file.
6 # NIST format leap-seconds.list file, which can be copied from
7 # <ftp://ftp.nist.gov/pub/time/leap-seconds.list>
8 # or <ftp://ftp.boulder.nist.gov/pub/time/leap-seconds.list>.
10 # <https://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-seconds.list>
13 # For more about leap-seconds.list, please see
15 # <https://www.eecis.udel.edu/~mills/leap.html>.
17 # The rules for leap seconds are specified in Annex 1 (Time scales) of:
23 # periodically uses leap seconds to keep UTC to within 0.9 s of UT1
25 # and publishes leap second data in a copyrighted file
[all …]
DprettyPath.txt74 … ($avalue) '"]/month[@type="' ([0-9]) '"][@yeartype="leap"]' > '|month|[0' $3 ']-' $1 '-' $2 '-lea…
75 …($avalue) '"]/month[@type="' ($avalue) '"][@yeartype="leap"]' > '|month|[' $3 ']-' $1 '-' $2 '-lea…
/external/musl/src/time/
D__secs_to_tm.c17 int wday, yday, leap; in __secs_to_tm() local
54 leap = !remyears && (q_cycles || !c_cycles); in __secs_to_tm()
55 yday = remdays + 31 + 28 + leap; in __secs_to_tm()
56 if (yday >= 365+leap) yday -= 365+leap; in __secs_to_tm()
/external/libwebsockets/lib/roles/ws/ext/
Dextension.c49 enum lws_ext_option_parser_states leap = LEAPS_SEEK_NAME; in lws_ext_parse_options() local
59 lwsl_wsi_ext(wsi, "'%c' %d", *in, leap); in lws_ext_parse_options()
60 switch (leap) { in lws_ext_parse_options()
69 leap = LEAPS_EAT_NAME; in lws_ext_parse_options()
93 leap = LEAPS_SEEK_VAL; in lws_ext_parse_options()
121 leap = LEAPS_SEEK_NAME; in lws_ext_parse_options()
130 leap = LEAPS_EAT_DEC; in lws_ext_parse_options()
151 leap = LEAPS_SEEK_ARG_TERM; in lws_ext_parse_options()
172 leap = LEAPS_SEEK_NAME; in lws_ext_parse_options()
/external/pdfium/fxjs/
Dfx_date_helpers.cpp129 int leap = IsLeapYear(year); in DateFromTime() local
137 return day - 58 - leap; in DateFromTime()
139 return day - 89 - leap; in DateFromTime()
141 return day - 119 - leap; in DateFromTime()
143 return day - 150 - leap; in DateFromTime()
145 return day - 180 - leap; in DateFromTime()
147 return day - 211 - leap; in DateFromTime()
149 return day - 242 - leap; in DateFromTime()
151 return day - 272 - leap; in DateFromTime()
153 return day - 303 - leap; in DateFromTime()
[all …]
/external/icu/icu4c/source/test/testdata/
Dcalendar.txt237 { // month=3 is a leap month
244 { // month=3 is a leap month
251 { // month=3 is a leap month
258 { // month=3 is a leap month
316 { // month=3 is a leap month
323 { // month=3 is a leap month
330 { // month=3 is a leap month
337 { // month=3 is a leap month
344 { // month=3 is a leap month
351 { // month=3 is a leap month
[all …]
/external/cronet/third_party/icu/source/test/testdata/
Dcalendar.txt237 { // month=3 is a leap month
244 { // month=3 is a leap month
251 { // month=3 is a leap month
258 { // month=3 is a leap month
316 { // month=3 is a leap month
323 { // month=3 is a leap month
330 { // month=3 is a leap month
337 { // month=3 is a leap month
344 { // month=3 is a leap month
351 { // month=3 is a leap month
[all …]
/external/ltp/testcases/kernel/syscalls/clock_gettime/
Dleapsec01.c125 struct timespec now, leap, start; in run_leapsec() local
137 leap = now; in run_leapsec()
138 tst_res(TINFO, "scheduling leap second %s", strtime(&leap)); in run_leapsec()
154 while (tx.time.tv_sec < leap.tv_sec + SECONDS_AFTER_LEAP) { in run_leapsec()
166 start.tv_sec += now.tv_sec - (leap.tv_sec - SECONDS_BEFORE_LEAP); in run_leapsec()
/external/cronet/third_party/protobuf/src/google/protobuf/stubs/
Dtime.cc62 int64 SecondsPerMonth(int month, bool leap) { in SecondsPerMonth() argument
63 if (month == 2 && leap) { in SecondsPerMonth()
235 bool leap = IsLeapYear(year); in SecondsToDateTime() local
237 while (seconds >= SecondsPerMonth(month, leap)) { in SecondsToDateTime()
238 seconds -= SecondsPerMonth(month, leap); in SecondsToDateTime()
/external/protobuf/src/google/protobuf/stubs/
Dtime.cc62 int64_t SecondsPerMonth(int month, bool leap) { in SecondsPerMonth() argument
63 if (month == 2 && leap) { in SecondsPerMonth()
235 bool leap = IsLeapYear(year); in SecondsToDateTime() local
237 while (seconds >= SecondsPerMonth(month, leap)) { in SecondsToDateTime()
238 seconds -= SecondsPerMonth(month, leap); in SecondsToDateTime()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/main/java/com/google/android/exoplayer2/util/
DSntpClient.java188 final byte leap = (byte) ((buffer[0] >> 6) & 0x3); in loadNtpTimeOffsetMs()
196 checkValidServerReply(leap, mode, stratum, transmitTime); in loadNtpTimeOffsetMs()
268 private static void checkValidServerReply(byte leap, byte mode, int stratum, long transmitTime) in checkValidServerReply() argument
270 if (leap == NTP_LEAP_NOSYNC) { in checkValidServerReply()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/main/java/com/google/android/exoplayer2/util/
DSntpClient.java188 final byte leap = (byte) ((buffer[0] >> 6) & 0x3); in loadNtpTimeOffsetMs()
196 checkValidServerReply(leap, mode, stratum, transmitTime); in loadNtpTimeOffsetMs()
268 private static void checkValidServerReply(byte leap, byte mode, int stratum, long transmitTime) in checkValidServerReply() argument
270 if (leap == NTP_LEAP_NOSYNC) { in checkValidServerReply()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DChineseDateFormatSymbols.java101 public String getLeapMonth(int leap) { in getLeapMonth() argument
102 return isLeapMonth[leap]; in getLeapMonth()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DChineseDateFormatSymbols.java99 public String getLeapMonth(int leap) { in getLeapMonth() argument
100 return isLeapMonth[leap]; in getLeapMonth()
/external/rust/crates/async-task/src/
Dutils.rs93 let offset = leap!(self.size().checked_add(pad)); in extend()
94 let new_size = leap!(offset.checked_add(other.size())); in extend()
Dlib.rs79 macro_rules! leap { macro
/external/python/dateutil/docs/
Drelativedelta.rst92 The logic for years is the same, even on leap years.
199 But not in a leap year:
206 We can use the non-leap year day to ignore this:
/external/pigweed/pw_chrono/
Dchrono.proto27 // Time since 00:00:00 UTC, Thursday, 1 January 1970, including leap
32 // into GPS. Thus, every time a leap second is inserted into UTC, UTC
39 // every time a leap second is inserted into UTC, UTC falls another second
/external/rust/crates/chrono/src/sys/
Dwindows.rs67 let leap = if month > 2 { in system_time_to_tm() localVariable
78 (month - 1) * 30 + month / 2 + (day - 1) - leap + july in system_time_to_tm()
/external/icu/icu4c/source/data/locales/
Dff_Adlm.txt1012 leap{"{0}������"}
1015 leap{"{0}��"}
1018 leap{"{0}������"}
1023 leap{"{0}������"}
1028 leap{"{0}������"}
1031 leap{"{0}��"}
1034 leap{"{0}������"}
/external/cronet/third_party/icu/source/data/locales/
Dff_Adlm.txt1012 leap{"{0}������"}
1015 leap{"{0}��"}
1018 leap{"{0}������"}
1023 leap{"{0}������"}
1028 leap{"{0}������"}
1031 leap{"{0}��"}
1034 leap{"{0}������"}
/external/linux-kselftest/tools/testing/selftests/timers/
D.gitignore6 leap-a-day
DMakefile11 skew_consistency clocksource-switch freq-step leap-a-day \
/external/oss-fuzz/docs/
DGemfile.lock76 jekyll-theme-leap-day (= 0.2.0)
177 jekyll-theme-leap-day (0.2.0)
/external/libcxx/include/
Dchrono670 // 25.10.8, leap second support // C++20
671 class leap;
673 bool operator==(const leap& x, const leap& y);
674 bool operator!=(const leap& x, const leap& y);
675 bool operator< (const leap& x, const leap& y);
676 bool operator> (const leap& x, const leap& y);
677 bool operator<=(const leap& x, const leap& y);
678 bool operator>=(const leap& x, const leap& y);
680 bool operator==(const leap& x, const sys_time<Duration>& y);
682 bool operator==(const sys_time<Duration>& x, const leap& y);
[all …]

123456