Searched refs:tm_mon (Results 1 - 25 of 165) sorted by relevance

1234567

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/router/busybox-1.x/coreutils/
H A Ddate.c114 } else if (sscanf(date_str, "%d.%d-%d:%d:%d", &tm_time.tm_mon,
118 tm_time.tm_mon -= 1;
119 } else if (sscanf(date_str, "%d.%d-%d:%d", &tm_time.tm_mon,
123 tm_time.tm_mon -= 1;
125 &tm_time.tm_mon, &tm_time.tm_mday,
129 tm_time.tm_mon -= 1; /* Adjust dates from 1-12 to 0-11 */
131 &tm_time.tm_mon, &tm_time.tm_mday,
134 tm_time.tm_mon -= 1; /* Adjust dates from 1-12 to 0-11 */
142 nr = sscanf(date_str, "%2d%2d%2d%2d%d", &tm_time.tm_mon,
163 tm_time.tm_mon
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/router/busybox-1.x/archival/libunarchive/
H A Dheader_verbose_list.c19 1 + mtime->tm_mon,
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/rtc/
H A Drtc-lib.c81 tm->tm_mon = month;
97 || ((unsigned)tm->tm_mon) >= 12
99 || tm->tm_mday > rtc_month_days(tm->tm_mon, tm->tm_year + 1900)
114 *time = mktime(tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday,
H A Drtc-at91rm9200.c73 tm->tm_mon = BCD2BIN((date & AT91_RTC_MONTH) >> 16) - 1;
83 tm->tm_yday = rtc_year_days(tm->tm_mday, tm->tm_mon, tm->tm_year);
87 1900 + tm->tm_year, tm->tm_mon, tm->tm_mday,
101 1900 + tm->tm_year, tm->tm_mon, tm->tm_mday,
120 | BIN2BCD(tm->tm_mon + 1) << 16 /* tm_mon starts at zero */
139 tm->tm_yday = rtc_year_days(tm->tm_mday, tm->tm_mon, tm->tm_year);
146 1900 + tm->tm_year, tm->tm_mon, tm->tm_mday,
174 BIN2BCD(tm.tm_mon + 1) << 16 /* tm_mon start
[all...]
H A Drtc-proc.c36 tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday);
60 if ((unsigned int)alrm.time.tm_mon <= 11)
61 seq_printf(seq, "%02d-", alrm.time.tm_mon + 1);
H A Dhctosys.c52 tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday,
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/os_brew/
H A Dlocaltime.c42 DB_GLOBAL(ltm).tm_mon = jt.wMonth - 1; /* month of year (0 - 11) */
48 switch (DB_GLOBAL(ltm).tm_mon) {
65 if (DB_GLOBAL(ltm).tm_mon > 1 && /* +1 leap years after Feb. */
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/cris/arch-v10/drivers/
H A Dpcf8563.c105 tm->tm_mon = rtc_read(RTC_MONTH);
111 tm->tm_year = BCD_TO_BIN(tm->tm_year) + ((tm->tm_mon & 0x80) ? 100 : 0);
116 tm->tm_mon &= 0x1f;
122 BCD_TO_BIN(tm->tm_mon);
123 tm->tm_mon--; /* Month is 1..12 in RTC but 0..11 in linux */
237 tm.tm_mon += 1;
239 leap = ((tm.tm_mon == 2) && ((tm.tm_year % 4) == 0)) ? 1 : 0;
243 (tm.tm_mon > 12) ||
245 (tm.tm_mday > days_in_month[tm.tm_mon] + leap) ||
259 tm.tm_mon |
[all...]
H A Dds1302.c341 rtc_tm->tm_mon = CMOS_READ(RTC_MONTH);
350 BCD_TO_BIN(rtc_tm->tm_mon);
361 rtc_tm->tm_mon--;
400 mon = rtc_tm.tm_mon + 1; /* tm_mon starts at zero */
500 tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/cris/arch-v32/drivers/
H A Dpcf8563.c114 tm->tm_mon = rtc_read(RTC_MONTH);
121 tm->tm_year = BCD_TO_BIN(tm->tm_year) + ((tm->tm_mon & 0x80) ? 100 : 0);
127 tm->tm_mon &= 0x1F;
133 BCD_TO_BIN(tm->tm_mon);
134 tm->tm_mon--; /* Month is 1..12 in RTC but 0..11 in linux */
248 tm.tm_mon += 1;
256 leap = (tm.tm_mon == 2) && ((year % 4 == 0 && year % 100 != 0) || year % 400 == 0);
260 (tm.tm_mon > 12) ||
262 (tm.tm_mday > days_in_month[tm.tm_mon] + leap) ||
277 tm.tm_mon |
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/powerpc/platforms/ps3/
H A Dtime.c36 pr_debug("%s:%d tm_mon %d\n", func, line, tm->tm_mon);
87 u64 now = mktime(tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday,
98 tm->tm_mon -= 1;
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-arm/
H A Drtc.h36 ((unsigned)tm->tm_mon >= 12) ||
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/m68k/sun3/
H A Dintersil.c53 todintersil->month = t->tm_mon;
63 t->tm_mon = todintersil->month;
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-ppc/
H A Drtc.h55 time->tm_mon -= 1; /* Make sure userland has a 0-based month */
66 nowtime = mktime(time->tm_year+1900, time->tm_mon+1,
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/ppp-2.4.4/pppd/plugins/radius/
H A Dutil.c42 tm->tm_mon = i;
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/powerpc/platforms/maple/
H A Dtime.c67 tm->tm_mon = maple_clock_read(RTC_MONTH);
77 BCD_TO_BIN(tm->tm_mon);
104 mon = tm->tm_mon;
176 return mktime(tm.tm_year+1900, tm.tm_mon+1, tm.tm_mday,
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/base/power/
H A Dtrace.c88 .tm_mon = 5, // June - counting from zero
97 time.tm_mon = (n % 12);
117 time.tm_mon, time.tm_mday, time.tm_year);
121 val += time.tm_mon * 100; /* 12 months */
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-generic/
H A Drtc.h80 time->tm_mon = CMOS_READ(RTC_MONTH);
94 BCD_TO_BIN(time->tm_mon);
109 time->tm_mon--;
126 mon = time->tm_mon + 1; /* tm_mon starts at zero */
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-m32r/
H A Drtc.h51 int tm_mon; member in struct:rtc_time
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-mips/
H A Drtc.h47 nowtime = mktime(time->tm_year+1900, time->tm_mon+1,
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm/
H A Drtc.h47 nowtime = mktime(time->tm_year+1900, time->tm_mon+1,
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/powerpc/kernel/
H A Drtas-rtc.c78 rtc_tm->tm_mon = ret[1] - 1;
90 tm->tm_year + 1900, tm->tm_mon + 1,
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-parisc/
H A Drtc.h93 wtime->tm_mon = y;
103 secs = mktime(wtime->tm_year + 1900, wtime->tm_mon + 1, wtime->tm_mday,
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/char/
H A Dip27-rtc.c104 mon = rtc_tm.tm_mon + 1; /* tm_mon starts at zero */
271 tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, epoch);
306 rtc_tm->tm_mon = rtc->month;
315 rtc_tm->tm_mon = BCD2BIN(rtc_tm->tm_mon);
325 rtc_tm->tm_mon--;
H A Dds1302.c128 rtc_tm->tm_mon = CMOS_READ(RTC_MONTH);
137 BCD_TO_BIN(rtc_tm->tm_mon);
148 rtc_tm->tm_mon--;
187 mon = rtc_tm.tm_mon + 1; /* tm_mon starts at zero */
275 tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday);

Completed in 195 milliseconds

1234567