days              109 bsp/drv/dev/rtc/rtc.c 	u_int i, year, days;
days              117 bsp/drv/dev/rtc/rtc.c 	days = 0;
days              119 bsp/drv/dev/rtc/rtc.c 		days += days_in_year(i);
days              121 bsp/drv/dev/rtc/rtc.c 		days++;
days              125 bsp/drv/dev/rtc/rtc.c 	  	days += days_in_month(i);
days              126 bsp/drv/dev/rtc/rtc.c 	days += (dt->day - 1);
days              129 bsp/drv/dev/rtc/rtc.c 	secs = (time_t)(((days * 24 + dt->hour) * 60 + dt->min)
days              143 bsp/drv/dev/rtc/rtc.c 	u_int i, days;
days              148 bsp/drv/dev/rtc/rtc.c 	days = secs / SECDAY;
days              152 bsp/drv/dev/rtc/rtc.c 	dt->dow = (days + 4) % 7;
days              155 bsp/drv/dev/rtc/rtc.c 	for (i = POSIX_BASE_YEAR; days >= days_in_year(i); i++)
days              156 bsp/drv/dev/rtc/rtc.c 		days -= days_in_year(i);
days              162 bsp/drv/dev/rtc/rtc.c 	for (i = 1; days >= days_in_month(i); i++)
days              163 bsp/drv/dev/rtc/rtc.c 		days -= days_in_month(i);
days              167 bsp/drv/dev/rtc/rtc.c 	dt->day = days + 1;
days               46 usr/lib/libc/time/gmtime_r.c 	int days, year, mon;
days               50 usr/lib/libc/time/gmtime_r.c 	days = t / 60 / 60 / 24;
days               53 usr/lib/libc/time/gmtime_r.c 	     days >= i;
days               55 usr/lib/libc/time/gmtime_r.c 		days -= i;
days               58 usr/lib/libc/time/gmtime_r.c 	tmp->tm_yday = days;
days               64 usr/lib/libc/time/gmtime_r.c 		if (days < i)
days               66 usr/lib/libc/time/gmtime_r.c 		days -= i;
days               69 usr/lib/libc/time/gmtime_r.c 	tmp->tm_mday = days + 1;
days               70 usr/lib/libc/time/gmtime_r.c 	tmp->tm_wday = (int) ((1970 + days) % DAYSPERWEEK);
days               36 usr/lib/libc/time/mktime.c 	unsigned int days, year;
days               39 usr/lib/libc/time/mktime.c 	days = 0;
days               41 usr/lib/libc/time/mktime.c 		days += DAYSPERNYEAR + (isleap(year) ? 1 : 0);
days               43 usr/lib/libc/time/mktime.c 	days += tmp->tm_yday;
days               45 usr/lib/libc/time/mktime.c 	time = (((days * 24 + tmp->tm_hour) * 60) + tmp->tm_min) * 60