Home
last modified time | relevance | path

Searched refs:isleap (Results 1 – 4 of 4) sorted by relevance

/bionic/libc/tzcode/
Dtzfile.h163 #define isleap(y) (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0)) macro
177 #define isleap_sum(a, b) isleap((a) % 400 + (b) % 400)
Dlocaltime.c1064 leapyear = isleap(year); in transtime()
1245 = year_lengths[isleap(yearbeg - 1)] * SECSPERDAY; in tzparse()
1256 = year_lengths[isleap(yearbeg)] * SECSPERDAY; in tzparse()
1275 yearsecs = (year_lengths[isleap(year)] in tzparse()
1835 while (year_lengths[isleap(y)] <= idays) { in timesub()
1886 ip = mon_lengths[isleap(y)]; in timesub()
2072 yourtm.tm_mday += year_lengths[isleap(li)]; in time2sub()
2076 yourtm.tm_mday -= year_lengths[isleap(li)]; in time2sub()
2081 i = mon_lengths[isleap(y)][yourtm.tm_mon]; in time2sub()
Dprivate.h990 #define isleap(y) (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0)) macro
1004 #define isleap_sum(a, b) isleap((a) % 400 + (b) % 400)
Dstrptime.c567 const int *mon_lens = mon_lengths[isleap(year)]; in _strptime()