HomeSort by: relevance | last modified time | path
    Searched defs:idays (Results 1 - 1 of 1) sorted by relevancy

  /src/lib/libc/time/
localtime.c 1934 int_fast32_t idays, rem, dayoff, dayrem; local in function:timesub
1973 /* idays = (tdays + dayoff) mod DAYSPERREPEAT, sans overflow. */
1974 idays = (int)(tdays % DAYSPERREPEAT);
1975 idays += (dayoff % DAYSPERREPEAT + 2 * DAYSPERREPEAT);
1976 idays %= DAYSPERREPEAT;
1977 /* Increase Y and decrease IDAYS until IDAYS is in range for Y. */
1978 while (year_lengths[isleap(y)] <= idays) {
1979 int_fast32_t tdelta = idays / DAYSPERLYEAR;
1985 idays -= ydelta * DAYSPERNYEAR
    [all...]

Completed in 14 milliseconds