Home
last modified time | relevance | path

Searched refs:desiredLSR (Results 1 – 9 of 9) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/util/
DLocaleMatcher.java742 LSR desiredLSR = getMaximalLsrOrUnd(desiredLocale); in getBestMatch() local
743 int suppIndex = getBestSuppIndex(desiredLSR, null); in getBestMatch()
760 LSR desiredLSR = lsrIter.next(); in getBestMatch() local
761 int suppIndex = getBestSuppIndex(desiredLSR, lsrIter); in getBestMatch()
785 LSR desiredLSR = getMaximalLsrOrUnd(desiredLocale); in getBestLocale() local
786 int suppIndex = getBestSuppIndex(desiredLSR, null); in getBestLocale()
803 LSR desiredLSR = lsrIter.next(); in getBestLocale() local
804 int suppIndex = getBestSuppIndex(desiredLSR, lsrIter); in getBestLocale()
845 LSR desiredLSR = getMaximalLsrOrUnd(desiredLocale); in getBestMatchResult() local
846 int suppIndex = getBestSuppIndex(desiredLSR, null); in getBestMatchResult()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DLocaleMatcher.java768 LSR desiredLSR = getMaximalLsrOrUnd(desiredLocale); in getBestMatch() local
769 int suppIndex = getBestSuppIndex(desiredLSR, null); in getBestMatch()
787 LSR desiredLSR = lsrIter.next(); in getBestMatch() local
788 int suppIndex = getBestSuppIndex(desiredLSR, lsrIter); in getBestMatch()
814 LSR desiredLSR = getMaximalLsrOrUnd(desiredLocale); in getBestLocale() local
815 int suppIndex = getBestSuppIndex(desiredLSR, null); in getBestLocale()
833 LSR desiredLSR = lsrIter.next(); in getBestLocale() local
834 int suppIndex = getBestSuppIndex(desiredLSR, lsrIter); in getBestLocale()
876 LSR desiredLSR = getMaximalLsrOrUnd(desiredLocale); in getBestMatchResult() local
877 int suppIndex = getBestSuppIndex(desiredLSR, null); in getBestMatchResult()
[all …]
/external/cldr/tools/java/org/unicode/cldr/draft/
DXLocaleMatcher.java271 LSR desiredLSR = desiredLsrAndLocale.getKey();
280 Collection<ULocale> found = supportedLanguages.get(desiredLSR);
290 … int distance = delta + localeDistance.distanceRaw(desiredLSR, supportedLsrAndLocale.getKey(),
333 …final LSR desiredLSR = desiredLocale.equals(UND_LOCALE) ? UND : LSR.fromMaximalized(desiredLocale);
343 Collection<ULocale> found = supportedLanguages.get(desiredLSR);
353 int distance = localeDistance.distanceRaw(desiredLSR, supportedLsrAndLocale.getKey(),
DXLocaleDistance.java636 LSR desiredLSR = LSR.fromMaximalized(desired); in distance() local
637 return distanceRaw(desiredLSR, supportedLSR, threshold, distanceOption); in distance()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DXLocaleDistanceTest.java91 final LSR desiredLSR = LSR.fromMaximalized(desired); in testTiming() local
96 … int dist1 = localeMatcher.distanceRaw(desiredLSR, supportedLSR, 1000, DistanceOption.NORMAL); in testTiming()
97 … int dist2 = localeMatcher.distanceRaw(supportedLSR, desiredLSR, 1000, DistanceOption.NORMAL); in testTiming()
/external/icu/icu4c/source/common/
Dlocalematcher.cpp660 int32_t LocaleMatcher::getBestSuppIndex(LSR desiredLSR, LocaleLsrIterator *remainingIter, in getBestSuppIndex() argument
669 desiredLSR.setHashCode(); in getBestSuppIndex()
670 int32_t index = uhash_geti(supportedLsrToIndex, &desiredLSR); in getBestSuppIndex()
680 desiredLSR, supportedLSRs, supportedLSRsLength, bestDistance, favorSubtag); in getBestSuppIndex()
695 desiredLSR = remainingIter->next(errorCode); in getBestSuppIndex()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DLocaleDistance.java189 LSR desiredLSR = XLikelySubtags.INSTANCE.makeMaximizedLsrFrom(desired); in testOnlyDistance() local
190 return getBestIndexAndDistance(desiredLSR, new LSR[] { supportedLSR }, in testOnlyDistance()
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/
DLocaleDistance.java194 LSR desiredLSR = XLikelySubtags.INSTANCE.makeMaximizedLsrFrom(desired); in testOnlyDistance() local
195 return getBestIndexAndDistance(desiredLSR, new LSR[] { supportedLSR }, in testOnlyDistance()
/external/icu/icu4c/source/common/unicode/
Dlocalematcher.h577 …int32_t getBestSuppIndex(LSR desiredLSR, LocaleLsrIterator *remainingIter, UErrorCode &errorCode) …