Home
last modified time | relevance | path

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

/bionic/libc/tzcode/
Dtzfile.h153 #define isleap(y) (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0)) macro
167 #define isleap_sum(a, b) isleap((a) % 400 + (b) % 400)
Dlocaltime.c932 leapyear = isleap(year); in transtime()
1113 yearsecs = (year_lengths[isleap(year)] in tzparse()
1626 while (tdays < 0 || tdays >= year_lengths[isleap(y)]) { in timesub()
1664 idays += year_lengths[isleap(y)]; in timesub()
1666 while (idays >= year_lengths[isleap(y)]) { in timesub()
1667 idays -= year_lengths[isleap(y)]; in timesub()
1695 ip = mon_lengths[isleap(y)]; in timesub()
1876 yourtm.tm_mday += year_lengths[isleap(li)]; in time2sub()
1880 yourtm.tm_mday -= year_lengths[isleap(li)]; in time2sub()
1885 i = mon_lengths[isleap(y)][yourtm.tm_mon]; in time2sub()