Home
last modified time | relevance | path

Searched refs:MONSPERYEAR (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/ntp/libntp/
H A Dmktime.c87 #define MONSPERYEAR 12 macro
91 static int mon_lengths[2][MONSPERYEAR] = {
201 normalize(&yourtm.tm_year, &yourtm.tm_mon, MONSPERYEAR); in time2()
213 if (++yourtm.tm_mon >= MONSPERYEAR) { in time2()
/freebsd/contrib/unbound/compat/
H A Dgmtime_r.c13 #define MONSPERYEAR 12 macro
35 static const int mon_lengths[2][MONSPERYEAR] = {
/freebsd/contrib/tzcode/
H A Dstrftime.c47 const char * mon[MONSPERYEAR];
48 const char * month[MONSPERYEAR];
190 t->tm_mon >= MONSPERYEAR) ? in _fmt()
197 t->tm_mon >= MONSPERYEAR) ? in _fmt()
H A Dasctime.c99 if (timeptr->tm_mon < 0 || timeptr->tm_mon >= MONSPERYEAR) in asctime_r()
H A Dlocaltime.c795 static const int mon_lengths[2][MONSPERYEAR] = { in tzloadbody()
967 strp = getnum(strp, &rulep->r_mon, 1, MONSPERYEAR); in getsecs()
2125 if (normalize_overflow32(&y, &yourtm.tm_mon, MONSPERYEAR)) in tmcomp()
2150 if (++yourtm.tm_mon >= MONSPERYEAR) {
H A Dprivate.h992 MONSPERYEAR = 12,
969 MONSPERYEAR = 12, global() enumerator
H A Dzic.c434 static const int len_months[2][MONSPERYEAR] = {
/freebsd/lib/libc/stdtime/
H A Dstrftime.c145 t->tm_mon >= MONSPERYEAR) ? in _fmt()
153 t->tm_mon >= MONSPERYEAR) ? in _fmt()