/external/icu/icu4c/source/test/cintltst/ |
D | udatpg_test.c | 425 UDateTimePatternGenerator * dtpgen = udatpg_open(testDataPtr->locale, &status); in TestOptions() local 428 int32_t patLen = udatpg_getBestPatternWithOptions(dtpgen, testDataPtr->skel, -1, in TestOptions() 440 udatpg_close(dtpgen); in TestOptions() 476 UDateTimePatternGenerator * dtpgen = udatpg_open(testDataPtr->locale, &status); in TestGetFieldDisplayNames() local 484 … int32_t getLen = udatpg_getFieldDisplayName(dtpgen, testDataPtr->field, testDataPtr->width, in TestGetFieldDisplayNames() 500 … getNewLen = udatpg_getFieldDisplayName(dtpgen, testDataPtr->field, UDATPG_WIDE, NULL, 0, &status); in TestGetFieldDisplayNames() 506 …getNewLen = udatpg_getFieldDisplayName(dtpgen, testDataPtr->field, UDATPG_WIDE, getName, getLen-1,… in TestGetFieldDisplayNames() 512 udatpg_close(dtpgen); in TestGetFieldDisplayNames() 543 UDateTimePatternGenerator * dtpgen = in TestGetDefaultHourCycle() local 549 UDateFormatHourCycle actual = udatpg_getDefaultHourCycle(dtpgen, &status); in TestGetDefaultHourCycle() [all …]
|
D | cdattst.c | 1887 UDateTimePatternGenerator* dtpgen = udatpg_open(locID, &status); in TestForceGannenNumbering() local 1892 … int32_t patlen = udatpg_getBestPattern(dtpgen, testSkeleton, -1, pattern, kUbufMax, &status); in TestForceGannenNumbering() 1912 udatpg_close(dtpgen); in TestForceGannenNumbering()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DateTimeGeneratorTest.java | 609 DateTimePatternGenerator dtpgen in DayMonthTest() local 613 final String pattern = dtpgen.getBestPattern("MMMd"); in DayMonthTest() 658 DateTimePatternGenerator dtpgen in TestReplacingZoneString() local 664 …String newPattern = dtpgen.replaceFieldTypes(pattern, "VVVV"); // replaceZoneString(pattern, "VVVV… in TestReplacingZoneString() 1427 DateTimePatternGenerator dtpgen = DateTimePatternGenerator.getInstance(uloc); in TestOptions() local 1428 … String pattern = dtpgen.getBestPattern(testOptionsData[i].skeleton, testOptionsData[i].options); in TestOptions() 1516 DateTimePatternGenerator dtpgen = DateTimePatternGenerator.getInstance(uloc); in TestAllFieldPatterns() local 1528 String pattern = dtpgen.getBestPattern(skeleton); in TestAllFieldPatterns() 1686 DateTimePatternGenerator dtpgen = DateTimePatternGenerator.getInstance(uloc); in TestGetFieldDisplayNames() local 1687 … String getName = dtpgen.getFieldDisplayName(testNamesData[i].field, testNamesData[i].width); in TestGetFieldDisplayNames()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateTimeGeneratorTest.java | 606 DateTimePatternGenerator dtpgen in DayMonthTest() local 610 final String pattern = dtpgen.getBestPattern("MMMd"); in DayMonthTest() 655 DateTimePatternGenerator dtpgen in TestReplacingZoneString() local 661 …String newPattern = dtpgen.replaceFieldTypes(pattern, "VVVV"); // replaceZoneString(pattern, "VVVV… in TestReplacingZoneString() 1424 DateTimePatternGenerator dtpgen = DateTimePatternGenerator.getInstance(uloc); in TestOptions() local 1425 … String pattern = dtpgen.getBestPattern(testOptionsData[i].skeleton, testOptionsData[i].options); in TestOptions() 1513 DateTimePatternGenerator dtpgen = DateTimePatternGenerator.getInstance(uloc); in TestAllFieldPatterns() local 1525 String pattern = dtpgen.getBestPattern(skeleton); in TestAllFieldPatterns() 1683 DateTimePatternGenerator dtpgen = DateTimePatternGenerator.getInstance(uloc); in TestGetFieldDisplayNames() local 1684 … String getName = dtpgen.getFieldDisplayName(testNamesData[i].field, testNamesData[i].width); in TestGetFieldDisplayNames()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | JapaneseTest.java | 274 DateTimePatternGenerator dtpgen = DateTimePatternGenerator.getInstance(loc); in TestForceGannenNumbering() local 275 String pattern = dtpgen.getBestPattern(skelText); in TestForceGannenNumbering()
|
/external/icu/icu4c/source/test/intltest/ |
D | dtptngts.cpp | 975 … DateTimePatternGenerator * dtpgen = DateTimePatternGenerator::createInstance(locale, status); in testOptions() local 978 delete dtpgen; in testOptions() 981 UnicodeString pattern = dtpgen->getBestPattern(skel, options, status); in testOptions() 989 delete dtpgen; in testOptions()
|
D | incaltst.cpp | 755 …LocalPointer<DateTimePatternGenerator> dtpgen(DateTimePatternGenerator::createInstance(loc, status… in TestForceGannenNumbering() local 759 UnicodeString pattern = dtpgen->getBestPattern(skelText, status); in TestForceGannenNumbering()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | JapaneseTest.java | 271 DateTimePatternGenerator dtpgen = DateTimePatternGenerator.getInstance(loc); in TestForceGannenNumbering() local 272 String pattern = dtpgen.getBestPattern(skelText); in TestForceGannenNumbering()
|