Home | History | Annotate | Download | only in tzcode

Lines Matching full:divisor

908 #define DIVISOR	10
909 trail = timeptr->tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR;
910 lead = timeptr->tm_year / DIVISOR + TM_YEAR_BASE / DIVISOR +
911 trail / DIVISOR;
912 trail %= DIVISOR;
914 trail += DIVISOR;
917 trail -= DIVISOR;
994 trail = loc.tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR;
995 lead = loc.tm_year / DIVISOR + TM_YEAR_BASE / DIVISOR + trail / DIVISOR;
996 trail %= DIVISOR;
998 trail += DIVISOR;
1001 trail -= DIVISOR;
1005 fprintf(fp, "%04d-%02d-%02d", lead * DIVISOR + trail, loc.tm_mon + 1, loc.tm_mday);