tag | line | file | source code |
year | 110 | arch/alpha/kernel/time.c | static inline unsigned long mktime(unsigned int year, unsigned int mon, |
year | 116 | arch/alpha/kernel/time.c | year -= 1; |
year | 119 | arch/alpha/kernel/time.c | (unsigned long)(year/4 - year/100 + year/400 + 367*mon/12 + day) + |
year | 120 | arch/alpha/kernel/time.c | year*365 - 719499 |
year | 128 | arch/alpha/kernel/time.c | unsigned int year, mon, day, hour, min, sec; |
year | 149 | arch/alpha/kernel/time.c | year = CMOS_READ(RTC_YEAR); |
year | 158 | arch/alpha/kernel/time.c | BCD_TO_BIN(year); |
year | 166 | arch/alpha/kernel/time.c | year -= 42; |
year | 168 | arch/alpha/kernel/time.c | if ((year += 1900) < 1970) |
year | 169 | arch/alpha/kernel/time.c | year += 100; |
year | 170 | arch/alpha/kernel/time.c | xtime.tv_sec = mktime(year, mon, day, hour, min, sec); |
year | 307 | arch/i386/kernel/time.c | static inline unsigned long mktime(unsigned int year, unsigned int mon, |
year | 313 | arch/i386/kernel/time.c | year -= 1; |
year | 316 | arch/i386/kernel/time.c | (unsigned long)(year/4 - year/100 + year/400 + 367*mon/12 + day) + |
year | 317 | arch/i386/kernel/time.c | year*365 - 719499 |
year | 325 | arch/i386/kernel/time.c | unsigned int year, mon, day, hour, min, sec; |
year | 346 | arch/i386/kernel/time.c | year = CMOS_READ(RTC_YEAR); |
year | 355 | arch/i386/kernel/time.c | BCD_TO_BIN(year); |
year | 357 | arch/i386/kernel/time.c | if ((year += 1900) < 1970) |
year | 358 | arch/i386/kernel/time.c | year += 100; |
year | 359 | arch/i386/kernel/time.c | return mktime(year, mon, day, hour, min, sec); |
year | 482 | arch/m68k/amiga/config.c | t->year = tod->year1 * 10 + tod->year2; |
year | 496 | arch/m68k/amiga/config.c | tod->year1 = t->year / 10; |
year | 497 | arch/m68k/amiga/config.c | tod->year2 = t->year % 10; |
year | 516 | arch/m68k/amiga/config.c | t->year = tod->year1 * 10 + tod->year2; |
year | 542 | arch/m68k/amiga/config.c | tod->year1 = t->year / 10; |
year | 543 | arch/m68k/amiga/config.c | tod->year2 = t->year % 10; |
year | 702 | arch/m68k/atari/atakeyb.c | void ikbd_clock_set(int year, int month, int day, int hour, int minute, int second) |
year | 704 | arch/m68k/atari/atakeyb.c | char cmd[7] = { 0x1B, year, month, day, hour, minute, second }; |
year | 710 | arch/m68k/atari/atakeyb.c | void ikbd_clock_get(int *year, int *month, int *day, int *hour, int *minute, int second) |
year | 584 | arch/m68k/atari/config.c | int hour, year; |
year | 611 | arch/m68k/atari/config.c | year = t->year - 80; |
year | 612 | arch/m68k/atari/config.c | val.year_ones = year % 10; |
year | 613 | arch/m68k/atari/config.c | val.year_tens = year / 10; |
year | 617 | arch/m68k/atari/config.c | val.year_ones = (year % 4); /* leap year register */ |
year | 633 | arch/m68k/atari/config.c | t->year = val.year_ones + val.year_tens * 10 + 80; |
year | 641 | arch/m68k/atari/config.c | int sec=0, min=0, hour=0, day=0, mon=0, year=0, wday=0; |
year | 661 | arch/m68k/atari/config.c | year = t->year - ((tos_version < 0x306) ? 70 : 68); |
year | 675 | arch/m68k/atari/config.c | BIN_TO_BCD(year); |
year | 707 | arch/m68k/atari/config.c | year = RTC_READ( RTC_YEAR ); |
year | 716 | arch/m68k/atari/config.c | RTC_WRITE( RTC_YEAR, year ); |
year | 731 | arch/m68k/atari/config.c | BCD_TO_BIN(year); |
year | 747 | arch/m68k/atari/config.c | t->year = year + ((tos_version < 0x306) ? 70 : 68); |
year | 322 | arch/m68k/kernel/setup.c | void arch_gettod(int *year, int *mon, int *day, int *hour, |
year | 326 | arch/m68k/kernel/setup.c | mach_gettod(year, mon, day, hour, min, sec); |
year | 328 | arch/m68k/kernel/setup.c | *year = *mon = *day = *hour = *min = *sec = 0; |
year | 71 | arch/m68k/kernel/time.c | static inline unsigned long mktime(unsigned int year, unsigned int mon, |
year | 77 | arch/m68k/kernel/time.c | year -= 1; |
year | 80 | arch/m68k/kernel/time.c | (unsigned long)(year/4 - year/100 + year/400 + 367*mon/12 + day) + |
year | 81 | arch/m68k/kernel/time.c | year*365 - 719499 |
year | 89 | arch/m68k/kernel/time.c | unsigned int year, mon, day, hour, min, sec; |
year | 91 | arch/m68k/kernel/time.c | extern void arch_gettod(int *year, int *mon, int *day, int *hour, |
year | 94 | arch/m68k/kernel/time.c | arch_gettod (&year, &mon, &day, &hour, &min, &sec); |
year | 96 | arch/m68k/kernel/time.c | if ((year += 1900) < 1970) |
year | 97 | arch/m68k/kernel/time.c | year += 100; |
year | 98 | arch/m68k/kernel/time.c | xtime.tv_sec = mktime(year, mon, day, hour, min, sec); |
year | 225 | arch/mips/kernel/time.c | static inline unsigned long mktime(unsigned int year, unsigned int mon, |
year | 231 | arch/mips/kernel/time.c | year -= 1; |
year | 234 | arch/mips/kernel/time.c | (unsigned long)(year/4 - year/100 + year/400 + 367*mon/12 + day) + |
year | 235 | arch/mips/kernel/time.c | year*365 - 719499 |
year | 244 | arch/mips/kernel/time.c | unsigned int year, mon, day, hour, min, sec; |
year | 265 | arch/mips/kernel/time.c | year = CMOS_READ(RTC_YEAR); |
year | 274 | arch/mips/kernel/time.c | BCD_TO_BIN(year); |
year | 276 | arch/mips/kernel/time.c | if ((year += 1900) < 1970) |
year | 277 | arch/mips/kernel/time.c | year += 100; |
year | 278 | arch/mips/kernel/time.c | xtime.tv_sec = mktime(year, mon, day, hour, min, sec); |
year | 68 | arch/sparc/kernel/time.c | static inline unsigned long mktime(unsigned int year, unsigned int mon, |
year | 74 | arch/sparc/kernel/time.c | year -= 1; |
year | 77 | arch/sparc/kernel/time.c | (unsigned long)(year/4 - year/100 + year/400 + 367*mon/12 + day) + |
year | 78 | arch/sparc/kernel/time.c | year*365 - 719499 |
year | 162 | arch/sparc/kernel/time.c | unsigned int year, mon, day, hour, min, sec; |
year | 184 | arch/sparc/kernel/time.c | year = (BCD_TO_BIN(mregs->yr) + MSTK_YR_ZERO); |
year | 185 | arch/sparc/kernel/time.c | xtime.tv_sec = mktime(year, mon, day, hour, min, sec); |
year | 239 | fs/fat/misc.c | int month,year,secs; |
year | 242 | fs/fat/misc.c | year = date >> 9; |
year | 244 | fs/fat/misc.c | ((date & 31)-1+day_n[month]+(year/4)+year*365-((year & 3) == 0 && |
year | 257 | fs/fat/misc.c | int day,year,nl_day,month; |
year | 263 | fs/fat/misc.c | year = day/365; |
year | 264 | fs/fat/misc.c | if ((year+3)/4+365*year > day) year--; |
year | 265 | fs/fat/misc.c | day -= (year+3)/4+365*year; |
year | 266 | fs/fat/misc.c | if (day == 59 && !(year & 3)) { |
year | 271 | fs/fat/misc.c | nl_day = (year & 3) || day <= 59 ? day : day-1; |
year | 275 | fs/fat/misc.c | *date = nl_day-day_n[month-1]+1+(month << 5)+(year << 9); |
year | 93 | fs/isofs/util.c | int year, month, day, hour ,minute, second, tz; |
year | 96 | fs/isofs/util.c | year = p[0] - 70; |
year | 105 | fs/isofs/util.c | if (year < 0) { |
year | 109 | fs/isofs/util.c | days = year * 365; |
year | 110 | fs/isofs/util.c | if (year > 2) |
year | 111 | fs/isofs/util.c | days += (year+1) / 4; |
year | 114 | fs/isofs/util.c | if (((year+2) % 4) == 0 && month > 2) |
year | 1179 | fs/ncpfs/dir.c | int month,year,secs; |
year | 1182 | fs/ncpfs/dir.c | year = date >> 9; |
year | 1184 | fs/ncpfs/dir.c | ((date & 31)-1+day_n[month]+(year/4)+year*365-((year & 3) == 0 && |
year | 1195 | fs/ncpfs/dir.c | int day,year,nl_day,month; |
year | 1201 | fs/ncpfs/dir.c | year = day/365; |
year | 1202 | fs/ncpfs/dir.c | if ((year+3)/4+365*year > day) year--; |
year | 1203 | fs/ncpfs/dir.c | day -= (year+3)/4+365*year; |
year | 1204 | fs/ncpfs/dir.c | if (day == 59 && !(year & 3)) { |
year | 1209 | fs/ncpfs/dir.c | nl_day = (year & 3) || day <= 59 ? day : day-1; |
year | 1213 | fs/ncpfs/dir.c | *date = nl_day-day_n[month-1]+1+(month << 5)+(year << 9); |
year | 185 | fs/smbfs/proc.c | int month,year,secs; |
year | 188 | fs/smbfs/proc.c | year = date >> 9; |
year | 190 | fs/smbfs/proc.c | ((date & 31)-1+day_n[month]+(year/4)+year*365-((year & 3) == 0 && |
year | 202 | fs/smbfs/proc.c | int day,year,nl_day,month; |
year | 208 | fs/smbfs/proc.c | year = day/365; |
year | 209 | fs/smbfs/proc.c | if ((year+3)/4+365*year > day) year--; |
year | 210 | fs/smbfs/proc.c | day -= (year+3)/4+365*year; |
year | 211 | fs/smbfs/proc.c | if (day == 59 && !(year & 3)) { |
year | 216 | fs/smbfs/proc.c | nl_day = (year & 3) || day <= 59 ? day : day-1; |
year | 220 | fs/smbfs/proc.c | *date = nl_day-day_n[month-1]+1+(month << 5)+(year << 9); |
year | 29 | include/asm-m68k/machdep.h | extern void (*mach_gettod)(int *year, int *mon, int *day, int *hour, |