HomeSort by relevance Sort by last modified time
    Searched refs:is_leap (Results 1 - 5 of 5) sorted by null

  /external/v8/src/
date.cc 92 bool is_leap = (!yd1 || yd2) && !yd3; local
95 DCHECK(is_leap || (days >= 0));
96 DCHECK((days < 365) || (is_leap && (days < 366)));
97 DCHECK(is_leap == ((*year % 4 == 0) && (*year % 100 || (*year % 400 == 0))));
98 DCHECK(is_leap || ((DaysFromYearMonth(*year, 0) + days) == save_days));
99 DCHECK(!is_leap || ((DaysFromYearMonth(*year, 0) + days + 1) == save_days));
101 days += is_leap;
104 if (days >= 31 + 28 + BoolToInt(is_leap)) {
105 days -= 31 + 28 + BoolToInt(is_leap);
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
datetimemodule.c 177 is_leap(int year) function
194 if (month == 2 && is_leap(year))
209 if (month > 2 && is_leap(year))
311 assert(leapyear == is_leap(*year));
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
datetimemodule.c 177 is_leap(int year) function
194 if (month == 2 && is_leap(year))
209 if (month > 2 && is_leap(year))
311 assert(leapyear == is_leap(*year));
    [all...]
  /external/python/cpython2/Modules/
datetimemodule.c 177 is_leap(int year) function
194 if (month == 2 && is_leap(year))
209 if (month > 2 && is_leap(year))
311 assert(leapyear == is_leap(*year));
    [all...]
  /external/python/cpython3/Modules/
_datetimemodule.c 205 is_leap(int year) function
222 if (month == 2 && is_leap(year))
237 if (month > 2 && is_leap(year))
333 assert(leapyear == is_leap(*year));
    [all...]

Completed in 111 milliseconds