Home
last modified time | relevance | path

Searched refs:favorSubtag (Results 1 – 10 of 10) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DLocaleDistanceTest.java138 private FavorSubtag favorSubtag = FavorSubtag.LANGUAGE; field in LocaleDistanceTest.MyTestFileHandler
150 …iredActual = localeDistance.testOnlyDistance(args.supported, args.desired, threshold, favorSubtag); in handle()
153 …rtedActual = localeDistance.testOnlyDistance(args.desired, args.supported, threshold, favorSubtag); in handle()
161 favorSubtag = FavorSubtag.valueOf(arguments.get(1)); in handleParams()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DLocaleDistanceTest.java141 private FavorSubtag favorSubtag = FavorSubtag.LANGUAGE; field in LocaleDistanceTest.MyTestFileHandler
153 …iredActual = localeDistance.testOnlyDistance(args.supported, args.desired, threshold, favorSubtag); in handle()
156 …rtedActual = localeDistance.testOnlyDistance(args.desired, args.supported, threshold, favorSubtag); in handle()
164 favorSubtag = FavorSubtag.valueOf(arguments.get(1)); in handleParams()
/external/icu/icu4c/source/common/
Dlocalematcher.cpp330 favorSubtag(builder.favor_), in LocaleMatcher()
487 favorSubtag(src.favorSubtag), in LocaleMatcher()
525 favorSubtag = src.favorSubtag; in operator =()
680 desiredLSR, supportedLSRs, supportedLSRsLength, bestDistance, favorSubtag); in getBestSuppIndex()
714 thresholdDistance, favorSubtag) & 0xff; in internalMatch()
Dlocdistance.h39 int32_t threshold, ULocMatchFavorSubtag favorSubtag) const;
Dlocdistance.cpp110 int32_t threshold, ULocMatchFavorSubtag favorSubtag) const { in getBestIndexAndDistance()
153 if (favorSubtag == ULOCMATCH_FAVOR_SCRIPT) { in getBestIndexAndDistance()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DLocaleMatcher.java311 private final FavorSubtag favorSubtag; field in LocaleMatcher
657 favorSubtag = builder.favor; in LocaleMatcher()
920 desiredLSR, supportedLSRs, bestDistance, favorSubtag); in getBestSuppIndex()
972 thresholdDistance, favorSubtag) & 0xff; in match()
1007 if (favorSubtag != null) { in toString()
1008 s.append(" distance=").append(favorSubtag.toString()); in toString()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DLocaleMatcher.java322 private final FavorSubtag favorSubtag; field in LocaleMatcher
682 favorSubtag = builder.favor; in LocaleMatcher()
954 desiredLSR, supportedLSRs, bestDistance, favorSubtag); in getBestSuppIndex()
1006 thresholdDistance, favorSubtag) & 0xff; in match()
1043 if (favorSubtag != null) { in toString()
1044 s.append(" distance=").append(favorSubtag.toString()); in toString()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DLocaleDistance.java187 int threshold, FavorSubtag favorSubtag) { in testOnlyDistance() argument
191 threshold, favorSubtag) & 0xff; in testOnlyDistance()
203 int threshold, FavorSubtag favorSubtag) { in getBestIndexAndDistance() argument
246 if (favorSubtag == FavorSubtag.SCRIPT) { in getBestIndexAndDistance()
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/
DLocaleDistance.java192 int threshold, FavorSubtag favorSubtag) { in testOnlyDistance() argument
196 threshold, favorSubtag) & 0xff; in testOnlyDistance()
208 int threshold, FavorSubtag favorSubtag) { in getBestIndexAndDistance() argument
251 if (favorSubtag == FavorSubtag.SCRIPT) { in getBestIndexAndDistance()
/external/icu/icu4c/source/common/unicode/
Dlocalematcher.h583 ULocMatchFavorSubtag favorSubtag; variable