/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/parisc/include/asm/ |
H A D | rtc.h | 35 # define __isleap(year) \ 36 ((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0)) 78 /* Guess a corrected year, assuming 365 days per year. */ 81 /* Adjust DAYS and Y to match the guessed year. */
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/m68knommu/platform/68328/ |
H A D | config.c | 26 void m68328_timer_gettod(int *year, int *mon, int *day, int *hour, int *min, int *sec);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/kernel/time/ |
H A D | timeconv.c | 34 * Nonzero if YEAR is a leap year (every 4 years, 37 static int __isleap(long year) argument 39 return (year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0); 107 /* Guess a corrected year, assuming 365 days per year. */ 110 /* Adjust DAYS and Y to match the guessed year. */
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/h8300/include/asm/ |
H A D | timer.h | 6 void h8300_gettod(unsigned int *year, unsigned int *mon, unsigned int *day,
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/palmos/ |
H A D | datectrl.cpp | 124 int16_t year = m_dt.GetYear(); local 126 if(!SelectDay(selectDayByDay,&month,&day,&year,_T("Pick date"))) 131 (int)year);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/platforms/chrp/ |
H A D | time.c | 127 unsigned int year, mon, day, hour, min, sec; local 135 year = chrp_cmos_clock_read(RTC_YEAR); 144 year = bcd2bin(year); 146 if (year < 70) 147 year += 100; 153 tm->tm_year = year;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/kernel/ |
H A D | rtc.c | 100 unsigned int status, year, mon, day, hour, min, sec, century = 0; local 116 year = CMOS_READ(RTC_YEAR); 133 year = bcd2bin(year); 138 year += century * 100; 139 printk(KERN_INFO "Extended CMOS year: %d\n", century * 100); 141 year += CMOS_YEARS_OFFS; 143 return mktime(year, mon, day, hour, min, sec);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/m68k/atari/ |
H A D | time.c | 109 int hour, year; local 137 year = t->tm_year - 80; 138 val.year_ones = year % 10; 139 val.year_tens = year / 10; 143 val.year_ones = (year % 4); /* leap year register */ 168 int sec=0, min=0, hour=0, day=0, mon=0, year=0, wday=0; local 184 year = t->tm_year - atari_rtc_year_offset; 203 year = bin2bcd(year); [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/build-aux/ |
H A D | mdate-sh | 132 # $4 = year or time 140 # $3 = year or time 165 # the time of day or the year. 167 *:*) set `date`; eval year=\$$# 182 # For the first six month of the year the time notation can also 183 # be used for files modified in the last year. 186 year=`expr $year - 1` 188 *) year=$3;; 192 echo $day $month $year [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/wget-1.12/build-aux/ |
H A D | mdate-sh | 132 # $4 = year or time 140 # $3 = year or time 165 # the time of day or the year. 167 *:*) set `date`; eval year=\$$# 182 # For the first six month of the year the time notation can also 183 # be used for files modified in the last year. 186 year=`expr $year - 1` 188 *) year=$3;; 192 echo $day $month $year [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libunistring-0.9.3/build-aux/ |
H A D | mdate-sh | 136 # $4 = year or time 144 # $3 = year or time 169 # the time of day or the year. 171 *:*) set `date`; eval year=\$$# 186 # For the first six month of the year the time notation can also 187 # be used for files modified in the last year. 190 year=`expr $year - 1` 192 *) year=$3;; 196 echo $day $month $year [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libgcrypt-1.5.0/doc/ |
H A D | mdate-sh | 132 # $4 = year or time 140 # $3 = year or time 165 # the time of day or the year. 167 *:*) set `date`; eval year=\$$# 182 # For the first six month of the year the time notation can also 183 # be used for files modified in the last year. 186 year=`expr $year - 1` 188 *) year=$3;; 192 echo $day $month $year [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/libgcrypt-1.5.0/doc/ |
H A D | mdate-sh | 132 # $4 = year or time 140 # $3 = year or time 165 # the time of day or the year. 167 *:*) set `date`; eval year=\$$# 182 # For the first six month of the year the time notation can also 183 # be used for files modified in the last year. 186 year=`expr $year - 1` 188 *) year=$3;; 192 echo $day $month $year [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/pmc-sierra/yosemite/ |
H A D | setup.c | 75 unsigned int year, month, day, hour, min, sec; local 82 year = bcd2bin(m48t37_base->year); 83 year += bcd2bin(m48t37_base->century) * 100; 95 ts->tv_sec = mktime(year, month, day, hour, min, sec); 116 /* year */ 117 m48t37_base->year = bin2bcd(tm.tm_year % 100);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/alpha/kernel/ |
H A D | time.c | 9 * fixed set_rtc_mmss, fixed time.year for >= 2000, new mktime 121 unsigned int year, mon, day, hour, min, sec, epoch; local 128 year = CMOS_READ(RTC_YEAR); 136 year = bcd2bin(year); 139 /* PC-like is standard; used for year >= 70 */ 141 if (year < 20) 143 else if (year >= 20 && year < 48) 146 else if (year > [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/m68k/include/asm/ |
H A D | intersil.h | 34 unsigned char year; member in struct:intersil_dt
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/include/asm/ |
H A D | m48t37.h | 28 volatile u8 year; member in struct:m48t37_rtc
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/char/ |
H A D | efirtc.c | 55 #define is_leap(year) \ 56 ((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0)) 67 * returns day of the year [0-365] 73 return __mon_yday[is_leap(eft->year)][eft->month-1]+ eft->day -1; 78 * Don't try to provide a year that's before 1998, please ! 86 if ( eft->year < 1998 ) { 87 printk(KERN_ERR "efirtc: EFI year < 1998, invalid date\n"); 91 for(y=EFI_RTC_EPOCH; y < eft->year; [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ncftp-3.2.5/source/libncftp/ |
H A D | u_getutc.c | 15 GetUTCOffset2(const int year, const int mon, const int mday, const int hour, const int min) argument 25 local_tm.tm_year = year;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/m68k/sun3/ |
H A D | intersil.c | 54 todintersil->year = t->tm_year - 68; 64 t->tm_year = todintersil->year + 68;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/rtc/ |
H A D | rtc-efi.c | 30 * returns day of the year [0-365] 36 return rtc_year_days(eft->day - 1, eft->month - 1, eft->year); 41 * Don't try to provide a year that's before 1998, please ! 49 if (eft->year < 1998) { 50 printk(KERN_ERR "efirtc: EFI year < 1998, invalid date\n"); 54 for (y = EFI_RTC_EPOCH; y < eft->year; y++) 68 eft->year = wtime->tm_year + 1900; 88 wtime->tm_year = eft->year - 1900; 93 /* day in the year [1-365]*/
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/acpi/ |
H A D | blacklist.c | 83 int year; local 86 if (!dmi_get_date(DMI_BIOS_DATE, &year, NULL, NULL)) { 87 printk(KERN_ERR PREFIX "no DMI BIOS year, " 92 if (year == 0) { 93 printk(KERN_ERR PREFIX "DMI BIOS year==0, " 97 if (year < CONFIG_ACPI_BLACKLIST_YEAR) { 100 year, CONFIG_ACPI_BLACKLIST_YEAR);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/platforms/maple/ |
H A D | time.c | 87 int sec, min, hour, mon, mday, year; local 104 year = tm->tm_year; 112 year = bin2bcd(year); 119 maple_clock_write(year, RTC_YEAR);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sh/boards/mach-sh03/ |
H A D | rtc.c | 42 unsigned int year, mon, day, hour, min, sec; local 52 year = (__raw_readb(RTC_YEA1) & 0xf) + (__raw_readb(RTC_YEA10) & 0xf) * 10 56 if (year == 0 || mon < 1 || mon > 12 || day > 31 || day < 1 || 60 printk("year=%d, mon=%d, day=%d, hour=%d, min=%d, sec=%d\n", 61 year, mon, day, hour, min, sec); 77 return mktime(year, mon, day, hour, min, sec);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/lzo-2.06/autoconf/ |
H A D | mdate-sh | 155 # $4 = year or time 163 # $3 = year or time 188 # the time of day or the year. 190 *:*) set `date`; eval year=\$$# 205 # For the first six month of the year the time notation can also 206 # be used for files modified in the last year. 209 year=`expr $year - 1` 211 *) year=$3;; 215 echo $day $month $year [all...] |