Home
last modified time | relevance | path

Searched refs:getStrength (Results 1 – 25 of 64) sorted by relevance

123

/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/
DCollationAPITest.java103 if (col.getStrength() != Collator.TERTIARY){ in TestCollationKey()
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 differen… in TestProperty()
492 …doAssert((col.getStrength() != Collator.TERTIARY), "collation object's strength is secondary diffe… in TestProperty()
493 …doAssert((col.getStrength() != Collator.PRIMARY), "collation object's strength is primary differen… in TestProperty()
494 … doAssert((col.getStrength() == Collator.SECONDARY), "collation object has the wrong strength"); in TestProperty()
514 … doAssert((col.getStrength() != Collator.TERTIARY), "collation object has the wrong strength"); in TestProperty()
515 …doAssert((col.getStrength() == Collator.PRIMARY), "collation object's strength is not primary diff… in TestProperty()
519 …doAssert((col.getStrength() == Collator.TERTIARY), "collation object's strength is not tertiary di… in TestProperty()
520 …doAssert((col.getStrength() != Collator.PRIMARY), "collation object's strength is primary differen… in TestProperty()
[all …]
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationAPITest.java100 if (col.getStrength() != Collator.TERTIARY){ in TestCollationKey()
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 differen… in TestProperty()
489 …doAssert((col.getStrength() != Collator.TERTIARY), "collation object's strength is secondary diffe… in TestProperty()
490 …doAssert((col.getStrength() != Collator.PRIMARY), "collation object's strength is primary differen… in TestProperty()
491 … doAssert((col.getStrength() == Collator.SECONDARY), "collation object has the wrong strength"); in TestProperty()
511 … doAssert((col.getStrength() != Collator.TERTIARY), "collation object has the wrong strength"); in TestProperty()
512 …doAssert((col.getStrength() == Collator.PRIMARY), "collation object's strength is not primary diff… in TestProperty()
516 …doAssert((col.getStrength() == Collator.TERTIARY), "collation object's strength is not tertiary di… in TestProperty()
517 …doAssert((col.getStrength() != Collator.PRIMARY), "collation object's strength is primary differen… in TestProperty()
[all …]
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationCompare.java98 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()
DCollationSettings.java329 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()
DCollationFastLatin.java398 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/
DCollationCompare.java102 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()
DCollationSettings.java331 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()
DCollationFastLatin.java402 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/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DCollatorICU.java82 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/icu4c/source/i18n/
Dcollationcompare.cpp112 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()
Dcollationsettings.h147 static int32_t getStrength(int32_t options) { in getStrength() function
151 int32_t getStrength() const { in getStrength() function
152 return getStrength(options); in getStrength()
Dcollationfastlatin.cpp215 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()
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(options) <= UCOL_TERTIARY) { return UCOL_EQUAL; } in compareUTF8()
/third_party/node/deps/icu-small/source/i18n/
Dcollationcompare.cpp112 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()
Dcollationsettings.h147 static int32_t getStrength(int32_t options) { in getStrength() function
151 int32_t getStrength() const { in getStrength() function
152 return getStrength(options); in getStrength()
Dcollationfastlatin.cpp215 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()
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(options) <= UCOL_TERTIARY) { return UCOL_EQUAL; } in compareUTF8()
/third_party/skia/third_party/externals/icu/source/i18n/
Dcollationcompare.cpp112 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()
Dcollationsettings.h147 static int32_t getStrength(int32_t options) { in getStrength() function
151 int32_t getStrength() const { in getStrength() function
152 return getStrength(options); in getStrength()
Dcollationfastlatin.cpp215 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()
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(options) <= UCOL_TERTIARY) { return UCOL_EQUAL; } in compareUTF8()
/third_party/icu/tools/colprobe/
Dstrengthprobe.h66 UColAttributeValue getStrength(const Line &x, const Line &y);
67 UColAttributeValue getStrength(const UnicodeString &x, const UnicodeString &y);
Dstrengthprobe.cpp178 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()
Dsortedlines.cpp94 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) < second… in detectContractions()
631 toAdd.strength = probe.getStrength(xym, toAdd); 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(trial, *toSort[i]); in gooseUp()
1083 while(j && toSort[j]->strength > probe.getStrength(*toSort[j], *toSort[i])) in detectExpansions()
[all …]
/third_party/icu/icu4c/source/test/intltest/
Dapicoll.cpp132 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 differ… in TestProperty()
138 …doAssert((col->getStrength() != Collator::TERTIARY), "collation object's strength is secondary dif… in TestProperty()
139 …doAssert((col->getStrength() != Collator::PRIMARY), "collation object's strength is primary differ… in TestProperty()
140 … doAssert((col->getStrength() == Collator::SECONDARY), "collation object has the wrong strength"); in TestProperty()
182 doAssert((col->getStrength() != Collator::TERTIARY), "collation object has the wrong strength"); in TestProperty()
183 …doAssert((col->getStrength() == Collator::PRIMARY), "collation object's strength is not primary di… in TestProperty()
187 …doAssert((col->getStrength() == Collator::TERTIARY), "collation object's strength is not tertiary … in TestProperty()
188 …doAssert((col->getStrength() != Collator::PRIMARY), "collation object's strength is primary differ… in TestProperty()
189 …doAssert((col->getStrength() != Collator::SECONDARY), "collation object's strength is secondary di… in TestProperty()
[all …]
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DRuleBasedCollator.java712 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()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DRuleBasedCollator.java691 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()
DStringSearch.java188 strength_ = collator.getStrength(); in StringSearch()
314 ceMask_ = getMask(collator_.getStrength()); in setCollator()
426 int newStrength = collator_.getStrength(); in reset()
432 strength_ = collator_.getStrength(); in reset()
1648 strength_ = coll.getStrength(); in init()

123