Lines Matching refs:mdays
336 int mdays; in AddDays() local
341 mdays = GetMonthDays(y, m); in AddDays()
342 if (d > mdays) { in AddDays()
344 d -= mdays; in AddDays()
348 mdays = GetMonthDays(y, m) - d + 1; in AddDays()
349 while (ldays >= mdays) { in AddDays()
350 ldays -= mdays; in AddDays()
353 mdays = GetMonthDays(y, m); in AddDays()
366 int mdays = GetMonthDays(y, m); in AddDays() local
367 if (d > mdays) { in AddDays()
369 d -= mdays; in AddDays()