Home
last modified time | relevance | path

Searched refs:bestDesired (Results 1 – 7 of 7) sorted by relevance

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DLocaleMatcher.java292 ULocale bestDesired = getDesiredULocale(); in makeResolvedULocale() local
293 if (supportedULocale == null || bestDesired == null || in makeResolvedULocale()
294 supportedULocale.equals(bestDesired)) { in makeResolvedULocale()
300 String region = bestDesired.getCountry(); in makeResolvedULocale()
308 String variants = bestDesired.getVariant(); in makeResolvedULocale()
317 for (char extensionKey : bestDesired.getExtensionKeys()) { in makeResolvedULocale()
318 b.setExtension(extensionKey, bestDesired.getExtension(extensionKey)); in makeResolvedULocale()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DLocaleMatcher.java287 ULocale bestDesired = getDesiredULocale(); in makeResolvedULocale() local
288 if (supportedULocale == null || bestDesired == null || in makeResolvedULocale()
289 supportedULocale.equals(bestDesired)) { in makeResolvedULocale()
295 String region = bestDesired.getCountry(); in makeResolvedULocale()
303 String variants = bestDesired.getVariant(); in makeResolvedULocale()
312 for (char extensionKey : bestDesired.getExtensionKeys()) { in makeResolvedULocale()
313 b.setExtension(extensionKey, bestDesired.getExtension(extensionKey)); in makeResolvedULocale()
/third_party/skia/third_party/externals/icu/source/common/
Dlocalematcher.cpp94 const Locale *bestDesired = getDesiredLocale(); in makeResolvedLocale() local
95 if (bestDesired == nullptr || *supportedLocale == *bestDesired) { in makeResolvedLocale()
102 const char *region = bestDesired->getCountry(); in makeResolvedLocale()
110 const char *variants = bestDesired->getVariant(); in makeResolvedLocale()
121 b.copyExtensionsFrom(*bestDesired, errorCode); in makeResolvedLocale()
/third_party/node/deps/icu-small/source/common/
Dlocalematcher.cpp94 const Locale *bestDesired = getDesiredLocale(); in makeResolvedLocale() local
95 if (bestDesired == nullptr || *supportedLocale == *bestDesired) { in makeResolvedLocale()
102 const char *region = bestDesired->getCountry(); in makeResolvedLocale()
110 const char *variants = bestDesired->getVariant(); in makeResolvedLocale()
121 b.copyExtensionsFrom(*bestDesired, errorCode); in makeResolvedLocale()
/third_party/icu/icu4c/source/common/
Dlocalematcher.cpp94 const Locale *bestDesired = getDesiredLocale(); in makeResolvedLocale() local
95 if (bestDesired == nullptr || *supportedLocale == *bestDesired) { in makeResolvedLocale()
102 const char *region = bestDesired->getCountry(); in makeResolvedLocale()
110 const char *variants = bestDesired->getVariant(); in makeResolvedLocale()
121 b.copyExtensionsFrom(*bestDesired, errorCode); in makeResolvedLocale()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DLocaleDistanceTest.java137 Output<ULocale> bestDesired = new Output<>(); field in LocaleDistanceTest.MyTestFileHandler
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DLocaleDistanceTest.java140 Output<ULocale> bestDesired = new Output<>(); field in LocaleDistanceTest.MyTestFileHandler