Home
last modified time | relevance | path

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

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DLocaleMatcher.java337 private final int thresholdDistance; field in LocaleMatcher
363 private int thresholdDistance = -1; field in LocaleMatcher.Builder
599 public Builder internalSetThresholdDistance(int thresholdDistance) { in internalSetThresholdDistance() argument
600 if (thresholdDistance > 100) { in internalSetThresholdDistance()
601 thresholdDistance = 100; in internalSetThresholdDistance()
603 this.thresholdDistance = thresholdDistance; in internalSetThresholdDistance()
634 if (thresholdDistance >= 0) { in toString()
635 s.append(String.format(" threshold=%d", thresholdDistance)); in toString()
767 if (builder.thresholdDistance >= 0) { in LocaleMatcher()
768 threshold = builder.thresholdDistance; in LocaleMatcher()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DLocaleMatcher.java342 private final int thresholdDistance; field in LocaleMatcher
369 private int thresholdDistance = -1; field in LocaleMatcher.Builder
524 public Builder internalSetThresholdDistance(int thresholdDistance) { in internalSetThresholdDistance() argument
525 if (thresholdDistance > 100) { in internalSetThresholdDistance()
526 thresholdDistance = 100; in internalSetThresholdDistance()
528 this.thresholdDistance = thresholdDistance; in internalSetThresholdDistance()
559 if (thresholdDistance >= 0) { in toString()
560 s.append(String.format(" threshold=%d", thresholdDistance)); in toString()
603 thresholdDistance = builder.thresholdDistance < 0 ? in LocaleMatcher()
604 LocaleDistance.INSTANCE.getDefaultScriptDistance() : builder.thresholdDistance; in LocaleMatcher()
[all …]
/third_party/icu/icu4c/source/common/
Dlocalematcher.cpp297 …Matcher::Builder &LocaleMatcher::Builder::internalSetThresholdDistance(int32_t thresholdDistance) {
299 if (thresholdDistance > 100) {
300 thresholdDistance = 100;
302 thresholdDistance_ = thresholdDistance;
361 thresholdDistance(builder.thresholdDistance_), in LocaleMatcher()
484 if (thresholdDistance >= 0) { in LocaleMatcher()
495 thresholdDistance = LocaleDistance::getDistanceFloor(indexAndDistance) + 1; in LocaleMatcher()
497 thresholdDistance = 0; in LocaleMatcher()
500 thresholdDistance = localeDistance.getDefaultScriptDistance(); in LocaleMatcher()
507 thresholdDistance(src.thresholdDistance), in LocaleMatcher()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Dlocalematcher.cpp297 …Matcher::Builder &LocaleMatcher::Builder::internalSetThresholdDistance(int32_t thresholdDistance) {
299 if (thresholdDistance > 100) {
300 thresholdDistance = 100;
302 thresholdDistance_ = thresholdDistance;
361 thresholdDistance(builder.thresholdDistance_), in LocaleMatcher()
484 if (thresholdDistance >= 0) { in LocaleMatcher()
495 thresholdDistance = LocaleDistance::getDistanceFloor(indexAndDistance) + 1; in LocaleMatcher()
497 thresholdDistance = 0; in LocaleMatcher()
500 thresholdDistance = localeDistance.getDefaultScriptDistance(); in LocaleMatcher()
507 thresholdDistance(src.thresholdDistance), in LocaleMatcher()
[all …]
/third_party/node/deps/icu-small/source/common/
Dlocalematcher.cpp297 …Matcher::Builder &LocaleMatcher::Builder::internalSetThresholdDistance(int32_t thresholdDistance) {
299 if (thresholdDistance > 100) {
300 thresholdDistance = 100;
302 thresholdDistance_ = thresholdDistance;
361 thresholdDistance(builder.thresholdDistance_), in LocaleMatcher()
484 if (thresholdDistance >= 0) { in LocaleMatcher()
495 thresholdDistance = LocaleDistance::getDistanceFloor(indexAndDistance) + 1; in LocaleMatcher()
497 thresholdDistance = 0; in LocaleMatcher()
500 thresholdDistance = localeDistance.getDefaultScriptDistance(); in LocaleMatcher()
507 thresholdDistance(src.thresholdDistance), in LocaleMatcher()
[all …]
/third_party/node/deps/icu-small/source/common/unicode/
Dlocalematcher.h685 int32_t thresholdDistance; variable
/third_party/icu/icu4c/source/common/unicode/
Dlocalematcher.h691 int32_t thresholdDistance; variable
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dlocalematcher.h691 int32_t thresholdDistance; variable