/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/tests/datetime/ |
H A D | datetimetest.cpp | 50 DateChanger(int year, int month, int day, int hour, int min, int sec) argument 55 st.wYear = year; 92 int year; member in struct:Date 102 year = tm.year; 111 { return wxDateTime(day, month, year, hour, min, sec); } 115 return day == tm.mday && month == tm.mon && year == tm.year; 125 abs(wxDateTime::ConvertYearToBC(year)), 126 year > 232 int year; member in struct:LeapYearTestData 311 int year; // and the year member in struct:WeekDateTestData 519 int year = d.year; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/mtools-4.0.10/ |
H A D | directory.c | 100 unsigned char year, month_hi, month_low, day; local 112 year = (now->tm_year - 80) << 1; 116 ndir -> adate[1] = ndir->cdate[1] = ndir->date[1] = year + month_hi;
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/wget-1.12/src/ |
H A D | ftp-ls.c | 102 int year, month, day; /* for time analysis */ local 184 year = hour = min = sec = 0; /* Silence the compiler. */ 246 /* This ought to be either the time, or the year. Let's 249 If we have a number x, it's a year. If we have x:y, 252 year = 0; 257 /* Suppose it's year. */ 259 year = (*tok - '0') + 10 * year; 263 hour = year; 264 year 430 int year, month, day; /* for time analysis */ local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/include/wx/ |
H A D | datetime.h | 323 // leap year from 1700 through 1740 the eleven superfluous days would 328 // So 1700 (which should have been a leap year in the Julian calendar) 329 // was not a leap year in Sweden. However, by mistake 1704 and 1708 333 // day in 1712, making that year a double leap year! So in 1712, 394 // invalid value for the year 457 int year; member in struct:wxDateTime::Tm 507 // return the current year 510 // convert the year as returned by wxDateTime::GetYear() to a year 1664 wxDateTime(wxDateTime_t day, Month month, int year, wxDateTime_t hour, wxDateTime_t minute, wxDateTime_t second, wxDateTime_t millisec) argument 1697 SetToLastWeekDay(WeekDay weekday, Month month, int year) argument 1731 GetLastWeekDay(WeekDay weekday, Month month, int year) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/rtc/ |
H A D | rtc-r9701.c | 100 int ret, year; local 102 year = dt->tm_year + 1900; 103 if (year >= 2100 || year < 2000)
|
H A D | rtc-mv.c | 69 unsigned int year, month, day, hour, minute, second, wday; local 81 year = (rtc_date >> RTC_YEAR_OFFS) & 0xff; 89 /* hw counts from year 2000, but tm_year is relative to 1900 */ 90 tm->tm_year = bcd2bin(year) + 100; 100 unsigned int year, month, day, hour, minute, second, wday; local 112 year = (rtc_date >> RTC_YEAR_OFFS) & 0xff; 120 /* hw counts from year 2000, but tm_year is relative to 1900 */ 121 alm->time.tm_year = bcd2bin(year) + 100;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/m68knommu/platform/68EZ328/ |
H A D | config.c | 28 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/net/netfilter/ |
H A D | xt_time.c | 106 unsigned int year, i, w = r->dse; local 109 * In each year, a certain number of days-since-the-epoch have passed. 110 * Find the year that is closest to said days. 114 * year == 2009. w will then be 62. 116 for (i = 0, year = DSE_FIRST; days_since_epoch[i] > w; 117 ++i, --year) 123 * By now we have the current year, and the day of the year. 130 * Consider w=62 (in a non-leap year). Loop will abort on 137 if (is_leap(year)) { [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/m68knommu/platform/68328/ |
H A D | timers.c | 124 void m68328_timer_gettod(int *year, int *mon, int *day, int *hour, int *min, int *sec) argument 128 *year = *mon = *day = 1;
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/lib/ |
H A D | parsedate.c | 293 int month, year, leap_days; local 300 year = tm->tm_year + 1900; 303 year += (11 - month) / 12; 307 year -= month / 12; 311 leap_days = year - (tm->tm_mon <= 1); 315 return ((((time_t) (year - 1970) * 365 335 int monnum=-1; /* month of the year number, 0-11 */ 445 /* 8 digits, no year, month or day yet. This is YYYYMMDD */
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/sibyte/swarm/ |
H A D | rtc_m41t81.c | 73 #define M41T81REG_YR 0x07 /* year */ 193 unsigned int year, mon, day, hour, min, sec; local 209 year = m41t81_read(M41T81REG_YR); 217 year = bcd2bin(year); 219 year += 2000; 221 return mktime(year, mon, day, hour, min, sec);
|
H A D | rtc_xicor1241.c | 141 /* year is split */ 173 unsigned int year, mon, day, hour, min, sec, y2k; local 190 year = xicor_read(X1241REG_YR); 199 year = bcd2bin(year); 202 year += (y2k * 100); 204 return mktime(year, mon, day, hour, min, sec);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/fat/ |
H A D | misc.c | 154 * date: 9 - 15: year (0 - 127) from 1980 164 /* 120 (2100 - 1980) isn't leap year */ 179 time_t second, day, leap_day, month, year; local 181 year = date >> 9; 185 leap_day = (year + 3) / 4; 186 if (year > YEAR_2100) /* 2100 isn't leap year */ 188 if (IS_LEAP_YEAR(year) && month > 2) 194 second += (year * 365 + leap_day 218 /* FAT can only support year betwee [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/ |
H A D | rtc.h | 105 extern int rtc_month_days(unsigned int month, unsigned int year); 106 extern int rtc_year_days(unsigned int day, unsigned int month, unsigned int year); 236 static inline bool is_leap_year(unsigned int year) argument 238 return (!(year % 4) && (year % 100)) || !(year % 400);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/unzip60/ |
H A D | timezone.c | 75 #define YDAYS(month, year) yr_days[leap(year)][month] 77 /* Nonzero if `y' is a leap year, else zero. */ 112 static time_t transtime OF((ZCONST time_t janfirst, ZCONST int year, 127 static time_t transtime(janfirst, year, rulep, offset) 129 ZCONST int year; 139 leapyear = leap(year); 157 ** n - day of year. 180 yy0 = (rulep->r_mon <= 2) ? (year - 1) : year; 223 register int year; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zip30/ |
H A D | timezone.c | 77 #define YDAYS(month, year) yr_days[leap(year)][month] 79 /* Nonzero if `y' is a leap year, else zero. */ 114 static time_t transtime OF((ZCONST time_t janfirst, ZCONST int year, 129 static time_t transtime(janfirst, year, rulep, offset) 131 ZCONST int year; 141 leapyear = leap(year); 159 ** n - day of year. 182 yy0 = (rulep->r_mon <= 2) ? (year - 1) : year; 225 register int year; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/modules/ |
H A D | getdate.y | 129 /* Gregorian year, month, day, hour, minutes, and seconds. */ 130 textint year; 137 /* Relative year, month, day, hour, minutes, and seconds. */ 300 PC.year = $1; 308 PC.year = $5; 314 PC.year = $1; 323 PC.year.value = -$3.value; 324 PC.year.digits = $3.digits; 335 PC.year = $4; 346 PC.year [all...] |
H A D | getdate.c | 224 /* Gregorian year, month, day, hour, minutes, and seconds. */ 225 textint year; member in struct:__anon5823 232 /* Relative year, month, day, hour, minutes, and seconds. */ 1376 PC.year = yyvsp[-4].textintval; 1384 PC.year = yyvsp[0].textintval; 1393 PC.year = yyvsp[-2].textintval; 1405 PC.year.value = -yyvsp[0].textintval.value; 1406 PC.year.digits = yyvsp[0].textintval.digits; 1423 PC.year = yyvsp[0].textintval; 1440 PC.year 2003 int year = textyear.value; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/firmware/ |
H A D | dmi_scan.c | 603 * @yearp: optional out parameter for the year 615 * On return, year, month and day are guaranteed to be in the 620 int year = 0, month = 0, day = 0; local 631 * Determine year first. We assume the date string resembles 632 * mm/dd/yy[yy] but the original code extracted only the year 641 year = simple_strtoul(y, &e, 10); 642 if (y != e && year < 100) { /* 2-digit year */ 643 year += 1900; 644 if (year < 199 [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/asn1/ |
H A D | a_utctm.c | 233 int year; local 251 year = g2(s->data); 252 if (year < 50) 253 year += 100; 254 return_cmp(year, tm->tm_year);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/cris/arch-v10/drivers/ |
H A D | pcf8563.c | 247 int year; local 263 * Check if tm.tm_year is a leap year. A year is a leap 264 * year if it is divisible by 4 but not 100, except 267 year = tm.tm_year; 269 ((year % 4 == 0 && year % 100 != 0) || year % 400 == 0);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/cris/arch-v32/drivers/ |
H A D | pcf8563.c | 243 int year; local 260 * Check if tm.tm_year is a leap year. A year is a leap 261 * year if it is divisible by 4 but not 100, except 264 year = tm.tm_year; 266 ((year % 4 == 0 && year % 100 != 0) || year % 400 == 0);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/samples/widgets/ |
H A D | datepick.cpp | 228 year = 0; local 231 m_year->GetValue().ToLong(&year) ) 233 const wxDateTime someDay(day, wxDateTime::Month(month - 1), year);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/ |
H A D | o_time.c | 170 short year, month, day, hour, minute, second, member in struct:vms_vectime 198 result->tm_year = time_values.year - 1900;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/m68k/sun3x/ |
H A D | time.c | 56 h->year = bin2bcd(t->tm_year); 66 t->tm_year = bcd2bin(h->year);
|