Searched refs:days_per_year (Results 1 – 5 of 5) sorted by relevance
107 static int days_per_year (int);518 days_per_year( in days_per_year() function569 if ((days_per_year((leitch->year>90?1900:2000)+leitch->year)==365) && in leitch_get_date()
333 #define days_per_year(x) ((x) % 4 ? 365 : ((x % 400) ? ((x % 100) ? 366 : 365) : 366)) in main() macro341 DayCnt = (int)days_per_year(year); in main()
397 #define days_per_year(x) ((x) % 4 ? 365 : ((x % 400) ? ((x % 100) ? 366 : 365) : 366)) macro 440 if (clock_time->month < 3 && days_per_year(clock_time->year) == 366) in parse_to_unixtime() 452 if (clock_time->day < 1 || ((clock_time->month == 2 && days_per_year(clock_time->year) == 366) ? in parse_to_unixtime()
85 #ifndef days_per_year86 #define days_per_year(_x_) (((_x_) % 4) ? 365 : (((_x_) % 400) ? 365 : 366)) macro810 if (clock_time->month < 3 && days_per_year(clock_time->year) == 366) in dcf_to_unixtime()822 if (clock_time->day < 1 || ((clock_time->month == 2 && days_per_year(clock_time->year) == 366) ? in dcf_to_unixtime()
222 days_per_year(int year) in days_per_year() function230 return days_per_year(current->tm_year + 1900 + offset); in days_in_year()