Home
last modified time | relevance | path

Searched refs:mdays (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/fpdfsdk/src/
Dfsdk_baseannot.cpp420 int mdays, ydays, ldays; in AddDays() local
432 mdays = _gAfxGetMonthDays(y, m); in AddDays()
433 if (d > mdays) { in AddDays()
435 d -= mdays; in AddDays()
439 mdays = _gAfxGetMonthDays(y, m) - d + 1; in AddDays()
440 while (ldays >= mdays) { in AddDays()
441 ldays -= mdays; in AddDays()
444 mdays = _gAfxGetMonthDays(y, m); in AddDays()
457 mdays = _gAfxGetMonthDays(y, m); in AddDays()
458 if (d > mdays) { in AddDays()
[all …]
/external/webrtc/webrtc/base/
Dtimeutils_unittest.cc182 static char mdays[12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; in TestTmToSeconds() local
199 tm.tm_mday = rtc::CreateRandomId() % mdays[tm.tm_mon] + 1; in TestTmToSeconds()
221 tm.tm_mday = mdays[tm.tm_mon] + (leap_year && tm.tm_mon == 1) + 1; in TestTmToSeconds()
Dtimeutils.cc208 static short int mdays[12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; in TmToSeconds() local
225 if (day < 0 || day >= mdays[month] + (expiry_in_leap_year && month == 2 - 1)) in TmToSeconds()