Home
last modified time | relevance | path

Searched refs:suppIndex (Results 1 – 8 of 8) sorted by relevance

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DLocaleMatcher.java205 int desIndex, int suppIndex) { in Result() argument
211 supportedIndex = suppIndex; in Result()
779 int suppIndex = getBestSuppIndex(desiredLSR, null); in getBestMatch() local
780 return suppIndex >= 0 ? supportedULocales[suppIndex] : defaultULocale; in getBestMatch()
797 int suppIndex = getBestSuppIndex(desiredLSR, lsrIter); in getBestMatch() local
798 return suppIndex >= 0 ? supportedULocales[suppIndex] : defaultULocale; in getBestMatch()
822 int suppIndex = getBestSuppIndex(desiredLSR, null); in getBestLocale() local
823 return suppIndex >= 0 ? supportedLocales[suppIndex] : defaultLocale; in getBestLocale()
840 int suppIndex = getBestSuppIndex(desiredLSR, lsrIter); in getBestLocale() local
841 return suppIndex >= 0 ? supportedLocales[suppIndex] : defaultLocale; in getBestLocale()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DLocaleMatcher.java200 int desIndex, int suppIndex) { in Result() argument
206 supportedIndex = suppIndex; in Result()
872 int suppIndex = getBestSuppIndex(desiredLSR, null); in getBestMatch() local
873 return suppIndex >= 0 ? supportedULocales[suppIndex] : defaultULocale; in getBestMatch()
891 int suppIndex = getBestSuppIndex(desiredLSR, lsrIter); in getBestMatch() local
892 return suppIndex >= 0 ? supportedULocales[suppIndex] : defaultULocale; in getBestMatch()
917 int suppIndex = getBestSuppIndex(desiredLSR, null); in getBestLocale() local
918 return suppIndex >= 0 ? supportedLocales[suppIndex] : defaultLocale; in getBestLocale()
935 int suppIndex = getBestSuppIndex(desiredLSR, lsrIter); in getBestLocale() local
936 return suppIndex >= 0 ? supportedLocales[suppIndex] : defaultLocale; in getBestLocale()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Dlocalematcher.cpp626 int32_t suppIndex = getBestSuppIndex( in getBestMatch() local
629 return U_SUCCESS(errorCode) && suppIndex >= 0 ? supportedLocales[suppIndex] : defaultLocale; in getBestMatch()
639 int32_t suppIndex = getBestSuppIndex(lsrIter.next(errorCode), &lsrIter, errorCode); in getBestMatch() local
640 return U_SUCCESS(errorCode) && suppIndex >= 0 ? supportedLocales[suppIndex] : defaultLocale; in getBestMatch()
655 int32_t suppIndex = getBestSuppIndex( in getBestMatchResult() local
658 if (U_FAILURE(errorCode) || suppIndex < 0) { in getBestMatchResult()
661 return Result(&desiredLocale, supportedLocales[suppIndex], 0, suppIndex, FALSE); in getBestMatchResult()
671 int32_t suppIndex = getBestSuppIndex(lsrIter.next(errorCode), &lsrIter, errorCode); in getBestMatchResult() local
672 if (U_FAILURE(errorCode) || suppIndex < 0) { in getBestMatchResult()
675 return Result(lsrIter.orphanRemembered(), supportedLocales[suppIndex], in getBestMatchResult()
[all …]
/third_party/node/deps/icu-small/source/common/
Dlocalematcher.cpp626 int32_t suppIndex = getBestSuppIndex( in getBestMatch() local
629 return U_SUCCESS(errorCode) && suppIndex >= 0 ? supportedLocales[suppIndex] : defaultLocale; in getBestMatch()
639 int32_t suppIndex = getBestSuppIndex(lsrIter.next(errorCode), &lsrIter, errorCode); in getBestMatch() local
640 return U_SUCCESS(errorCode) && suppIndex >= 0 ? supportedLocales[suppIndex] : defaultLocale; in getBestMatch()
655 int32_t suppIndex = getBestSuppIndex( in getBestMatchResult() local
658 if (U_FAILURE(errorCode) || suppIndex < 0) { in getBestMatchResult()
661 return Result(&desiredLocale, supportedLocales[suppIndex], 0, suppIndex, FALSE); in getBestMatchResult()
671 int32_t suppIndex = getBestSuppIndex(lsrIter.next(errorCode), &lsrIter, errorCode); in getBestMatchResult() local
672 if (U_FAILURE(errorCode) || suppIndex < 0) { in getBestMatchResult()
675 return Result(lsrIter.orphanRemembered(), supportedLocales[suppIndex], in getBestMatchResult()
[all …]
/third_party/icu/icu4c/source/common/
Dlocalematcher.cpp626 int32_t suppIndex = getBestSuppIndex( in getBestMatch() local
629 return U_SUCCESS(errorCode) && suppIndex >= 0 ? supportedLocales[suppIndex] : defaultLocale; in getBestMatch()
639 int32_t suppIndex = getBestSuppIndex(lsrIter.next(errorCode), &lsrIter, errorCode); in getBestMatch() local
640 return U_SUCCESS(errorCode) && suppIndex >= 0 ? supportedLocales[suppIndex] : defaultLocale; in getBestMatch()
655 int32_t suppIndex = getBestSuppIndex( in getBestMatchResult() local
658 if (U_FAILURE(errorCode) || suppIndex < 0) { in getBestMatchResult()
661 return Result(&desiredLocale, supportedLocales[suppIndex], 0, suppIndex, FALSE); in getBestMatchResult()
671 int32_t suppIndex = getBestSuppIndex(lsrIter.next(errorCode), &lsrIter, errorCode); in getBestMatchResult() local
672 if (U_FAILURE(errorCode) || suppIndex < 0) { in getBestMatchResult()
675 return Result(lsrIter.orphanRemembered(), supportedLocales[suppIndex], in getBestMatchResult()
[all …]
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dlocalematcher.h276 int32_t desIndex, int32_t suppIndex, UBool owned) : in Result() argument
278 desiredIndex(desIndex), supportedIndex(suppIndex), in Result()
/third_party/node/deps/icu-small/source/common/unicode/
Dlocalematcher.h276 int32_t desIndex, int32_t suppIndex, UBool owned) : in Result() argument
278 desiredIndex(desIndex), supportedIndex(suppIndex), in Result()
/third_party/icu/icu4c/source/common/unicode/
Dlocalematcher.h276 int32_t desIndex, int32_t suppIndex, UBool owned) : in Result() argument
278 desiredIndex(desIndex), supportedIndex(suppIndex), in Result()