Home
last modified time | relevance | path

Searched refs:datestr (Results 1 – 22 of 22) sorted by relevance

/external/icu/icu4c/source/test/cintltst/
Dcdtrgtst.c379 UChar *datestr; in Test4073003() local
403 datestr=(UChar*)malloc(sizeof(UChar) * (strlen(tests[i])+1)); in Test4073003()
404 u_uastrcpy(datestr, tests[i]); in Test4073003()
407 d = udat_parse(fmt, datestr, u_strlen(datestr), &pos, &status); in Test4073003()
412 free(datestr); in Test4073003()
413 datestr=(UChar*)malloc(sizeof(UChar) * (strlen(tests[i+1])+1)); in Test4073003()
414 u_uastrcpy(datestr, tests[i+1]); in Test4073003()
418 dd = udat_parse(fmt, datestr, u_strlen(datestr), &pos, &status); in Test4073003()
422 free(datestr); in Test4073003()
450 UChar datestr[30]; in Test4162071() local
[all …]
/external/ltp/pan/cgi/
Dresults.cgi25 ($host, $datestr, $suite, $type, $gz) = split(/\./, $get_df);
78 s/(\S+)/<a href="results.cgi?get_df=$host.$datestr.$suite.driver&zoom_tag=\1">\1<\/a>/;
97 ($host, $datestr, $suite, $type, $gz) = split(/\./, $df);
101 $a_rec->{DATE} = $datestr;
Dbrowse.cgi20 my($host, $datestr, $suite, $type, $gz);
39 ($host, $datestr, $suite, $type, $gz) = split(/\./, $pf);
139 ($host, $datestr, $suite, $type, $gz) = split(/\./, $df);
143 $a_rec->{DATE} = $datestr;
146 $a_rec->{UNAME} = get_result_uname($host, $datestr);
Dreconsile.cgi57 ($host, $datestr, $suite, $ext) = split(/\./, $result_filename);
59 $result_details->[$i]->{DATESTR} = $datestr;
/external/e2fsprogs/debugfs/
Dls.c88 char datestr[80]; in list_dir_proc() local
129 sprintf(datestr, "%2d-%s-%4d %02d:%02d", in list_dir_proc()
134 strcpy(datestr, " "); in list_dir_proc()
147 fprintf(ls->f, " %s ", datestr); in list_dir_proc()
/external/python/dateutil/dateutil/parser/
Disoparser.py149 def parse_isodate(self, datestr): argument
159 components, pos = self._parse_isodate(datestr)
160 if pos < len(datestr):
162 'components: {}'.format(datestr))
/external/autotest/site_utils/
Ddut_status.py181 datestr = '---'
184 datestr = time_utils.epoch_time_to_date_string(
190 datestr,
/external/icu/icu4c/source/test/intltest/
Ddtifmtts.cpp1191 const char* datestr = data[i++]; in expect() local
1214 logln("original date: %s - %s\n", datestr, datestr_2); in expect()
1215 UDate date = ref.parse(ctou(datestr), ec); in expect()
1228 …assertEquals((UnicodeString)"\"" + locName + "\\" + oneSkeleton + "\\" + ctou(datestr) + "\\" + ct… in expect()
1231 + "\"" + datestr + "\", " in expect()
1490 const char* datestr = data[i++]; in expectUserDII() local
1492 UDate date = ref.parse(ctou(datestr), ec); in expectUserDII()
1512 …assertEquals((UnicodeString)"\"" + locName + "\\" + datestr + "\\" + datestr_2 + "\"", ctou(data[i… in expectUserDII()
1648 const char* datestr = data[i++]; in stress() local
1651 sprintf(mesg, "original date: %s - %s\n", datestr, datestr_2); in stress()
[all …]
Ddtfmttst.cpp2037 const char* datestr = data[i++]; in expect() local
2039 UDate date = ref.parse(ctou(datestr), ec); in expect()
2041 assertEquals((UnicodeString)"\"" + currentPat + "\".format(" + datestr + ")", in expect()
2045 datestr = data[i++]; in expect()
2046 date = ref.parse(ctou(datestr), ec); in expect()
2059 const char* datestr = data[i++]; in expect() local
2060 UDate date = ref.parse(ctou(datestr), ec); in expect()
2070 assertEquals((UnicodeString)"\"" + currentPat + "\".format(" + datestr + ")", in expect()
2076 const char* datestr = data[i++]; in expect() local
2078 UDate date = ref.parse(ctou(datestr), ec); in expect()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateIntervalFormatTest.java838 String datestr = data[i++]; in expect() local
850 date = ref.parse(datestr); in expect()
865 …errln("\"" + locName + "\\" + oneSkeleton + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " … in expect()
938 String datestr = data[i++]; in expectUserDII() local
942 date = ref.parse(datestr); in expectUserDII()
961 …errln("userDII: \"" + locName + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " + expected +… in expectUserDII()
1070 String datestr = data[i++]; in expectUserCLDR() local
1074 date = ref.parse(datestr); in expectUserCLDR()
1106 …errln("CLDR: \"" + locName + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " + expected +"\t… in expectUserCLDR()
1231 String datestr = data[i++]; in stress() local
[all …]
DDateFormatTest.java3305 String datestr = data[i++]; in expectFormat() local
3310 date = ref.parse(datestr); in expectFormat()
3312 errln("FAIL: Internal test error; can't parse " + datestr); in expectFormat()
3316 assertEquals("\"" + currentPat + "\".format(" + datestr + ")", in expectFormat()
3402 String datestr = data[i++]; in expect() local
3404 String datestr2 = datestr; in expect()
3410 date = ref.parse(datestr); in expect()
3412 errln("FAIL: Internal test error; can't parse " + datestr); in expect()
3415 assertEquals("\"" + currentPat + "\".format(" + datestr + ")", in expect()
3419 if (!datestr2.equals(datestr)) { in expect()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateIntervalFormatTest.java835 String datestr = data[i++]; in expect() local
847 date = ref.parse(datestr); in expect()
862 …errln("\"" + locName + "\\" + oneSkeleton + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " … in expect()
935 String datestr = data[i++]; in expectUserDII() local
939 date = ref.parse(datestr); in expectUserDII()
958 …errln("userDII: \"" + locName + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " + expected +… in expectUserDII()
1067 String datestr = data[i++]; in expectUserCLDR() local
1071 date = ref.parse(datestr); in expectUserCLDR()
1103 …errln("CLDR: \"" + locName + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " + expected +"\t… in expectUserCLDR()
1228 String datestr = data[i++]; in stress() local
[all …]
DDateFormatTest.java3302 String datestr = data[i++]; in expectFormat() local
3307 date = ref.parse(datestr); in expectFormat()
3309 errln("FAIL: Internal test error; can't parse " + datestr); in expectFormat()
3313 assertEquals("\"" + currentPat + "\".format(" + datestr + ")", in expectFormat()
3399 String datestr = data[i++]; in expect() local
3401 String datestr2 = datestr; in expect()
3407 date = ref.parse(datestr); in expect()
3409 errln("FAIL: Internal test error; can't parse " + datestr); in expect()
3412 assertEquals("\"" + currentPat + "\".format(" + datestr + ")", in expect()
3416 if (!datestr2.equals(datestr)) { in expect()
[all …]
/external/python/dateutil/dateutil/test/
Dtest_isoparser.py170 def test_isoparse_sep_none(datestr, sep): argument
171 isostr = datestr + sep + '14:33:09'
/external/elfutils/src/
Dar.c541 char datestr[100]; in do_oper_extract() local
549 strftime (datestr, sizeof (datestr), "%b %e %H:%M %Y", tp); in do_oper_extract()
570 datestr, in do_oper_extract()
/external/python/dateutil/dateutil/
Drrule.py1603 for datestr in date_value.split(','):
1604 date = parser.parse(datestr, ignoretz=ignoretz, tzinfos=tzinfos)
1710 for datestr in value.split(','):
1711 rset.rdate(parser.parse(datestr,
/external/curl/lib/
Dhttp.c1837 char datestr[80]; in Curl_add_timecondition() local
1879 msnprintf(datestr, sizeof(datestr), in Curl_add_timecondition()
1890 result = Curl_dyn_add(req, datestr); in Curl_add_timecondition()
/external/python/cpython2/Lib/test/
Dtest_datetime.py2867 datestr = '0001-02-03'
2875 self.assertEqual(iso, datestr + 'T' + tailstr)
2877 self.assertEqual(d.isoformat('k'), datestr + 'k' + tailstr)
2878 self.assertEqual(str(d), datestr + ' ' + tailstr)
/external/icu/icu4c/source/i18n/
Dvtzone.cpp748 UnicodeString *datestr = (UnicodeString*)dates->elementAt(i); in createRuleByRDATE() local
749 times[i] = parseDateTimeString(*datestr, fromOffset, status); in createRuleByRDATE()
/external/python/cpython2/Doc/library/
Dimaplib.rst89 .. function:: Internaldate2tuple(datestr)
/external/python/cpython3/Doc/library/
Dimaplib.rst138 .. function:: Internaldate2tuple(datestr)
/external/python/cpython3/Lib/test/
Ddatetimetester.py4518 datestr = '0001-02-03'
4526 self.assertEqual(iso, datestr + 'T' + tailstr)
4528 self.assertEqual(d.isoformat('k'), datestr + 'k' + tailstr)
4529 self.assertEqual(d.isoformat('\u1234'), datestr + '\u1234' + tailstr)
4530 self.assertEqual(str(d), datestr + ' ' + tailstr)