/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
H A D | CollationAPITest.java | 100 if (col.getStrength() != Collator.TERTIARY){ in TestCollationKey() 483 logln("testing Collator.getStrength() method ..."); in TestProperty() 484 doAssert((col.getStrength() == Collator.TERTIARY), "collation object has the wrong strength"); in TestProperty() 485 doAssert((col.getStrength() != Collator.PRIMARY), "collation object's strength is primary difference"); in TestProperty() 489 doAssert((col.getStrength() != Collator.TERTIARY), "collation object's strength is secondary difference"); in TestProperty() 490 doAssert((col.getStrength() != Collator.PRIMARY), "collation object's strength is primary difference"); in TestProperty() 491 doAssert((col.getStrength() == Collator.SECONDARY), "collation object has the wrong strength"); in TestProperty() 510 logln("testing Collator.getStrength() method again ..."); in TestProperty() 511 doAssert((col.getStrength() != Collator.TERTIARY), "collation object has the wrong strength"); in TestProperty() 512 doAssert((col.getStrength() in TestProperty() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/ |
H A D | CollationAPITest.java | 103 if (col.getStrength() != Collator.TERTIARY){ in TestCollationKey() 486 logln("testing Collator.getStrength() method ..."); in TestProperty() 487 doAssert((col.getStrength() == Collator.TERTIARY), "collation object has the wrong strength"); in TestProperty() 488 doAssert((col.getStrength() != Collator.PRIMARY), "collation object's strength is primary difference"); in TestProperty() 492 doAssert((col.getStrength() != Collator.TERTIARY), "collation object's strength is secondary difference"); in TestProperty() 493 doAssert((col.getStrength() != Collator.PRIMARY), "collation object's strength is primary difference"); in TestProperty() 494 doAssert((col.getStrength() == Collator.SECONDARY), "collation object has the wrong strength"); in TestProperty() 513 logln("testing Collator.getStrength() method again ..."); in TestProperty() 514 doAssert((col.getStrength() != Collator.TERTIARY), "collation object has the wrong strength"); in TestProperty() 515 doAssert((col.getStrength() in TestProperty() [all...] |
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
H A D | CollatorICU.java | 82 if (fIcuCollator.getStrength() == Collator.IDENTICAL) { in getDecomposition() 100 public int getStrength() { in getStrength() method in CollatorICU 102 int icuStrength = fIcuCollator.getStrength(); in getStrength()
|
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
H A D | CollationCompare.java | 98 if (CollationSettings.getStrength(options) >= Collator.SECONDARY) { in compareUpToQuaternary() 176 int strength = CollationSettings.getStrength(options); in compareUpToQuaternary() 242 if (CollationSettings.getStrength(options) <= Collator.SECONDARY) { in compareUpToQuaternary() 296 if (CollationSettings.getStrength(options) <= Collator.TERTIARY) { in compareUpToQuaternary()
|
H A D | CollationSettings.java | 329 static int getStrength(int options) { in getStrength() method in CollationSettings 333 public int getStrength() { in getStrength() method in CollationSettings 334 return getStrength(options); in getStrength()
|
H A D | CollationFastLatin.java | 293 options &= 0xffff; // needed for CollationSettings.getStrength() to work in compareUTF16() 398 if(CollationSettings.getStrength(options) >= Collator.SECONDARY) { in compareUTF16() 482 boolean strengthIsPrimary = CollationSettings.getStrength(options) == Collator.PRIMARY; in compareUTF16() 541 if(CollationSettings.getStrength(options) <= Collator.SECONDARY) { return Collation.EQUAL; } in compareUTF16() 610 if(CollationSettings.getStrength(options) <= Collator.TERTIARY) { return Collation.EQUAL; } in compareUTF16()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/ |
H A D | CollationCompare.java | 102 if (CollationSettings.getStrength(options) >= Collator.SECONDARY) { in compareUpToQuaternary() 180 int strength = CollationSettings.getStrength(options); in compareUpToQuaternary() 246 if (CollationSettings.getStrength(options) <= Collator.SECONDARY) { in compareUpToQuaternary() 300 if (CollationSettings.getStrength(options) <= Collator.TERTIARY) { in compareUpToQuaternary()
|
H A D | CollationSettings.java | 331 static int getStrength(int options) { in getStrength() method in CollationSettings 335 public int getStrength() { in getStrength() method in CollationSettings 336 return getStrength(options); in getStrength()
|
H A D | CollationFastLatin.java | 297 options &= 0xffff; // needed for CollationSettings.getStrength() to work in compareUTF16() 402 if(CollationSettings.getStrength(options) >= Collator.SECONDARY) { in compareUTF16() 486 boolean strengthIsPrimary = CollationSettings.getStrength(options) == Collator.PRIMARY; in compareUTF16() 545 if(CollationSettings.getStrength(options) <= Collator.SECONDARY) { return Collation.EQUAL; } in compareUTF16() 614 if(CollationSettings.getStrength(options) <= Collator.TERTIARY) { return Collation.EQUAL; } in compareUTF16()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | collationsettings.h | 147 static int32_t getStrength(int32_t options) { in getStrength() function 151 int32_t getStrength() const { in getStrength() function 152 return getStrength(options); in getStrength()
|
H A D | collationcompare.cpp | 112 if(CollationSettings::getStrength(options) >= UCOL_SECONDARY) { in compareUpToQuaternary() 186 int32_t strength = CollationSettings::getStrength(options); in compareUpToQuaternary() 250 if(CollationSettings::getStrength(options) <= UCOL_SECONDARY) { return UCOL_EQUAL; } in compareUpToQuaternary() 302 if(CollationSettings::getStrength(options) <= UCOL_TERTIARY) { return UCOL_EQUAL; } in compareUpToQuaternary()
|
H A D | collationfastlatin.cpp | 120 options &= 0xffff; // needed for CollationSettings::getStrength() to work in compareUTF16() 215 if(CollationSettings::getStrength(options) >= UCOL_SECONDARY) { in compareUTF16() 291 UBool strengthIsPrimary = CollationSettings::getStrength(options) == UCOL_PRIMARY; in compareUTF16() 340 if(CollationSettings::getStrength(options) <= UCOL_SECONDARY) { return UCOL_EQUAL; } in compareUTF16() 399 if(CollationSettings::getStrength(options) <= UCOL_TERTIARY) { return UCOL_EQUAL; } in compareUTF16() 456 options &= 0xffff; // needed for CollationSettings::getStrength() to work in compareUTF8() 566 if(CollationSettings::getStrength(options) >= UCOL_SECONDARY) { in compareUTF8() 642 UBool strengthIsPrimary = CollationSettings::getStrength(options) == UCOL_PRIMARY; in compareUTF8() 691 if(CollationSettings::getStrength(options) <= UCOL_SECONDARY) { return UCOL_EQUAL; } in compareUTF8() 750 if(CollationSettings::getStrength(option in compareUTF8() [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | collationsettings.h | 147 static int32_t getStrength(int32_t options) { in getStrength() function 151 int32_t getStrength() const { in getStrength() function 152 return getStrength(options); in getStrength()
|
H A D | collationcompare.cpp | 112 if(CollationSettings::getStrength(options) >= UCOL_SECONDARY) { in compareUpToQuaternary() 186 int32_t strength = CollationSettings::getStrength(options); in compareUpToQuaternary() 250 if(CollationSettings::getStrength(options) <= UCOL_SECONDARY) { return UCOL_EQUAL; } in compareUpToQuaternary() 302 if(CollationSettings::getStrength(options) <= UCOL_TERTIARY) { return UCOL_EQUAL; } in compareUpToQuaternary()
|
H A D | collationfastlatin.cpp | 120 options &= 0xffff; // needed for CollationSettings::getStrength() to work in compareUTF16() 215 if(CollationSettings::getStrength(options) >= UCOL_SECONDARY) { in compareUTF16() 291 UBool strengthIsPrimary = CollationSettings::getStrength(options) == UCOL_PRIMARY; in compareUTF16() 340 if(CollationSettings::getStrength(options) <= UCOL_SECONDARY) { return UCOL_EQUAL; } in compareUTF16() 399 if(CollationSettings::getStrength(options) <= UCOL_TERTIARY) { return UCOL_EQUAL; } in compareUTF16() 456 options &= 0xffff; // needed for CollationSettings::getStrength() to work in compareUTF8() 566 if(CollationSettings::getStrength(options) >= UCOL_SECONDARY) { in compareUTF8() 642 UBool strengthIsPrimary = CollationSettings::getStrength(options) == UCOL_PRIMARY; in compareUTF8() 691 if(CollationSettings::getStrength(options) <= UCOL_SECONDARY) { return UCOL_EQUAL; } in compareUTF8() 750 if(CollationSettings::getStrength(option in compareUTF8() [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | collationsettings.h | 147 static int32_t getStrength(int32_t options) { in getStrength() function 151 int32_t getStrength() const { in getStrength() function 152 return getStrength(options); in getStrength()
|
H A D | collationcompare.cpp | 112 if(CollationSettings::getStrength(options) >= UCOL_SECONDARY) { in compareUpToQuaternary() 186 int32_t strength = CollationSettings::getStrength(options); in compareUpToQuaternary() 250 if(CollationSettings::getStrength(options) <= UCOL_SECONDARY) { return UCOL_EQUAL; } in compareUpToQuaternary() 302 if(CollationSettings::getStrength(options) <= UCOL_TERTIARY) { return UCOL_EQUAL; } in compareUpToQuaternary()
|
H A D | collationfastlatin.cpp | 120 options &= 0xffff; // needed for CollationSettings::getStrength() to work in compareUTF16() 215 if(CollationSettings::getStrength(options) >= UCOL_SECONDARY) { in compareUTF16() 291 UBool strengthIsPrimary = CollationSettings::getStrength(options) == UCOL_PRIMARY; in compareUTF16() 340 if(CollationSettings::getStrength(options) <= UCOL_SECONDARY) { return UCOL_EQUAL; } in compareUTF16() 399 if(CollationSettings::getStrength(options) <= UCOL_TERTIARY) { return UCOL_EQUAL; } in compareUTF16() 456 options &= 0xffff; // needed for CollationSettings::getStrength() to work in compareUTF8() 566 if(CollationSettings::getStrength(options) >= UCOL_SECONDARY) { in compareUTF8() 642 UBool strengthIsPrimary = CollationSettings::getStrength(options) == UCOL_PRIMARY; in compareUTF8() 691 if(CollationSettings::getStrength(options) <= UCOL_SECONDARY) { return UCOL_EQUAL; } in compareUTF8() 750 if(CollationSettings::getStrength(option in compareUTF8() [all...] |
/third_party/icu/tools/colprobe/ |
H A D | sortedlines.cpp | 94 if(probe.getStrength(dup, bound) >= UCOL_IDENTICAL) { in getBounds() 155 st = probe.getStrength(*toSort[i-1], *toSort[i]); in classifyRepertoire() 168 st = probe.getStrength(*toSort[i+1], *toSort[i]); in classifyRepertoire() 289 sortingArray[i]->strength = probe.getStrength(*sortingArray[i-1], *sortingArray[i]); in sort() 613 else if(firstRep[i]->strengthFromEmpty == UCOL_PRIMARY && probe.getStrength(lower, trial) < secondRep[j]->strengthFromEmpty) { in detectContractions() 631 toAdd.strength = probe.getStrength(xym, toAdd); in detectContractions() 684 //UColAttributeValue strength = probe.getStrength(*firstRep[i], trial); in detectContractions() 977 lastStr = probe.getStrength(trial, *toSort[i]); in gooseUp() 1002 UColAttributeValue str = probe.getStrength(trial, *toSort[i]); in gooseUp() 1008 lastStr = probe.getStrength(tria in gooseUp() [all...] |
H A D | strengthprobe.h | 66 UColAttributeValue getStrength(const Line &x, const Line &y); 67 UColAttributeValue getStrength(const UnicodeString &x, const UnicodeString &y);
|
H A D | strengthprobe.cpp | 178 StrengthProbe::getStrength(const Line &x, const Line &y) { in getStrength() function in StrengthProbe 222 StrengthProbe::getStrength(const UnicodeString &sx, const UnicodeString &sy) { in getStrength() function in StrengthProbe 225 return getStrength(x, y); in getStrength() 328 return getStrength(contractionUtilFirst, contractionUtilSecond); in getPrefixedStrength()
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | apicoll.cpp | 61 // ctor, dtor, createInstance, compare, getStrength/setStrength 131 logln("testing Collator::getStrength() method ..."); in TestProperty() 132 doAssert((col->getStrength() == Collator::TERTIARY), "collation object has the wrong strength"); in TestProperty() 133 doAssert((col->getStrength() != Collator::PRIMARY), "collation object's strength is primary difference"); in TestProperty() 138 doAssert((col->getStrength() != Collator::TERTIARY), "collation object's strength is secondary difference"); in TestProperty() 139 doAssert((col->getStrength() != Collator::PRIMARY), "collation object's strength is primary difference"); in TestProperty() 140 doAssert((col->getStrength() == Collator::SECONDARY), "collation object has the wrong strength"); in TestProperty() 181 logln("testing Collator::getStrength() method again ..."); in TestProperty() 182 doAssert((col->getStrength() != Collator::TERTIARY), "collation object has the wrong strength"); in TestProperty() 183 doAssert((col->getStrength() in TestProperty() 2161 Collator::ECollationStrength TestCollator::getStrength() const getStrength() function in TestCollator [all...] |
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
H A D | RuleBasedCollator.java | 542 * @see #getStrength 698 * @see #getStrength 712 if(newStrength == getStrength()) { return; } in setStrength() 1170 if(settings.readOnly().getStrength() == IDENTICAL) { in writeSortKey() 1246 public int getStrength() { in getStrength() method in RuleBasedCollator 1247 return settings.readOnly().getStrength(); in getStrength() 1701 if(result != Collation.EQUAL || roSettings.getStrength() < Collator.IDENTICAL) { in doCompare()
|
H A D | StringSearch.java | 189 strength_ = collator.getStrength(); in StringSearch() 321 ceMask_ = getMask(collator_.getStrength()); in setCollator() 441 int newStrength = collator_.getStrength(); in reset() 447 strength_ = collator_.getStrength(); in reset() 1664 strength_ = coll.getStrength(); in init()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | RuleBasedCollator.java | 528 * @see #getStrength 678 * @see #getStrength 691 if(newStrength == getStrength()) { return; } in setStrength() 1142 if(settings.readOnly().getStrength() == IDENTICAL) { in writeSortKey() 1218 public int getStrength() { in getStrength() method in RuleBasedCollator 1219 return settings.readOnly().getStrength(); in getStrength() 1663 if(result != Collation.EQUAL || roSettings.getStrength() < Collator.IDENTICAL) { in doCompare()
|