Home
last modified time | relevance | path

Searched refs:tm_year (Results 1 – 25 of 98) sorted by relevance

1234

/external/libcxx/test/std/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/
Dget_year.pass.cpp45 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 …]
Dget_many.pass.cpp47 assert(t.tm_year == 109); in main()
61 assert(t.tm_year == 109); in main()
Dget_one.pass.cpp87 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/
Da_utctm.c139 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;
Da_gentm.c107 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()
Da_time.c116 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/
Dget_year.pass.cpp52 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()
Dget_year_wide.pass.cpp52 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()
Dget_date_wide.pass.cpp59 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()
Dget_date.pass.cpp59 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()
Dget_one.pass.cpp60 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()
Dget_one_wide.pass.cpp60 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/
Ddate.c69 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;
Dcal.c47 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/
Dgmt2local.c65 dir = loc->tm_year - gmt->tm_year; in gmt2local()
/external/openssh/openbsd-compat/
Dstrptime.c331 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/
Dminiunz.c108 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/
Dget_time.pass.cpp52 assert(t.tm_year == 161); in main()
68 assert(t.tm_year == 161); in main()
Dput_time.pass.cpp63 t.tm_year = 161; in main()
79 t.tm_year = 161; in main()
/external/icu/icu4c/source/tools/tzcode/
Dzdump.c271 (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/
Dbackupsa.c419 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/
Dtime_support.c132 time_year = tm->tm_year + 1900; in julian_adj()
169 tm->tm_year = time_year - 1900; in OPENSSL_gmtime_adj()
/external/e2fsprogs/debugfs/
Dutil.c233 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/
Dlogfile.c90 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/
Dmktime.cc11 tm.tm_year = 2014; in main()

1234