/external/icu/icu4c/source/test/cintltst/ |
D | cldrtest.c | 583 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/ |
D | ICULocaleServiceProvider.java | 192 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/ |
D | ULocaleCollationTest.java | 156 valid.toLocale(), actual.toLocale(), in checkObject()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CurrencyFormat.java | 44 fmt = NumberFormat.getCurrencyInstance(locale.toLocale()); in CurrencyFormat()
|
D | DecimalFormatSymbols.java | 852 this.requestedLocale = locale.toLocale(); in initialize()
|
D | NumberFormat.java | 839 return createFormat(loc.toLocale(), formatType); in createFormat()
|
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
D | TestUtil.java | 44 return modUloc.toLocale(); in toICUExtendedLocale()
|
D | CollatorTest.java | 138 Locale loc = uloc0.toLocale(); in TestCollationKeyword()
|
D | DateFormatTest.java | 203 Locale loc = uloc0.toLocale(); in TestCalendarKeyword()
|
D | DateFormatSymbolsTest.java | 188 Locale loc = uloc0.toLocale(); in TestCalendarKeyword()
|
D | DecimalFormatSymbolsTest.java | 164 Locale loc = uloc0.toLocale(); in TestKeywords()
|
D | LocaleNameTest.java | 113 Locale forLocale = forULocale.toLocale(); in TestScriptNames()
|
D | NumberFormatTest.java | 296 Locale loc = uloc0.toLocale(); in TestKeywords()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | ICUServiceTestSample.java | 212 Collator col = Collator.getInstance(locale.toLocale()); in getDisplayNames()
|
D | ULocaleTest.java | 390 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()
|
D | ICUServiceTest.java | 74 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()
|
D | ICUServiceThreadTest.java | 86 col = Collator.getInstance(locale.toLocale()); in getDisplayNames()
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/text/ |
D | RbnfScannerProviderImpl.java | 101 collator = (RuleBasedCollator)Collator.getInstance(locale.toLocale()); in createScanner()
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/ |
D | TimeZoneJDK.java | 85 return fJdkTz.getDisplayName(daylight, style, locale.toLocale()); in getDisplayName()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | IntlTestNumberFormatAPI.java | 212 String p = NumberFormat.getPattern(ULocale.getDefault().toLocale(),0); in TestCoverage()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | ULocale.java | 549 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
|
D | UResourceBundle.java | 316 return getULocale().toLocale(); in getLocale()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | ICUResourceBundle.java | 525 Locale loc = ulocales[i].toLocale(); in getLocaleList() 542 return getULocale().toLocale(); in getLocale()
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
D | Collator.java | 507 return createCollator(loc.toLocale()); in createCollator()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | ChineseTest.java | 669 Locale locInd = uloInd.toLocale(); in TestScratch()
|