year 120 bsp/drv/dev/rtc/mc146818.c cy.year = mc_read(RTC_YEAR); year 128 bsp/drv/dev/rtc/mc146818.c cy.year = FROMBCD(cy.year); year 130 bsp/drv/dev/rtc/mc146818.c if (cy.year < 80) year 131 bsp/drv/dev/rtc/mc146818.c cy.year += 2000; year 133 bsp/drv/dev/rtc/mc146818.c cy.year += 1900; year 136 bsp/drv/dev/rtc/mc146818.c cy.year, cy.mon, cy.day, cy.hour, cy.min, cy.sec); year 90 bsp/drv/dev/rtc/rtc.c leapyear(u_int year) year 94 bsp/drv/dev/rtc/rtc.c if ((year & 3) == 0) { year 96 bsp/drv/dev/rtc/rtc.c if ((year % 100) == 0) { year 98 bsp/drv/dev/rtc/rtc.c if ((year % 400) == 0) year 109 bsp/drv/dev/rtc/rtc.c u_int i, year, days; year 111 bsp/drv/dev/rtc/rtc.c year = dt->year; year 118 bsp/drv/dev/rtc/rtc.c for (i = POSIX_BASE_YEAR; i < year; i++) year 120 bsp/drv/dev/rtc/rtc.c if (leapyear(year) && dt->mon > FEBRUARY) year 157 bsp/drv/dev/rtc/rtc.c dt->year = (u_short)i; year 51 bsp/drv/include/rtc.h u_short year; year 37 usr/lib/libc/time/gmtime_r.c is_leap(int year) year 39 usr/lib/libc/time/gmtime_r.c return (isleap(year) ? 1 : 0); year 46 usr/lib/libc/time/gmtime_r.c int days, year, mon; year 52 usr/lib/libc/time/gmtime_r.c for (year = 1970, i = DAYSPERNYEAR + is_leap(year); year 54 usr/lib/libc/time/gmtime_r.c year++, i = DAYSPERNYEAR + is_leap(year)) year 57 usr/lib/libc/time/gmtime_r.c tmp->tm_year = year - 1900; year 62 usr/lib/libc/time/gmtime_r.c if (mon == 1 && is_leap(year)) year 36 usr/lib/libc/time/mktime.c unsigned int days, year; year 40 usr/lib/libc/time/mktime.c for (year = 1970; year < (unsigned int)(1900 + tmp->tm_year); year++) year 41 usr/lib/libc/time/mktime.c days += DAYSPERNYEAR + (isleap(year) ? 1 : 0);