Searched defs:mdays (Results 1 - 4 of 4) sorted by relevance

/external/webrtc/webrtc/base/
H A Dtimeutils_unittest.cc182 static char mdays[12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; local
199 tm.tm_mday = rtc::CreateRandomId() % mdays[tm.tm_mon] + 1;
221 tm.tm_mday = mdays[tm.tm_mon] + (leap_year && tm.tm_mon == 1) + 1;
H A Dtimeutils.cc208 static short int mdays[12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; local
225 if (day < 0 || day >= mdays[month] + (expiry_in_leap_year && month == 2 - 1))
/external/pdfium/fpdfsdk/
H A Dcpdfsdk_datetime.cpp336 int mdays; local
341 mdays = GetMonthDays(y, m);
342 if (d > mdays) {
344 d -= mdays;
348 mdays = GetMonthDays(y, m) - d + 1;
349 while (ldays >= mdays) {
350 ldays -= mdays;
353 mdays = GetMonthDays(y, m);
366 int mdays = GetMonthDays(y, m); local
367 if (d > mdays) {
[all...]
/external/python/cpython2/Lib/
H A Dcalendar.py40 mdays = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] variable
122 ndays = mdays[month] + (month == February and isleap(year))

Completed in 74 milliseconds