Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/cintltst/
Dcdtrgtst.c376 UChar *datestr; in Test4073003() local
400 datestr=(UChar*)malloc(sizeof(UChar) * (strlen(tests[i])+1)); in Test4073003()
401 u_uastrcpy(datestr, tests[i]); in Test4073003()
404 d = udat_parse(fmt, datestr, u_strlen(datestr), &pos, &status); in Test4073003()
409 free(datestr); in Test4073003()
410 datestr=(UChar*)malloc(sizeof(UChar) * (strlen(tests[i+1])+1)); in Test4073003()
411 u_uastrcpy(datestr, tests[i+1]); in Test4073003()
415 dd = udat_parse(fmt, datestr, u_strlen(datestr), &pos, &status); in Test4073003()
419 free(datestr); in Test4073003()
447 UChar datestr[30]; in Test4162071() local
[all …]
/external/e2fsprogs/debugfs/
Dls.c58 char datestr[80]; in list_dir_proc() local
93 sprintf(datestr, "%2d-%s-%4d %02d:%02d", in list_dir_proc()
98 strcpy(datestr, " "); in list_dir_proc()
108 fprintf (ls->f, " %s %s\n", datestr, name); in list_dir_proc()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateIntervalFormatTest.java696 String datestr = data[i++]; in expect() local
700 date = ref.parse(datestr); in expect()
714 …errln("\"" + locName + "\\" + oneSkeleton + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " … in expect()
786 String datestr = data[i++]; in expectUserDII() local
790 date = ref.parse(datestr); in expectUserDII()
809 …errln("userDII: \"" + locName + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " + expected +… in expectUserDII()
859 String datestr = data[i++]; in expectUserCLDR() local
863 date = ref.parse(datestr); in expectUserCLDR()
895 …errln("CLDR: \"" + locName + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " + expected +"\t… in expectUserCLDR()
1019 String datestr = data[i++]; in stress() local
[all …]
DDateFormatTest.java3136 String datestr = data[i++]; in expectFormat() local
3141 date = ref.parse(datestr); in expectFormat()
3143 errln("FAIL: Internal test error; can't parse " + datestr); in expectFormat()
3147 assertEquals("\"" + currentPat + "\".format(" + datestr + ")", in expectFormat()
3233 String datestr = data[i++]; in expect() local
3235 String datestr2 = datestr; in expect()
3241 date = ref.parse(datestr); in expect()
3243 errln("FAIL: Internal test error; can't parse " + datestr); in expect()
3246 assertEquals("\"" + currentPat + "\".format(" + datestr + ")", in expect()
3250 if (!datestr2.equals(datestr)) { in expect()
[all …]
/external/icu/icu4c/source/test/intltest/
Ddtifmtts.cpp1067 const char* datestr = data[i++]; in expect() local
1070 sprintf(mesg, "original date: %s - %s\n", datestr, datestr_2); in expect()
1073 UDate date = ref.parse(ctou(datestr), ec); in expect()
1086 …assertEquals((UnicodeString)"\"" + locName + "\\" + oneSkeleton + "\\" + datestr + "\\" + datestr_… in expect()
1096 << "\"" << datestr << "\", " in expect()
1280 const char* datestr = data[i++]; in expectUserDII() local
1282 UDate date = ref.parse(ctou(datestr), ec); in expectUserDII()
1302 …assertEquals((UnicodeString)"\"" + locName + "\\" + datestr + "\\" + datestr_2 + "\"", ctou(data[i… in expectUserDII()
1438 const char* datestr = data[i++]; in stress() local
1441 sprintf(mesg, "original date: %s - %s\n", datestr, datestr_2); in stress()
[all …]
Ddtfmttst.cpp1993 const char* datestr = data[i++]; in expect() local
1995 UDate date = ref.parse(ctou(datestr), ec); in expect()
1997 assertEquals((UnicodeString)"\"" + currentPat + "\".format(" + datestr + ")", in expect()
2001 datestr = data[i++]; in expect()
2002 date = ref.parse(ctou(datestr), ec); in expect()
2015 const char* datestr = data[i++]; in expect() local
2016 UDate date = ref.parse(ctou(datestr), ec); in expect()
2026 assertEquals((UnicodeString)"\"" + currentPat + "\".format(" + datestr + ")", in expect()
2032 const char* datestr = data[i++]; in expect() local
2034 UDate date = ref.parse(ctou(datestr), ec); in expect()
[all …]
/external/elfutils/src/src/
Dar.c560 char datestr[100]; in do_oper_extract() local
561 strftime (datestr, sizeof (datestr), "%b %e %H:%M %Y", in do_oper_extract()
583 datestr, in do_oper_extract()
/external/icu/icu4c/source/i18n/
Dvtzone.cpp747 UnicodeString *datestr = (UnicodeString*)dates->elementAt(i); in createRuleByRDATE() local
748 times[i] = parseDateTimeString(*datestr, fromOffset, status); in createRuleByRDATE()