Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dtime64.c104 static const int length_of_year[2] = { 365, 366 }; variable
218 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()
581 while (m >= (Time64_T) length_of_year[leap]) { in gmtime64_r()
582 m -= (Time64_T) length_of_year[leap]; in gmtime64_r()
605 while (m < (Time64_T) -length_of_year[leap]) { in gmtime64_r()
606 m += (Time64_T) length_of_year[leap]; in gmtime64_r()