Lines Matching refs:ldays
407 int mdays, ydays, ldays; in AddDays() local
409 ldays = days; in AddDays()
410 if (ldays > 0) in AddDays()
415 while (ldays >= ydays) in AddDays()
418 ldays -= ydays; in AddDays()
429 while (ldays >= mdays) in AddDays()
431 ldays -= mdays; in AddDays()
436 d += ldays; in AddDays()
440 ldays *= -1; in AddDays()
444 while (ldays >= ydays) in AddDays()
447 ldays -= ydays; in AddDays()
457 while (ldays >= d) in AddDays()
459 ldays -= d; in AddDays()
464 d -= ldays; in AddDays()