Home
last modified time | relevance | path

Searched refs:localeDistance (Results 1 – 8 of 8) sorted by relevance

/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DLocaleDistanceTest.java32 private LocaleDistance localeDistance = LocaleDistance.INSTANCE; field in LocaleDistanceTest
103 … int dist1 = localeDistance.testOnlyDistance(desired, supported, 1000, FavorSubtag.LANGUAGE); in testTiming()
104 … int dist2 = localeDistance.testOnlyDistance(supported, desired, 1000, FavorSubtag.LANGUAGE); in testTiming()
124 localeDistance.testOnlyPrintDistanceTable(); in testShowDistanceTable()
139 private Integer threshold = localeDistance.getDefaultScriptDistance();
150 …int supportedToDesiredActual = localeDistance.testOnlyDistance(args.supported, args.desired, thres… in handle()
153 …int desiredToSupportedActual = localeDistance.testOnlyDistance(args.desired, args.supported, thres… in handle()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DLocaleDistanceTest.java35 private LocaleDistance localeDistance = LocaleDistance.INSTANCE; field in LocaleDistanceTest
106 … int dist1 = localeDistance.testOnlyDistance(desired, supported, 1000, FavorSubtag.LANGUAGE); in testTiming()
107 … int dist2 = localeDistance.testOnlyDistance(supported, desired, 1000, FavorSubtag.LANGUAGE); in testTiming()
127 localeDistance.testOnlyPrintDistanceTable(); in testShowDistanceTable()
142 private Integer threshold = localeDistance.getDefaultScriptDistance();
153 …int supportedToDesiredActual = localeDistance.testOnlyDistance(args.supported, args.desired, thres… in handle()
156 …int desiredToSupportedActual = localeDistance.testOnlyDistance(args.desired, args.supported, thres… in handle()
/third_party/icu/icu4c/source/common/
Dlocalematcher.cpp360 localeDistance(*LocaleDistance::getSingleton(errorCode)), in LocaleMatcher()
451 } else if (localeDistance.isParadigmLSR(lsr)) { in LocaleMatcher()
481 demotionPerDesiredLocale = localeDistance.getDefaultDemotionPerDesiredLocale(); in LocaleMatcher()
489 int32_t indexAndDistance = localeDistance.getBestIndexAndDistance( in LocaleMatcher()
500 thresholdDistance = localeDistance.getDefaultScriptDistance(); in LocaleMatcher()
506 localeDistance(src.localeDistance), in LocaleMatcher()
698 int32_t bestIndexAndDistance = localeDistance.getBestIndexAndDistance( in getBestSuppIndex()
731 int32_t indexAndDistance = localeDistance.getBestIndexAndDistance( in isMatch()
743 int32_t indexAndDistance = localeDistance.getBestIndexAndDistance( in internalMatch()
/third_party/skia/third_party/externals/icu/source/common/
Dlocalematcher.cpp360 localeDistance(*LocaleDistance::getSingleton(errorCode)), in LocaleMatcher()
451 } else if (localeDistance.isParadigmLSR(lsr)) { in LocaleMatcher()
481 demotionPerDesiredLocale = localeDistance.getDefaultDemotionPerDesiredLocale(); in LocaleMatcher()
489 int32_t indexAndDistance = localeDistance.getBestIndexAndDistance( in LocaleMatcher()
500 thresholdDistance = localeDistance.getDefaultScriptDistance(); in LocaleMatcher()
506 localeDistance(src.localeDistance), in LocaleMatcher()
698 int32_t bestIndexAndDistance = localeDistance.getBestIndexAndDistance( in getBestSuppIndex()
731 int32_t indexAndDistance = localeDistance.getBestIndexAndDistance( in isMatch()
743 int32_t indexAndDistance = localeDistance.getBestIndexAndDistance( in internalMatch()
/third_party/node/deps/icu-small/source/common/
Dlocalematcher.cpp360 localeDistance(*LocaleDistance::getSingleton(errorCode)), in LocaleMatcher()
451 } else if (localeDistance.isParadigmLSR(lsr)) { in LocaleMatcher()
481 demotionPerDesiredLocale = localeDistance.getDefaultDemotionPerDesiredLocale(); in LocaleMatcher()
489 int32_t indexAndDistance = localeDistance.getBestIndexAndDistance( in LocaleMatcher()
500 thresholdDistance = localeDistance.getDefaultScriptDistance(); in LocaleMatcher()
506 localeDistance(src.localeDistance), in LocaleMatcher()
698 int32_t bestIndexAndDistance = localeDistance.getBestIndexAndDistance( in getBestSuppIndex()
731 int32_t indexAndDistance = localeDistance.getBestIndexAndDistance( in isMatch()
743 int32_t indexAndDistance = localeDistance.getBestIndexAndDistance( in internalMatch()
/third_party/node/deps/icu-small/source/common/unicode/
Dlocalematcher.h684 const LocaleDistance &localeDistance; variable
/third_party/icu/icu4c/source/common/unicode/
Dlocalematcher.h690 const LocaleDistance &localeDistance; variable
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dlocalematcher.h690 const LocaleDistance &localeDistance; variable