Searched refs:suppIndex (Results 1 – 4 of 4) sorted by relevance
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | LocaleMatcher.java | 172 int desIndex, int suppIndex) { in Result() argument 178 supportedIndex = suppIndex; in Result() 743 int suppIndex = getBestSuppIndex(desiredLSR, null); in getBestMatch() local 744 return suppIndex >= 0 ? supportedULocales[suppIndex] : defaultULocale; in getBestMatch() 761 int suppIndex = getBestSuppIndex(desiredLSR, lsrIter); in getBestMatch() local 762 return suppIndex >= 0 ? supportedULocales[suppIndex] : defaultULocale; in getBestMatch() 786 int suppIndex = getBestSuppIndex(desiredLSR, null); in getBestLocale() local 787 return suppIndex >= 0 ? supportedLocales[suppIndex] : defaultLocale; in getBestLocale() 804 int suppIndex = getBestSuppIndex(desiredLSR, lsrIter); in getBestLocale() local 805 return suppIndex >= 0 ? supportedLocales[suppIndex] : defaultLocale; in getBestLocale() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | LocaleMatcher.java | 175 int desIndex, int suppIndex) { in Result() argument 181 supportedIndex = suppIndex; in Result() 769 int suppIndex = getBestSuppIndex(desiredLSR, null); in getBestMatch() local 770 return suppIndex >= 0 ? supportedULocales[suppIndex] : defaultULocale; in getBestMatch() 788 int suppIndex = getBestSuppIndex(desiredLSR, lsrIter); in getBestMatch() local 789 return suppIndex >= 0 ? supportedULocales[suppIndex] : defaultULocale; in getBestMatch() 815 int suppIndex = getBestSuppIndex(desiredLSR, null); in getBestLocale() local 816 return suppIndex >= 0 ? supportedLocales[suppIndex] : defaultLocale; in getBestLocale() 834 int suppIndex = getBestSuppIndex(desiredLSR, lsrIter); in getBestLocale() local 835 return suppIndex >= 0 ? supportedLocales[suppIndex] : defaultLocale; in getBestLocale() [all …]
|
/external/icu/icu4c/source/common/ |
D | localematcher.cpp | 606 int32_t suppIndex = getBestSuppIndex( in getBestMatch() local 609 return U_SUCCESS(errorCode) && suppIndex >= 0 ? supportedLocales[suppIndex] : defaultLocale; in getBestMatch() 619 int32_t suppIndex = getBestSuppIndex(lsrIter.next(errorCode), &lsrIter, errorCode); in getBestMatch() local 620 return U_SUCCESS(errorCode) && suppIndex >= 0 ? supportedLocales[suppIndex] : defaultLocale; in getBestMatch() 635 int32_t suppIndex = getBestSuppIndex( in getBestMatchResult() local 638 if (U_FAILURE(errorCode) || suppIndex < 0) { in getBestMatchResult() 641 return Result(&desiredLocale, supportedLocales[suppIndex], 0, suppIndex, FALSE); in getBestMatchResult() 651 int32_t suppIndex = getBestSuppIndex(lsrIter.next(errorCode), &lsrIter, errorCode); in getBestMatchResult() local 652 if (U_FAILURE(errorCode) || suppIndex < 0) { in getBestMatchResult() 655 return Result(lsrIter.orphanRemembered(), supportedLocales[suppIndex], in getBestMatchResult() [all …]
|
/external/icu/icu4c/source/common/unicode/ |
D | localematcher.h | 242 int32_t desIndex, int32_t suppIndex, UBool owned) : in Result() argument 244 desiredIndex(desIndex), supportedIndex(suppIndex), in Result()
|