Lines Matching refs:idays
2435 int_fast32_t idays, rem, dayoff, dayrem;
2474 /* idays = (tdays + dayoff) mod DAYSPERREPEAT, sans overflow. */
2475 idays = (int)(tdays % DAYSPERREPEAT);
2476 idays += (dayoff % DAYSPERREPEAT + 2 * DAYSPERREPEAT);
2477 idays %= DAYSPERREPEAT;
2478 /* Increase Y and decrease IDAYS until IDAYS is in range for Y. */
2479 while (year_days(y) <= idays) {
2480 int_fast32_t tdelta = idays / DAYSPERLYEAR;
2486 idays -= ydelta * DAYSPERNYEAR;
2487 idays -= leapdays;
2512 tmp->tm_yday = (int)idays;
2522 + idays);
2536 for (tmp->tm_mon = 0; idays >= ip[tmp->tm_mon]; ++(tmp->tm_mon))
2537 idays -= ip[tmp->tm_mon];
2538 tmp->tm_mday = (int)(idays + 1);