Searched refs:YEARSIZE (Results 1 – 10 of 10) sorted by relevance
739 #define YEARSIZE(year) (LEAPYEAR(year) ? 366 : 365) in getTimeAndDate() macro751 while (dayno >= YEARSIZE(year)) { in getTimeAndDate()752 dayno -= YEARSIZE(year); in getTimeAndDate()
2195 #define YEARSIZE(year) (LEAPYEAR(year) ? 366 : 365) in gmtime() macro2217 while(dayno >= (unsigned long)YEARSIZE(year)) { in gmtime()2218 dayno -= YEARSIZE(year); in gmtime()
47 #define YEARSIZE(year) (LEAPYEAR(year) ? 366 : 365) macro668 SECONDS_FROM_YEARS_PAST += YEARSIZE(iyear) * SECONDS_PER_DAY; in get_unix_time_from_datetime()717 while (dayno >= YEARSIZE(year)) { in get_datetime_from_unix_time()718 dayno -= YEARSIZE(year); in get_datetime_from_unix_time()
49 #define YEARSIZE(year) (LEAPYEAR(year) ? 366 : 365) macro828 SECONDS_FROM_YEARS_PAST += YEARSIZE(iyear) * SECONDS_PER_DAY; in get_unix_time_from_datetime()832 SECONDS_FROM_YEARS_PAST -= YEARSIZE(iyear) * SECONDS_PER_DAY; in get_unix_time_from_datetime()872 while (dayno >= YEARSIZE(year)) { in get_datetime_from_unix_time()873 dayno -= YEARSIZE(year); in get_datetime_from_unix_time()882 dayno += YEARSIZE(year); in get_datetime_from_unix_time()