Lines Matching refs:DIVISOR
902 #define DIVISOR 10
903 trail = timeptr->tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR;
904 lead = timeptr->tm_year / DIVISOR + TM_YEAR_BASE / DIVISOR +
905 trail / DIVISOR;
906 trail %= DIVISOR;
908 trail += DIVISOR;
911 trail -= DIVISOR;
988 trail = loc.tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR;
989 lead = loc.tm_year / DIVISOR + TM_YEAR_BASE / DIVISOR + trail / DIVISOR;
990 trail %= DIVISOR;
992 trail += DIVISOR;
995 trail -= DIVISOR;
999 fprintf(fp, "%04d-%02d-%02d", lead * DIVISOR + trail, loc.tm_mon + 1, loc.tm_mday);