/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/ |
H A D | o_time.h | 64 struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/ |
H A D | o_time.h | 64 struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/rtc/ |
H A D | rtc-lib.c | 52 void rtc_time_to_tm(unsigned long time, struct rtc_time *tm) argument 60 tm->tm_wday = (days + 4) % 7; 70 tm->tm_year = year - 1900; 71 tm->tm_yday = days + 1; 81 tm->tm_mon = month; 82 tm->tm_mday = days + 1; 84 tm->tm_hour = time / 3600; 85 time -= tm->tm_hour * 3600; 86 tm->tm_min = time / 60; 87 tm 94 rtc_valid_tm(struct rtc_time *tm) argument 112 rtc_tm_to_time(struct rtc_time *tm, unsigned long *time) argument [all...] |
H A D | hctosys.c | 28 struct rtc_time tm; local 37 err = rtc_read_time(rtc, &tm); 39 err = rtc_valid_tm(&tm); 45 rtc_tm_to_time(&tm, &tv.tv_sec); 52 tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, 53 tm.tm_hour, tm.tm_min, tm [all...] |
H A D | rtc-at91rm9200.c | 49 struct rtc_time *tm) 60 tm->tm_sec = BCD2BIN((time & AT91_RTC_SEC) >> 0); 61 tm->tm_min = BCD2BIN((time & AT91_RTC_MIN) >> 8); 62 tm->tm_hour = BCD2BIN((time & AT91_RTC_HOUR) >> 16); 69 tm->tm_year = BCD2BIN(date & AT91_RTC_CENT) * 100; /* century */ 70 tm->tm_year += BCD2BIN((date & AT91_RTC_YEAR) >> 8); /* year */ 72 tm->tm_wday = BCD2BIN((date & AT91_RTC_DAY) >> 21) - 1; /* day of the week [0-6], Sunday=0 */ 73 tm->tm_mon = BCD2BIN((date & AT91_RTC_MONTH) >> 16) - 1; 74 tm->tm_mday = BCD2BIN((date & AT91_RTC_DATE) >> 24); 80 static int at91_rtc_readtime(struct device *dev, struct rtc_time *tm) argument 48 at91_rtc_decodetime(unsigned int timereg, unsigned int calreg, struct rtc_time *tm) argument 96 at91_rtc_settime(struct device *dev, struct rtc_time *tm) argument 136 struct rtc_time *tm = &alrm->time; local 157 struct rtc_time tm; local [all...] |
H A D | rtc-pcf8563.c | 82 static int pcf8563_get_datetime(struct i2c_client *client, struct rtc_time *tm) argument 111 tm->tm_sec = BCD2BIN(buf[PCF8563_REG_SC] & 0x7F); 112 tm->tm_min = BCD2BIN(buf[PCF8563_REG_MN] & 0x7F); 113 tm->tm_hour = BCD2BIN(buf[PCF8563_REG_HR] & 0x3F); /* rtc hr 0-23 */ 114 tm->tm_mday = BCD2BIN(buf[PCF8563_REG_DM] & 0x3F); 115 tm->tm_wday = buf[PCF8563_REG_DW] & 0x07; 116 tm->tm_mon = BCD2BIN(buf[PCF8563_REG_MO] & 0x1F) - 1; /* rtc mn 1-12 */ 117 tm->tm_year = BCD2BIN(buf[PCF8563_REG_YR]); 118 if (tm->tm_year < 70) 119 tm 139 pcf8563_set_datetime(struct i2c_client *client, struct rtc_time *tm) argument 245 pcf8563_rtc_read_time(struct device *dev, struct rtc_time *tm) argument 250 pcf8563_rtc_set_time(struct device *dev, struct rtc_time *tm) argument [all...] |
H A D | rtc-m48t86.c | 45 static int m48t86_rtc_read_time(struct device *dev, struct rtc_time *tm) argument 55 tm->tm_sec = ops->readbyte(M48T86_REG_SEC); 56 tm->tm_min = ops->readbyte(M48T86_REG_MIN); 57 tm->tm_hour = ops->readbyte(M48T86_REG_HOUR) & 0x3F; 58 tm->tm_mday = ops->readbyte(M48T86_REG_DOM); 60 tm->tm_mon = ops->readbyte(M48T86_REG_MONTH) - 1; 61 tm->tm_year = ops->readbyte(M48T86_REG_YEAR) + 100; 62 tm->tm_wday = ops->readbyte(M48T86_REG_DOW); 65 tm->tm_sec = BCD2BIN(ops->readbyte(M48T86_REG_SEC)); 66 tm 83 m48t86_rtc_set_time(struct device *dev, struct rtc_time *tm) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/iseries/ |
H A D | setup.h | 21 extern int iSeries_set_rtc_time(struct rtc_time *tm); 22 extern void iSeries_get_rtc_time(struct rtc_time *tm);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/ps3/ |
H A D | time.c | 30 static void _dump_tm(const struct rtc_time *tm, const char* func, int line) argument 32 pr_debug("%s:%d tm_sec %d\n", func, line, tm->tm_sec); 33 pr_debug("%s:%d tm_min %d\n", func, line, tm->tm_min); 34 pr_debug("%s:%d tm_hour %d\n", func, line, tm->tm_hour); 35 pr_debug("%s:%d tm_mday %d\n", func, line, tm->tm_mday); 36 pr_debug("%s:%d tm_mon %d\n", func, line, tm->tm_mon); 37 pr_debug("%s:%d tm_year %d\n", func, line, tm->tm_year); 38 pr_debug("%s:%d tm_wday %d\n", func, line, tm->tm_wday); 45 struct rtc_time tm; local 47 to_tm(time, &tm); 85 ps3_set_rtc_time(struct rtc_time *tm) argument 94 ps3_get_rtc_time(struct rtc_time *tm) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/ |
H A D | gettimeofday.c | 41 static struct tm tm_zero_buffer; 42 static struct tm *localtime_buffer_addr = &tm_zero_buffer; 50 struct tm * 54 extern struct tm *localtime (time_t const *); 55 struct tm *tm = localtime (timep); local 58 localtime_buffer_addr = tm; 60 return tm; 64 struct tm * 68 extern struct tm *gmtim 69 struct tm *tm = gmtime (timep); local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/maple/ |
H A D | maple.h | 6 extern int maple_set_rtc_time(struct rtc_time *tm); 7 extern void maple_get_rtc_time(struct rtc_time *tm);
|
H A D | time.c | 44 extern void GregorianDay(struct rtc_time * tm); 60 void maple_get_rtc_time(struct rtc_time *tm) argument 63 tm->tm_sec = maple_clock_read(RTC_SECONDS); 64 tm->tm_min = maple_clock_read(RTC_MINUTES); 65 tm->tm_hour = maple_clock_read(RTC_HOURS); 66 tm->tm_mday = maple_clock_read(RTC_DAY_OF_MONTH); 67 tm->tm_mon = maple_clock_read(RTC_MONTH); 68 tm->tm_year = maple_clock_read(RTC_YEAR); 69 } while (tm->tm_sec != maple_clock_read(RTC_SECONDS)); 73 BCD_TO_BIN(tm 86 maple_set_rtc_time(struct rtc_time *tm) argument 145 struct rtc_time tm; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-arm/ |
H A D | rtc.h | 33 static inline int rtc_periodic_alarm(struct rtc_time *tm) argument 35 return (tm->tm_year == -1) || 36 ((unsigned)tm->tm_mon >= 12) || 37 ((unsigned)(tm->tm_mday - 1) >= 31) || 38 ((unsigned)tm->tm_hour > 23) || 39 ((unsigned)tm->tm_min > 59) || 40 ((unsigned)tm->tm_sec > 59);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/cris/arch-v32/drivers/ |
H A D | pcf8563.c | 107 get_rtc_time(struct rtc_time *tm) argument 109 tm->tm_sec = rtc_read(RTC_SECONDS); 110 tm->tm_min = rtc_read(RTC_MINUTES); 111 tm->tm_hour = rtc_read(RTC_HOURS); 112 tm->tm_mday = rtc_read(RTC_DAY_OF_MONTH); 113 tm->tm_wday = rtc_read(RTC_WEEKDAY); 114 tm->tm_mon = rtc_read(RTC_MONTH); 115 tm->tm_year = rtc_read(RTC_YEAR); 117 if (tm->tm_sec & 0x80) 121 tm 218 struct rtc_time tm; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/radvd/ |
H A D | timer.c | 28 int inline check_time_diff(struct timer_lst *tm, struct timeval tv); 33 struct timer_lst *tm = timers_head.next; local 38 if (tm != &timers_head) 44 timersub(&tm->expires, &tv, &next.it_value); 67 set_timer(struct timer_lst *tm, double secs) argument 82 timeradd(&tv, &firein, &tm->expires); 93 } while ((tm->expires.tv_sec > lst->expires.tv_sec) || 94 ((tm->expires.tv_sec == lst->expires.tv_sec) && 95 (tm->expires.tv_usec > lst->expires.tv_usec))); 97 tm 109 clear_timer(struct timer_lst *tm) argument 131 struct timer_lst *tm, *back; local 168 init_timer(struct timer_lst *tm, void (*handler)(void *), void *data) argument 176 check_time_diff(struct timer_lst *tm, struct timeval tv) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/cris/arch-v10/drivers/ |
H A D | pcf8563.c | 99 get_rtc_time(struct rtc_time *tm) argument 101 tm->tm_sec = rtc_read(RTC_SECONDS); 102 tm->tm_min = rtc_read(RTC_MINUTES); 103 tm->tm_hour = rtc_read(RTC_HOURS); 104 tm->tm_mday = rtc_read(RTC_DAY_OF_MONTH); 105 tm->tm_mon = rtc_read(RTC_MONTH); 106 tm->tm_year = rtc_read(RTC_YEAR); 108 if (tm->tm_sec & 0x80) 111 tm->tm_year = BCD_TO_BIN(tm 205 struct rtc_time tm; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/skfp/ |
H A D | smttimer.c | 42 struct smt_timer *tm ; local 51 for (prev = &smc->t.st_queue ; (tm = *prev) ; prev = &tm->tm_next ) { 52 if (tm == timer) { 53 *prev = tm->tm_next ; 54 if (tm->tm_next) { 55 tm->tm_next->tm_delta += tm->tm_delta ; 66 struct smt_timer *tm ; local 92 for (prev = &smc->t.st_queue ; (tm 123 struct smt_timer *tm ; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/lib/ |
H A D | parsedate.h | 28 CURLcode Curl_gmtime(time_t intime, struct tm *store);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sched/ |
H A D | em_text.c | 35 struct text_match *tm = EM_TEXT_PRIV(m); local 39 from = tcf_get_base_ptr(skb, tm->from_layer) - skb->data; 40 from += tm->from_offset; 42 to = tcf_get_base_ptr(skb, tm->to_layer) - skb->data; 43 to += tm->to_offset; 45 return skb_find_text(skb, from, to, tm->config, &state) != UINT_MAX; 51 struct text_match *tm; local 85 tm = kmalloc(sizeof(*tm), GFP_KERNEL); 86 if (tm 110 struct text_match *tm = EM_TEXT_PRIV(m); local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/dhcp6/ |
H A D | timer.c | 114 newtimer->tm = tm_max; 128 dhcp6_set_timer(struct timeval *tm, argument 136 timeval_add(&now, tm, &timer->tm); 139 if (TIMEVAL_LT(timer->tm, tm_sentinel)) 140 tm_sentinel = timer->tm; 154 struct dhcp6_timer *tm, *tm_next; local 160 for (tm = LIST_FIRST(&timer_head); tm; tm [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-tests/ |
H A D | test-gettimeofday.c | 30 struct tm *lt; 31 struct tm saved_lt; 36 if (memcmp (lt, &saved_lt, sizeof (struct tm)) != 0)
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/powermac/ |
H A D | time.c | 87 static void to_rtc_time(unsigned long now, struct rtc_time *tm) argument 89 to_tm(now, tm); 90 tm->tm_year -= 1900; 91 tm->tm_mon -= 1; 94 static unsigned long from_rtc_time(struct rtc_time *tm) argument 96 return mktime(tm->tm_year+1900, tm->tm_mon+1, tm->tm_mday, 97 tm->tm_hour, tm 120 cuda_set_rtc_time(struct rtc_time *tm) argument 163 pmu_set_rtc_time(struct rtc_time *tm) argument 188 struct rtc_time tm; local 217 pmac_get_rtc_time(struct rtc_time *tm) argument 235 pmac_set_rtc_time(struct rtc_time *tm) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/pppd/plugins/radius/ |
H A D | util.c | 23 * Purpose: Turns printable string into correct tm struct entries. 33 void rc_str2tm (char *valstr, struct tm *tm) argument 42 tm->tm_mon = i; 48 tm->tm_mday = atoi (&valstr[4]); 51 tm->tm_year = atoi (&valstr[7]) - 1900;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/chrp/ |
H A D | time.c | 84 struct rtc_time tm = *tmarg; local 97 BIN_TO_BCD(tm.tm_sec); 98 BIN_TO_BCD(tm.tm_min); 99 BIN_TO_BCD(tm.tm_hour); 100 BIN_TO_BCD(tm.tm_mon); 101 BIN_TO_BCD(tm.tm_mday); 102 BIN_TO_BCD(tm.tm_year); 104 chrp_cmos_clock_write(tm.tm_sec,RTC_SECONDS); 105 chrp_cmos_clock_write(tm.tm_min,RTC_MINUTES); 106 chrp_cmos_clock_write(tm 125 chrp_get_rtc_time(struct rtc_time *tm) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavformat/ |
H A D | cutils.c | 43 time_t mktimegm(struct tm *tm) argument 47 int y = tm->tm_year + 1900, m = tm->tm_mon + 1, d = tm->tm_mday; 57 t += 3600 * tm->tm_hour + 60 * tm->tm_min + tm->tm_sec; 67 struct tm *brktimegm(time_t secs, struct tm *t argument [all...] |