HomeSort by relevance Sort by last modified time
    Searched refs:strength (Results 1 - 25 of 104) sorted by null

1 2 3 4 5

  /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 36 protected int strength = 1024; field in class:JDKAlgorithmParameterGenerator
39 int strength,
42 this.strength = strength;
62 this.strength = spec.getPrimeSize();
73 pGen.init(strength, 20, random);
77 pGen.init(strength, 20, new SecureRandom());
102 int strength,
105 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/libvpx/vp8/common/
preproc.h 43 extern void spatial_filter_c(pre_proc_instance *ppi, unsigned char *s, unsigned char *d, int width, int height, int pitch, int strength);
44 extern void (*temp_filter)(pre_proc_instance *ppi, unsigned char *s, unsigned char *d, int bytes, int strength);
  /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/chromium/third_party/icu/source/test/intltest/
ssearch.h 51 const char *name, const char *strength, uint32_t seed);
55 const char *name, const char *strength, uint32_t seed);
  /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/opensles/libopensles/
IBassBoost.c 86 static SLresult IBassBoost_SetStrength(SLBassBoostItf self, SLpermille strength)
90 if ((BASSBOOST_STRENGTH_MIN > strength) || (BASSBOOST_STRENGTH_MAX < strength)) {
96 this->mStrength = strength;
103 android_bb_setParam(this->mBassBoostEffect, BASSBOOST_PARAM_STRENGTH, &strength);
123 SLpermille strength = this->mStrength;; local
131 android_bb_getParam(this->mBassBoostEffect, BASSBOOST_PARAM_STRENGTH, &strength);
136 *pStrength = strength;
IVirtualizer.c 88 static SLresult IVirtualizer_SetStrength(SLVirtualizerItf self, SLpermille strength)
92 if ((VIRTUALIZER_STRENGTH_MIN > strength) || (VIRTUALIZER_STRENGTH_MAX < strength)) {
98 this->mStrength = strength;
105 VIRTUALIZER_PARAM_STRENGTH, &strength);
125 SLpermille strength = this->mStrength;; local
133 VIRTUALIZER_PARAM_STRENGTH, &strength);
138 *pStrength = strength;
  /external/libvpx/vp8/encoder/
preproc.c 42 void (*temp_filter)(pre_proc_instance *ppi, unsigned char *s, unsigned char *d, int bytes, int strength);
49 int strength
57 int strength
68 * int strength : Strength of filter to apply.
85 int strength
131 modifier >>= strength; local
  /frameworks/base/media/java/android/media/audiofx/
BassBoost.java 57 * Is strength parameter supported by bass boost engine. Parameter ID for getParameter().
61 * Bass boost effect strength. Parameter ID for
67 * Indicates if strength parameter is supported by the bass boost engine
112 * Indicates whether setting strength is supported. If this method returns false, only one
113 * strength is supported and the setStrength() method always rounds to that value.
114 * @return true is strength parameter is supported, false otherwise
121 * Sets the strength of the bass boost effect. If the implementation does not support per mille
122 * accuracy for setting the strength, it is allowed to round the given strength to the nearest
125 * @param strength strength of the effect. The valid range for strength strength is [0, 1000]
221 public short strength; field in class:BassBoost.Settings
    [all...]
Virtualizer.java 58 * Is strength parameter supported by virtualizer engine. Parameter ID for getParameter().
62 * Virtualizer effect strength. Parameter ID for
68 * Indicates if strength parameter is supported by the virtualizer 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 virtualizer 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:Virtualizer.Settings
    [all...]
  /external/chromium/third_party/icu/source/i18n/
ucol_bld.cpp 169 uint32_t strength)
181 CE &= strengthMask[strength];
182 contCE &= strengthMask[strength];
187 while((*nextCE & strengthMask[strength]) == CE
188 && (*nextContCE & strengthMask[strength]) == contCE)
200 uint32_t strength)
212 CE &= strengthMask[strength];
213 contCE &= strengthMask[strength];
218 while((*prevCE & strengthMask[strength]) == CE
219 && (*prevContCE & strengthMask[strength])== contC
474 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:__anon2898
172 uint32_t strength);
176 uint32_t strength);
  /external/icu4c/i18n/
ucol_bld.cpp 169 uint32_t strength)
181 CE &= strengthMask[strength];
182 contCE &= strengthMask[strength];
187 while((*nextCE & strengthMask[strength]) == CE
188 && (*nextContCE & strengthMask[strength]) == contCE)
200 uint32_t strength)
212 CE &= strengthMask[strength];
213 contCE &= strengthMask[strength];
218 while((*prevCE & strengthMask[strength]) == CE
219 && (*prevContCE & strengthMask[strength])== contC
474 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:__anon3917
173 uint32_t strength);
177 uint32_t strength);
  /libcore/luni/src/main/java/com/ibm/icu4jni/text/
RuleBasedCollator.java 272 * @param strength collation strength
282 public RuleBasedCollator(String rules, int strength) throws ParseException {
286 m_collator_ = NativeCollation.openCollatorFromRules(rules, CollationAttribute.VALUE_OFF, strength);
300 * @param strength collation strength
312 public RuleBasedCollator(String rules, int normalizationMode, int strength) {
316 m_collator_ = NativeCollation.openCollatorFromRules(rules, normalizationMode, strength);
380 * Determines the minimum strength that will be use in comparison or
383 * E.g. with strength == CollationAttribute.VALUE_SECONDARY, the tertiary differenc
    [all...]
  /hardware/broadcom/wlan/bcm4329/src/shared/
hndpmu.c 44 /* SDIO Pad drive strength to select value mappings */
46 uint8 strength; /* Pad Drive Strength in mA */ member in struct:__anon9474
50 /* SDIO Drive Strength to sel value table for PMU Rev 1 */
57 /* SDIO Drive Strength to sel value table for PMU Rev 2, 3 */
100 PMU_MSG(("No SDIO Drive strength init done for chip %x rev %d pmurev %d\n",
111 for (i = 0; str_tab[i].strength != 0; i ++) {
112 if (drivestrength >= str_tab[i].strength) {
125 PMU_MSG(("SDIO: %dmA drive strength selected, set to 0x%08x\n",

Completed in 500 milliseconds

1 2 3 4 5