Searched refs:MONSPERYEAR (Results 1 – 8 of 8) sorted by relevance
87 #define MONSPERYEAR 12 macro91 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()
107 #define MONSPERYEAR 12 macro158 #define MONS_PER_YEAR MONSPERYEAR
13 #define MONSPERYEAR 12 macro35 static const int mon_lengths[2][MONSPERYEAR] = {
140 #define MONSPERYEAR 12 macro
105 if (timeptr->tm_mon < 0 || timeptr->tm_mon >= MONSPERYEAR)
664 static const int mon_lengths[2][MONSPERYEAR] = {837 strp = getnum(strp, &rulep->r_mon, 1, MONSPERYEAR);1851 if (long_normalize_overflow(&y, &yourtm.tm_mon, MONSPERYEAR)) in time2sub()1876 if (++yourtm.tm_mon >= MONSPERYEAR) { in time2sub()
160 t->tm_mon >= MONSPERYEAR) ? in _fmt()168 t->tm_mon >= MONSPERYEAR) ? in _fmt()
352 static const int len_months[2][MONSPERYEAR] = {