/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
D | LocaleMatcher.java | 205 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/ |
D | LocaleMatcher.java | 200 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/ |
D | localematcher.cpp | 626 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/ |
D | localematcher.cpp | 626 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/ |
D | localematcher.cpp | 626 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/ |
D | localematcher.h | 276 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/ |
D | localematcher.h | 276 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/ |
D | localematcher.h | 276 int32_t desIndex, int32_t suppIndex, UBool owned) : in Result() argument 278 desiredIndex(desIndex), supportedIndex(suppIndex), in Result()
|