Home
last modified time | relevance | path

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

/openbsd/gnu/usr.bin/perl/
H A Dtime64.c110 #define IS_LEAP(n) ((!(((n) + 1900) % 400) || (!(((n) + 1900) % 4) && (((n) + 1900) % 100))) != 0) macro
161 days += length_of_year[IS_LEAP(year)]; in S_timegm64()
168 days -= length_of_year[IS_LEAP(year)]; in S_timegm64()
173 days += julian_days_by_month[IS_LEAP(date->tm_year)][date->tm_mon]; in S_timegm64()
202 assert(tm->tm_mday <= days_in_month[IS_LEAP(tm->tm_year)][tm->tm_mon]); in S_check_tm()
211 assert(tm->tm_yday <= length_of_year[IS_LEAP(tm->tm_year)]); in S_check_tm()
404 leap = IS_LEAP (year); in Perl_gmtime64_r()
408 leap = IS_LEAP (year); in Perl_gmtime64_r()
430 leap = IS_LEAP (year); in Perl_gmtime64_r()
434 leap = IS_LEAP (year); in Perl_gmtime64_r()
[all …]