Home
last modified time | relevance | path

Searched refs:testLocales (Results 1 – 16 of 16) sorted by relevance

/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/number/
DCurrencyDemo.java83 Locale[] testLocales = NumberFormat.getAvailableLocales(); in testFormatHack() local
84 for (int i = 0; i < testLocales.length; ++i) { in testFormatHack()
86 if (!testLocales[i].getCountry().equals("")) continue; in testFormatHack()
89 System.out.println(testLocales[i].getDisplayName()); in testFormatHack()
93 …mberFormat nf26 = getCurrencyFormat(Currency.getInstance(testCurrencies[j]), testLocales[i], true); in testFormatHack()
98 …berFormat nf24 = getCurrencyFormat(Currency.getInstance(testCurrencies[j]), testLocales[i], false); in testFormatHack()
102 System.out.println(testLocales[i].getDisplayName()); in testFormatHack()
/external/cldr/tools/java/org/unicode/cldr/tool/
DGeneratePluralConfirmation.java99 Set<String> testLocales = new TreeSet(Arrays.asList( in mainOld() local
103 System.out.println(testLocales); in mainOld()
105 for (String locale : testLocales) { in mainOld()
/external/icu/icu4c/source/test/perf/normperf/
Ddtfmtrtperf.h117 const Locale testLocales[] = { in call() local
144 LOCALES = testLocales; in call()
/external/icu/icu4c/source/test/intltest/
Dwindttst.h33 static void testLocales(DateFormatTest *log);
Dwinnmtst.h33 static void testLocales(NumberFormatTest *log);
Dwindttst.cpp73 void Win32DateTimeTest::testLocales(DateFormatTest *log) in testLocales() function in Win32DateTimeTest
Dwinnmtst.cpp275 void Win32NumberTest::testLocales(NumberFormatTest *log) in testLocales() function in Win32NumberTest
Dtzfmttst.cpp140 const Locale testLocales[] = { in TestTimeZoneRoundTrip() local
153 LOCALES = testLocales; in TestTimeZoneRoundTrip()
154 nLocales = UPRV_LENGTHOF(testLocales); in TestTimeZoneRoundTrip()
Ddtfmttst.cpp2379 Win32DateTimeTest::testLocales(this); in TestHost()
Dnumfmtst.cpp2979 Win32NumberTest::testLocales(this); in TestHost()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DLocaleDataTest.java361 final String[] testLocales = { in TestExemplarSetTypes() local
384 for (String locstr : testLocales) { in TestExemplarSetTypes()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java3590 final ULocale[] testLocales = { in TestCalendarType() local
3600 for (int i = 0; i < testLocales.length; i++) { in TestCalendarType()
3603 if (testLocales[i].getLanguage().length() > 0) { in TestCalendarType()
3604 locStrBuf.append(testLocales[i].getLanguage()); in TestCalendarType()
3606 if (testLocales[i].getScript().length() > 0) { in TestCalendarType()
3608 locStrBuf.append(testLocales[i].getScript()); in TestCalendarType()
3610 if (testLocales[i].getCountry().length() > 0) { in TestCalendarType()
3612 locStrBuf.append(testLocales[i].getCountry()); in TestCalendarType()
3616 Calendar cal = Calendar.getInstance(testLocales[i]); in TestCalendarType()
3628 df = DateFormat.getDateInstance(DateFormat.MEDIUM, testLocales[i]); in TestCalendarType()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatTest.java3593 final ULocale[] testLocales = { in TestCalendarType() local
3603 for (int i = 0; i < testLocales.length; i++) { in TestCalendarType()
3606 if (testLocales[i].getLanguage().length() > 0) { in TestCalendarType()
3607 locStrBuf.append(testLocales[i].getLanguage()); in TestCalendarType()
3609 if (testLocales[i].getScript().length() > 0) { in TestCalendarType()
3611 locStrBuf.append(testLocales[i].getScript()); in TestCalendarType()
3613 if (testLocales[i].getCountry().length() > 0) { in TestCalendarType()
3615 locStrBuf.append(testLocales[i].getCountry()); in TestCalendarType()
3619 Calendar cal = Calendar.getInstance(testLocales[i]); in TestCalendarType()
3631 df = DateFormat.getDateInstance(DateFormat.MEDIUM, testLocales[i]); in TestCalendarType()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DLocaleDataTest.java358 final String[] testLocales = { in TestExemplarSetTypes() local
381 for (String locstr : testLocales) { in TestExemplarSetTypes()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestBagFormatter.java149 static void testLocales() throws IOException { in testLocales() method in TestBagFormatter
DTestSupplementalInfo.java1634 Set<String> testLocales = STANDARD_CODES.getLocaleCoverageLocales( in TestPluralCompleteness() local
1648 CoverageIssue needsCoverage = testLocales.contains(locale) in TestPluralCompleteness()