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/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationAPITest.java98 if (col.getStrength() != Collator.TERTIARY){ in TestCollationKey()
482 … doAssert((col.getStrength() == Collator.TERTIARY), "collation object has the wrong strength"); in TestProperty()
483 …doAssert((col.getStrength() != Collator.PRIMARY), "collation object's strength is primary differen… in TestProperty()
487 …doAssert((col.getStrength() != Collator.TERTIARY), "collation object's strength is secondary diffe… in TestProperty()
488 …doAssert((col.getStrength() != Collator.PRIMARY), "collation object's strength is primary differen… in TestProperty()
489 … 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 …]
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationAPITest.java97 if (col.getStrength() != Collator.TERTIARY){ in TestCollationKey()
481 … doAssert((col.getStrength() == Collator.TERTIARY), "collation object has the wrong strength"); in TestProperty()
482 …doAssert((col.getStrength() != Collator.PRIMARY), "collation object's strength is primary differen… in TestProperty()
486 …doAssert((col.getStrength() != Collator.TERTIARY), "collation object's strength is secondary diffe… in TestProperty()
487 …doAssert((col.getStrength() != Collator.PRIMARY), "collation object's strength is primary differen… in TestProperty()
488 … doAssert((col.getStrength() == Collator.SECONDARY), "collation object has the wrong strength"); in TestProperty()
510 … doAssert((col.getStrength() != Collator.TERTIARY), "collation object has the wrong strength"); in TestProperty()
511 …doAssert((col.getStrength() == Collator.PRIMARY), "collation object's strength is not primary diff… in TestProperty()
515 …doAssert((col.getStrength() == Collator.TERTIARY), "collation object's strength is not tertiary di… in TestProperty()
516 …doAssert((col.getStrength() != Collator.PRIMARY), "collation object's strength is primary differen… in TestProperty()
[all …]
/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.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/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.java333 static int getStrength(int options) { in getStrength() method in CollationSettings
337 public int getStrength() { in getStrength() method in CollationSettings
338 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()
DCollationKeys.java340 int levels = levelMasks[CollationSettings.getStrength(options)]; in writeSortKeyUpToQuaternary()
534 if ((CollationSettings.getStrength(options) == Collator.PRIMARY) ? p == 0 in writeSortKeyUpToQuaternary()
/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/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DDESedeKeyGenerator.java24 this.strength = (param.getStrength() + 7) / 8; in init()
DRSAKeyPairGenerator.java37 int strength = param.getStrength(); in generateKeyPair()
/external/icu/icu4c/source/test/intltest/
Dapicoll.cpp138 doAssert((col->getStrength() == Collator::TERTIARY), "collation object has the wrong strength"); in TestProperty()
139 …doAssert((col->getStrength() != Collator::PRIMARY), "collation object's strength is primary differ… in TestProperty()
144 …doAssert((col->getStrength() != Collator::TERTIARY), "collation object's strength is secondary dif… in TestProperty()
145 …doAssert((col->getStrength() != Collator::PRIMARY), "collation object's strength is primary differ… in TestProperty()
146 … doAssert((col->getStrength() == Collator::SECONDARY), "collation object has the wrong strength"); in TestProperty()
188 doAssert((col->getStrength() != Collator::TERTIARY), "collation object has the wrong strength"); in TestProperty()
189 …doAssert((col->getStrength() == Collator::PRIMARY), "collation object's strength is not primary di… in TestProperty()
193 …doAssert((col->getStrength() == Collator::TERTIARY), "collation object's strength is not tertiary … in TestProperty()
194 …doAssert((col->getStrength() != Collator::PRIMARY), "collation object's strength is primary differ… in TestProperty()
195 …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/
DRuleBasedCollator.java691 if(newStrength == getStrength()) { return; } in setStrength()
1143 if(settings.readOnly().getStrength() == IDENTICAL) { in writeSortKey()
1219 public int getStrength() { in getStrength() method in RuleBasedCollator
1220 return settings.readOnly().getStrength(); in getStrength()
1664 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()
1649 strength_ = coll.getStrength(); 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()
1665 strength_ = coll.getStrength(); in init()
DRuleBasedCollator.java712 if(newStrength == getStrength()) { return; } in setStrength()
1169 if(settings.readOnly().getStrength() == IDENTICAL) { in writeSortKey()
1245 public int getStrength() { in getStrength() method in RuleBasedCollator
1246 return settings.readOnly().getStrength(); in getStrength()
1700 if(result != Collation.EQUAL || roSettings.getStrength() < Collator.IDENTICAL) { in doCompare()

123