/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
D | LocaleMatcher.java | 198 private final Locale desiredLocale; field in LocaleMatcher.Result 208 desiredLocale = desired; in Result() 222 return desiredULocale == null && desiredLocale != null ? in getDesiredULocale() 223 ULocale.forLocale(desiredLocale) : desiredULocale; in getDesiredULocale() 233 return desiredLocale == null && desiredULocale != null ? in getDesiredLocale() 234 desiredULocale.toLocale() : desiredLocale; in getDesiredLocale() 777 public ULocale getBestMatch(ULocale desiredLocale) { in getBestMatch() argument 778 LSR desiredLSR = getMaximalLsrOrUnd(desiredLocale); in getBestMatch() 820 public Locale getBestLocale(Locale desiredLocale) { in getBestLocale() argument 821 LSR desiredLSR = getMaximalLsrOrUnd(desiredLocale); in getBestLocale() [all …]
|
/third_party/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 …]
|
/third_party/skia/third_party/externals/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 583 const Locale *getBestMatch(const Locale &desiredLocale, UErrorCode &errorCode) const; 625 Result getBestMatchResult(const Locale &desiredLocale, UErrorCode &errorCode) const;
|
/third_party/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 583 const Locale *getBestMatch(const Locale &desiredLocale, UErrorCode &errorCode) const; 625 Result getBestMatchResult(const Locale &desiredLocale, UErrorCode &errorCode) const;
|
/third_party/node/deps/icu-small/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;
|
/third_party/node/deps/icu-small/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 =() 624 const Locale *LocaleMatcher::getBestMatch(const Locale &desiredLocale, UErrorCode &errorCode) const… in getBestMatch() argument 627 getMaximalLsrOrUnd(likelySubtags, desiredLocale, errorCode), in getBestMatch() 651 const Locale &desiredLocale, UErrorCode &errorCode) const { in getBestMatchResult() argument 656 getMaximalLsrOrUnd(likelySubtags, desiredLocale, errorCode), in getBestMatchResult() 661 return Result(&desiredLocale, supportedLocales[suppIndex], 0, suppIndex, FALSE); in getBestMatchResult()
|
/third_party/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 =() 624 const Locale *LocaleMatcher::getBestMatch(const Locale &desiredLocale, UErrorCode &errorCode) const… in getBestMatch() argument 627 getMaximalLsrOrUnd(likelySubtags, desiredLocale, errorCode), in getBestMatch() 651 const Locale &desiredLocale, UErrorCode &errorCode) const { in getBestMatchResult() argument 656 getMaximalLsrOrUnd(likelySubtags, desiredLocale, errorCode), in getBestMatchResult() 661 return Result(&desiredLocale, supportedLocales[suppIndex], 0, suppIndex, FALSE); in getBestMatchResult()
|
/third_party/skia/third_party/externals/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 =() 624 const Locale *LocaleMatcher::getBestMatch(const Locale &desiredLocale, UErrorCode &errorCode) const… in getBestMatch() argument 627 getMaximalLsrOrUnd(likelySubtags, desiredLocale, errorCode), in getBestMatch() 651 const Locale &desiredLocale, UErrorCode &errorCode) const { in getBestMatchResult() argument 656 getMaximalLsrOrUnd(likelySubtags, desiredLocale, errorCode), in getBestMatchResult() 661 return Result(&desiredLocale, supportedLocales[suppIndex], 0, suppIndex, FALSE); in getBestMatchResult()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
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()
|
D | DateFormatSymbols.java | 1545 protected void initializeData(ULocale desiredLocale, String type) in initializeData() argument 1547 String key = desiredLocale.getBaseName() + '+' + type; in initializeData() 1548 String ns = desiredLocale.getKeywordValue("numbers"); in initializeData() 1552 DateFormatSymbols dfs = DFSCACHE.getInstance(key, desiredLocale); in initializeData() 1854 private DateFormatSymbols(ULocale desiredLocale, ICUResourceBundle b, String calendarType) { in DateFormatSymbols() argument 1855 initializeData(desiredLocale, b, calendarType); in DateFormatSymbols() 1868 protected void initializeData(ULocale desiredLocale, ICUResourceBundle b, String calendarType) in initializeData() argument 1874 .getBundleInstance(ICUData.ICU_BASE_NAME, desiredLocale); in initializeData() 1889 + desiredLocale.getBaseName(), getClass().getName(), "gregorian"); in initializeData() 2015 requestedLocale = desiredLocale; in initializeData() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
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 | DateFormatSymbols.java | 1503 protected void initializeData(ULocale desiredLocale, String type) in initializeData() argument 1505 String key = desiredLocale.getBaseName() + '+' + type; in initializeData() 1506 String ns = desiredLocale.getKeywordValue("numbers"); in initializeData() 1510 DateFormatSymbols dfs = DFSCACHE.getInstance(key, desiredLocale); in initializeData() 1812 private DateFormatSymbols(ULocale desiredLocale, ICUResourceBundle b, String calendarType) { in DateFormatSymbols() argument 1813 initializeData(desiredLocale, b, calendarType); in DateFormatSymbols() 1826 protected void initializeData(ULocale desiredLocale, ICUResourceBundle b, String calendarType) in initializeData() argument 1832 .getBundleInstance(ICUData.ICU_BASE_NAME, desiredLocale); in initializeData() 1847 + desiredLocale.getBaseName(), getClass().getName(), "gregorian"); in initializeData() 1973 requestedLocale = desiredLocale; in initializeData() [all …]
|
/third_party/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 1328 int32_t count = desiredLocale.getKeywordValue("compat", buffer, sizeof(buffer), status); in makeInstance() 1347 … LocalPointer<Win32NumberFormat> f(new Win32NumberFormat(desiredLocale, curr, status), status); in makeInstance() 1367 int32_t hashKey = desiredLocale.hashCode(); in makeInstance() 1373 ns = NumberingSystem::createInstance(desiredLocale,status); in makeInstance() 1377 ownedNs.adoptInstead(NumberingSystem::createInstance(desiredLocale,status)); in makeInstance() 1393 LocalUResourceBundlePointer ownedResource(ures_open(NULL, desiredLocale.getName(), &status)); in makeInstance() 1399 …symbolsToAdopt.adoptInsteadAndCheckErrorCode(new DecimalFormatSymbols(desiredLocale, status), stat… in makeInstance() [all …]
|
/third_party/node/deps/icu-small/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 1328 int32_t count = desiredLocale.getKeywordValue("compat", buffer, sizeof(buffer), status); in makeInstance() 1347 … LocalPointer<Win32NumberFormat> f(new Win32NumberFormat(desiredLocale, curr, status), status); in makeInstance() 1367 int32_t hashKey = desiredLocale.hashCode(); in makeInstance() 1373 ns = NumberingSystem::createInstance(desiredLocale,status); in makeInstance() 1377 ownedNs.adoptInstead(NumberingSystem::createInstance(desiredLocale,status)); in makeInstance() 1393 LocalUResourceBundlePointer ownedResource(ures_open(NULL, desiredLocale.getName(), &status)); in makeInstance() 1399 …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()
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | numfmt.cpp | 1293 NumberFormat::makeInstance(const Locale& desiredLocale, in makeInstance() argument 1296 return makeInstance(desiredLocale, style, false, status); in makeInstance() 1300 NumberFormat::makeInstance(const Locale& desiredLocale, in makeInstance() argument 1325 int32_t count = desiredLocale.getKeywordValue("compat", buffer, sizeof(buffer), status); in makeInstance() 1344 … LocalPointer<Win32NumberFormat> f(new Win32NumberFormat(desiredLocale, curr, status), status); in makeInstance() 1364 int32_t hashKey = desiredLocale.hashCode(); in makeInstance() 1369 ns = NumberingSystem::createInstance(desiredLocale,status); in makeInstance() 1373 ownedNs.adoptInstead(NumberingSystem::createInstance(desiredLocale,status)); in makeInstance() 1389 LocalUResourceBundlePointer ownedResource(ures_open(NULL, desiredLocale.getName(), &status)); in makeInstance() 1395 …symbolsToAdopt.adoptInsteadAndCheckErrorCode(new DecimalFormatSymbols(desiredLocale, status), stat… in makeInstance() [all …]
|
D | coll.cpp | 431 Collator* U_EXPORT2 Collator::createInstance(const Locale& desiredLocale, in createInstance() argument 436 if (desiredLocale.isBogus()) { in createInstance() 446 coll = (Collator*)gService->get(desiredLocale, &actualLoc, status); in createInstance() 450 coll = makeInstance(desiredLocale, status); in createInstance() 459 setAttributesFromKeywords(desiredLocale, *coll, status); in createInstance() 468 Collator* Collator::makeInstance(const Locale& desiredLocale, UErrorCode& status) { in makeInstance() argument 469 const CollationCacheEntry *entry = CollationLoader::loadTailoring(desiredLocale, status); in makeInstance()
|
/third_party/skia/third_party/externals/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 1328 int32_t count = desiredLocale.getKeywordValue("compat", buffer, sizeof(buffer), status); in makeInstance() 1347 … LocalPointer<Win32NumberFormat> f(new Win32NumberFormat(desiredLocale, curr, status), status); in makeInstance() 1367 int32_t hashKey = desiredLocale.hashCode(); in makeInstance() 1373 ns = NumberingSystem::createInstance(desiredLocale,status); in makeInstance() 1377 ownedNs.adoptInstead(NumberingSystem::createInstance(desiredLocale,status)); in makeInstance() 1393 LocalUResourceBundlePointer ownedResource(ures_open(NULL, desiredLocale.getName(), &status)); in makeInstance() 1399 …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()
|
/third_party/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,
|
/third_party/node/deps/icu-small/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,
|
/third_party/skia/third_party/externals/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,
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/ |
D | numfmt.h | 740 static NumberFormat* U_EXPORT2 createInstance(const Locale& desiredLocale, 752 const Locale& desiredLocale, 1103 static NumberFormat* makeInstance(const Locale& desiredLocale, 1120 static NumberFormat* makeInstance(const Locale& desiredLocale,
|