Home
last modified time | relevance | path

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

123

/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/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DCollatorICU.java73 if (fIcuCollator.getStrength() == Collator.IDENTICAL) { in getDecomposition()
90 public int getStrength() { in getStrength() method in CollatorICU
92 int icuStrength = fIcuCollator.getStrength(); in getStrength()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationCompare.java96 if (CollationSettings.getStrength(options) >= Collator.SECONDARY) { in compareUpToQuaternary()
174 int strength = CollationSettings.getStrength(options); in compareUpToQuaternary()
240 if (CollationSettings.getStrength(options) <= Collator.SECONDARY) { in compareUpToQuaternary()
294 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.java394 if(CollationSettings.getStrength(options) >= Collator.SECONDARY) { in compareUTF16()
478 boolean strengthIsPrimary = CollationSettings.getStrength(options) == Collator.PRIMARY; in compareUTF16()
537 if(CollationSettings.getStrength(options) <= Collator.SECONDARY) { return Collation.EQUAL; } in compareUTF16()
606 if(CollationSettings.getStrength(options) <= Collator.TERTIARY) { return Collation.EQUAL; } in compareUTF16()
DCollationKeys.java334 int levels = levelMasks[CollationSettings.getStrength(options)]; in writeSortKeyUpToQuaternary()
528 if ((CollationSettings.getStrength(options) == Collator.PRIMARY) ? p == 0 in writeSortKeyUpToQuaternary()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationCompare.java100 if (CollationSettings.getStrength(options) >= Collator.SECONDARY) { in compareUpToQuaternary()
178 int strength = CollationSettings.getStrength(options); in compareUpToQuaternary()
244 if (CollationSettings.getStrength(options) <= Collator.SECONDARY) { in compareUpToQuaternary()
298 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.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/icu4c/source/i18n/
Dcollationcompare.cpp110 if(CollationSettings::getStrength(options) >= UCOL_SECONDARY) { in compareUpToQuaternary()
184 int32_t strength = CollationSettings::getStrength(options); in compareUpToQuaternary()
248 if(CollationSettings::getStrength(options) <= UCOL_SECONDARY) { return UCOL_EQUAL; } in compareUpToQuaternary()
300 if(CollationSettings::getStrength(options) <= UCOL_TERTIARY) { return UCOL_EQUAL; } in compareUpToQuaternary()
Dcollationsettings.h145 static int32_t getStrength(int32_t options) { in getStrength() function
149 int32_t getStrength() const { in getStrength() function
150 return getStrength(options); in getStrength()
Dcollationfastlatin.cpp213 if(CollationSettings::getStrength(options) >= UCOL_SECONDARY) { in compareUTF16()
289 UBool strengthIsPrimary = CollationSettings::getStrength(options) == UCOL_PRIMARY; in compareUTF16()
338 if(CollationSettings::getStrength(options) <= UCOL_SECONDARY) { return UCOL_EQUAL; } in compareUTF16()
397 if(CollationSettings::getStrength(options) <= UCOL_TERTIARY) { return UCOL_EQUAL; } in compareUTF16()
564 if(CollationSettings::getStrength(options) >= UCOL_SECONDARY) { in compareUTF8()
640 UBool strengthIsPrimary = CollationSettings::getStrength(options) == UCOL_PRIMARY; in compareUTF8()
689 if(CollationSettings::getStrength(options) <= UCOL_SECONDARY) { return UCOL_EQUAL; } in compareUTF8()
748 if(CollationSettings::getStrength(options) <= UCOL_TERTIARY) { return UCOL_EQUAL; } in compareUTF8()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationAPITest.java97 if (col.getStrength() != Collator.TERTIARY){ in TestCollationKey()
467 … doAssert((col.getStrength() == Collator.TERTIARY), "collation object has the wrong strength"); in TestProperty()
468 …doAssert((col.getStrength() != Collator.PRIMARY), "collation object's strength is primary differen… in TestProperty()
472 …doAssert((col.getStrength() != Collator.TERTIARY), "collation object's strength is secondary diffe… in TestProperty()
473 …doAssert((col.getStrength() != Collator.PRIMARY), "collation object's strength is primary differen… in TestProperty()
474 … doAssert((col.getStrength() == Collator.SECONDARY), "collation object has the wrong strength"); in TestProperty()
496 … doAssert((col.getStrength() != Collator.TERTIARY), "collation object has the wrong strength"); in TestProperty()
497 …doAssert((col.getStrength() == Collator.PRIMARY), "collation object's strength is not primary diff… in TestProperty()
501 …doAssert((col.getStrength() == Collator.TERTIARY), "collation object's strength is not tertiary di… in TestProperty()
502 …doAssert((col.getStrength() != Collator.PRIMARY), "collation object's strength is primary differen… in TestProperty()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationAPITest.java101 if (col.getStrength() != Collator.TERTIARY){ in TestCollationKey()
471 … doAssert((col.getStrength() == Collator.TERTIARY), "collation object has the wrong strength"); in TestProperty()
472 …doAssert((col.getStrength() != Collator.PRIMARY), "collation object's strength is primary differen… in TestProperty()
476 …doAssert((col.getStrength() != Collator.TERTIARY), "collation object's strength is secondary diffe… in TestProperty()
477 …doAssert((col.getStrength() != Collator.PRIMARY), "collation object's strength is primary differen… in TestProperty()
478 … doAssert((col.getStrength() == Collator.SECONDARY), "collation object has the wrong strength"); in TestProperty()
500 … doAssert((col.getStrength() != Collator.TERTIARY), "collation object has the wrong strength"); in TestProperty()
501 …doAssert((col.getStrength() == Collator.PRIMARY), "collation object's strength is not primary diff… in TestProperty()
505 …doAssert((col.getStrength() == Collator.TERTIARY), "collation object's strength is not tertiary di… in TestProperty()
506 …doAssert((col.getStrength() != Collator.PRIMARY), "collation object's strength is primary differen… in TestProperty()
[all …]
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
DCollator.java731 public int getStrength() in getStrength() method in Collator
733 return collator.getStrength(); in getStrength()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DRSAKeyPairGenerator.java28 … this.iterations = getNumberOfIterations(this.param.getStrength(), this.param.getCertainty()); in init()
39 int strength = param.getStrength(); in generateKeyPair()
DDESedeKeyGenerator.java24 this.strength = (param.getStrength() + 7) / 8; in init()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DCollatorTest.java127 assertEquals(Collator.PRIMARY, c.getStrength()); in testGetStrength()
129 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/icu/icu4c/source/test/intltest/
Dapicoll.cpp136 doAssert((col->getStrength() == Collator::TERTIARY), "collation object has the wrong strength"); in TestProperty()
137 …doAssert((col->getStrength() != Collator::PRIMARY), "collation object's strength is primary differ… in TestProperty()
142 …doAssert((col->getStrength() != Collator::TERTIARY), "collation object's strength is secondary dif… in TestProperty()
143 …doAssert((col->getStrength() != Collator::PRIMARY), "collation object's strength is primary differ… in TestProperty()
144 … doAssert((col->getStrength() == Collator::SECONDARY), "collation object has the wrong strength"); in TestProperty()
186 doAssert((col->getStrength() != Collator::TERTIARY), "collation object has the wrong strength"); in TestProperty()
187 …doAssert((col->getStrength() == Collator::PRIMARY), "collation object's strength is not primary di… in TestProperty()
191 …doAssert((col->getStrength() == Collator::TERTIARY), "collation object's strength is not tertiary … in TestProperty()
192 …doAssert((col->getStrength() != Collator::PRIMARY), "collation object's strength is primary differ… in TestProperty()
193 …doAssert((col->getStrength() != Collator::SECONDARY), "collation object's strength is secondary di… in TestProperty()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DStringSearch.java186 strength_ = collator.getStrength(); in StringSearch()
312 ceMask_ = getMask(collator_.getStrength()); in setCollator()
424 int newStrength = collator_.getStrength(); in reset()
430 strength_ = collator_.getStrength(); in reset()
1647 strength_ = coll.getStrength(); in init()
DRuleBasedCollator.java689 if(newStrength == getStrength()) { return; } in setStrength()
1139 if(settings.readOnly().getStrength() == IDENTICAL) { in writeSortKey()
1215 public int getStrength() { in getStrength() method in RuleBasedCollator
1216 return settings.readOnly().getStrength(); in getStrength()
1660 if(result != Collation.EQUAL || roSettings.getStrength() < Collator.IDENTICAL) { in doCompare()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DRuleBasedCollator.java710 if(newStrength == getStrength()) { return; } in setStrength()
1167 if(settings.readOnly().getStrength() == IDENTICAL) { in writeSortKey()
1243 public int getStrength() { in getStrength() method in RuleBasedCollator
1244 return settings.readOnly().getStrength(); in getStrength()
1698 if(result != Collation.EQUAL || roSettings.getStrength() < Collator.IDENTICAL) { in doCompare()
DStringSearch.java187 strength_ = collator.getStrength(); in StringSearch()
319 ceMask_ = getMask(collator_.getStrength()); in setCollator()
439 int newStrength = collator_.getStrength(); in reset()
445 strength_ = collator_.getStrength(); in reset()
1663 strength_ = coll.getStrength(); in init()

123