/bionic/libc/tzcode/ |
tzfile.h | 164 #define isleap(y) (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0)) macro 167 ** Since everything in isleap is modulo 400 (or a factor of 400), we know that 168 ** isleap(y) == isleap(y % 400) 170 ** isleap(a + b) == isleap((a + b) % 400) 172 ** isleap(a + b) == isleap(a % 400 + b % 400) 178 #define isleap_sum(a, b) isleap((a) % 400 + (b) % 400)
|
localtime.c | 912 leapyear = isleap(year); [all...] |
/external/chromium/third_party/icu/source/tools/tzcode/ |
tzfile.h | 164 #define isleap(y) (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0)) macro 167 ** Since everything in isleap is modulo 400 (or a factor of 400), we know that 168 ** isleap(y) == isleap(y % 400) 170 ** isleap(a + b) == isleap((a + b) % 400) 172 ** isleap(a + b) == isleap(a % 400 + b % 400) 178 #define isleap_sum(a, b) isleap((a) % 400 + (b) % 400)
|
localtime.c | 825 leapyear = isleap(year); 1027 newfirst += year_lengths[isleap(year)] * [all...] |
zdump.c | 92 #ifndef isleap 93 #define isleap(y) (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0)) macro 94 #endif /* !defined isleap */ 100 #define isleap_sum(a, b) isleap((a) % 400 + (b) % 400) 652 seconds = isleap(myy) ? SECSPERLYEAR : SECSPERNYEAR; 661 seconds = isleap(myy) ? SECSPERLYEAR : SECSPERNYEAR;
|
zic.c | 1287 i = len_years[isleap(j)]; 1291 i = -len_years[isleap(j)]; 1302 i = len_months[isleap(year)][j]; 1308 day <= 0 || day > len_months[isleap(year)][month]) { [all...] |
/external/icu4c/tools/tzcode/ |
tzfile.h | 164 #define isleap(y) (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0)) macro 167 ** Since everything in isleap is modulo 400 (or a factor of 400), we know that 168 ** isleap(y) == isleap(y % 400) 170 ** isleap(a + b) == isleap((a + b) % 400) 172 ** isleap(a + b) == isleap(a % 400 + b % 400) 178 #define isleap_sum(a, b) isleap((a) % 400 + (b) % 400)
|
localtime.c | 825 leapyear = isleap(year); 1027 newfirst += year_lengths[isleap(year)] * [all...] |
zdump.c | 92 #ifndef isleap 93 #define isleap(y) (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0)) macro 94 #endif /* !defined isleap */ 100 #define isleap_sum(a, b) isleap((a) % 400 + (b) % 400) 652 seconds = isleap(myy) ? SECSPERLYEAR : SECSPERNYEAR; 661 seconds = isleap(myy) ? SECSPERLYEAR : SECSPERNYEAR;
|
zic.c | 1287 i = len_years[isleap(j)]; 1291 i = -len_years[isleap(j)]; 1302 i = len_months[isleap(year)][j]; 1308 day <= 0 || day > len_months[isleap(year)][month]) { [all...] |
/system/core/libcutils/ |
tzfile.h | 164 #define isleap(y) (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0)) macro 167 ** Since everything in isleap is modulo 400 (or a factor of 400), we know that 168 ** isleap(y) == isleap(y % 400) 170 ** isleap(a + b) == isleap((a + b) % 400) 172 ** isleap(a + b) == isleap(a % 400 + b % 400) 178 #define isleap_sum(a, b) isleap((a) % 400 + (b) % 400)
|
tztime.c | 845 leapyear = isleap(year); 1047 newfirst += year_lengths[isleap(year)] * [all...] |