tag | line | file | source code |
year | 170 | fs/msdos/misc.c | int month,year; |
year | 173 | fs/msdos/misc.c | year = date >> 9; |
year | 175 | fs/msdos/misc.c | ((date & 31)-1+day_n[month]+(year/4)+year*365-((year & 3) == 0 && |
year | 186 | fs/msdos/misc.c | int day,year,nl_day,month; |
year | 191 | fs/msdos/misc.c | year = day/365; |
year | 192 | fs/msdos/misc.c | if ((year+3)/4+365*year > day) year--; |
year | 193 | fs/msdos/misc.c | day -= (year+3)/4+365*year; |
year | 194 | fs/msdos/misc.c | if (day == 59 && !(year & 3)) { |
year | 199 | fs/msdos/misc.c | nl_day = (year & 3) || day <= 59 ? day : day-1; |
year | 203 | fs/msdos/misc.c | *date = nl_day-day_n[month-1]+1+(month << 5)+(year << 9); |
year | 37 | include/time.h | #define __isleap(year) \ |
year | 38 | include/time.h | ((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0)) |
year | 44 | kernel/mktime.c | int year; |
year | 46 | kernel/mktime.c | year = tm->tm_year - 70; |
year | 48 | kernel/mktime.c | res = YEAR*year + DAY*((year+1)/4); |
year | 51 | kernel/mktime.c | if (tm->tm_mon>1 && ((year+2)%4)) |