/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
D | LocaleDistance.java | 229 int threshold, FavorSubtag favorSubtag) { in testOnlyDistance() argument 233 shiftDistance(threshold), favorSubtag, LocaleMatcher.Direction.WITH_ONE_WAY); in testOnlyDistance() 246 int shiftedThreshold, FavorSubtag favorSubtag, LocaleMatcher.Direction direction) { in getBestIndexAndDistance() argument 296 if (favorSubtag == FavorSubtag.SCRIPT) { in getBestIndexAndDistance() 352 isMatch(supported, desired, shiftedThreshold, favorSubtag)) { in getBestIndexAndDistance() 365 isMatch(supported, desired, shiftedThreshold, favorSubtag)) { in getBestIndexAndDistance() 373 isMatch(supported, desired, shiftedThreshold, favorSubtag)) { in getBestIndexAndDistance() 392 int shiftedThreshold, FavorSubtag favorSubtag) { in isMatch() argument 395 shiftedThreshold, favorSubtag, null) >= 0; in isMatch()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/locale/ |
D | LocaleDistance.java | 234 int threshold, FavorSubtag favorSubtag) { in testOnlyDistance() argument 238 shiftDistance(threshold), favorSubtag, LocaleMatcher.Direction.WITH_ONE_WAY); in testOnlyDistance() 251 int shiftedThreshold, FavorSubtag favorSubtag, LocaleMatcher.Direction direction) { in getBestIndexAndDistance() argument 301 if (favorSubtag == FavorSubtag.SCRIPT) { in getBestIndexAndDistance() 357 isMatch(supported, desired, shiftedThreshold, favorSubtag)) { in getBestIndexAndDistance() 370 isMatch(supported, desired, shiftedThreshold, favorSubtag)) { in getBestIndexAndDistance() 378 isMatch(supported, desired, shiftedThreshold, favorSubtag)) { in getBestIndexAndDistance() 397 int shiftedThreshold, FavorSubtag favorSubtag) { in isMatch() argument 400 shiftedThreshold, favorSubtag, null) >= 0; in isMatch()
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | locdistance.h | 62 ULocMatchFavorSubtag favorSubtag, 93 int32_t shiftedThreshold, ULocMatchFavorSubtag favorSubtag) const { in isMatch() argument 97 shiftedThreshold, favorSubtag, ULOCMATCH_DIRECTION_WITH_ONE_WAY) >= 0; in isMatch()
|
D | locdistance.cpp | 113 ULocMatchFavorSubtag favorSubtag, ULocMatchDirection direction) const { in getBestIndexAndDistance() argument 163 if (favorSubtag == ULOCMATCH_FAVOR_SCRIPT) { in getBestIndexAndDistance() 219 isMatch(supported, desired, shiftedThreshold, favorSubtag)) { in getBestIndexAndDistance() 232 isMatch(supported, desired, shiftedThreshold, favorSubtag)) { in getBestIndexAndDistance() 240 isMatch(supported, desired, shiftedThreshold, favorSubtag)) { in getBestIndexAndDistance()
|
D | localematcher.cpp | 363 favorSubtag(builder.favor_), in LocaleMatcher() 492 LocaleDistance::shiftDistance(100), favorSubtag, direction); in LocaleMatcher() 509 favorSubtag(src.favorSubtag), in LocaleMatcher() 546 favorSubtag = src.favorSubtag; in operator =() 700 bestShiftedDistance, favorSubtag, direction); in getBestSuppIndex() 734 LocaleDistance::shiftDistance(thresholdDistance), favorSubtag, direction); in isMatch() 746 LocaleDistance::shiftDistance(thresholdDistance), favorSubtag, direction); in internalMatch()
|
/third_party/icu/icu4c/source/common/ |
D | locdistance.h | 62 ULocMatchFavorSubtag favorSubtag, 93 int32_t shiftedThreshold, ULocMatchFavorSubtag favorSubtag) const { in isMatch() argument 97 shiftedThreshold, favorSubtag, ULOCMATCH_DIRECTION_WITH_ONE_WAY) >= 0; in isMatch()
|
D | locdistance.cpp | 113 ULocMatchFavorSubtag favorSubtag, ULocMatchDirection direction) const { in getBestIndexAndDistance() argument 163 if (favorSubtag == ULOCMATCH_FAVOR_SCRIPT) { in getBestIndexAndDistance() 219 isMatch(supported, desired, shiftedThreshold, favorSubtag)) { in getBestIndexAndDistance() 232 isMatch(supported, desired, shiftedThreshold, favorSubtag)) { in getBestIndexAndDistance() 240 isMatch(supported, desired, shiftedThreshold, favorSubtag)) { in getBestIndexAndDistance()
|
D | localematcher.cpp | 363 favorSubtag(builder.favor_), in LocaleMatcher() 492 LocaleDistance::shiftDistance(100), favorSubtag, direction); in LocaleMatcher() 509 favorSubtag(src.favorSubtag), in LocaleMatcher() 546 favorSubtag = src.favorSubtag; in operator =() 700 bestShiftedDistance, favorSubtag, direction); in getBestSuppIndex() 734 LocaleDistance::shiftDistance(thresholdDistance), favorSubtag, direction); in isMatch() 746 LocaleDistance::shiftDistance(thresholdDistance), favorSubtag, direction); in internalMatch()
|
/third_party/node/deps/icu-small/source/common/ |
D | locdistance.h | 62 ULocMatchFavorSubtag favorSubtag, 93 int32_t shiftedThreshold, ULocMatchFavorSubtag favorSubtag) const { in isMatch() argument 97 shiftedThreshold, favorSubtag, ULOCMATCH_DIRECTION_WITH_ONE_WAY) >= 0; in isMatch()
|
D | locdistance.cpp | 113 ULocMatchFavorSubtag favorSubtag, ULocMatchDirection direction) const { in getBestIndexAndDistance() argument 163 if (favorSubtag == ULOCMATCH_FAVOR_SCRIPT) { in getBestIndexAndDistance() 219 isMatch(supported, desired, shiftedThreshold, favorSubtag)) { in getBestIndexAndDistance() 232 isMatch(supported, desired, shiftedThreshold, favorSubtag)) { in getBestIndexAndDistance() 240 isMatch(supported, desired, shiftedThreshold, favorSubtag)) { in getBestIndexAndDistance()
|
D | localematcher.cpp | 363 favorSubtag(builder.favor_), in LocaleMatcher() 492 LocaleDistance::shiftDistance(100), favorSubtag, direction); in LocaleMatcher() 509 favorSubtag(src.favorSubtag), in LocaleMatcher() 546 favorSubtag = src.favorSubtag; in operator =() 700 bestShiftedDistance, favorSubtag, direction); in getBestSuppIndex() 734 LocaleDistance::shiftDistance(thresholdDistance), favorSubtag, direction); in isMatch() 746 LocaleDistance::shiftDistance(thresholdDistance), favorSubtag, direction); in internalMatch()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | LocaleDistanceTest.java | 138 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()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
D | LocaleDistanceTest.java | 141 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()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | LocaleMatcher.java | 339 private final FavorSubtag favorSubtag; field in LocaleMatcher 763 favorSubtag = builder.favor; in LocaleMatcher() 773 LocaleDistance.shiftDistance(100), favorSubtag, direction); in LocaleMatcher() 1059 bestShiftedDistance, favorSubtag, direction); in getBestSuppIndex() 1103 LocaleDistance.shiftDistance(thresholdDistance), favorSubtag, direction); in isMatch() 1121 LocaleDistance.shiftDistance(thresholdDistance), favorSubtag, direction); in isMatch() 1148 LocaleDistance.shiftDistance(thresholdDistance), favorSubtag, direction); in match() 1191 if (favorSubtag != null) { in toString() 1192 s.append(" favor=").append(favorSubtag); in toString()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
D | LocaleMatcher.java | 344 private final FavorSubtag favorSubtag; field in LocaleMatcher 687 favorSubtag = builder.favor; in LocaleMatcher() 964 bestShiftedDistance, favorSubtag, direction); in getBestSuppIndex() 1017 LocaleDistance.shiftDistance(thresholdDistance), favorSubtag, direction); in match() 1058 if (favorSubtag != null) { in toString() 1059 s.append(" favor=").append(favorSubtag); in toString()
|
/third_party/icu/icu4c/source/common/unicode/ |
D | localematcher.h | 693 ULocMatchFavorSubtag favorSubtag; variable
|
/third_party/skia/third_party/externals/icu/source/common/unicode/ |
D | localematcher.h | 693 ULocMatchFavorSubtag favorSubtag; variable
|
/third_party/node/deps/icu-small/source/common/unicode/ |
D | localematcher.h | 687 ULocMatchFavorSubtag favorSubtag; variable
|