/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | PluralFormat.java | 143 private ULocale ulocale = null; field in PluralFormat 199 public PluralFormat(ULocale ulocale) { in PluralFormat() argument 200 init(null, PluralType.CARDINAL, ulocale, null); in PluralFormat() 233 public PluralFormat(ULocale ulocale, PluralRules rules) { in PluralFormat() argument 234 init(rules, PluralType.CARDINAL, ulocale, null); in PluralFormat() 256 public PluralFormat(ULocale ulocale, PluralType type) { in PluralFormat() argument 257 init(null, type, ulocale, null); in PluralFormat() 296 public PluralFormat(ULocale ulocale, String pattern) { in PluralFormat() argument 297 init(null, PluralType.CARDINAL, ulocale, null); in PluralFormat() 327 public PluralFormat(ULocale ulocale, PluralRules rules, String pattern) { in PluralFormat() argument [all …]
|
D | CurrencyPluralInfo.java | 136 return ulocale; in getLocale() 172 ulocale = loc; in setLocale() 184 other.ulocale = (ULocale)ulocale.clone(); in clone() 222 ^ ulocale.hashCode(); in hashCode() 260 ulocale = uloc; in initialize() 325 private ULocale ulocale = null; field in CurrencyPluralInfo
|
D | MessageFormat.java | 379 this.ulocale = ULocale.getDefault(Category.FORMAT); in MessageFormat() 406 this.ulocale = locale; in MessageFormat() 435 this.ulocale = locale; in setLocale() 451 return ulocale.toLocale(); in getLocale() 460 return ulocale; in getULocale() 1463 return Objects.equals(ulocale, other.ulocale) in equals() 1535 private transient ULocale ulocale; field in MessageFormat 1565 DateFormat.SHORT, DateFormat.SHORT, ulocale);//fix in getStockDateFormatter() 1571 stockNumberFormatter = NumberFormat.getInstance(ulocale); in getStockNumberFormatter() 1675 MessageFormat subMsgFormat = new MessageFormat(subMsgString, ulocale); in format() [all …]
|
D | DecimalFormatSymbols.java | 838 CurrencyDisplayInfo displayInfo = CurrencyData.provider.getInstance(ulocale, true); in setCurrency() 853 currencySymbol = currency.getSymbol(ulocale); in setCurrencyOrNull() 1129 return ulocale; in getULocale() 1311 this.ulocale = locale; in initialize() 1343 CurrencyDisplayInfo displayInfo = CurrencyData.provider.getInstance(ulocale, true); in initialize() 1346 setCurrencyOrNull(Currency.getInstance(ulocale), displayInfo); in initialize() 1468 ulocale = ULocale.forLocale(requestedLocale); in readObject() 1782 private ULocale ulocale; field in DecimalFormatSymbols
|
D | ListFormatter.java | 744 private static ListFormatter load(ULocale ulocale, String style) { in load() argument 746 getBundleInstance(ICUData.ICU_BASE_NAME, ulocale); in load() 753 ulocale); in load()
|
D | RelativeDateTimeFormatter.java | 1409 private final ULocale ulocale; field in RelativeDateTimeFormatter.Loader 1411 public Loader(ULocale ulocale) { in Loader() argument 1412 this.ulocale = ulocale; in Loader() 1444 getBundleInstance(ICUData.ICU_BASE_NAME, ulocale); in load()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | PluralFormat.java | 143 private ULocale ulocale = null; field in PluralFormat 201 public PluralFormat(ULocale ulocale) { in PluralFormat() argument 202 init(null, PluralType.CARDINAL, ulocale, null); in PluralFormat() 238 public PluralFormat(ULocale ulocale, PluralRules rules) { in PluralFormat() argument 239 init(rules, PluralType.CARDINAL, ulocale, null); in PluralFormat() 263 public PluralFormat(ULocale ulocale, PluralType type) { in PluralFormat() argument 264 init(null, type, ulocale, null); in PluralFormat() 306 public PluralFormat(ULocale ulocale, String pattern) { in PluralFormat() argument 307 init(null, PluralType.CARDINAL, ulocale, null); in PluralFormat() 339 public PluralFormat(ULocale ulocale, PluralRules rules, String pattern) { in PluralFormat() argument [all …]
|
D | CurrencyPluralInfo.java | 147 return ulocale; in getLocale() 186 ulocale = loc; in setLocale() 200 other.ulocale = (ULocale)ulocale.clone(); in clone() 240 ^ ulocale.hashCode(); in hashCode() 278 ulocale = uloc; in initialize() 343 private ULocale ulocale = null; field in CurrencyPluralInfo
|
D | MessageFormat.java | 380 this.ulocale = ULocale.getDefault(Category.FORMAT); in MessageFormat() 409 this.ulocale = locale; in MessageFormat() 440 this.ulocale = locale; in setLocale() 457 return ulocale.toLocale(); in getLocale() 467 return ulocale; in getULocale() 1498 return Objects.equals(ulocale, other.ulocale) in equals() 1579 private transient ULocale ulocale; field in MessageFormat 1609 DateFormat.SHORT, DateFormat.SHORT, ulocale);//fix in getStockDateFormatter() 1615 stockNumberFormatter = NumberFormat.getInstance(ulocale); in getStockNumberFormatter() 1719 MessageFormat subMsgFormat = new MessageFormat(subMsgString, ulocale); in format() [all …]
|
D | DecimalFormatSymbols.java | 893 CurrencyDisplayInfo displayInfo = CurrencyData.provider.getInstance(ulocale, true); in setCurrency() 908 currencySymbol = currency.getSymbol(ulocale); in setCurrencyOrNull() 1205 return ulocale; in getULocale() 1390 this.ulocale = locale; in initialize() 1422 CurrencyDisplayInfo displayInfo = CurrencyData.provider.getInstance(ulocale, true); in initialize() 1425 setCurrencyOrNull(Currency.getInstance(ulocale), displayInfo); in initialize() 1547 ulocale = ULocale.forLocale(requestedLocale); in readObject() 1868 private ULocale ulocale; field in DecimalFormatSymbols
|
D | ListFormatter.java | 675 private static ListFormatter load(ULocale ulocale, String style) { in load() argument 677 getBundleInstance(ICUData.ICU_BASE_NAME, ulocale); in load() 684 ulocale); in load()
|
D | RelativeDateTimeFormatter.java | 1499 private final ULocale ulocale; field in RelativeDateTimeFormatter.Loader 1501 public Loader(ULocale ulocale) { in Loader() argument 1502 this.ulocale = ulocale; in Loader() 1534 getBundleInstance(ICUData.ICU_BASE_NAME, ulocale); in load()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
D | TestLocaleValidity.java | 254 ULocale ulocale; 256 ulocale = new ULocale.Builder().setLanguageTag(locale).build(); 258 addKeys(ulocale, keys); 265 all.isValid(ulocale, where); 280 private void addKeys(ULocale ulocale, Set<String> keys) { 281 for (char cp : ulocale.getExtensionKeys()) { 285 String extensionString = ulocale.getExtension(cp);
|
D | LocaleMatcherTest.java | 1000 private static Locale toLocale(ULocale ulocale) { in toLocale() argument 1001 return ulocale != null ? ulocale.toLocale() : null; in toLocale() 1006 for (ULocale ulocale : ulocales) { in localesFromULocales() 1007 locales.add(ulocale.toLocale()); in localesFromULocales()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | TestLocaleValidity.java | 252 ULocale ulocale; 254 ulocale = new ULocale.Builder().setLanguageTag(locale).build(); 256 addKeys(ulocale, keys); 263 all.isValid(ulocale, where); 278 private void addKeys(ULocale ulocale, Set<String> keys) { 279 for (char cp : ulocale.getExtensionKeys()) { 283 String extensionString = ulocale.getExtension(cp);
|
D | LocaleMatcherTest.java | 1042 private static Locale toLocale(ULocale ulocale) { in toLocale() argument 1043 return ulocale != null ? ulocale.toLocale() : null; in toLocale() 1048 for (ULocale ulocale : ulocales) { in localesFromULocales() 1049 locales.add(ulocale.toLocale()); in localesFromULocales()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | winnmtst.cpp | 314 Locale ulocale(localeID); in testLocales() local 315 NumberFormat *wnf = NumberFormat::createInstance(ulocale, status); in testLocales() 316 NumberFormat *wcf = NumberFormat::createCurrencyInstance(ulocale, status); in testLocales()
|
D | plurfmts.cpp | 521 Locale ulocale((const char *)"fr"); in pluralFormatLocaleTest() local 523 PluralFormat plFmt(ulocale, testPattern, status); in pluralFormatLocaleTest() 754 Locale ulocale((const char *)locale); in helperTestResults() local 756 PluralFormat plFmt(ulocale, testPattern, status); in helperTestResults()
|
D | numbertest_decimalquantity.cpp | 522 Locale ulocale("fr-FR"); in testScientificAndCompactSuppressedExponent() local 587 .locale(ulocale); in testScientificAndCompactSuppressedExponent() 655 Locale ulocale("fr-FR"); in testSuppressedExponentUnchangedByInitialScaling() local 656 LocalizedNumberFormatter withLocale = NumberFormatter::withLocale(ulocale); in testSuppressedExponentUnchangedByInitialScaling()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
D | GenderInfo.java | 248 private static GenderInfo load(ULocale ulocale) { in load() argument 256 ListGenderStyle.fromName(genderList.getString(ulocale.toString()))); in load()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | GenderInfo.java | 244 private static GenderInfo load(ULocale ulocale) { in load() argument 252 ListGenderStyle.fromName(genderList.getString(ulocale.toString()))); in load()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | PluralRangesTest.java | 68 ULocale ulocale = new ULocale(test[0]); in TestRangePattern() local 71 String formatter = MeasureFormat.getRangeFormat(ulocale, width); in TestRangePattern()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
D | PluralRangesTest.java | 70 ULocale ulocale = new ULocale(test[0]); in TestRangePattern() local 73 String formatter = MeasureFormat.getRangeFormat(ulocale, width); in TestRangePattern()
|
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | AlphabeticIndexTest.java | 611 ULocale ulocale = new ULocale(localeString); in TestClientSupport() local 612 …AlphabeticIndex<Double> alphabeticIndex = new AlphabeticIndex<Double>(ulocale).addLabels(Locale.EN… in TestClientSupport() 657 … gotError |= !assertEquals(ulocale + "\tBucket Labels (" + index + ")", bucketLabel, myLabel); in TestClientSupport() 669 …gotError |= !assertEquals(ulocale + "\t" + bucketLabel + "\t" + "Record Names (" + index + "." + r… in TestClientSupport() 675 …gotError |= !assertEquals(ulocale + "\t" + bucketLabel + "\t" + "Record Names (" + index + "." + r… in TestClientSupport()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/ |
D | AlphabeticIndexTest.java | 614 ULocale ulocale = new ULocale(localeString); in TestClientSupport() local 615 …AlphabeticIndex<Double> alphabeticIndex = new AlphabeticIndex<Double>(ulocale).addLabels(Locale.EN… in TestClientSupport() 660 … gotError |= !assertEquals(ulocale + "\tBucket Labels (" + index + ")", bucketLabel, myLabel); in TestClientSupport() 672 …gotError |= !assertEquals(ulocale + "\t" + bucketLabel + "\t" + "Record Names (" + index + "." + r… in TestClientSupport() 678 …gotError |= !assertEquals(ulocale + "\t" + bucketLabel + "\t" + "Record Names (" + index + "." + r… in TestClientSupport()
|