Searched refs:length_of_year (Results 1 – 1 of 1) sorted by relevance
104 static const int length_of_year[2] = { 365, 366 }; variable218 days += length_of_year[IS_LEAP(year)]; in timegm64()225 days -= length_of_year[IS_LEAP(year)]; in timegm64()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()586 while (m >= (Time64_T) length_of_year[leap]) { in gmtime64_r()587 m -= (Time64_T) length_of_year[leap]; in gmtime64_r()610 while (m < (Time64_T) -length_of_year[leap]) { in gmtime64_r()611 m += (Time64_T) length_of_year[leap]; in gmtime64_r()