Home
last modified time | relevance | path

Searched refs:DIVISOR (Results 1 – 3 of 3) sorted by relevance

/openbsd/lib/libc/time/
H A Dstrftime.c528 #define DIVISOR 100 in _yconv() macro
529 trail = a % DIVISOR + b % DIVISOR; in _yconv()
530 lead = a / DIVISOR + b / DIVISOR + trail / DIVISOR; in _yconv()
531 trail %= DIVISOR; in _yconv()
533 trail += DIVISOR; in _yconv()
536 trail -= DIVISOR; in _yconv()
H A Dwcsftime.c530 #define DIVISOR 100 in _yconv() macro
531 trail = a % DIVISOR + b % DIVISOR; in _yconv()
532 lead = a / DIVISOR + b / DIVISOR + trail / DIVISOR; in _yconv()
533 trail %= DIVISOR; in _yconv()
535 trail += DIVISOR; in _yconv()
538 trail -= DIVISOR; in _yconv()
/openbsd/usr.sbin/zdump/
H A Dzdump.c444 #define DIVISOR 10 in dumptime() macro
445 trail = timeptr->tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR; in dumptime()
446 lead = timeptr->tm_year / DIVISOR + TM_YEAR_BASE / DIVISOR + in dumptime()
447 trail / DIVISOR; in dumptime()
448 trail %= DIVISOR; in dumptime()
450 trail += DIVISOR; in dumptime()
453 trail -= DIVISOR; in dumptime()