Searched refs:bestShiftedDistance (Results 1 – 5 of 5) sorted by relevance
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
D | LocaleMatcher.java | 947 for (int bestShiftedDistance = LocaleDistance.shiftDistance(thresholdDistance);;) { in getBestSuppIndex() 964 bestShiftedDistance, favorSubtag, direction); in getBestSuppIndex() 966 bestShiftedDistance = LocaleDistance.getShiftedDistance(bestIndexAndDistance); in getBestSuppIndex() 970 if ((bestShiftedDistance -= LocaleDistance.shiftDistance(demotionPerDesiredLocale)) in getBestSuppIndex()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | LocaleMatcher.java | 1042 for (int bestShiftedDistance = LocaleDistance.shiftDistance(thresholdDistance);;) { in getBestSuppIndex() 1059 bestShiftedDistance, favorSubtag, direction); in getBestSuppIndex() 1061 bestShiftedDistance = LocaleDistance.getShiftedDistance(bestIndexAndDistance); in getBestSuppIndex() 1065 if ((bestShiftedDistance -= LocaleDistance.shiftDistance(demotionPerDesiredLocale)) in getBestSuppIndex()
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | localematcher.cpp | 685 for (int32_t bestShiftedDistance = LocaleDistance::shiftDistance(thresholdDistance);;) { in getBestSuppIndex() local 700 bestShiftedDistance, favorSubtag, direction); in getBestSuppIndex() 702 bestShiftedDistance = LocaleDistance::getShiftedDistance(bestIndexAndDistance); in getBestSuppIndex() 709 if ((bestShiftedDistance -= LocaleDistance::shiftDistance(demotionPerDesiredLocale)) <= 0) { in getBestSuppIndex()
|
/third_party/node/deps/icu-small/source/common/ |
D | localematcher.cpp | 685 for (int32_t bestShiftedDistance = LocaleDistance::shiftDistance(thresholdDistance);;) { in getBestSuppIndex() local 700 bestShiftedDistance, favorSubtag, direction); in getBestSuppIndex() 702 bestShiftedDistance = LocaleDistance::getShiftedDistance(bestIndexAndDistance); in getBestSuppIndex() 709 if ((bestShiftedDistance -= LocaleDistance::shiftDistance(demotionPerDesiredLocale)) <= 0) { in getBestSuppIndex()
|
/third_party/icu/icu4c/source/common/ |
D | localematcher.cpp | 685 for (int32_t bestShiftedDistance = LocaleDistance::shiftDistance(thresholdDistance);;) { in getBestSuppIndex() local 700 bestShiftedDistance, favorSubtag, direction); in getBestSuppIndex() 702 bestShiftedDistance = LocaleDistance::getShiftedDistance(bestIndexAndDistance); in getBestSuppIndex() 709 if ((bestShiftedDistance -= LocaleDistance::shiftDistance(demotionPerDesiredLocale)) <= 0) { in getBestSuppIndex()
|