/bionic/libc/tzcode/ |
tzfile.h | 153 #define isleap(y) (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0)) macro 156 ** Since everything in isleap is modulo 400 (or a factor of 400), we know that 157 ** isleap(y) == isleap(y % 400) 159 ** isleap(a + b) == isleap((a + b) % 400) 161 ** isleap(a + b) == isleap(a % 400 + b % 400) 167 #define isleap_sum(a, b) isleap((a) % 400 + (b) % 400)
|
/external/icu/icu4c/source/tools/tzcode/ |
tzfile.h | 153 #define isleap(y) (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0)) macro 156 ** Since everything in isleap is modulo 400 (or a factor of 400), we know that 157 ** isleap(y) == isleap(y % 400) 159 ** isleap(a + b) == isleap((a + b) % 400) 161 ** isleap(a + b) == isleap(a % 400 + b % 400) 167 #define isleap_sum(a, b) isleap((a) % 400 + (b) % 400)
|
zdump.c | 142 #ifndef isleap 143 #define isleap(y) (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0)) macro 144 #endif /* !defined isleap */ 150 #define isleap_sum(a, b) isleap((a) % 400 + (b) % 400) 705 seconds = isleap(myy) ? SECSPERLYEAR : SECSPERNYEAR; 721 seconds = isleap(myy - 1) ? SECSPERLYEAR : SECSPERNYEAR;
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
calendar.py | 13 "firstweekday", "isleap", "leapdays", "weekday", "monthrange", 97 def isleap(year): function 122 ndays = mdays[month] + (month == February and isleap(year))
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
calendar.py | 13 "firstweekday", "isleap", "leapdays", "weekday", "monthrange", 97 def isleap(year): function 122 ndays = mdays[month] + (month == February and isleap(year))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
calendar.py | 13 "firstweekday", "isleap", "leapdays", "weekday", "monthrange", 97 def isleap(year): function 122 ndays = mdays[month] + (month == February and isleap(year))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
calendar.py | 13 "firstweekday", "isleap", "leapdays", "weekday", "monthrange", 97 def isleap(year): function 122 ndays = mdays[month] + (month == February and isleap(year))
|