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

  /src/external/bsd/unbound/dist/sldns/
parseutil.c 122 int idays = result->tm_yday; local
127 while (idays >= mon_lengths[result->tm_mon]) {
128 idays -= mon_lengths[result->tm_mon++];
130 result->tm_mday = idays + 1;
  /src/lib/libc/time/
localtime.c 2435 int_fast32_t idays, rem, dayoff, dayrem; local
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
    [all...]

Completed in 25 milliseconds