/external/bouncycastle/src/main/java/org/bouncycastle/crypto/ |
KeyGenerationParameters.java | 11 private int strength; field in class:KeyGenerationParameters 15 * and a strength (in bits). 18 * @param strength the size, in bits, of the keys we want to produce. 22 int strength) 25 this.strength = strength; 40 * return the bit strength for keys produced by this generator, 42 * @return the strength of the keys this generator produces (in bits). 46 return strength;
|
CipherKeyGenerator.java | 11 protected int strength; field in class:CipherKeyGenerator 22 this.strength = (param.getStrength() + 7) / 8; 32 byte[] key = new byte[strength];
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/generators/ |
DESedeKeyGenerator.java | 10 * initialise the key generator - if strength is set to zero 12 * strength can be 128 or 192 (or 112 or 168 if you don't count 22 this.strength = (param.getStrength() + 7) / 8; 24 if (strength == 0 || strength == (168 / 8)) 26 strength = DESedeParameters.DES_EDE_KEY_LENGTH; 28 else if (strength == (112 / 8)) 30 strength = 2 * DESedeParameters.DES_KEY_LENGTH; 32 else if (strength != DESedeParameters.DES_EDE_KEY_LENGTH 33 && strength != (2 * DESedeParameters.DES_KEY_LENGTH) [all...] |
DESKeyGenerator.java | 11 * initialise the key generator - if strength is set to zero 13 * strength can be 64 or 56 bits (if you don't count the parity bits). 22 if (strength == 0 || strength == (56 / 8)) 24 strength = DESParameters.DES_KEY_LENGTH; 26 else if (strength != DESParameters.DES_KEY_LENGTH)
|
RSAKeyPairGenerator.java | 33 // p and q values should have a length of half the strength in bits 35 int strength = param.getStrength(); local 36 int pbitlength = (strength + 1) / 2; 37 int qbitlength = strength - pbitlength; 38 int mindiffbits = strength / 3;
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
JDKAlgorithmParameterGenerator.java | 37 protected int strength = 1024; field in class:JDKAlgorithmParameterGenerator 40 int strength, 43 this.strength = strength; 63 this.strength = spec.getPrimeSize(); 74 pGen.init(strength, 20, random); 78 pGen.init(strength, 20, new SecureRandom()); 103 int strength, 106 if (strength < 512 || strength > 1024 || strength % 64 != 0 [all...] |
JDKKeyPairGenerator.java | 64 public abstract void initialize(int strength, SecureRandom random); 88 int strength, 92 random, strength, defaultTests); 133 int strength = 1024; field in class:JDKKeyPairGenerator.DH 144 int strength, 147 this.strength = strength; 173 Integer paramStrength = Integer.valueOf(strength); 184 pGen.init(strength, certainty, random); 210 int strength = 1024 field in class:JDKKeyPairGenerator.DSA [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/params/ |
RSAKeyGenerationParameters.java | 17 int strength, 20 super(random, strength); 22 if (strength < 12) 24 throw new IllegalArgumentException("key strength too small");
|
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/ |
post_filter.cpp | 189 int mbnum, strength, A_D, d1_2, d1, d2, A, B, C, D, b_size; local 220 strength = STRENGTH_tab[QP_store[mbnum]]; 233 if (d1 < -(strength << 1)) 237 else if (d1 < -strength) 239 d1 = -d1 - (strength << 1); 246 if (d1 > (strength << 1)) 250 else if (d1 > strength) 252 d1 = (strength << 1) - d1; 311 strength = STRENGTH_tab[(annex_T ? MQ_chroma_QP_table[QP_store[mbnum]] : QP_store[mbnum])]; 315 strength = STRENGTH_tab[(annex_T ? MQ_chroma_QP_table[QP_store[mbnum - nMBPerRow]] : QP_store[mbnum - nMBP (…) [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
BassBoostTest.java | 102 //Test case 1.0: test strength 124 short strength = mBassBoost.getRoundedStrength(); local 125 strength = (strength == TEST_STRENGTH) ? TEST_STRENGTH2 : TEST_STRENGTH; 126 mBassBoost.setStrength((short)strength); 128 // allow STRENGTH_TOLERANCE difference between set strength and rounded strength 129 assertTrue("got incorrect strength", 130 ((float)strength2 > (float)strength / STRENGTH_TOLERANCE) && 131 ((float)strength2 < (float)strength * STRENGTH_TOLERANCE)) 133 short strength = mBassBoost.getRoundedStrength(); local 168 short strength = settings.strength; local [all...] |
VirtualizerTest.java | 101 //Test case 1.0: test strength 123 short strength = mVirtualizer.getRoundedStrength(); local 124 strength = (strength == TEST_STRENGTH) ? TEST_STRENGTH2 : TEST_STRENGTH; 125 mVirtualizer.setStrength((short)strength); 127 // allow STRENGTH_TOLERANCE difference between set strength and rounded strength 128 assertTrue("got incorrect strength", 129 ((float)strength2 > (float)strength / STRENGTH_TOLERANCE) && 130 ((float)strength2 < (float)strength * STRENGTH_TOLERANCE)) 132 short strength = mVirtualizer.getRoundedStrength(); local 166 short strength = settings.strength; local [all...] |
/external/icu4c/test/intltest/ |
ssearch.h | 52 const char *name, const char *strength, uint32_t seed); 56 const char *name, const char *strength, uint32_t seed);
|
/system/media/wilhelm/src/itf/ |
IBassBoost.c | 89 static SLresult IBassBoost_SetStrength(SLBassBoostItf self, SLpermille strength) 93 if ((BASSBOOST_STRENGTH_MIN > strength) || (BASSBOOST_STRENGTH_MAX < strength)) { 99 thiz->mStrength = strength; 106 android_bb_setParam(thiz->mBassBoostEffect, BASSBOOST_PARAM_STRENGTH, &strength); 126 SLpermille strength = thiz->mStrength;; local 134 android_bb_getParam(thiz->mBassBoostEffect, BASSBOOST_PARAM_STRENGTH, &strength); 139 *pStrength = strength;
|
IVirtualizer.c | 91 static SLresult IVirtualizer_SetStrength(SLVirtualizerItf self, SLpermille strength) 95 if ((VIRTUALIZER_STRENGTH_MIN > strength) || (VIRTUALIZER_STRENGTH_MAX < strength)) { 101 thiz->mStrength = strength; 108 VIRTUALIZER_PARAM_STRENGTH, &strength); 128 SLpermille strength = thiz->mStrength;; local 136 VIRTUALIZER_PARAM_STRENGTH, &strength); 141 *pStrength = strength;
|
/external/libvpx/vp8/encoder/ |
temporal_filter.h | 22 int strength, \
|
temporal_filter.c | 96 int strength, 116 // float coeff = (3.0 * modifer * modifier) / pow(2, strength); 120 modifier += 1 << (strength - 1); 121 modifier >>= strength; local 284 int strength 381 strength, local 391 strength, local 401 strength, local 487 int strength = cpi->oxcf.arnr_strength; local 584 strength ); [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
BassBoost.java | 55 * Is strength parameter supported by bass boost engine. Parameter ID for getParameter(). 59 * Bass boost effect strength. Parameter ID for 65 * Indicates if strength parameter is supported by the bass boost engine 113 * Indicates whether setting strength is supported. If this method returns false, only one 114 * strength is supported and the setStrength() method always rounds to that value. 115 * @return true is strength parameter is supported, false otherwise 122 * Sets the strength of the bass boost effect. If the implementation does not support per mille 123 * accuracy for setting the strength, it is allowed to round the given strength to the nearest 126 * @param strength strength of the effect. The valid range for strength strength is [0, 1000] 222 public short strength; field in class:BassBoost.Settings [all...] |
Virtualizer.java | 57 * Is strength parameter supported by virtualizer engine. Parameter ID for getParameter(). 61 * Virtualizer effect strength. Parameter ID for 67 * Indicates if strength parameter is supported by the virtualizer engine 115 * Indicates whether setting strength is supported. If this method returns false, only one 116 * strength is supported and the setStrength() method always rounds to that value. 117 * @return true is strength parameter is supported, false otherwise 124 * Sets the strength of the virtualizer effect. If the implementation does not support per mille 125 * accuracy for setting the strength, it is allowed to round the given strength to the nearest 128 * @param strength strength of the effect. The valid range for strength strength is [0, 1000] 224 public short strength; field in class:Virtualizer.Settings [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
MediaBassBoostTest.java | 119 //Test case 1.0: test strength 128 short strength = mBassBoost.getRoundedStrength(); local 129 // allow 10% difference between set strength and rounded strength 130 assertTrue(msg +": got incorrect strength", 131 ((float)strength > (float)TEST_STRENGTH * 0.9f) && 132 ((float)strength < (float)TEST_STRENGTH * 1.1f)); 134 short strength = mBassBoost.getRoundedStrength(); local 135 assertTrue(msg +": got incorrect strength", strength >= 0 && strength <= 1000) [all...] |
MediaVirtualizerTest.java | 120 //Test case 1.0: test strength 129 short strength = mVirtualizer.getRoundedStrength(); local 130 // allow 10% difference between set strength and rounded strength 131 assertTrue(msg +": got incorrect strength", 132 ((float)strength > (float)TEST_STRENGTH * 0.9f) && 133 ((float)strength < (float)TEST_STRENGTH * 1.1f)); 135 short strength = mVirtualizer.getRoundedStrength(); local 136 assertTrue(msg +": got incorrect strength", strength >= 0 && strength <= 1000) [all...] |
/external/libvpx/vp8/encoder/x86/ |
temporal_filter_apply_sse2.asm | 19 ; int strength, | 4 35 %define strength 16 47 movdqa [rsp + strength], xmm6 ; where strength is used, all 16 bytes are read 50 ; 0x8000 >> (16 - strength) 52 sub rdx, arg(4) ; 16 - strength 111 ; modifer += 0x8000 >> (16 - strength) 115 ; modifier >>= strength 116 psrlw xmm0, [rsp + strength] 117 psrlw xmm1, [rsp + strength] [all...] |
/external/icu4c/i18n/ |
ucol_bld.cpp | 174 uint32_t strength) 186 CE &= strengthMask[strength]; 187 contCE &= strengthMask[strength]; 192 while((*nextCE & strengthMask[strength]) == CE 193 && (*nextContCE & strengthMask[strength]) == contCE) 205 uint32_t strength) 217 CE &= strengthMask[strength]; 218 contCE &= strengthMask[strength]; 223 while((*prevCE & strengthMask[strength]) == CE 224 && (*prevContCE & strengthMask[strength])== contC 479 uint32_t strength = tok->strength; local [all...] |
ucol_tok.h | 79 uint32_t strength; member in struct:UColToken 95 uint32_t strength; member in struct:__anon6289 196 uint32_t strength); 200 uint32_t strength);
|
/external/icu4c/i18n/unicode/ |
tblcoll.h | 39 * 6/17/97 helena Added IDENTICAL strength for compare, changed getRules to 133 * @param collationStrength default strength for comparison 161 * @param collationStrength default strength for comparison 650 * Determines the minimum strength that will be use in comparison or 652 * <p>E.g. with strength == SECONDARY, the tertiary difference is ignored 653 * <p>E.g. with strength == PRIMARY, the secondary and tertiary difference 662 * Sets the minimum strength to be used in comparison or transformation. 707 /* primary strength increment */ 709 /* secondary strength increment */ 711 /* tertiary strength increment * [all...] |
/external/bluetooth/bluez/audio/ |
telephony-dummy.c | 290 dbus_uint32_t strength; local 292 if (!dbus_message_get_args(msg, NULL, DBUS_TYPE_UINT32, &strength, 296 if (strength > 5) 299 telephony_update_indicator(dummy_indicators, "signal", strength); 301 DBG("telephony-dummy: signal strength set to %u", strength);
|