/external/libcxx/test/std/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()
|
D | get_one.pass.cpp | 87 assert(t.tm_year == 109); in main() 107 assert(t.tm_year == 101); in main() 265 assert(t.tm_year == 109); in main() 285 assert(t.tm_year == 168); in main() 294 assert(t.tm_year == -1832); in main()
|
/external/boringssl/src/crypto/asn1/ |
D | a_utctm.c | 139 tm->tm_year = n < 50 ? n + 100 : n; in asn1_utctime_to_tm() 251 if((ts->tm_year < 50) || (ts->tm_year >= 150)) in ASN1_UTCTIME_adj() 268 BIO_snprintf(p,len,"%02d%02d%02d%02d%02d%02dZ",ts->tm_year%100, in ASN1_UTCTIME_adj() 315 tm.tm_year=g2(s->data); 316 if(tm.tm_year < 50) 317 tm.tm_year+=100;
|
D | a_gentm.c | 107 tm->tm_year = n * 100 - 1900; in asn1_generalizedtime_to_tm() 110 tm->tm_year += n; in asn1_generalizedtime_to_tm() 250 BIO_snprintf(p,len,"%04d%02d%02d%02d%02d%02dZ",ts->tm_year + 1900, in ASN1_GENERALIZEDTIME_adj()
|
D | a_time.c | 116 if((ts->tm_year >= 50) && (ts->tm_year < 150)) in ASN1_TIME_adj()
|
/external/libcxx/test/std/localization/locale.categories/category.time/locale.time.get.byname/ |
D | get_year.pass.cpp | 52 assert(t.tm_year == 109); in main() 62 assert(t.tm_year == 109); in main() 72 assert(t.tm_year == 109); in main() 82 assert(t.tm_year == 109); in main()
|
D | get_year_wide.pass.cpp | 52 assert(t.tm_year == 109); in main() 62 assert(t.tm_year == 109); in main() 72 assert(t.tm_year == 109); in main() 82 assert(t.tm_year == 109); in main()
|
D | get_date_wide.pass.cpp | 59 assert(t.tm_year == 109); in main() 71 assert(t.tm_year == 109); in main() 83 assert(t.tm_year == 109); in main() 95 assert(t.tm_year == 109); in main()
|
D | get_date.pass.cpp | 59 assert(t.tm_year == 109); in main() 71 assert(t.tm_year == 109); in main() 83 assert(t.tm_year == 109); in main() 96 assert(t.tm_year == 109); in main()
|
D | get_one.pass.cpp | 60 assert(t.tm_year == 161); in main() 88 assert(t.tm_year == 161); in main() 123 assert(t.tm_year == 161); in main() 152 assert(t.tm_year == 161); in main()
|
D | get_one_wide.pass.cpp | 60 assert(t.tm_year == 161); in main() 88 assert(t.tm_year == 161); in main() 122 assert(t.tm_year == 161); in main() 153 assert(t.tm_year == 161); in main()
|
/external/toybox/toys/posix/ |
D | date.c | 69 unsigned year, r1 = tm->tm_year % 100, r2 = (tm->tm_year + 50) % 100, 70 century = tm->tm_year - r1; 84 tm->tm_year = year + century;
|
D | cal.c | 47 int year = tm->tm_year; in calstrings() 89 xcheckrange(tm->tm_year = atol(toys.optargs[--toys.optc]),1,9999); in cal_main() 90 tm->tm_year -= 1900; in cal_main()
|
/external/tcpdump/ |
D | gmt2local.c | 65 dir = loc->tm_year - gmt->tm_year; in gmt2local()
|
/external/openssh/openbsd-compat/ |
D | strptime.c | 331 tm->tm_year = i - TM_YEAR_BASE; in _strptime() 365 tm->tm_year = relyear + 2000 - TM_YEAR_BASE; in _strptime() 367 tm->tm_year = relyear + 1900 - TM_YEAR_BASE; in _strptime() 369 tm->tm_year = relyear + century - TM_YEAR_BASE; in _strptime()
|
/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/libcxx/test/std/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() 79 t.tm_year = 161; in main()
|
/external/icu/icu4c/source/tools/tzcode/ |
D | zdump.c | 271 (void) fprintf(stderr, " year=%d", tmp->tm_year); in my_localtime() 784 if (newp->tm_year < oldp->tm_year) in delta() 787 for (tmy = oldp->tm_year; tmy < newp->tm_year; ++tmy) in delta() 909 trail = timeptr->tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR; in dumptime() 910 lead = timeptr->tm_year / DIVISOR + TM_YEAR_BASE / DIVISOR + in dumptime() 994 trail = loc.tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR; in dumptimeICU() 995 lead = loc.tm_year / DIVISOR + TM_YEAR_BASE / DIVISOR + trail / DIVISOR; in dumptimeICU()
|
/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/boringssl/src/crypto/ |
D | time_support.c | 132 time_year = tm->tm_year + 1900; in julian_adj() 169 tm->tm_year = time_year - 1900; in OPENSSL_gmtime_adj()
|
/external/e2fsprogs/debugfs/ |
D | util.c | 233 sscanf(arg, "%4d%2d%2d%2d%2d%2d", &ts.tm_year, &ts.tm_mon, in string_to_time() 235 ts.tm_year -= 1900; in string_to_time() 237 if (ts.tm_year < 0 || ts.tm_mon < 0 || ts.tm_mon > 11 || in string_to_time()
|
/external/e2fsprogs/e2fsck/ |
D | logfile.c | 90 sprintf(buf, "%d%02d%02d", tm->tm_year + 1900, tm->tm_mon + 1, in expand_percent_expression() 150 sprintf(buf, "%02d", tm->tm_year % 100); in expand_percent_expression() 153 sprintf(buf, "%d", tm->tm_year + 1900); in expand_percent_expression()
|
/external/compiler-rt/test/msan/ |
D | mktime.cc | 11 tm.tm_year = 2014; in main()
|