Home
last modified time | relevance | path

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

/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/number/
DCurrencyDemo.java81 Locale[] testLocales = NumberFormat.getAvailableLocales(); in testFormatHack() local
82 for (int i = 0; i < testLocales.length; ++i) { in testFormatHack()
84 if (!testLocales[i].getCountry().equals("")) continue; in testFormatHack()
87 System.out.println(testLocales[i].getDisplayName()); in testFormatHack()
91 …mberFormat nf26 = getCurrencyFormat(Currency.getInstance(testCurrencies[j]), testLocales[i], true); in testFormatHack()
96 …berFormat nf24 = getCurrencyFormat(Currency.getInstance(testCurrencies[j]), testLocales[i], false); in testFormatHack()
100 System.out.println(testLocales[i].getDisplayName()); in testFormatHack()
/external/icu/icu4c/source/test/perf/normperf/
Ddtfmtrtperf.h114 const Locale testLocales[] = { in call() local
141 LOCALES = testLocales; in call()
/external/icu/icu4c/source/test/intltest/
Dwindttst.h31 static void testLocales(TestLog *log);
Dwinnmtst.h31 static void testLocales(TestLog *log);
Dwindttst.cpp69 void Win32DateTimeTest::testLocales(TestLog *log) in testLocales() function in Win32DateTimeTest
Dwinnmtst.cpp270 void Win32NumberTest::testLocales(TestLog *log) in testLocales() function in Win32NumberTest
Dtzfmttst.cpp132 const Locale testLocales[] = { in TestTimeZoneRoundTrip() local
143 LOCALES = testLocales; in TestTimeZoneRoundTrip()
144 nLocales = sizeof(testLocales)/sizeof(Locale); in TestTimeZoneRoundTrip()
Ddtfmttst.cpp2365 Win32DateTimeTest::testLocales(this); in TestHost()
Dnumfmtst.cpp3198 Win32NumberTest::testLocales(this); in TestHost()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DTestUScript.java178 Locale[] testLocales = new Locale[] { in TestMultipleCode() local
186 logln(" Testing locale: " + testLocales[i].getDisplayName()); in TestMultipleCode()
187 int[] code = UScript.getCode(testLocales[i]); in TestMultipleCode()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DTestUScript.java182 Locale[] testLocales = new Locale[] { in TestMultipleCode() local
190 logln(" Testing locale: " + testLocales[i].getDisplayName()); in TestMultipleCode()
191 int[] code = UScript.getCode(testLocales[i]); in TestMultipleCode()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatTest.java3541 final ULocale[] testLocales = { in TestCalendarType() local
3551 for (int i = 0; i < testLocales.length; i++) { in TestCalendarType()
3554 if (testLocales[i].getLanguage().length() > 0) { in TestCalendarType()
3555 locStrBuf.append(testLocales[i].getLanguage()); in TestCalendarType()
3557 if (testLocales[i].getScript().length() > 0) { in TestCalendarType()
3559 locStrBuf.append(testLocales[i].getScript()); in TestCalendarType()
3561 if (testLocales[i].getCountry().length() > 0) { in TestCalendarType()
3563 locStrBuf.append(testLocales[i].getCountry()); in TestCalendarType()
3567 Calendar cal = Calendar.getInstance(testLocales[i]); in TestCalendarType()
3579 df = DateFormat.getDateInstance(DateFormat.MEDIUM, testLocales[i]); in TestCalendarType()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java3537 final ULocale[] testLocales = { in TestCalendarType() local
3547 for (int i = 0; i < testLocales.length; i++) { in TestCalendarType()
3550 if (testLocales[i].getLanguage().length() > 0) { in TestCalendarType()
3551 locStrBuf.append(testLocales[i].getLanguage()); in TestCalendarType()
3553 if (testLocales[i].getScript().length() > 0) { in TestCalendarType()
3555 locStrBuf.append(testLocales[i].getScript()); in TestCalendarType()
3557 if (testLocales[i].getCountry().length() > 0) { in TestCalendarType()
3559 locStrBuf.append(testLocales[i].getCountry()); in TestCalendarType()
3563 Calendar cal = Calendar.getInstance(testLocales[i]); in TestCalendarType()
3575 df = DateFormat.getDateInstance(DateFormat.MEDIUM, testLocales[i]); in TestCalendarType()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DLocaleDataTest.java318 final String[] testLocales = { in TestExemplarSetTypes() local
341 for (String locstr : testLocales) { in TestExemplarSetTypes()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DLocaleDataTest.java322 final String[] testLocales = { in TestExemplarSetTypes() local
345 for (String locstr : testLocales) { in TestExemplarSetTypes()
DTestBagFormatter.java149 static void testLocales() throws IOException { in testLocales() method in TestBagFormatter
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/util/
DTestBagFormatter.java148 static void testLocales() throws IOException { in testLocales() method in TestBagFormatter