/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | LocaleMatcher.java | 182 private final Locale desiredLocale; field in LocaleMatcher.Result 192 desiredLocale = desired; in Result() 205 return desiredULocale == null && desiredLocale != null ? in getDesiredULocale() 206 ULocale.forLocale(desiredLocale) : desiredULocale; in getDesiredULocale() 215 return desiredLocale == null && desiredULocale != null ? in getDesiredLocale() 216 desiredULocale.toLocale() : desiredLocale; in getDesiredLocale() 831 public ULocale getBestMatch(ULocale desiredLocale) { in getBestMatch() argument 832 LSR desiredLSR = getMaximalLsrOrUnd(desiredLocale); in getBestMatch() 873 public Locale getBestLocale(Locale desiredLocale) { in getBestLocale() argument 874 LSR desiredLSR = getMaximalLsrOrUnd(desiredLocale); in getBestLocale() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | LocaleMatcher.java | 193 private final Locale desiredLocale; field in LocaleMatcher.Result 203 desiredLocale = desired; in Result() 217 return desiredULocale == null && desiredLocale != null ? in getDesiredULocale() 218 ULocale.forLocale(desiredLocale) : desiredULocale; in getDesiredULocale() 228 return desiredLocale == null && desiredULocale != null ? in getDesiredLocale() 229 desiredULocale.toLocale() : desiredLocale; in getDesiredLocale() 870 public ULocale getBestMatch(ULocale desiredLocale) { in getBestMatch() argument 871 LSR desiredLSR = getMaximalLsrOrUnd(desiredLocale); in getBestMatch() 915 public Locale getBestLocale(Locale desiredLocale) { in getBestLocale() argument 916 LSR desiredLSR = getMaximalLsrOrUnd(desiredLocale); in getBestLocale() [all …]
|
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/draft/ |
D | XLocaleMatcher.java | 269 ULocale desiredLocale = desiredLsrAndLocale.getValue(); 272 if (exactSupportedLocales.contains(desiredLocale)) { 274 outputBestDesired.value = desiredLocale; 276 return desiredLocale; 283 outputBestDesired.value = desiredLocale; 293 bestDesiredLocale = desiredLocale; 326 public ULocale getBestMatch(ULocale desiredLocale, Output<ULocale> outputBestDesired) { 332 …final LSR desiredLSR = desiredLocale.equals(UND_LOCALE) ? UND : LSR.fromMaximalized(desiredLocale); 334 if (exactSupportedLocales.contains(desiredLocale)) { 336 outputBestDesired.value = desiredLocale; [all …]
|
/external/icu/icu4c/source/common/unicode/ |
D | localematcher.h | 226 inline const Locale *getDesiredLocale() const { return desiredLocale; } in getDesiredLocale() 277 desiredLocale(desired), supportedLocale(supported), in Result() 284 const Locale *desiredLocale; variable 579 const Locale *getBestMatch(const Locale &desiredLocale, UErrorCode &errorCode) const; 621 Result getBestMatchResult(const Locale &desiredLocale, UErrorCode &errorCode) const;
|
/external/cronet/third_party/icu/source/common/unicode/ |
D | localematcher.h | 226 inline const Locale *getDesiredLocale() const { return desiredLocale; } in getDesiredLocale() 277 desiredLocale(desired), supportedLocale(supported), in Result() 284 const Locale *desiredLocale; variable 579 const Locale *getBestMatch(const Locale &desiredLocale, UErrorCode &errorCode) const; 621 Result getBestMatchResult(const Locale &desiredLocale, UErrorCode &errorCode) const;
|
/external/icu/libicu/cts_headers/unicode/ |
D | localematcher.h | 226 inline const Locale *getDesiredLocale() const { return desiredLocale; } in getDesiredLocale() 277 desiredLocale(desired), supportedLocale(supported), in Result() 284 const Locale *desiredLocale; variable 579 const Locale *getBestMatch(const Locale &desiredLocale, UErrorCode &errorCode) const; 621 Result getBestMatchResult(const Locale &desiredLocale, UErrorCode &errorCode) const;
|
D | numfmt.h | 756 static NumberFormat* U_EXPORT2 createInstance(const Locale& desiredLocale, 768 const Locale& desiredLocale, 1119 static NumberFormat* makeInstance(const Locale& desiredLocale, 1136 static NumberFormat* makeInstance(const Locale& desiredLocale,
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DateFormatSymbols.java | 1579 protected void initializeData(ULocale desiredLocale, String type) in initializeData() argument 1583 DateFormatSymbols dfs = getExtendedInstance(desiredLocale, type).dfs; in initializeData() 1588 private static AospExtendedDateFormatSymbols getExtendedInstance(ULocale desiredLocale, in getExtendedInstance() argument 1591 String key = desiredLocale.getBaseName() + '+' + type; in getExtendedInstance() 1592 String ns = desiredLocale.getKeywordValue("numbers"); in getExtendedInstance() 1597 return DFSCACHE.getInstance(key, desiredLocale); in getExtendedInstance() 1659 private AospExtendedDateFormatSymbols(ULocale desiredLocale, ICUResourceBundle b, in AospExtendedDateFormatSymbols() argument 1662 dfs = new DateFormatSymbols(desiredLocale, b, calendarType, this); in AospExtendedDateFormatSymbols() 1973 private DateFormatSymbols(ULocale desiredLocale, ICUResourceBundle b, String calendarType, in DateFormatSymbols() argument 1975 initializeData(desiredLocale, b, calendarType, aospExtendedDateFormatSymbols); in DateFormatSymbols() [all …]
|
D | NumberFormatServiceShim.java | 78 NumberFormat createInstance(ULocale desiredLocale, int choice) { in createInstance() argument 86 NumberFormat fmt = (NumberFormat)service.get(desiredLocale, choice, in createInstance() 101 fmt.setCurrency(Currency.getInstance(desiredLocale)); in createInstance()
|
D | NumberFormat.java | 1423 public static NumberFormat getInstance(ULocale desiredLocale, int choice) { in getInstance() argument 1434 return getShim().createInstance(desiredLocale, choice); in getInstance() 1439 static NumberFormat createInstance(ULocale desiredLocale, int choice) { in createInstance() argument 1445 String pattern = getPattern(desiredLocale, choice); in createInstance() 1446 DecimalFormatSymbols symbols = new DecimalFormatSymbols(desiredLocale); in createInstance() 1467 NumberingSystem ns = NumberingSystem.getInstance(desiredLocale); in createInstance() 1495 nsLoc = desiredLocale; in createInstance() 1520 f.setCurrencyPluralInfo(CurrencyPluralInfo.getInstance(desiredLocale)); in createInstance()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | DateFormatSymbols.java | 1537 protected void initializeData(ULocale desiredLocale, String type) in initializeData() argument 1541 DateFormatSymbols dfs = getExtendedInstance(desiredLocale, type).dfs; in initializeData() 1546 private static AospExtendedDateFormatSymbols getExtendedInstance(ULocale desiredLocale, in getExtendedInstance() argument 1549 String key = desiredLocale.getBaseName() + '+' + type; in getExtendedInstance() 1550 String ns = desiredLocale.getKeywordValue("numbers"); in getExtendedInstance() 1555 return DFSCACHE.getInstance(key, desiredLocale); in getExtendedInstance() 1618 private AospExtendedDateFormatSymbols(ULocale desiredLocale, ICUResourceBundle b, in AospExtendedDateFormatSymbols() argument 1621 dfs = new DateFormatSymbols(desiredLocale, b, calendarType, this); in AospExtendedDateFormatSymbols() 1932 private DateFormatSymbols(ULocale desiredLocale, ICUResourceBundle b, String calendarType, in DateFormatSymbols() argument 1934 initializeData(desiredLocale, b, calendarType, aospExtendedDateFormatSymbols); in DateFormatSymbols() [all …]
|
D | NumberFormatServiceShim.java | 79 NumberFormat createInstance(ULocale desiredLocale, int choice) { in createInstance() argument 87 NumberFormat fmt = (NumberFormat)service.get(desiredLocale, choice, in createInstance() 102 fmt.setCurrency(Currency.getInstance(desiredLocale)); in createInstance()
|
D | NumberFormat.java | 1335 public static NumberFormat getInstance(ULocale desiredLocale, int choice) { in getInstance() argument 1346 return getShim().createInstance(desiredLocale, choice); in getInstance() 1351 static NumberFormat createInstance(ULocale desiredLocale, int choice) { in createInstance() argument 1357 String pattern = getPattern(desiredLocale, choice); in createInstance() 1358 DecimalFormatSymbols symbols = new DecimalFormatSymbols(desiredLocale); in createInstance() 1379 NumberingSystem ns = NumberingSystem.getInstance(desiredLocale); in createInstance() 1407 nsLoc = desiredLocale; in createInstance() 1432 f.setCurrencyPluralInfo(CurrencyPluralInfo.getInstance(desiredLocale)); in createInstance()
|
D | CollatorServiceShim.java | 182 private static final Collator makeInstance(ULocale desiredLocale) { in makeInstance() argument 185 CollationLoader.loadTailoring(desiredLocale, validLocale); in makeInstance()
|
/external/icu/icu4c/source/common/ |
D | localematcher.cpp | 55 desiredLocale(src.desiredLocale), in Result() 61 src.desiredLocale = nullptr; in Result() 69 delete desiredLocale; in ~Result() 76 desiredLocale = src.desiredLocale; in operator =() 83 src.desiredLocale = nullptr; in operator =() 606 const Locale *LocaleMatcher::getBestMatch(const Locale &desiredLocale, UErrorCode &errorCode) const… in getBestMatch() argument 609 getMaximalLsrOrUnd(likelySubtags, desiredLocale, errorCode), in getBestMatch() 633 const Locale &desiredLocale, UErrorCode &errorCode) const { in getBestMatchResult() argument 638 getMaximalLsrOrUnd(likelySubtags, desiredLocale, errorCode), in getBestMatchResult() 643 return Result(&desiredLocale, supportedLocales[suppIndex], 0, suppIndex, false); in getBestMatchResult()
|
/external/cronet/third_party/icu/source/common/ |
D | localematcher.cpp | 55 desiredLocale(src.desiredLocale), in Result() 61 src.desiredLocale = nullptr; in Result() 69 delete desiredLocale; in ~Result() 76 desiredLocale = src.desiredLocale; in operator =() 83 src.desiredLocale = nullptr; in operator =() 606 const Locale *LocaleMatcher::getBestMatch(const Locale &desiredLocale, UErrorCode &errorCode) const… in getBestMatch() argument 609 getMaximalLsrOrUnd(likelySubtags, desiredLocale, errorCode), in getBestMatch() 633 const Locale &desiredLocale, UErrorCode &errorCode) const { in getBestMatchResult() argument 638 getMaximalLsrOrUnd(likelySubtags, desiredLocale, errorCode), in getBestMatchResult() 643 return Result(&desiredLocale, supportedLocales[suppIndex], 0, suppIndex, false); in getBestMatchResult()
|
/external/icu/icu4c/source/i18n/ |
D | numfmt.cpp | 1296 NumberFormat::makeInstance(const Locale& desiredLocale, in makeInstance() argument 1299 return makeInstance(desiredLocale, style, false, status); in makeInstance() 1303 NumberFormat::makeInstance(const Locale& desiredLocale, in makeInstance() argument 1336 int32_t count = desiredLocale.getKeywordValue("compat", buffer, sizeof(buffer), status); in makeInstance() 1355 … LocalPointer<Win32NumberFormat> f(new Win32NumberFormat(desiredLocale, curr, status), status); in makeInstance() 1375 int32_t hashKey = desiredLocale.hashCode(); in makeInstance() 1381 ns = NumberingSystem::createInstance(desiredLocale,status); in makeInstance() 1385 ownedNs.adoptInstead(NumberingSystem::createInstance(desiredLocale,status)); in makeInstance() 1401 LocalUResourceBundlePointer ownedResource(ures_open(NULL, desiredLocale.getName(), &status)); in makeInstance() 1407 …symbolsToAdopt.adoptInsteadAndCheckErrorCode(new DecimalFormatSymbols(desiredLocale, status), stat… in makeInstance() [all …]
|
D | coll.cpp | 429 Collator* U_EXPORT2 Collator::createInstance(const Locale& desiredLocale, in createInstance() argument 434 if (desiredLocale.isBogus()) { in createInstance() 444 coll = (Collator*)gService->get(desiredLocale, &actualLoc, status); in createInstance() 448 coll = makeInstance(desiredLocale, status); in createInstance() 457 setAttributesFromKeywords(desiredLocale, *coll, status); in createInstance() 466 Collator* Collator::makeInstance(const Locale& desiredLocale, UErrorCode& status) { in makeInstance() argument 467 const CollationCacheEntry *entry = CollationLoader::loadTailoring(desiredLocale, status); in makeInstance()
|
/external/cronet/third_party/icu/source/i18n/ |
D | numfmt.cpp | 1296 NumberFormat::makeInstance(const Locale& desiredLocale, in makeInstance() argument 1299 return makeInstance(desiredLocale, style, false, status); in makeInstance() 1303 NumberFormat::makeInstance(const Locale& desiredLocale, in makeInstance() argument 1336 int32_t count = desiredLocale.getKeywordValue("compat", buffer, sizeof(buffer), status); in makeInstance() 1355 … LocalPointer<Win32NumberFormat> f(new Win32NumberFormat(desiredLocale, curr, status), status); in makeInstance() 1375 int32_t hashKey = desiredLocale.hashCode(); in makeInstance() 1381 ns = NumberingSystem::createInstance(desiredLocale,status); in makeInstance() 1385 ownedNs.adoptInstead(NumberingSystem::createInstance(desiredLocale,status)); in makeInstance() 1401 LocalUResourceBundlePointer ownedResource(ures_open(NULL, desiredLocale.getName(), &status)); in makeInstance() 1407 …symbolsToAdopt.adoptInsteadAndCheckErrorCode(new DecimalFormatSymbols(desiredLocale, status), stat… in makeInstance() [all …]
|
D | coll.cpp | 429 Collator* U_EXPORT2 Collator::createInstance(const Locale& desiredLocale, in createInstance() argument 434 if (desiredLocale.isBogus()) { in createInstance() 444 coll = (Collator*)gService->get(desiredLocale, &actualLoc, status); in createInstance() 448 coll = makeInstance(desiredLocale, status); in createInstance() 457 setAttributesFromKeywords(desiredLocale, *coll, status); in createInstance() 466 Collator* Collator::makeInstance(const Locale& desiredLocale, UErrorCode& status) { in makeInstance() argument 467 const CollationCacheEntry *entry = CollationLoader::loadTailoring(desiredLocale, status); in makeInstance()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | numfmt.h | 756 static NumberFormat* U_EXPORT2 createInstance(const Locale& desiredLocale, 768 const Locale& desiredLocale, 1119 static NumberFormat* makeInstance(const Locale& desiredLocale, 1136 static NumberFormat* makeInstance(const Locale& desiredLocale,
|
/external/cronet/third_party/icu/source/i18n/unicode/ |
D | numfmt.h | 756 static NumberFormat* U_EXPORT2 createInstance(const Locale& desiredLocale, 768 const Locale& desiredLocale, 1119 static NumberFormat* makeInstance(const Locale& desiredLocale, 1136 static NumberFormat* makeInstance(const Locale& desiredLocale,
|
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/ |
D | Level.java | 94 public static int getDefaultWeight(String organization, String desiredLocale) { in getDefaultWeight() argument 95 Level level = sc.getLocaleCoverageLevel(organization, desiredLocale); in getDefaultWeight()
|
D | StandardCodes.java | 414 public Level getLocaleCoverageLevel(String organization, String desiredLocale) { in getLocaleCoverageLevel() argument 415 return getLocaleCoverageLevel(Organization.fromString(organization), desiredLocale); in getLocaleCoverageLevel() 418 public Level getLocaleCoverageLevel(Organization organization, String desiredLocale) { in getLocaleCoverageLevel() argument 419 … return getLocaleCoverageLevel(organization, desiredLocale, new Output<LocaleCoverageType>()); in getLocaleCoverageLevel() 430 …public Level getLocaleCoverageLevel(Organization organization, String desiredLocale, Output<Locale… in getLocaleCoverageLevel() argument 440 String originalLocale = desiredLocale; in getLocaleCoverageLevel() 441 while (desiredLocale != null) { in getLocaleCoverageLevel() 442 Level status = locale_status.get(desiredLocale); in getLocaleCoverageLevel() 444 …coverageType.value = originalLocale == desiredLocale ? LocaleCoverageType.explicit : LocaleCoverag… in getLocaleCoverageLevel() 447 desiredLocale = LocaleIDParser.getParent(desiredLocale); in getLocaleCoverageLevel()
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
D | CollatorServiceShim.java | 181 private static final Collator makeInstance(ULocale desiredLocale) { in makeInstance() argument 184 CollationLoader.loadTailoring(desiredLocale, validLocale); in makeInstance()
|