HelenOS sources
is_leap_year 44 uspace/app/date/date.c static bool is_leap_year(int year);
is_leap_year 298 uspace/app/date/date.c if (t->tm_mon == 1/* FEB */ && is_leap_year(t->tm_year))
is_leap_year 153 uspace/lib/c/generic/time.c return is_leap_year(year) ? 29 : 28;
is_leap_year 184 uspace/lib/c/generic/time.c return (is_leap_year(year) ? leap_mdays[mon] : mdays[mon]) + mday - 1;
is_leap_year 330 uspace/lib/c/generic/time.c day -= is_leap_year(year) ? 366 : 365;
is_leap_year 336 uspace/lib/c/generic/time.c day -= is_leap_year(year + 1) ? 366 : 365;
is_leap_year 417 uspace/lib/c/generic/time.c if (day > 364 + is_leap_year(tm->tm_year)) {
is_leap_year 465 uspace/lib/c/generic/time.c if (day > 364 + is_leap_year(tm->tm_year)) {
HelenOS homepage, sources at GitHub