Home
last modified time | relevance | path

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

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