Searched refs:getStrength (Results 1 - 25 of 33) sorted by relevance

12

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
H A DDHKeyGenerationParameters.java16 super(random, getStrength(params));
26 static int getStrength(DHParameters params) method in class:DHKeyGenerationParameters
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
H A DCipherKeyGenerator.java22 this.strength = (param.getStrength() + 7) / 8;
H A DKeyGenerationParameters.java44 public int getStrength() method in class:KeyGenerationParameters
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
H A DDESedeKeyGenerator.java22 this.strength = (param.getStrength() + 7) / 8;
H A DRSAKeyPairGenerator.java40 int strength = param.getStrength();
/external/icu/icu4c/source/i18n/
H A Dcollationsettings.h145 static int32_t getStrength(int32_t options) { function in struct:CollationSettings
149 int32_t getStrength() const { function in struct:CollationSettings
150 return getStrength(options);
H A Dcollationcompare.cpp111 if(CollationSettings::getStrength(options) >= UCOL_SECONDARY) {
185 int32_t strength = CollationSettings::getStrength(options);
249 if(CollationSettings::getStrength(options) <= UCOL_SECONDARY) { return UCOL_EQUAL; }
301 if(CollationSettings::getStrength(options) <= UCOL_TERTIARY) { return UCOL_EQUAL; }
H A Dcollationfastlatin.cpp119 options &= 0xffff; // needed for CollationSettings::getStrength() to work
215 if(CollationSettings::getStrength(options) >= UCOL_SECONDARY) {
291 UBool strengthIsPrimary = CollationSettings::getStrength(options) == UCOL_PRIMARY;
340 if(CollationSettings::getStrength(options) <= UCOL_SECONDARY) { return UCOL_EQUAL; }
399 if(CollationSettings::getStrength(options) <= UCOL_TERTIARY) { return UCOL_EQUAL; }
456 options &= 0xffff; // needed for CollationSettings::getStrength() to work
567 if(CollationSettings::getStrength(options) >= UCOL_SECONDARY) {
643 UBool strengthIsPrimary = CollationSettings::getStrength(options) == UCOL_PRIMARY;
692 if(CollationSettings::getStrength(options) <= UCOL_SECONDARY) { return UCOL_EQUAL; }
751 if(CollationSettings::getStrength(option
[all...]
H A Drulebasedcollator.cpp427 return (UColAttributeValue)settings->getStrength();
1061 if(result != UCOL_EQUAL || settings->getStrength() < UCOL_IDENTICAL || U_FAILURE(errorCode)) {
1186 if(result != UCOL_EQUAL || settings->getStrength() < UCOL_IDENTICAL || U_FAILURE(errorCode)) {
1257 if(result != UCOL_EQUAL || settings->getStrength() < UCOL_IDENTICAL || U_FAILURE(errorCode)) {
1347 if(settings->getStrength() == UCOL_IDENTICAL) {
1454 if(settings->getStrength() == UCOL_IDENTICAL) {
H A Dcollationkeys.cpp234 uint32_t levels = levelMasks[CollationSettings::getStrength(options)];
424 if((CollationSettings::getStrength(options) == UCOL_PRIMARY) ?
H A Dcoleitr.cpp309 UColAttributeValue s = (UColAttributeValue)rbc_->settings->getStrength();
H A Dcoll.cpp905 Collator::getStrength(void) const { function in class:Collator
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
H A DCollatorICU.java73 if (fIcuCollator.getStrength() == Collator.IDENTICAL) {
90 public int getStrength() { method in class:CollatorICU
92 int icuStrength = fIcuCollator.getStrength();
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
H A DCollationCompare.java96 if (CollationSettings.getStrength(options) >= Collator.SECONDARY) {
174 int strength = CollationSettings.getStrength(options);
240 if (CollationSettings.getStrength(options) <= Collator.SECONDARY) {
294 if (CollationSettings.getStrength(options) <= Collator.TERTIARY) {
H A DCollationSettings.java329 static int getStrength(int options) { method in class:CollationSettings
333 public int getStrength() { method in class:CollationSettings
334 return getStrength(options);
H A DCollationFastLatin.java289 options &= 0xffff; // needed for CollationSettings.getStrength() to work
394 if(CollationSettings.getStrength(options) >= Collator.SECONDARY) {
478 boolean strengthIsPrimary = CollationSettings.getStrength(options) == Collator.PRIMARY;
537 if(CollationSettings.getStrength(options) <= Collator.SECONDARY) { return Collation.EQUAL; }
606 if(CollationSettings.getStrength(options) <= Collator.TERTIARY) { return Collation.EQUAL; }
H A DCollationKeys.java334 int levels = levelMasks[CollationSettings.getStrength(options)];
528 if ((CollationSettings.getStrength(options) == Collator.PRIMARY) ? p == 0
/external/jmonkeyengine/engine/src/core-effects/com/jme3/post/filters/
H A DPosterizationFilter.java144 public float getStrength() { method in class:PosterizationFilter
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
H A DCollationAPITest.java97 if (col.getStrength() != Collator.TERTIARY){
466 logln("testing Collator.getStrength() method ...");
467 doAssert((col.getStrength() == Collator.TERTIARY), "collation object has the wrong strength");
468 doAssert((col.getStrength() != Collator.PRIMARY), "collation object's strength is primary difference");
472 doAssert((col.getStrength() != Collator.TERTIARY), "collation object's strength is secondary difference");
473 doAssert((col.getStrength() != Collator.PRIMARY), "collation object's strength is primary difference");
474 doAssert((col.getStrength() == Collator.SECONDARY), "collation object has the wrong strength");
495 logln("testing Collator.getStrength() method again ...");
496 doAssert((col.getStrength() != Collator.TERTIARY), "collation object has the wrong strength");
497 doAssert((col.getStrength()
[all...]
/external/icu/icu4c/source/test/intltest/
H A Dapicoll.cpp58 // ctor, dtor, createInstance, compare, getStrength/setStrength
135 logln("testing Collator::getStrength() method ...");
136 doAssert((col->getStrength() == Collator::TERTIARY), "collation object has the wrong strength");
137 doAssert((col->getStrength() != Collator::PRIMARY), "collation object's strength is primary difference");
142 doAssert((col->getStrength() != Collator::TERTIARY), "collation object's strength is secondary difference");
143 doAssert((col->getStrength() != Collator::PRIMARY), "collation object's strength is primary difference");
144 doAssert((col->getStrength() == Collator::SECONDARY), "collation object has the wrong strength");
185 logln("testing Collator::getStrength() method again ...");
186 doAssert((col->getStrength() != Collator::TERTIARY), "collation object has the wrong strength");
187 doAssert((col->getStrength()
2130 Collator::ECollationStrength TestCollator::getStrength() const function in class:TestCollator
[all...]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
H A DRuleBasedCollator.java554 * @see #getStrength
712 * @see #getStrength
726 if(newStrength == getStrength()) { return; }
1186 if(settings.readOnly().getStrength() == IDENTICAL) {
1262 public int getStrength() { method in class:RuleBasedCollator
1263 return settings.readOnly().getStrength();
1716 if(result != Collation.EQUAL || roSettings.getStrength() < Collator.IDENTICAL) {
H A DStringSearch.java185 strength_ = collator.getStrength();
315 ceMask_ = getMask(collator_.getStrength());
435 int newStrength = collator_.getStrength();
441 strength_ = collator_.getStrength();
1569 strength_ = coll.getStrength();
H A DCollationElementIterator.java597 int s = rbc_.settings.readOnly().getStrength();
H A DCollator.java141 * @see #getStrength
153 * @see #getStrength
165 * @see #getStrength
179 * @see #getStrength
341 * @see #getStrength
1148 public int getStrength() method in class:Collator
/external/icu/icu4c/source/i18n/unicode/
H A Dcoll.h584 virtual ECollationStrength getStrength(void) const;
600 * @see Collator#getStrength

Completed in 424 milliseconds

12