Searched refs:tm_year (Results 51 - 75 of 167) sorted by relevance

1234567

/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/curl-7.23.1/lib/
H A Dparsedate.c277 int tm_year; member in struct:my_tm
291 if(tm->tm_year < 70)
296 year = tm->tm_year + 1900;
491 tm.tm_year = yearnum - 1900;
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/dnsmasq/
H A Ddhcp.c73 &lease_time.tm_year,
90 time_t time = ((((((365 * (lease_time.tm_year - 1970) + /* Days in years since '70 */
91 (lease_time.tm_year - 1969) / 4 + /* Leap days since '70 */
96 !((lease_time.tm_year - 1972) & 3)) +
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/dnsmasq-2.15/src/
H A Disc.c131 &lease_time.tm_year,
148 time_t time = ((((((365 * (lease_time.tm_year - 1970) + /* Days in years since '70 */
149 (lease_time.tm_year - 1969) / 4 + /* Leap days since '70 */
154 !((lease_time.tm_year - 1972) & 3)) +
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/dnsmasq-2.33/src/
H A Disc.c126 &lease_time.tm_year,
143 time_t time = ((((((365 * (lease_time.tm_year - 1970) + /* Days in years since '70 */
144 (lease_time.tm_year - 1969) / 4 + /* Leap days since '70 */
149 !((lease_time.tm_year - 1972) & 3)) +
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/rtc/
H A Drtc-m48t86.c61 tm->tm_year = ops->readbyte(M48T86_REG_YEAR) + 100;
71 tm->tm_year = BCD2BIN(ops->readbyte(M48T86_REG_YEAR)) + 100;
102 ops->writebyte(tm->tm_year % 100, M48T86_REG_YEAR);
111 ops->writebyte(BIN2BCD(tm->tm_year % 100), M48T86_REG_YEAR);
H A Drtc-v3020.c102 dt->tm_year = BCD2BIN(tmp)+100;
109 printk("tm_year: %i\n",dt->tm_year);
130 printk("tm_year: %i\n",dt->tm_year);
140 v3020_set_reg(chip, V3020_YEAR, BIN2BCD(dt->tm_year % 100));
H A Drtc-pcf8583.c78 dt->tm_year = buf[4] >> 6;
108 buf[6] = BIN2BCD(dt->tm_mday) | (dt->tm_year << 6);
222 year_offset = tm->tm_year - (real_year & 3);
229 tm->tm_year = (real_year + year_offset + year[1] * 100) - 1900;
240 unsigned int proper_year = tm->tm_year + 1900;
H A Drtc-rs5c313.c258 tm->tm_year = BCD2BIN(data);
260 if (tm->tm_year < 70)
261 tm->tm_year += 100;
317 data = BIN2BCD(tm->tm_year % 100);
352 tm.tm_year = 2000 - 1900;
H A Drtc-sh.c331 tm->tm_year = (yr100 * 100 + BCD2BIN(yr)) - 1900;
348 tm->tm_mday, tm->tm_mon + 1, tm->tm_year, tm->tm_wday);
378 year = tm->tm_year % 100;
381 year = (BIN2BCD((tm->tm_year + 1900) / 100) << 8) |
382 BIN2BCD(tm->tm_year % 100);
427 tm->tm_year = 0xffff;
454 if (tm->tm_year == 0xffff)
455 tm->tm_year = -1;
469 if (tm->tm_year > 9999 ||
H A Drtc-ds1307.c124 t->tm_year = BCD2BIN(ds1307->regs[DS1307_REG_YEAR]) + 100;
130 t->tm_mon, t->tm_year, t->tm_wday);
146 t->tm_mon, t->tm_year, t->tm_wday);
157 tmp = t->tm_year - 100;
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/i2c/chips/
H A Dds1337.c128 dt->tm_year = BCD2BIN(buf[6]);
130 dt->tm_year += 100;
136 dt->tm_mon, dt->tm_year, dt->tm_wday);
160 dt->tm_mday, dt->tm_mon, dt->tm_year, dt->tm_wday);
169 val = dt->tm_year;
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/wget-1.12/src/
H A Dftp-ls.c405 timestruct.tm_year = tnow->tm_year - 1;
407 timestruct.tm_year = tnow->tm_year;
410 timestruct.tm_year = year;
411 if (timestruct.tm_year >= 1900)
412 timestruct.tm_year -= 1900;
499 timestruct.tm_year = year;
1136 fprintf (fp, "%d %s %02d ", ptm->tm_year + 1900, months[ptm->tm_mon],
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/m68k/amiga/
H A Dconfig.c535 t->tm_year = tod_3000.year1 * 10 + tod_3000.year2;
536 if (t->tm_year <= 69)
537 t->tm_year += 100;
551 if (t->tm_year >= 100)
552 t->tm_year -= 100;
553 tod_3000.year1 = t->tm_year / 10;
554 tod_3000.year2 = t->tm_year % 10;
585 t->tm_year = tod_2000.year1 * 10 + tod_2000.year2;
586 if (t->tm_year <= 69)
587 t->tm_year
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/zlib-1.2.3/contrib/minizip/
H A Dminiunz.c74 if (tmu_date.tm_year > 1900)
75 newdate.tm_year=tmu_date.tm_year - 1900;
77 newdate.tm_year=tmu_date.tm_year ;
223 (uLong)file_info.tmu_date.tm_year % 100,
H A Dzip.h94 uInt tm_year; /* years - [1980..2044] */ member in struct:tm_zip_s
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/arm/common/
H A Drtctime.c55 next->tm_year = now->tm_year;
206 alrm.time.tm_year = -1;
363 tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday,
383 if ((unsigned int)alrm.time.tm_year <= 200)
384 p += sprintf(p, "%04d-", alrm.time.tm_year + 1900);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/zlib-1.2.3/contrib/minizip/
H A Dminiunz.c74 if (tmu_date.tm_year > 1900)
75 newdate.tm_year=tmu_date.tm_year - 1900;
77 newdate.tm_year=tmu_date.tm_year ;
223 (uLong)file_info.tmu_date.tm_year % 100,
H A Dzip.h94 uInt tm_year; /* years - [1980..2044] */ member in struct:tm_zip_s
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/utils/
H A Dnet_cache.c49 if (timeout_tm.tm_year != now_tm->tm_year ||
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/mips/pmc-sierra/yosemite/
H A Dsetup.c111 m48t37_base->year = BIN2BCD(tm.tm_year % 100);
112 m48t37_base->century = BIN2BCD(tm.tm_year / 100);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/mips/tx4938/common/
H A Drtc_rx5c348.c93 year = tm.tm_year % 100;
99 century = tm.tm_year / 100;
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/ppc/syslib/
H A Dtodc_time.c382 tm.tm_year = (tm.tm_year - 1900) % 100;
393 BIN_TO_BCD(tm.tm_year);
401 todc_write_val(todc_info->year, tm.tm_year);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/m68k/atari/
H A Dtime.c133 year = t->tm_year - 80;
156 t->tm_year = val.year_ones + val.year_tens * 10 + 80;
180 year = t->tm_year - atari_rtc_year_offset;
276 t->tm_year = year + atari_rtc_year_offset;
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-cris/
H A Drtc.h91 int tm_year; member in struct:rtc_time
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/mips/sibyte/swarm/
H A Drtc_xicor1241.c141 tmp = tm.tm_year / 100;
142 tm.tm_year %= 100;
143 xicor_write(X1241REG_YR, tm.tm_year);

Completed in 160 milliseconds

1234567