Lines Matching refs:ldays
420 int mdays, ydays, ldays; in AddDays() local
422 ldays = days; in AddDays()
423 if (ldays > 0) { in AddDays()
428 while (ldays >= ydays) { in AddDays()
430 ldays -= ydays; in AddDays()
440 while (ldays >= mdays) { in AddDays()
441 ldays -= mdays; in AddDays()
446 d += ldays; in AddDays()
448 ldays *= -1; in AddDays()
453 while (ldays >= ydays) { in AddDays()
455 ldays -= ydays; in AddDays()
464 while (ldays >= d) { in AddDays()
465 ldays -= d; in AddDays()
470 d -= ldays; in AddDays()