Home
last modified time | relevance | path

Searched refs:bestDistance (Results 1 – 11 of 11) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/draft/
DXLocaleMatcher.java264 int bestDistance = Integer.MAX_VALUE;
272 if (delta < bestDistance) {
292 if (distance < bestDistance) {
293 bestDistance = distance;
303 if (bestDistance >= thresholdDistance) {
328 int bestDistance = Integer.MAX_VALUE;
355 if (distance < bestDistance) {
356 bestDistance = distance;
364 if (bestDistance >= thresholdDistance) {
/external/icu/android_icu4j/src/main/java/android/icu/util/
DLocaleMatcher.java907 for (int bestDistance = thresholdDistance;;) { in getBestSuppIndex()
920 desiredLSR, supportedLSRs, bestDistance, favorSubtag); in getBestSuppIndex()
922 bestDistance = bestIndexAndDistance & 0xff; in getBestSuppIndex()
926 if ((bestDistance -= demotionPerDesiredLocale) <= 0) { in getBestSuppIndex()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DLocaleMatcher.java941 for (int bestDistance = thresholdDistance;;) { in getBestSuppIndex()
954 desiredLSR, supportedLSRs, bestDistance, favorSubtag); in getBestSuppIndex()
956 bestDistance = bestIndexAndDistance & 0xff; in getBestSuppIndex()
960 if ((bestDistance -= demotionPerDesiredLocale) <= 0) { in getBestSuppIndex()
/external/icu/icu4c/source/common/
Dlocalematcher.cpp665 for (int32_t bestDistance = thresholdDistance;;) { in getBestSuppIndex() local
680 desiredLSR, supportedLSRs, supportedLSRsLength, bestDistance, favorSubtag); in getBestSuppIndex()
682 bestDistance = bestIndexAndDistance & 0xff; in getBestSuppIndex()
689 if ((bestDistance -= demotionPerDesiredLocale) <= 0) { in getBestSuppIndex()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateIntervalInfo.java1071 int bestDistance = Integer.MAX_VALUE; in getBestSkeleton() local
1105 if ( distance < bestDistance ) { in getBestSkeleton()
1107 bestDistance = distance; in getBestSkeleton()
DDateTimePatternGenerator.java2008 int bestDistance = Integer.MAX_VALUE; in getBestRaw() local
2018 if (distance < bestDistance) { in getBestRaw()
2019 bestDistance = distance; in getBestRaw()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateIntervalInfo.java1093 int bestDistance = Integer.MAX_VALUE; in getBestSkeleton() local
1127 if ( distance < bestDistance ) { in getBestSkeleton()
1129 bestDistance = distance; in getBestSkeleton()
DDateTimePatternGenerator.java2037 int bestDistance = Integer.MAX_VALUE; in getBestRaw() local
2047 if (distance < bestDistance) { in getBestRaw()
2048 bestDistance = distance; in getBestRaw()
/external/icu/icu4c/source/i18n/
Ddtitvinf.cpp610 int32_t bestDistance = MAX_POSITIVE_INT; in getBestSkeleton() local
661 if ( distance < bestDistance ) { in getBestSkeleton()
663 bestDistance = distance; in getBestSkeleton()
Ddtptngen.cpp1481 int32_t bestDistance = 0x7fffffff; in getBestRaw() local
1495 if (distance<bestDistance) { in getBestRaw()
1496 bestDistance=distance; in getBestRaw()
/external/cldr/tools/java/org/unicode/cldr/tool/
DMakeTransliterator.java281 int bestDistance = 999; in main() local
304 if (bestDistance > distance) { in main()
306 bestDistance = distance; in main()