Searched refs:IS_LEAP (Results 1 - 1 of 1) sorted by relevance

/bionic/libc/bionic/
H A Dtime64.c148 #define IS_LEAP(n) ((!(((n) + 1900) % 400) || (!(((n) + 1900) % 4) && (((n) + 1900) % 100))) != 0) macro
218 days += length_of_year[IS_LEAP(year)];
225 days -= length_of_year[IS_LEAP(year)];
231 days += julian_days_by_month[IS_LEAP(orig_year)][date->tm_mon];
258 assert(tm->tm_mday <= days_in_month[IS_LEAP(tm->tm_year)][tm->tm_mon]);
267 assert(tm->tm_yday <= length_of_year[IS_LEAP(tm->tm_year)]);
478 seconds += length_of_year[IS_LEAP(right_year - 1900)] * 60 * 60 * 24;
580 leap = IS_LEAP (year);
584 leap = IS_LEAP (year);
604 leap = IS_LEAP (yea
[all...]

Completed in 21 milliseconds