Searched refs:bestDistance (Results 1 – 11 of 11) sorted by relevance
/external/cldr/tools/java/org/unicode/cldr/draft/ |
D | XLocaleMatcher.java | 264 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/ |
D | LocaleMatcher.java | 907 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/ |
D | LocaleMatcher.java | 941 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/ |
D | localematcher.cpp | 665 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/ |
D | DateIntervalInfo.java | 1071 int bestDistance = Integer.MAX_VALUE; in getBestSkeleton() local 1105 if ( distance < bestDistance ) { in getBestSkeleton() 1107 bestDistance = distance; in getBestSkeleton()
|
D | DateTimePatternGenerator.java | 2008 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/ |
D | DateIntervalInfo.java | 1093 int bestDistance = Integer.MAX_VALUE; in getBestSkeleton() local 1127 if ( distance < bestDistance ) { in getBestSkeleton() 1129 bestDistance = distance; in getBestSkeleton()
|
D | DateTimePatternGenerator.java | 2037 int bestDistance = Integer.MAX_VALUE; in getBestRaw() local 2047 if (distance < bestDistance) { in getBestRaw() 2048 bestDistance = distance; in getBestRaw()
|
/external/icu/icu4c/source/i18n/ |
D | dtitvinf.cpp | 610 int32_t bestDistance = MAX_POSITIVE_INT; in getBestSkeleton() local 661 if ( distance < bestDistance ) { in getBestSkeleton() 663 bestDistance = distance; in getBestSkeleton()
|
D | dtptngen.cpp | 1481 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/ |
D | MakeTransliterator.java | 281 int bestDistance = 999; in main() local 304 if (bestDistance > distance) { in main() 306 bestDistance = distance; in main()
|