Lines Matching refs:tempdays
3735 long carry, tempdays, temp;
3806 * Note we use tempdays because the temporary values may need more
3811 tempdays = MAX_DAYINMONTH(r->year, r->mon);
3813 tempdays = 1;
3815 tempdays = d->day;
3817 tempdays += u->day + carry;
3820 if (tempdays < 1) {
3833 tempdays += MAX_DAYINMONTH(tyr, tmon);
3835 } else if (tempdays > (long) MAX_DAYINMONTH(r->year, r->mon)) {
3836 tempdays = tempdays - MAX_DAYINMONTH(r->year, r->mon);
3852 r->day = tempdays;