tag | line | file | source code |
year | 94 | fs/isofs/util.c | int year, month, day, hour ,minute, second, tz; |
year | 97 | fs/isofs/util.c | year = p[0] - 70; |
year | 106 | fs/isofs/util.c | if (year < 0) { |
year | 110 | fs/isofs/util.c | days = year * 365; |
year | 111 | fs/isofs/util.c | if (year > 2) |
year | 112 | fs/isofs/util.c | days += (year+1) / 4; |
year | 115 | fs/isofs/util.c | if (((year+2) % 4) == 0 && month > 2) |
year | 213 | fs/msdos/misc.c | int month,year,secs; |
year | 216 | fs/msdos/misc.c | year = date >> 9; |
year | 218 | fs/msdos/misc.c | ((date & 31)-1+day_n[month]+(year/4)+year*365-((year & 3) == 0 && |
year | 231 | fs/msdos/misc.c | int day,year,nl_day,month; |
year | 237 | fs/msdos/misc.c | year = day/365; |
year | 238 | fs/msdos/misc.c | if ((year+3)/4+365*year > day) year--; |
year | 239 | fs/msdos/misc.c | day -= (year+3)/4+365*year; |
year | 240 | fs/msdos/misc.c | if (day == 59 && !(year & 3)) { |
year | 245 | fs/msdos/misc.c | nl_day = (year & 3) || day <= 59 ? day : day-1; |
year | 249 | fs/msdos/misc.c | *date = nl_day-day_n[month-1]+1+(month << 5)+(year << 9); |
year | 47 | kernel/time.c | static inline unsigned long mktime(unsigned int year, unsigned int mon, |
year | 53 | kernel/time.c | year -= 1; |
year | 56 | kernel/time.c | (unsigned long)(year/4 - year/100 + year/400 + 367*mon/12 + day) + |
year | 57 | kernel/time.c | year*365 - 719499 |
year | 65 | kernel/time.c | unsigned int year, mon, day, hour, min, sec; |
year | 86 | kernel/time.c | year = CMOS_READ(RTC_YEAR); |
year | 95 | kernel/time.c | BCD_TO_BIN(year); |
year | 97 | kernel/time.c | if ((year += 1900) < 1970) |
year | 98 | kernel/time.c | year += 100; |
year | 99 | kernel/time.c | xtime.tv_sec = mktime(year, mon, day, hour, min, sec); |