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

  /src/lib/libc/time/
localtime.c 2521 + floor((tdays + dayoff) / DAYSPERREPEAT) * YEARSPERREPEAT),
2525 dayrem = (int)(tdays % DAYSPERREPEAT);
2526 dayrem += dayoff % DAYSPERREPEAT;
2528 + ((1 + dayoff / DAYSPERREPEAT + dayrem / DAYSPERREPEAT
2529 - ((dayrem % DAYSPERREPEAT) < 0)
2530 + tdays / DAYSPERREPEAT)
2532 /* idays = (tdays + dayoff) mod DAYSPERREPEAT, sans overflow. */
2533 idays = (int)(tdays % DAYSPERREPEAT);
2534 idays += (dayoff % DAYSPERREPEAT + 2 * DAYSPERREPEAT)
    [all...]
private.h 1120 #define DAYSPERREPEAT ((int_fast32_t) 400 * 365 + 100 - 4 + 1)
1121 #define SECSPERREPEAT ((int_fast64_t) DAYSPERREPEAT * SECSPERDAY)
zic.c 4118 /* dayoff = floor((wantedy - y) / YEARSPERREPEAT) * DAYSPERREPEAT,
4123 * DAYSPERREPEAT);

Completed in 26 milliseconds