Searched refs:year_lengths (Results 1 – 4 of 4) sorted by relevance
638 static const int year_lengths[2] = { variable1022 yearsecs = (year_lengths[isleap(year)] in tzparse()1457 while (tdays < 0 || tdays >= year_lengths[isleap(y)]) { in timesub()1502 idays += year_lengths[isleap(y)]; in timesub()1504 while (idays >= year_lengths[isleap(y)]) { in timesub()1505 idays -= year_lengths[isleap(y)]; in timesub()1709 yourtm.tm_mday += year_lengths[isleap(li)]; in time2sub()1713 yourtm.tm_mday -= year_lengths[isleap(li)]; in time2sub()
814 static const int year_lengths[2] = { variable1211 = year_lengths[isleap(yearbeg - 1)] * SECSPERDAY; in tzparse()1222 = year_lengths[isleap(yearbeg)] * SECSPERDAY; in tzparse()1241 yearsecs = (year_lengths[isleap(year)] in tzparse()1766 while (year_lengths[isleap(y)] <= idays) { in timesub()1987 yourtm.tm_mday += year_lengths[isleap(li)]; in time2sub()1991 yourtm.tm_mday -= year_lengths[isleap(li)]; in time2sub()