Searched refs:tm_year (Results 1 - 25 of 88) sorted by relevance

1234

/external/tcpdump/
H A Dgmt2local.c65 dir = loc->tm_year - gmt->tm_year;
/external/openssl/crypto/asn1/
H A Da_utctm.c215 if((ts->tm_year < 50) || (ts->tm_year >= 150))
232 BIO_snprintf(p,len,"%02d%02d%02d%02d%02d%02dZ",ts->tm_year%100,
269 return_cmp(year, tm->tm_year);
291 tm.tm_year=g2(s->data);
292 if(tm.tm_year < 50)
293 tm.tm_year+=100;
H A Da_time.c123 if((ts->tm_year >= 50) && (ts->tm_year < 150))
/external/openssl/crypto/
H A Do_time.c207 result->tm_year = time_values.year - 1900;
265 time_year = tm->tm_year + 1900;
286 tm->tm_year = time_year - 1900;
355 if ((tm1.tm_year == tm2.tm_year) &&
364 tm2.tm_mday, tm2.tm_mon + 1, tm2.tm_year + 1900,
367 tm1.tm_mday, tm1.tm_mon + 1, tm1.tm_year + 1900,
/external/stlport/test/unit/
H A Dtime_facets_test.cpp68 CPPUNIT_ASSERT( other.tm_year == xmas.tm_year );
93 CPPUNIT_ASSERT( yet_more.tm_year == xmas.tm_year );
106 CPPUNIT_ASSERT( yet_more.tm_year == xmas.tm_year );
151 CPPUNIT_ASSERT( other.tm_year == xmas.tm_year );
176 CPPUNIT_ASSERT( yet_more.tm_year == xmas.tm_year );
[all...]
/external/chromium/base/third_party/nspr/
H A Dprtime.cc107 st.wYear = exploded->tm_year;
134 gregorian_date.year = exploded->tm_year;
160 exp_tm.tm_year = exploded->tm_year - 1900;
167 !(exploded->tm_year == 1969 && exploded->tm_month == 11 &&
173 if (exploded->tm_year >= 1970)
289 time->tm_year--;
290 if (IsLeapYear(time->tm_year))
295 time->tm_mday = nDays[IsLeapYear(time->tm_year)][time->tm_month];
306 nDays[IsLeapYear(time->tm_year)][tim
[all...]
H A Dprtime.h131 PRInt32 tm_month; /* months past tm_year (0-11, Jan = 0) */
132 PRInt16 tm_year; /* absolute year, AD (note that we do not member in struct:PRExplodedTime
179 * - tm_month and tm_year: because the number of days in a month and
/external/ppp/pppd/plugins/radius/
H A Dutil.c51 tm->tm_year = atoi (&valstr[7]) - 1900;
/external/skia/src/ports/
H A DSkTime_Unix.cpp33 dt->fYear = tstruct->tm_year;
/external/webkit/Source/WebCore/loader/
H A DFTPDirectoryParser.cpp49 result.tm_year = date.year() - 1900;
200 result.modifiedTime.tm_year += 1900;
574 result.modifiedTime.tm_year = atoi(p+4); // NSPR wants year as XXXX
715 result.modifiedTime.tm_year = atoi(p+0) - 1900;
724 result.modifiedTime.tm_year = atoi((p+pos)-2);
725 if (result.modifiedTime.tm_year < 70)
726 result.modifiedTime.tm_year += 100;
878 result.modifiedTime.tm_year = atoi(tokens[0]+6);
882 if (result.modifiedTime.tm_year < 80)
883 result.modifiedTime.tm_year
[all...]
/external/bluetooth/glib/glib/
H A Dgtimer.c273 retval = (tm->tm_year - 70) * 365;
274 retval += (tm->tm_year - 68) / 4;
277 if (tm->tm_year % 4 == 0 && tm->tm_mon < 2)
326 tm.tm_year = val - 1900;
340 tm.tm_year = val / 10000 - 1900;
443 tm->tm_year + 1900,
457 tm->tm_year + 1900,
/external/webkit/Source/WebCore/html/
H A DFTPDirectoryDocument.cpp229 now.tm_year += 1900;
231 if (fileTime.tm_year == now.tm_year) {
240 wasLastDayOfMonth(fileTime.tm_year, fileTime.tm_mon, fileTime.tm_mday))
244 if (fileTime.tm_year == now.tm_year - 1 && fileTime.tm_mon == 12 && fileTime.tm_mday == 31 && now.tm_mon == 1 && now.tm_mday == 1)
255 if (fileTime.tm_year > -1)
256 dateString = makeString(months[month], ' ', String::number(fileTime.tm_mday), ", ", String::number(fileTime.tm_year));
258 dateString = makeString(months[month], ' ', String::number(fileTime.tm_mday), ", ", String::number(now.tm_year));
/external/zlib/contrib/minizip/
H A Dminiunz.c95 if (tmu_date.tm_year > 1900)
96 newdate.tm_year=tmu_date.tm_year - 1900;
98 newdate.tm_year=tmu_date.tm_year ;
281 (uLong)file_info.tmu_date.tm_year % 100,
H A Dminizip.c122 tmzip->tm_year = filedate->tm_year;
394 zi.tmz_date.tm_mday = zi.tmz_date.tm_mon = zi.tmz_date.tm_year = 0;
/external/chromium/base/
H A Dtime_posix.cc90 exploded->year = timestruct.tm_year + 1900;
108 timestruct.tm_year = exploded.year - 1900;
/external/skia/src/animator/
H A DSkTime.cpp65 t->fYear = SkToU16(syst.tm_year);
/external/e2fsprogs/debugfs/
H A Dutil.c225 sscanf(arg, "%4d%2d%2d%2d%2d%2d", &ts.tm_year, &ts.tm_mon,
227 ts.tm_year -= 1900;
229 if (ts.tm_year < 0 || ts.tm_mon < 0 || ts.tm_mon > 11 ||
/external/stlport/stlport/stl/
H A D_time_facets.c251 bool __pr = __get_decimal_integer(__first, __last, __t->tm_year, __STATIC_CAST(_Ch*, 0));
258 bool __pr = __get_decimal_integer(__first, __last, __t->tm_year, __STATIC_CAST(_Ch*, 0));
259 __t->tm_year -= 1900;
357 bool __pr = _STLP_PRIV __get_decimal_integer(__s, __end, __t->tm_year, __STATIC_CAST(_Ch*, 0));
358 __t->tm_year -= 1900;
/external/icu4c/test/compat/
H A Dtzdate.c119 ts.tm_year = year;
/external/icu4c/tools/tzcode/
H A Dzdump.c207 (void) fprintf(stderr, " year=%d", tmp->tm_year);
727 if (newp->tm_year < oldp->tm_year)
730 for (tmy = oldp->tm_year; tmy < newp->tm_year; ++tmy)
853 trail = timeptr->tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR;
854 lead = timeptr->tm_year / DIVISOR + TM_YEAR_BASE / DIVISOR +
938 trail = loc.tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR;
939 lead = loc.tm_year / DIVISOR + TM_YEAR_BASE / DIVISOR + trail / DIVISOR;
/external/ipsec-tools/src/racoon/
H A Dbackupsa.c419 tm->tm_year = str2num(p, len);
420 if (tm->tm_year == -1 || tm->tm_year < 1900)
422 tm->tm_year -= 1900;
/external/wpa_supplicant/
H A Dos_win32.c68 tm.tm_year = year - 1900;
/external/webkit/Source/JavaScriptCore/wtf/
H A DDateMath.h149 , year(inTm.tm_year)
180 ret.tm_year = year;
/external/qemu/hw/
H A Dmc146818rtc.c299 tm->tm_year = rtc_from_bcd(s, s->cmos_data[RTC_YEAR]) + s->base_year - 1900;
321 year = (tm->tm_year - s->base_year) % 100;
363 tm->tm_year + 1900);
372 tm->tm_year++;
504 val = rtc_to_bcd(s, (tm.tm_year / 100) + 19);
522 qemu_put_be32(f, s->current_tm.tm_year);
548 s->current_tm.tm_year=qemu_get_be32(f);
/external/iptables/extensions/
H A Dlibxt_time.c137 tm.tm_year = year - 1900;
313 command, t->tm_year + 1900, t->tm_mon + 1,
317 t->tm_year + 1900, t->tm_mon + 1, t->tm_mday,

Completed in 530 milliseconds

1234