/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/include/asm/mach-rm/ |
H A D | mc146818rtc.h | 14 #define mc146818_decode_year(year) ((year) < 70 ? (year) + 2000 : (year) + 1900) 16 #define mc146818_decode_year(year) ((year) + 1980)
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/include/asm/mach-generic/ |
H A D | mc146818rtc.h | 33 #define mc146818_decode_year(year) ((year) < 70 ? (year) + 2000 : (year) + 1900)
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/include/asm/mach-loongson/ |
H A D | mc146818rtc.h | 33 #define mc146818_decode_year(year) ((year) < 70 ? (year) + 2000 : (year) + 1970)
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/include/asm/mach-malta/ |
H A D | mc146818rtc.h | 46 #define mc146818_decode_year(year) ((year) < 70 ? (year) + 2000 : (year) + 1900)
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/isofs/ |
H A D | util.c | 19 int year, month, day, hour, minute, second, tz; local 22 year = p[0] - 70; 31 if (year < 0) { 36 days = year * 365; 37 if (year > 2) 38 days += (year+1) / 4; 41 if (((year+2) % 4) == 0 && month > 2)
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/rtc/ |
H A D | rtc-lib.c | 33 int rtc_month_days(unsigned int month, unsigned int year) argument 35 return rtc_days_in_month[month] + (is_leap_year(year) && month == 1); 42 int rtc_year_days(unsigned int day, unsigned int month, unsigned int year) argument 44 return rtc_ydays[is_leap_year(year)][month] + day-1; 53 unsigned int month, year; local 62 year = 1970 + days / 365; 63 days -= (year - 1970) * 365 64 + LEAPS_THRU_END_OF(year - 1) 67 year -= 1; 68 days += 365 + is_leap_year(year); [all...] |
H A D | rtc-pcf8583.c | 177 unsigned char ctrl, year[2]; local 178 struct rtc_mem mem = { CMOS_YEAR, sizeof(year), year }; 199 real_year = year[0]; 202 * The RTC year holds the LSB two bits of the current 203 * year, which should reflect the LSB two bits of the 204 * CMOS copy of the year. Any difference indicates 210 * RTC year wrapped. Adjust it appropriately. 214 tm->tm_year = (real_year + year_offset + year[1] * 100) - 1900; 222 unsigned char year[ local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/include/asm/mach-ip32/ |
H A D | mc146818rtc.h | 28 #define mc146818_decode_year(year) ((year) + 2000)
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/include/asm/mach-jazz/ |
H A D | mc146818rtc.h | 36 #define mc146818_decode_year(year) ((year) + 1980)
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/h8300/include/asm/ |
H A D | target_time.h | 3 extern void platform_gettod(unsigned int *year, unsigned int *mon, unsigned int *day,
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/m68k/sun3x/ |
H A D | time.h | 16 volatile unsigned char year; member in struct:mostek_dt
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/script/ |
H A D | scancvslog.pl | 12 # "monthname day, year" 76 ($month, $day, $year) = split(" ",$_); 77 if (($year < 1900)||($day < 1)||($day > 31)||not length($Monthnum{$month})) { 79 print "Date needs to be specified as \"Monthname day, year\"\n"; 83 $year = ($year == 19100) ? 2000 : $year; 85 $Mytime=&timelocal((0,0,0,$day,$month,$year));
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/m68knommu/kernel/ |
H A D | time.c | 62 unsigned int year, mon, day, hour, min, sec; local 65 mach_gettod(&year, &mon, &day, &hour, &min, &sec); 67 year = mon = day = hour = min = sec = 0; 69 if ((year += 1900) < 1970) 70 year += 100; 72 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/h8300/kernel/ |
H A D | time.c | 46 unsigned int year, mon, day, hour, min, sec; local 51 year = 1980; 55 h8300_gettod (&year, &mon, &day, &hour, &min, &sec); 57 if ((year += 1900) < 1970) 58 year += 100; 59 ts->tv_sec = mktime(year, mon, day, hour, min, sec);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/include/asm/ |
H A D | mc146818-time.h | 91 unsigned int year, mon, day, hour, min, sec; local 102 year = CMOS_READ(RTC_YEAR); 111 year = bcd2bin(year); 114 year = mc146818_decode_year(year); 116 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/frv/kernel/ |
H A D | time.c | 101 unsigned int year, mon, day, hour, min, sec; local 103 extern void arch_gettod(int *year, int *mon, int *day, int *hour, int *min, int *sec); 108 year = 1980; 111 arch_gettod (&year, &mon, &day, &hour, &min, &sec); 113 if ((year += 1900) < 1970) 114 year += 100; 115 ts->tv_sec = mktime(year, mon, day, hour, min, sec);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/common/ |
H A D | datetime.cpp | 355 // get the number of days in the given month of the given year 357 wxDateTime::wxDateTime_t GetNumOfDaysInMonth(int year, wxDateTime::Month month) argument 367 return daysInMonth[wxDateTime::IsLeapYear(year)][month]; 406 int year) 412 (year > JDN_0_YEAR) || 413 ((year == JDN_0_YEAR) && (mon > JDN_0_MONTH)) || 414 ((year == JDN_0_YEAR) && (mon == JDN_0_MONTH) && (day >= JDN_0_DAY)), 418 // make the year positive to avoid problems with negative numbers division 419 year += 4800; 430 year 404 GetTruncatedJDN(wxDateTime::wxDateTime_t day, wxDateTime::Month mon, int year) argument 499 ReplaceDefaultYearMonthWithCurrent(int *year, wxDateTime::Month *month) argument 786 IsLeapYear(int year, wxDateTime::Calendar cal) argument 813 GetCentury(int year) argument 819 ConvertYearToBC(int year) argument 866 GetNumberOfDays(int year, Calendar cal) argument 889 GetNumberOfDays(wxDateTime::Month month, int year, wxDateTime::Calendar cal) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/udf/ |
H A D | udftime.c | 44 /* Nonzero if YEAR is a leap year (every 4 years, 46 #define __isleap(year) \ 47 ((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0)) 93 u16 year = le16_to_cpu(src.year); local 106 if ((year < EPOCH_YEAR) || 107 (year >= EPOCH_YEAR + MAX_YEAR_SECONDS)) { 110 dest->tv_sec = year_seconds[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 | machdep_no.h | 13 extern void (*mach_gettod)(int *year, int *mon, int *day, int *hour,
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/cris/kernel/ |
H A D | time.c | 8 * fixed set_rtc_mmss, fixed time.year for >= 2000, new mktime 103 unsigned int year, mon, day, hour, min, sec; local 112 year = CMOS_READ(RTC_YEAR); 119 year = bcd2bin(year); 121 if ((year += 1900) < 1970) 122 year += 100; 124 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/mips/dec/ |
H A D | time.c | 23 unsigned int year, mon, day, hour, min, sec, real_year; local 34 year = CMOS_READ(RTC_YEAR); 36 * The PROM will reset the year to either '72 or '73. 37 * Therefore we store the real year separately, in one 51 year = bcd2bin(year); 54 year += real_year - 72 + 2000; 56 ts->tv_sec = mktime(year, mon, day, hour, min, sec);
|
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/coreutils/ |
H A D | cal.c | 45 /* leap year -- account for Gregorian reformation in 1752 */ 61 /* number of leap years between year 1 and this year, not inclusive */ 84 unsigned month, year, flags, i; local 102 year = local_time->tm_year + 1900; 110 year = xatou_range(*argv, 1, 9999); 133 day_array(month, year, dp); 134 len = sprintf(lineout, "%s %d", month_names[month - 1], year); 148 sprintf(lineout, "%d", year); 156 day_array(i + 1, year, day 192 day_array(unsigned month, unsigned year, unsigned *days) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/msw/wince/ |
H A D | time.cpp | 364 case 'G': /* ISO 8601 year (four digits) */ 365 case 'g': /* ISO 8601 year (two digits) */ 367 int year; local 372 year = t->tm_year + TM_YEAR_BASE; 380 len = isleap(year) ? 385 ** the ISO year begin on? 391 ** ISO year begin on? 399 ++year; 408 --year; 409 yday += isleap(year) 650 common_tm_to_time(int day, int month, int year, int hour, int minute, int second) argument 724 short month, year; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/examples/logon/genlogon/ |
H A D | genlogon.pl | 25 #($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time); 26 ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time); 28 print LOG "$mon/$mday/$year $hour:$min:$sec - User $ARGV[0] logged into $ARGV[1]\n";
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/m32r/kernel/ |
H A D | time.c | 143 unsigned int epoch, year, mon, day, hour, min, sec; local 145 sec = min = hour = day = mon = year = 0; 148 year = 23; 155 if (year > 10 && year < 44) 157 else if (year < 96) 159 year += epoch; 161 ts->tv_sec = mktime(year, mon, day, hour, min, sec);
|