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

123

/asus-wl-520gu-7.0.1.45/src/router/busybox/
H A Ddate.c50 &(tm_time->tm_mon),
63 tm_time->tm_mon -= 1;
88 &t.tm_mon,
93 t.tm_mon -= 1; /* Adjust dates from 1-12 to 0-11 */
96 &t.tm_mon,
100 t.tm_mon -= 1; /* Adjust dates from 1-12 to 0-11 */
104 &t.tm_mon,
110 t.tm_mon -= 1; /* Adjust dates from 1-12 to 0-11 */
114 &t.tm_mon,
118 t.tm_mon
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/cris/drivers/
H A Dpcf8563.c71 tm->tm_mon = rtc_read(RTC_MONTH);
77 tm->tm_year = BCD_TO_BIN(tm->tm_year) + ((tm->tm_mon & 0x80) ? 100 : 0);
82 tm->tm_mon &= 0x1f;
88 BCD_TO_BIN(tm->tm_mon);
89 tm->tm_mon--; /* Month is 1..12 in RTC but 0..11 in linux */
201 tm.tm_mon += 1;
203 leap = ((tm.tm_mon == 2) && ((tm.tm_year % 4) == 0)) ? 1 : 0;
207 (tm.tm_mon > 12) ||
209 (tm.tm_mday > days_in_month[tm.tm_mon] + leap) ||
223 tm.tm_mon |
[all...]
H A Dds1302.c297 rtc_tm->tm_mon = CMOS_READ(RTC_MONTH);
306 BCD_TO_BIN(rtc_tm->tm_mon);
317 rtc_tm->tm_mon--;
355 mon = rtc_tm.tm_mon + 1; /* tm_mon starts at zero */
444 tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday);
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Drtc.h25 int tm_mon; member in struct:rtc_time
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Drtc.h25 int tm_mon; member in struct:rtc_time
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/macintosh/
H A Drtc.c43 t->tm_mon -= 1; /* Make sure userland has a 0-based month */
51 nowtime = mktime(t->tm_year+1900, t->tm_mon+1, t->tm_mday,
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/m68k/sun3/
H A Dintersil.c78 todintersil->month = t->tm_mon;
88 t->tm_mon = todintersil->month;
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/khttpd/
H A Dmake_times_h.c35 TM.tm_mon = M;
52 TM.tm_mon = M;
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc64/kernel/
H A Drtc.c116 mon = rtc_tm.tm_mon + 1; /* tm_mon starts at zero */
239 tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, epoch);
271 rtc_tm->tm_mon--;
300 rtc_tm->tm_mon = ret[1] - 1;
316 tm->tm_year + 1900, tm->tm_mon + 1,
381 tm->tm_mon -= 1;
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/sgi-ip27/
H A Dip27-rtc.c103 mon = rtc_tm.tm_mon + 1; /* tm_mon starts at zero */
265 tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, epoch);
300 rtc_tm->tm_mon = rtc->month;
309 BCD_TO_BIN(rtc_tm->tm_mon);
319 rtc_tm->tm_mon--;
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/sibyte/swarm/
H A Drtc_xicor1241.c135 /* tm_mon starts from 0, *ick* */
136 tm.tm_mon ++;
137 BIN_TO_BCD(tm.tm_mon);
138 xicor_write(X1241REG_MO, tm.tm_mon);
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/m68k/sun3x/
H A Dtime.c78 h->month = BIN_TO_BCD(t->tm_mon);
88 t->tm_mon = BCD_TO_BIN(h->month);
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/netfilter/
H A Dipt_time.c31 int tm_mon; /* Month. [0-11] */ member in struct:tm
188 r->tm_mon=i;
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/netfilter.noQoS/
H A Dipt_time.c31 int tm_mon; /* Month. [0-11] */ member in struct:tm
185 r->tm_mon=i;
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc/platforms/
H A Dprep_time.c81 BIN_TO_BCD(tm.tm_mon);
88 CMOS_WRITE(tm.tm_mon, RTC_MONTH);
172 BIN_TO_BCD(tm.tm_mon);
179 ppc_md.nvram_write_val(MK48T59_RTC_MONTH, tm.tm_mon);
H A Dchrp_time.c98 BIN_TO_BCD(tm.tm_mon);
105 chrp_cmos_clock_write(tm.tm_mon,RTC_MONTH);
/asus-wl-520gu-7.0.1.45/src/router/dnsmasq/
H A Ddhcp.c74 &lease_time.tm_mon,
92 (lease_time.tm_mon > 1 /* Days in months this year */
93 ? months [lease_time.tm_mon - 2]
95 (lease_time.tm_mon > 2 && /* Leap day this year */
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/debugfs/
H A Dutil.c223 sscanf(arg, "%4d%2d%2d%2d%2d%2d", &ts.tm_year, &ts.tm_mon,
226 ts.tm_mon -= 1;
227 if (ts.tm_year < 0 || ts.tm_mon < 0 || ts.tm_mon > 11 ||
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-arm/arch-shark/
H A Dtime.h79 xtime.tv_sec = mktime(r_time.tm_year+epoch, r_time.tm_mon+1, r_time.tm_mday,
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-arm/arch-shark/
H A Dtime.h79 xtime.tv_sec = mktime(r_time.tm_year+epoch, r_time.tm_mon+1, r_time.tm_mday,
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sgi/char/
H A Dds1286.c329 tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday);
428 rtc_tm->tm_mon = CMOS_READ(RTC_MONTH) & 0x1f;
438 BCD_TO_BIN(rtc_tm->tm_mon);
450 rtc_tm->tm_mon--;
461 mon = rtc_tm->tm_mon + 1; /* tm_mon starts at zero */
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/m68k/bvme6000/
H A Drtc.c62 wtime.tm_mon = BCD2BIN(rtc->bcd_mth)-1;
89 mon = rtc_tm.tm_mon + 1; /* tm_mon starts at zero */
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/m68k/mvme16x/
H A Drtc.c59 wtime.tm_mon = BCD2BIN(rtc->bcd_mth)-1;
85 mon = rtc_tm.tm_mon + 1; /* tm_mon starts at zero */
/asus-wl-520gu-7.0.1.45/src/router/samba/source/utils/
H A Dnet_cache.c50 timeout_tm.tm_mon != now_tm->tm_mon ||
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-cris/
H A Drtc.h89 int tm_mon; member in struct:rtc_time

Completed in 221 milliseconds

123