/external/libcxx/test/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/ |
D | get_year.pass.cpp | 45 assert(t.tm_year == 100); in main() 54 assert(t.tm_year == 100); in main() 63 assert(t.tm_year == 101); in main() 72 assert(t.tm_year == 168); in main() 81 assert(t.tm_year == 69); in main() 90 assert(t.tm_year == 99); in main() 99 assert(t.tm_year == -1800); in main() 108 assert(t.tm_year == 0); in main() 117 assert(t.tm_year == 68); in main() 126 assert(t.tm_year == 100); in main() [all …]
|
D | get_many.pass.cpp | 47 assert(t.tm_year == 109); in main() 61 assert(t.tm_year == 109); in main()
|
/external/chromium_org/base/third_party/nspr/ |
D | prtime.cc | 114 st.wYear = exploded->tm_year; in PR_ImplodeTime() 143 gregorian_date.year = exploded->tm_year; in PR_ImplodeTime() 169 exp_tm.tm_year = exploded->tm_year - 1900; in PR_ImplodeTime() 176 !(exploded->tm_year == 1969 && exploded->tm_month == 11 && in PR_ImplodeTime() 182 if (exploded->tm_year >= 1970) in PR_ImplodeTime() 298 time->tm_year--; in ApplySecOffset() 299 if (IsLeapYear(time->tm_year)) in ApplySecOffset() 304 time->tm_mday = nDays[IsLeapYear(time->tm_year)][time->tm_month]; in ApplySecOffset() 315 nDays[IsLeapYear(time->tm_year)][time->tm_month]) { in ApplySecOffset() 320 time->tm_year++; in ApplySecOffset() [all …]
|
/external/stlport/test/unit/ |
D | time_facets_test.cpp | 68 CPPUNIT_ASSERT( other.tm_year == xmas.tm_year ); in _time_put_get() 93 CPPUNIT_ASSERT( yet_more.tm_year == xmas.tm_year ); in _time_put_get() 106 CPPUNIT_ASSERT( yet_more.tm_year == xmas.tm_year ); in _time_put_get() 151 CPPUNIT_ASSERT( other.tm_year == xmas.tm_year ); in _time_put_get() 176 CPPUNIT_ASSERT( yet_more.tm_year == xmas.tm_year ); in _time_put_get() 189 CPPUNIT_ASSERT( yet_more.tm_year == xmas.tm_year ); in _time_put_get()
|
/external/openssl/crypto/ |
D | o_time.c | 207 result->tm_year = time_values.year - 1900; in OPENSSL_gmtime() 265 time_year = tm->tm_year + 1900; in OPENSSL_gmtime_adj() 286 tm->tm_year = time_year - 1900; in OPENSSL_gmtime_adj() 355 if ((tm1.tm_year == tm2.tm_year) && in check_time() 364 tm2.tm_mday, tm2.tm_mon + 1, tm2.tm_year + 1900, in check_time() 367 tm1.tm_mday, tm1.tm_mon + 1, tm1.tm_year + 1900, in check_time()
|
/external/chromium_org/third_party/boringssl/src/crypto/asn1/ |
D | a_utctm.c | 136 tm->tm_year = n < 50 ? n + 100 : n; in asn1_utctime_to_tm() 248 if((ts->tm_year < 50) || (ts->tm_year >= 150)) in ASN1_UTCTIME_adj() 265 BIO_snprintf(p,len,"%02d%02d%02d%02d%02d%02dZ",ts->tm_year%100, in ASN1_UTCTIME_adj() 312 tm.tm_year=g2(s->data); 313 if(tm.tm_year < 50) 314 tm.tm_year+=100;
|
D | a_gentm.c | 104 tm->tm_year = n * 100 - 1900; in asn1_generalizedtime_to_tm() 107 tm->tm_year += n; in asn1_generalizedtime_to_tm() 247 BIO_snprintf(p,len,"%04d%02d%02d%02d%02d%02dZ",ts->tm_year + 1900, in ASN1_GENERALIZEDTIME_adj()
|
/external/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/ |
D | get_year.pass.cpp | 47 assert(t.tm_year == 109); in main() 57 assert(t.tm_year == 109); in main() 67 assert(t.tm_year == 109); in main() 77 assert(t.tm_year == 109); in main()
|
D | get_year_wide.pass.cpp | 47 assert(t.tm_year == 109); in main() 57 assert(t.tm_year == 109); in main() 67 assert(t.tm_year == 109); in main() 77 assert(t.tm_year == 109); in main()
|
D | get_date_wide.pass.cpp | 50 assert(t.tm_year == 109); in main() 62 assert(t.tm_year == 109); in main() 74 assert(t.tm_year == 109); in main() 86 assert(t.tm_year == 109); in main()
|
D | get_date.pass.cpp | 50 assert(t.tm_year == 109); in main() 62 assert(t.tm_year == 109); in main() 74 assert(t.tm_year == 109); in main() 86 assert(t.tm_year == 109); in main()
|
D | get_one.pass.cpp | 52 assert(t.tm_year == 161); in main() 80 assert(t.tm_year == 161); in main() 115 assert(t.tm_year == 161); in main() 144 assert(t.tm_year == 161); in main()
|
D | get_one_wide.pass.cpp | 52 assert(t.tm_year == 161); in main() 80 assert(t.tm_year == 161); in main() 114 assert(t.tm_year == 161); in main() 145 assert(t.tm_year == 161); in main()
|
/external/openssl/crypto/asn1/ |
D | a_utctm.c | 220 if((ts->tm_year < 50) || (ts->tm_year >= 150)) in ASN1_UTCTIME_adj() 237 BIO_snprintf(p,len,"%02d%02d%02d%02d%02d%02dZ",ts->tm_year%100, in ASN1_UTCTIME_adj() 283 return_cmp(year, tm->tm_year); in ASN1_UTCTIME_cmp_time_t() 305 tm.tm_year=g2(s->data); 306 if(tm.tm_year < 50) 307 tm.tm_year+=100;
|
/external/tcpdump/ |
D | gmt2local.c | 65 dir = loc->tm_year - gmt->tm_year; in gmt2local()
|
/external/zlib/src/contrib/minizip/ |
D | miniunz.c | 108 if (tmu_date.tm_year > 1900) 109 newdate.tm_year=tmu_date.tm_year - 1900; 111 newdate.tm_year=tmu_date.tm_year ; 294 (uLong)file_info.tmu_date.tm_year % 100,
|
/external/chromium_org/third_party/zlib/contrib/minizip/ |
D | miniunz.c | 95 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,
|
/external/libcxx/test/input.output/iostream.format/ext.manip/ |
D | get_time.pass.cpp | 52 assert(t.tm_year == 161); in main() 68 assert(t.tm_year == 161); in main()
|
D | put_time.pass.cpp | 63 t.tm_year = 161; in main() 78 t.tm_year = 161; in main()
|
/external/stlport/stlport/stl/ |
D | _time_facets.c | 250 bool __pr = __get_decimal_integer(__first, __last, __t->tm_year, __STATIC_CAST(_Ch*, 0)); in _STLP_WEAK() 257 bool __pr = __get_decimal_integer(__first, __last, __t->tm_year, __STATIC_CAST(_Ch*, 0)); in _STLP_WEAK() 258 __t->tm_year -= 1900; in _STLP_WEAK() 356 bool __pr = _STLP_PRIV __get_decimal_integer(__s, __end, __t->tm_year, __STATIC_CAST(_Ch*, 0)); in do_get_year() 357 __t->tm_year -= 1900; in do_get_year()
|
/external/icu/icu4c/source/tools/tzcode/ |
D | zdump.c | 207 (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; in dumptimeICU() 939 lead = loc.tm_year / DIVISOR + TM_YEAR_BASE / DIVISOR + trail / DIVISOR; in dumptimeICU()
|
/external/chromium_org/third_party/icu/source/tools/tzcode/ |
D | zdump.c | 207 (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; in dumptimeICU() 939 lead = loc.tm_year / DIVISOR + TM_YEAR_BASE / DIVISOR + trail / DIVISOR; in dumptimeICU()
|
/external/qemu/hw/timer/ |
D | mc146818rtc.c | 299 tm->tm_year = rtc_from_bcd(s, s->cmos_data[RTC_YEAR]) + s->base_year - 1900; in rtc_set_time() 321 year = (tm->tm_year - s->base_year) % 100; in rtc_copy_date() 363 tm->tm_year + 1900); in rtc_next_second() 372 tm->tm_year++; in rtc_next_second() 504 val = rtc_to_bcd(s, (tm.tm_year / 100) + 19); in rtc_set_date_from_host() 522 qemu_put_be32(f, s->current_tm.tm_year); in rtc_save() 548 s->current_tm.tm_year=qemu_get_be32(f); in rtc_load()
|
/external/ipsec-tools/src/racoon/ |
D | backupsa.c | 419 tm->tm_year = str2num(p, len); in str2tmx() 420 if (tm->tm_year == -1 || tm->tm_year < 1900) in str2tmx() 422 tm->tm_year -= 1900; in str2tmx()
|
/external/chromium_org/third_party/boringssl/src/crypto/ |
D | time_support.c | 123 time_year = tm->tm_year + 1900; in julian_adj() 157 tm->tm_year = time_year - 1900; in OPENSSL_gmtime_adj()
|