HomeSort by relevance Sort by last modified time
    Searched refs:leap (Results 1 - 25 of 40) sorted by null

1 2

  /libcore/ojluni/src/main/java/java/time/
Month.java 114 * The singleton instance for the month of February with 28 days, or 29 in a leap year.
416 * This takes a flag to determine whether to return the length for a leap year or not.
418 * February has 28 days in a standard year and 29 days in a leap year.
422 * @param leapYear true if the length is required for a leap year
489 * This returns the day-of-year that this month begins on, using the leap
492 * @param leapYear true if the length is required for a leap year
496 int leap = leapYear ? 1 : 0; local
503 return 60 + leap;
505 return 91 + leap;
507 return 121 + leap;
    [all...]
LocalDate.java 121 * system, in which today's rules for leap years are applied for all time.
156 * There are 7 leap years from 1970 to 2000.
282 boolean leap = IsoChronology.INSTANCE.isLeapYear(year);
283 if (dayOfYear == 366 && leap == false) {
284 throw new DateTimeException("Invalid date 'DayOfYear 366' as '" + year + "' is not a leap year");
287 int monthEnd = moy.firstDayOfYear(leap) + moy.length(leap) - 1;
291 int dom = dayOfYear - moy.firstDayOfYear(leap) + 1;
310 zeroDay -= 60; // adjust to 0000-03-01 so leap day is at end of four year cycle
423 throw new DateTimeException("Invalid date 'February 29' as '" + year + "' is not a leap year")
    [all...]
  /external/linux-kselftest/tools/testing/selftests/timers/
Makefile 11 skew_consistency clocksource-switch freq-step leap-a-day \
  /external/pdfium/fxjs/
JS_Define.cpp 136 int leap = IsLeapYear(year); local
144 return day - 58 - leap;
146 return day - 89 - leap;
148 return day - 119 - leap;
150 return day - 150 - leap;
152 return day - 180 - leap;
154 return day - 211 - leap;
156 return day - 242 - leap;
158 return day - 272 - leap;
160 return day - 303 - leap;
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
ChineseDateFormatSymbols.java 101 public String getLeapMonth(int leap) {
102 return isLeapMonth[leap];
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
ChineseDateFormatSymbols.java 99 public String getLeapMonth(int leap) {
100 return isLeapMonth[leap];
  /external/ltp/testcases/kernel/timers/leapsec/
leapsec_timer.c 2 * Regression test for hrtimer early expiration during and after leap seconds
5 * timers to expire one second early during leap second.
81 "insert leap second",
82 "delete leap second",
83 "leap second in progress",
84 "leap second has occurred",
150 struct timespec now, leap, start; local
159 /* calculate the next leap second */
162 leap = now;
163 tst_resm(TINFO, "scheduling leap second %s", strtime(&leap))
    [all...]
  /bionic/libc/bionic/
time64.c 247 /* Don't forget leap seconds */
279 /* The exceptional centuries without leap years cause the cycle to
305 2) Has the same leap year status.
314 It doesn't need the same leap year status since we only care about
332 /* Change non-leap xx00 years to an equivalent */
520 int leap; local
580 leap = IS_LEAP (year);
581 while (m >= (Time64_T) length_of_year[leap]) {
582 m -= (Time64_T) length_of_year[leap];
584 leap = IS_LEAP (year)
    [all...]
  /external/v8/src/regexp/x64/
regexp-macro-assembler-x64.cc 176 __ leap(rax, Operand(rdi, -char_size()));
184 __ leap(rax, Operand(rdi, -char_size() + cp_offset * char_size()));
243 __ leap(r9, Operand(rsi, rdx, times_1, 0));
244 __ leap(r11, Operand(rsi, rdi, times_1, 0));
317 __ leap(rcx, Operand(rsi, rdx, times_1, 0));
319 __ leap(rdx, Operand(rsi, rdi, times_1, 0));
327 __ leap(rax, Operand(rsi, rdi, times_1, 0));
329 __ leap(rdi, Operand(rsi, rdx, times_1, 0));
411 __ leap(rbx, Operand(rsi, rdi, times_1, 0)); // Start of match.
416 __ leap(r9, Operand(rdx, rax, times_1, 0)); // End of captur
    [all...]
  /frameworks/base/core/java/android/net/
SntpClient.java 60 // 70 years plus 17 leap days
131 final byte leap = (byte) ((buffer[0] >> 6) & 0x3);
140 checkValidServerReply(leap, mode, stratum, transmitTime);
212 byte leap, byte mode, int stratum, long transmitTime)
214 if (leap == NTP_LEAP_NOSYNC) {
  /external/protobuf/src/google/protobuf/stubs/
time.cc 42 // No leap years.
45 // One leap years.
62 int64 SecondsPerMonth(int month, bool leap) {
63 if (month == 2 && leap) {
235 bool leap = IsLeapYear(year); local
237 while (seconds >= SecondsPerMonth(month, leap)) {
238 seconds -= SecondsPerMonth(month, leap);
  /external/v8/src/builtins/x64/
builtins-x64.cc 66 __ leap(kScratchRegister, FieldOperand(kScratchRegister, Code::kHeaderSize));
97 __ leap(rbx, FieldOperand(rbx, Code::kHeaderSize));
172 __ leap(rbx, Operand(rbp, StandardFrameConstants::kCallerSPOffset));
244 __ leap(rsp, Operand(rsp, index.reg, index.scale, 1 * kPointerSize));
753 __ leap(rcx, FieldOperand(rcx, Code::kHeaderSize));
    [all...]
  /external/v8/src/x64/
deoptimizer-x64.cc 151 __ leap(arg5, Operand(rsp, kSavedRegistersAreaSize + 1 * kRegisterSize +
211 __ leap(rdx, Operand(rbx, FrameDescription::frame_content_offset()));
243 __ leap(rdx, Operand(rax, rdx, times_pointer_size, 0));
code-stubs-x64.cc 590 __ leap(arg_reg_4,
592 __ leap(arg_reg_3,
596 __ leap(arg_reg_4,
598 __ leap(arg_reg_3,
    [all...]
macro-assembler-x64.cc 117 leap(destination, Operand(kRootRegister, static_cast<int32_t>(delta)));
133 // Operand is leap(scratch, Operand(kRootRegister, delta));
286 leap(dst, FieldOperand(object, offset));
328 leap(dst, Operand(object, index, times_pointer_size,
380 leap(dst, FieldOperand(object, HeapObject::kMapOffset));
505 leap(scratch, FieldOperand(js_function, offset));
528 leap(dst, FieldOperand(js_function, offset));
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/
config_ssid.h 331 * leap - Number of EAP methods using LEAP
333 * This field should be set to 1 if LEAP is enabled. This is used to
336 int leap; member in struct:wpa_ssid
339 * non_leap - Number of EAP methods not using LEAP
341 * This field should be set to >0 if any EAP method other than LEAP is
  /external/golang-protobuf/ptypes/timestamp/
timestamp.pb.go 35 // seconds long, i.e. leap seconds are "smeared" so that no leap second
  /external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
Timestamp.cs 48 /// seconds long, i.e. leap seconds are "smeared" so that no leap second
  /prebuilts/go/darwin-x86/src/time/
time.go 8 // no leap seconds.
377 // that the first leap year is the 4th year, the first missed leap year
378 // is the 100th year, and the missed missed leap year is the 400th year.
555 // or it was a leap year and Jan 1 of the next year is a Saturday.
610 // YearDay returns the day of the year specified by t, in the range [1,365] for non-leap years,
611 // and [1,366] in leap years.
950 // The last cycle has one extra leap year, so on the last day
959 // The last cycle has a missing leap year, which does not
966 // The last year is a leap year, so on the last day of that year
    [all...]
time_test.go 446 // Non-leap-year tests
456 // Leap-year tests
466 // Looks like leap-year (but isn't) tests
476 // Year one tests (non-leap)
486 // Year minus one tests (non-leap)
496 // 400 BC tests (leap-year)
578 {2012, 12, 24, 0, 0, 0, 0, Local, 1356336000}, // Leap year
636 {2011, 2, 28}, // February, non-leap year, 28 days
637 {2012, 2, 29}, // February, leap year, 29 days
    [all...]
zoneinfo_read.go 103 // number of leap seconds
136 // Leap-second time pairs
152 // 8-byte ints for txtimes and leap seconds.
  /prebuilts/go/linux-x86/src/time/
time.go 8 // no leap seconds.
377 // that the first leap year is the 4th year, the first missed leap year
378 // is the 100th year, and the missed missed leap year is the 400th year.
555 // or it was a leap year and Jan 1 of the next year is a Saturday.
610 // YearDay returns the day of the year specified by t, in the range [1,365] for non-leap years,
611 // and [1,366] in leap years.
950 // The last cycle has one extra leap year, so on the last day
959 // The last cycle has a missing leap year, which does not
966 // The last year is a leap year, so on the last day of that year
    [all...]
time_test.go 446 // Non-leap-year tests
456 // Leap-year tests
466 // Looks like leap-year (but isn't) tests
476 // Year one tests (non-leap)
486 // Year minus one tests (non-leap)
496 // 400 BC tests (leap-year)
578 {2012, 12, 24, 0, 0, 0, 0, Local, 1356336000}, // Leap year
636 {2011, 2, 28}, // February, non-leap year, 28 days
637 {2012, 2, 29}, // February, leap year, 29 days
    [all...]
zoneinfo_read.go 103 // number of leap seconds
136 // Leap-second time pairs
152 // 8-byte ints for txtimes and leap seconds.
  /external/v8/src/crankshaft/x64/
lithium-codegen-x64.cc 335 __ leap(rbp, MemOperand(rsp, 3 * kPointerSize));
381 __ leap(rbp, Operand(rsp, TypedFrameConstants::kFixedFrameSizeFromFp));
    [all...]

Completed in 1090 milliseconds

1 2