Home
last modified time | relevance | path

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

/bionic/libc/tzcode/
Dtzfile.h164 #define isleap(y) (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0)) macro
178 #define isleap_sum(a, b) isleap((a) % 400 + (b) % 400)
Dlocaltime.c920 leapyear = isleap(year);
1122 newfirst += year_lengths[isleap(year)] *
1592 while (tdays < 0 || tdays >= year_lengths[isleap(y)]) {
1636 idays += year_lengths[isleap(y)];
1638 while (idays >= year_lengths[isleap(y)]) {
1639 idays -= year_lengths[isleap(y)];
1667 ip = mon_lengths[isleap(y)];
1842 yourtm.tm_mday += year_lengths[isleap(li)];
1846 yourtm.tm_mday -= year_lengths[isleap(li)];
1851 i = mon_lengths[isleap(y)][yourtm.tm_mon];