Home
last modified time | relevance | path

Searched refs:toLocale (Results 1 – 25 of 32) sorted by relevance

12

/external/icu/icu4c/source/test/cintltst/
Dcldrtest.c583 UResourceBundle *toArray, const char *toLocale, in compareArrays() argument
595 toLocale); in compareArrays()
608 toLocale, in compareArrays()
615 compareConsistentCountryInfo(const char *fromLocale, const char *toLocale) { in compareConsistentCountryInfo() argument
619 UResourceBundle *toLocaleBund = ures_open(NULL, toLocale, &errorCode); in compareConsistentCountryInfo()
623 …log_err("Can't open resource bundle %s or %s - %s\n", fromLocale, toLocale, u_errorName(errorCode)… in compareConsistentCountryInfo()
637 compareArrays("CurrencyElements", fromArray, fromLocale, toArray, toLocale, 1, 2); in compareConsistentCountryInfo()
646 compareArrays("NumberPatterns", fromArray, fromLocale, toArray, toLocale, 0, 3); in compareConsistentCountryInfo()
665 compareArrays("NumberElements", fromArray, fromLocale, toArray, toLocale, 0, 3); in compareConsistentCountryInfo()
667 compareArrays("NumberElements", fromArray, fromLocale, toArray, toLocale, 5, 10); in compareConsistentCountryInfo()
[all …]
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/
DICULocaleServiceProvider.java192 locales.add(uloc.toLocale()); in addULocale()
207 locales.add(ulocWithVar.toLocale()); in addULocale()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/
DULocaleCollationTest.java156 valid.toLocale(), actual.toLocale(), in checkObject()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCurrencyFormat.java44 fmt = NumberFormat.getCurrencyInstance(locale.toLocale()); in CurrencyFormat()
DDecimalFormatSymbols.java852 this.requestedLocale = locale.toLocale(); in initialize()
DNumberFormat.java839 return createFormat(loc.toLocale(), formatType); in createFormat()
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DTestUtil.java44 return modUloc.toLocale(); in toICUExtendedLocale()
DCollatorTest.java138 Locale loc = uloc0.toLocale(); in TestCollationKeyword()
DDateFormatTest.java203 Locale loc = uloc0.toLocale(); in TestCalendarKeyword()
DDateFormatSymbolsTest.java188 Locale loc = uloc0.toLocale(); in TestCalendarKeyword()
DDecimalFormatSymbolsTest.java164 Locale loc = uloc0.toLocale(); in TestKeywords()
DLocaleNameTest.java113 Locale forLocale = forULocale.toLocale(); in TestScriptNames()
DNumberFormatTest.java296 Locale loc = uloc0.toLocale(); in TestKeywords()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DICUServiceTestSample.java212 Collator col = Collator.getInstance(locale.toLocale()); in getDisplayNames()
DULocaleTest.java390 valid.toLocale(), actual.toLocale(), in checkObject()
4279 Locale loc = new ULocale((String) DATA[i][0]).toLocale(); in TestToLocale()
4289 Locale loc = new ULocale((String) DATA7[i][0]).toLocale(); in TestToLocale()
4309 Locale loc = new ULocale((String) DATA7EXT[i][0]).toLocale(); in TestToLocale()
4325 Locale loc = new ULocale((String) DATA6[i][0]).toLocale(); in TestToLocale()
4642 assertEquals(pair[0].toString(), pair[0].toLocale(), pair[1].toLocale()); in TestChineseToLocale()
DICUServiceTest.java74 Collator col = Collator.getInstance(locale.toLocale()); in getDisplayNames()
84 Collator col = Collator.getInstance(locale.toLocale()); in getDisplayNames()
93 Collator col = Collator.getInstance(locale.toLocale()); in getDisplayNames()
DICUServiceThreadTest.java86 col = Collator.getInstance(locale.toLocale()); in getDisplayNames()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/text/
DRbnfScannerProviderImpl.java101 collator = (RuleBasedCollator)Collator.getInstance(locale.toLocale()); in createScanner()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
DTimeZoneJDK.java85 return fJdkTz.getDisplayName(daylight, style, locale.toLocale()); in getDisplayName()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestNumberFormatAPI.java212 String p = NumberFormat.getPattern(ULocale.getDefault().toLocale(),0); in TestCoverage()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DULocale.java549 public Locale toLocale() { in toLocale() method in ULocale
551 locale = JDKLocaleHelper.toLocale(this); in toLocale()
684 defaultLocale = newLocale.toLocale(); in setDefault()
761 Locale newJavaDefault = newLocale.toLocale(); in setDefault()
2068 Locale loc = aLocale.toLocale(); in acceptLanguage()
4124 public static Locale toLocale(ULocale uloc) { in toLocale() method in ULocale.JDKLocaleHelper
DUResourceBundle.java316 return getULocale().toLocale(); in getLocale()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUResourceBundle.java525 Locale loc = ulocales[i].toLocale(); in getLocaleList()
542 return getULocale().toLocale(); in getLocale()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DCollator.java507 return createCollator(loc.toLocale()); in createCollator()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DChineseTest.java669 Locale locInd = uloInd.toLocale(); in TestScratch()

12