Home
last modified time | relevance | path

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

123

/external/icu/android_icu4j/src/main/tests/android/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()
516 … doAssert((col.getStrength() != Collator.TERTIARY), "collation object has the wrong strength"); in TestProperty()
517 …doAssert((col.getStrength() == Collator.PRIMARY), "collation object's strength is not primary diff… in TestProperty()
521 …doAssert((col.getStrength() == Collator.TERTIARY), "collation object's strength is not tertiary di… in TestProperty()
522 …doAssert((col.getStrength() != Collator.PRIMARY), "collation object's strength is primary differen… in TestProperty()
[all …]
/external/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()
513 … doAssert((col.getStrength() != Collator.TERTIARY), "collation object has the wrong strength"); in TestProperty()
514 …doAssert((col.getStrength() == Collator.PRIMARY), "collation object's strength is not primary diff… in TestProperty()
518 …doAssert((col.getStrength() == Collator.TERTIARY), "collation object's strength is not tertiary di… in TestProperty()
519 …doAssert((col.getStrength() != Collator.PRIMARY), "collation object's strength is primary differen… in TestProperty()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DDHKeyGenerationParameters.java16 super(random, getStrength(params)); in DHKeyGenerationParameters()
26 static int getStrength(DHParameters params) in getStrength() method in DHKeyGenerationParameters
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/params/
DDHKeyGenerationParameters.java20 super(random, getStrength(params)); in DHKeyGenerationParameters()
30 static int getStrength(DHParameters params) in getStrength() method in DHKeyGenerationParameters
/external/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()
/external/icu/android_icu4j/src/main/java/android/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()
/external/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()
/external/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()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
DCollator.java733 public int getStrength() in getStrength() method in Collator
735 return collator.getStrength(); in getStrength()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DCollatorTest.java129 assertEquals(Collator.PRIMARY, c.getStrength()); in testGetStrength()
131 assertEquals(Collator.SECONDARY, c.getStrength()); in testGetStrength()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
DKeyGenerationParameters.java44 public int getStrength() in getStrength() method in KeyGenerationParameters
DCipherKeyGenerator.java22 this.strength = (param.getStrength() + 7) / 8; in init()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/
DKeyGenerationParameters.java46 public int getStrength() in getStrength() method in KeyGenerationParameters
DCipherKeyGenerator.java24 this.strength = (param.getStrength() + 7) / 8; in init()
/external/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 …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DDESedeKeyGenerator.java24 this.strength = (param.getStrength() + 7) / 8; in init()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/generators/
DDESedeKeyGenerator.java28 this.strength = (param.getStrength() + 7) / 8; in init()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DStringSearch.java189 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()
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()

123