Home
last modified time | relevance | path

Searched refs:strength (Results 1 – 25 of 108) sorted by relevance

12345

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DDESedeKeyGenerator.java22 this.strength = (param.getStrength() + 7) / 8; in init()
24 if (strength == 0 || strength == (168 / 8)) in init()
26 strength = DESedeParameters.DES_EDE_KEY_LENGTH; in init()
28 else if (strength == (112 / 8)) in init()
30 strength = 2 * DESedeParameters.DES_KEY_LENGTH; in init()
32 else if (strength != DESedeParameters.DES_EDE_KEY_LENGTH in init()
33 && strength != (2 * DESedeParameters.DES_KEY_LENGTH)) in init()
44 byte[] newKey = new byte[strength]; in generateKey()
DDESKeyGenerator.java22 if (strength == 0 || strength == (56 / 8)) in init()
24 strength = DESParameters.DES_KEY_LENGTH; in init()
26 else if (strength != DESParameters.DES_KEY_LENGTH) in init()
DRSAKeyPairGenerator.java35 int strength = param.getStrength(); in generateKeyPair() local
36 int pbitlength = (strength + 1) / 2; in generateKeyPair()
37 int qbitlength = strength - pbitlength; in generateKeyPair()
38 int mindiffbits = strength / 3; in generateKeyPair()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DAlgorithmParameterGeneratorSpi.java20 protected int strength = 1024; field in AlgorithmParameterGeneratorSpi
23 int strength, in engineInit() argument
26 if (strength < 512 || strength > 1024 || strength % 64 != 0) in engineInit()
31 this.strength = strength; in engineInit()
49 pGen.init(strength, 20, random); in engineGenerateParameters()
53 pGen.init(strength, 20, new SecureRandom()); in engineGenerateParameters()
DKeyPairGeneratorSpi.java23 int strength = 1024; field in KeyPairGeneratorSpi
34 int strength, in initialize() argument
37 if (strength < 512 || strength > 1024 || strength % 64 != 0) in initialize()
42 this.strength = strength; in initialize()
69 pGen.init(strength, certainty, random); in generateKeyPair()
/external/jmonkeyengine/engine/src/core-effects/com/jme3/post/filters/
DPosterizationFilter.java56 private float strength = 1.0f; field in PosterizationFilter
89 material.setFloat("Strength", strength); in initFilter()
120 public void setStrength(float strength) { in setStrength() argument
121 this.strength = strength; in setStrength()
123 material.setFloat("Strength", strength); in setStrength()
145 return strength; in getStrength()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
DAlgorithmParameterGeneratorSpi.java19 protected int strength = 1024; field in AlgorithmParameterGeneratorSpi
24 int strength, in engineInit() argument
27 this.strength = strength; in engineInit()
42 this.strength = spec.getPrimeSize(); in engineInit()
53 pGen.init(strength, 20, random); in engineGenerateParameters()
57 pGen.init(strength, 20, new SecureRandom()); in engineGenerateParameters()
DKeyPairGeneratorSpi.java29 int strength = 1024; field in KeyPairGeneratorSpi
40 int strength, in initialize() argument
43 this.strength = strength; in initialize()
68 Integer paramStrength = Integers.valueOf(strength); in generateKeyPair()
76 … DHParameterSpec dhParams = BouncyCastleProvider.CONFIGURATION.getDHDefaultParameters(strength); in generateKeyPair()
97 pGen.init(strength, certainty, random); in generateKeyPair()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
DKeyGenerationParameters.java11 private int strength; field in KeyGenerationParameters
22 int strength) in KeyGenerationParameters() argument
25 this.strength = strength; in KeyGenerationParameters()
46 return strength; in getStrength()
DCipherKeyGenerator.java11 protected int strength; field in CipherKeyGenerator
22 this.strength = (param.getStrength() + 7) / 8; in init()
32 byte[] key = new byte[strength]; in generateKey()
/external/webkit/PerformanceTests/SunSpider/tests/v8-v5/
Dv8-deltablue.js147 function Constraint(strength) { argument
148 this.strength = strength;
169 if (this.strength == Strength.REQUIRED)
206 function UnaryConstraint(v, strength) { argument
207 UnaryConstraint.superConstructor.call(this, strength);
229 && Strength.stronger(this.strength, this.myOutput.walkStrength);
256 this.myOutput.walkStrength = this.strength;
335 function BinaryConstraint(var1, var2, strength) { argument
336 BinaryConstraint.superConstructor.call(this, strength);
352 … this.direction = (this.v1.mark != mark && Strength.stronger(this.strength, this.v2.walkStrength))
[all …]
/external/webkit/PerformanceTests/SunSpider/tests/v8-v6/
Dv8-deltablue.js147 function Constraint(strength) { argument
148 this.strength = strength;
169 if (this.strength == Strength.REQUIRED)
206 function UnaryConstraint(v, strength) { argument
207 UnaryConstraint.superConstructor.call(this, strength);
229 && Strength.stronger(this.strength, this.myOutput.walkStrength);
256 this.myOutput.walkStrength = this.strength;
335 function BinaryConstraint(var1, var2, strength) { argument
336 BinaryConstraint.superConstructor.call(this, strength);
352 … this.direction = (this.v2.mark != mark && Strength.stronger(this.strength, this.v2.walkStrength))
[all …]
/external/webkit/PerformanceTests/SunSpider/tests/v8-v4/
Dv8-deltablue.js147 function Constraint(strength) { argument
148 this.strength = strength;
169 if (this.strength == Strength.REQUIRED)
206 function UnaryConstraint(v, strength) { argument
207 UnaryConstraint.superConstructor.call(this, strength);
229 && Strength.stronger(this.strength, this.myOutput.walkStrength);
256 this.myOutput.walkStrength = this.strength;
335 function BinaryConstraint(var1, var2, strength) { argument
336 BinaryConstraint.superConstructor.call(this, strength);
352 … this.direction = (this.v1.mark != mark && Strength.stronger(this.strength, this.v2.walkStrength))
[all …]
/external/v8/benchmarks/
Ddeltablue.js153 function Constraint(strength) { argument
154 this.strength = strength;
175 if (this.strength == Strength.REQUIRED)
212 function UnaryConstraint(v, strength) { argument
213 UnaryConstraint.superConstructor.call(this, strength);
235 && Strength.stronger(this.strength, this.myOutput.walkStrength);
262 this.myOutput.walkStrength = this.strength;
341 function BinaryConstraint(var1, var2, strength) { argument
342 BinaryConstraint.superConstructor.call(this, strength);
358 … this.direction = (this.v2.mark != mark && Strength.stronger(this.strength, this.v2.walkStrength))
[all …]
/external/icu4c/i18n/
Ducol_bld.cpp175 uint32_t strength) in ucol_inv_getNextCE() argument
187 CE &= strengthMask[strength]; in ucol_inv_getNextCE()
188 contCE &= strengthMask[strength]; in ucol_inv_getNextCE()
193 while((*nextCE & strengthMask[strength]) == CE in ucol_inv_getNextCE()
194 && (*nextContCE & strengthMask[strength]) == contCE) in ucol_inv_getNextCE()
206 uint32_t strength) in ucol_inv_getPrevCE() argument
218 CE &= strengthMask[strength]; in ucol_inv_getPrevCE()
219 contCE &= strengthMask[strength]; in ucol_inv_getPrevCE()
224 while((*prevCE & strengthMask[strength]) == CE in ucol_inv_getPrevCE()
225 && (*prevContCE & strengthMask[strength])== contCE in ucol_inv_getPrevCE()
[all …]
Ducol_tok.cpp256 opts->strength = value; in ucol_uprv_tok_setOptionInImage()
1289 newStrength = src->parsedToken.strength; in ucol_tok_parseNextTokenInternal()
1359 src->parsedToken.strength = newStrength; in ucol_tok_parseNextTokenInternal()
1502 sourceToken->strength = UCOL_TOK_RESET; in ucol_tok_initAReset()
1544 inline UColToken *getVirginBefore(UColTokenParser *src, UColToken *sourceToken, uint8_t strength, U… in getVirginBefore() argument
1611 /* invPos = */ ucol_inv_getPrevCE(src, baseCE, baseContCE, &CE, &SecondCE, strength); in getVirginBefore()
1617 if(ucol_getCEStrengthDifference(baseCE, baseContCE, CE, SecondCE) < strength) { in getVirginBefore()
1621 if(strength == UCOL_SECONDARY) { in getVirginBefore()
1627 if(strength == UCOL_SECONDARY) { in getVirginBefore()
1723 src->parsedToken.strength = UCOL_TOK_UNSET; in ucol_tok_assembleTokenList()
[all …]
Ducol_tok.h79 uint32_t strength; member
95 uint32_t strength; member
196 uint32_t strength);
200 uint32_t strength);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseAlgorithmParameterGenerator.java10 protected int strength = 1024; field in BaseAlgorithmParameterGenerator
13 int strength, in engineInit() argument
16 this.strength = strength; in engineInit()
/external/libvpx/libvpx/vp8/encoder/x86/
Dtemporal_filter_apply_sse2.asm19 ; 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
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DRSAKeyGenerationParameters.java17 int strength, in RSAKeyGenerationParameters() argument
20 super(random, strength); in RSAKeyGenerationParameters()
22 if (strength < 12) in RSAKeyGenerationParameters()
/external/libvpx/libvpx/vp8/encoder/
Dtemporal_filter.c93 int strength, in vp8_temporal_filter_apply_c() argument
118 modifier += 1 << (strength - 1); in vp8_temporal_filter_apply_c()
119 modifier >>= strength; in vp8_temporal_filter_apply_c()
228 int strength in vp8_temporal_filter_iterate_c() argument
337 strength, in vp8_temporal_filter_iterate_c()
347 strength, in vp8_temporal_filter_iterate_c()
357 strength, in vp8_temporal_filter_iterate_c()
443 int strength = cpi->oxcf.arnr_strength; in vp8_temporal_filter_prepare_c() local
517 strength ); in vp8_temporal_filter_prepare_c()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
DKeyPairGeneratorSpi.java49 int strength = 239; field in KeyPairGeneratorSpi.EC
87 int strength, in initialize() argument
90 this.strength = strength; in initialize()
98 … ECGenParameterSpec ecParams = (ECGenParameterSpec)ecParameters.get(Integers.valueOf(strength)); in initialize()
252 initialize(strength, new SecureRandom()); in generateKeyPair()
/external/speex/libspeex/
Dscal.c137 …void speex_decorrelate(SpeexDecorrState *st, const spx_int16_t *in, spx_int16_t *out, int strength) in speex_decorrelate() argument
142 if (strength<0) in speex_decorrelate()
143 strength = 0; in speex_decorrelate()
144 if (strength>100) in speex_decorrelate()
145 strength = 100; in speex_decorrelate()
147 amount = .01*strength; in speex_decorrelate()
/external/icu4c/test/intltest/
Dssearch.h52 const char *name, const char *strength, uint32_t seed);
56 const char *name, const char *strength, uint32_t seed);
/external/icu4c/test/testdata/
DDataDrivenCollationTest.txt23 Description { "Testing the primary strength." }
28 Arguments { "[strength 1]" }
152 Arguments { "[alternate shifted][strength 4]" }
185 Arguments { "[alternate non-ignorable][strength 3]" }
282 Description { "This test goes through primary strength cases" }
287 Arguments { "[strength 1]" }
298 Description { "This test goes through tertiary strength cases" }
303 Arguments { "[strength 3]" }
528 Arguments { "[strength 3]" }

12345