Home
last modified time | relevance | path

Searched refs:lsrIter (Results 1 – 3 of 3) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/util/
DLocaleMatcher.java759 ULocaleLsrIterator lsrIter = new ULocaleLsrIterator(desiredIter); in getBestMatch() local
760 LSR desiredLSR = lsrIter.next(); in getBestMatch()
761 int suppIndex = getBestSuppIndex(desiredLSR, lsrIter); in getBestMatch()
802 LocaleLsrIterator lsrIter = new LocaleLsrIterator(desiredIter); in getBestLocale() local
803 LSR desiredLSR = lsrIter.next(); in getBestLocale()
804 int suppIndex = getBestSuppIndex(desiredLSR, lsrIter); in getBestLocale()
812 private Result makeResult(ULocale desiredLocale, ULocaleLsrIterator lsrIter, int suppIndex) { in makeResult() argument
819 return new Result(lsrIter.remembered, supportedULocales[suppIndex], in makeResult()
820 null, supportedLocales[suppIndex], lsrIter.bestDesiredIndex, suppIndex); in makeResult()
824 private Result makeResult(Locale desiredLocale, LocaleLsrIterator lsrIter, int suppIndex) { in makeResult() argument
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DLocaleMatcher.java786 ULocaleLsrIterator lsrIter = new ULocaleLsrIterator(desiredIter); in getBestMatch() local
787 LSR desiredLSR = lsrIter.next(); in getBestMatch()
788 int suppIndex = getBestSuppIndex(desiredLSR, lsrIter); in getBestMatch()
832 LocaleLsrIterator lsrIter = new LocaleLsrIterator(desiredIter); in getBestLocale() local
833 LSR desiredLSR = lsrIter.next(); in getBestLocale()
834 int suppIndex = getBestSuppIndex(desiredLSR, lsrIter); in getBestLocale()
842 private Result makeResult(ULocale desiredLocale, ULocaleLsrIterator lsrIter, int suppIndex) { in makeResult() argument
849 return new Result(lsrIter.remembered, supportedULocales[suppIndex], in makeResult()
850 null, supportedLocales[suppIndex], lsrIter.bestDesiredIndex, suppIndex); in makeResult()
854 private Result makeResult(Locale desiredLocale, LocaleLsrIterator lsrIter, int suppIndex) { in makeResult() argument
[all …]
/external/icu/icu4c/source/common/
Dlocalematcher.cpp618 LocaleLsrIterator lsrIter(likelySubtags, desiredLocales, ULOCMATCH_TEMPORARY_LOCALES); in getBestMatch() local
619 int32_t suppIndex = getBestSuppIndex(lsrIter.next(errorCode), &lsrIter, errorCode); in getBestMatch()
650 LocaleLsrIterator lsrIter(likelySubtags, desiredLocales, ULOCMATCH_TEMPORARY_LOCALES); in getBestMatchResult() local
651 int32_t suppIndex = getBestSuppIndex(lsrIter.next(errorCode), &lsrIter, errorCode); in getBestMatchResult()
655 return Result(lsrIter.orphanRemembered(), supportedLocales[suppIndex], in getBestMatchResult()
656 lsrIter.getBestDesiredIndex(), suppIndex, TRUE); in getBestMatchResult()