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

/external/pdfium/fxjs/
H A DJS_Define.cpp56 bool IsLeapYear(int year) { function in namespace:__anon17915
75 const uint16_t* pMonth = IsLeapYear(y) ? leapDaysMonth : daysMonth;
107 if (31 <= day && day < 59 + IsLeapYear(year))
109 if ((59 + IsLeapYear(year)) <= day && day < (90 + IsLeapYear(year)))
111 if ((90 + IsLeapYear(year)) <= day && day < (120 + IsLeapYear(year)))
113 if ((120 + IsLeapYear(year)) <= day && day < (151 + IsLeapYear(year)))
115 if ((151 + IsLeapYear(yea
[all...]
/external/protobuf/src/google/protobuf/stubs/
H A Dtime.cc50 bool IsLeapYear(int year) { function in namespace:google::protobuf::internal::__anon19090
55 return kSecondsPerDay * (IsLeapYear(year) ? 366 : 365);
82 if (time.month == 2 && IsLeapYear(time.year)) {
117 if (month > 2 && IsLeapYear(year)) {
121 time.day <= (month == 2 && IsLeapYear(year)
235 bool leap = IsLeapYear(year);
/external/pdfium/fpdfsdk/
H A Dcpdfsdk_datetime.cpp17 bool IsLeapYear(int16_t year) { function in namespace:__anon17858
22 return (IsLeapYear(year) ? 366 : 365);
46 if (IsLeapYear(year))
/external/libchrome/base/third_party/nspr/
H A Dprtime.cc179 * IsLeapYear --
186 static int IsLeapYear(PRInt16 year) function
233 if (IsLeapYear(time->tm_year))
238 time->tm_mday = nDays[IsLeapYear(time->tm_year)][time->tm_month];
249 nDays[IsLeapYear(time->tm_year)][time->tm_month]) {
336 time->tm_mday += nDays[IsLeapYear(time->tm_year)][time->tm_month];
339 daysInMonth = nDays[IsLeapYear(time->tm_year)][time->tm_month];
348 daysInMonth = nDays[IsLeapYear(time->tm_year)][time->tm_month];
354 lastDayOfMonth[IsLeapYear(time->tm_year)][time->tm_month]);

Completed in 193 milliseconds