Home
last modified time | relevance | path

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

12345

/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/
DJDKAlgorithmParameterGenerator.java37 protected int strength = 1024; field in JDKAlgorithmParameterGenerator
40 int strength, in engineInit() argument
43 this.strength = strength; in engineInit()
63 this.strength = spec.getPrimeSize(); in engineInit()
74 pGen.init(strength, 20, random); in engineGenerateParameters()
78 pGen.init(strength, 20, new SecureRandom()); in engineGenerateParameters()
103 int strength, in engineInit() argument
106 if (strength < 512 || strength > 1024 || strength % 64 != 0) in engineInit()
111 this.strength = strength; in engineInit()
129 pGen.init(strength, 20, random); in engineGenerateParameters()
[all …]
DJDKKeyPairGenerator.java64 public abstract void initialize(int strength, SecureRandom random); in initialize() argument
88 int strength, in initialize() argument
92 random, strength, defaultTests); in initialize()
133 int strength = 1024; field in JDKKeyPairGenerator.DH
144 int strength, in initialize() argument
147 this.strength = strength; in initialize()
173 Integer paramStrength = Integer.valueOf(strength); in generateKeyPair()
184 pGen.init(strength, certainty, random); in generateKeyPair()
210 int strength = 1024; field in JDKKeyPairGenerator.DSA
221 int strength, in initialize() argument
[all …]
/external/bouncycastle/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/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/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-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/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/icu4c/i18n/
Ducol_bld.cpp172 uint32_t strength) in ucol_inv_getNextCE() argument
184 CE &= strengthMask[strength]; in ucol_inv_getNextCE()
185 contCE &= strengthMask[strength]; in ucol_inv_getNextCE()
190 while((*nextCE & strengthMask[strength]) == CE in ucol_inv_getNextCE()
191 && (*nextContCE & strengthMask[strength]) == contCE) in ucol_inv_getNextCE()
203 uint32_t strength) in ucol_inv_getPrevCE() argument
215 CE &= strengthMask[strength]; in ucol_inv_getPrevCE()
216 contCE &= strengthMask[strength]; in ucol_inv_getPrevCE()
221 while((*prevCE & strengthMask[strength]) == CE in ucol_inv_getPrevCE()
222 && (*prevContCE & strengthMask[strength])== contCE in ucol_inv_getPrevCE()
[all …]
Ducol_tok.cpp262 opts->strength = value; in ucol_uprv_tok_setOptionInImage()
1295 newStrength = src->parsedToken.strength; in ucol_tok_parseNextTokenInternal()
1365 src->parsedToken.strength = newStrength; in ucol_tok_parseNextTokenInternal()
1508 sourceToken->strength = UCOL_TOK_RESET; in ucol_tok_initAReset()
1550 inline UColToken *getVirginBefore(UColTokenParser *src, UColToken *sourceToken, uint8_t strength, U… in getVirginBefore() argument
1617 invPos = ucol_inv_getPrevCE(src, baseCE, baseContCE, &CE, &SecondCE, strength); in getVirginBefore()
1623 if(ucol_getCEStrengthDifference(baseCE, baseContCE, CE, SecondCE) < strength) { in getVirginBefore()
1627 if(strength == UCOL_SECONDARY) { in getVirginBefore()
1633 if(strength == UCOL_SECONDARY) { in getVirginBefore()
1729 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/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/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/vp8/encoder/
Dtemporal_filter.c96 int strength, in vp8_temporal_filter_apply_c() argument
120 modifier += 1 << (strength - 1); in vp8_temporal_filter_apply_c()
121 modifier >>= strength; in vp8_temporal_filter_apply_c()
284 int strength in vp8_temporal_filter_iterate_c() argument
381 strength, in vp8_temporal_filter_iterate_c()
391 strength, in vp8_temporal_filter_iterate_c()
401 strength, in vp8_temporal_filter_iterate_c()
487 int strength = cpi->oxcf.arnr_strength; in vp8_temporal_filter_prepare_c() local
584 strength ); in vp8_temporal_filter_prepare_c()
/external/icu4c/i18n/unicode/
Dtblcoll.h902 const UCollationStrength &strength) const;
910 const Collator::ECollationStrength &strength) const;
954 const UCollationStrength &strength) const in getECollationStrength() argument
956 switch (strength) in getECollationStrength()
972 const Collator::ECollationStrength &strength) const in getUCollationStrength() argument
974 switch (strength) in getUCollationStrength()
/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/bluetooth/bluez/audio/
Dtelephony-dummy.c290 dbus_uint32_t strength; in signal_strength() local
292 if (!dbus_message_get_args(msg, NULL, DBUS_TYPE_UINT32, &strength, in signal_strength()
296 if (strength > 5) in signal_strength()
299 telephony_update_indicator(dummy_indicators, "signal", strength); in signal_strength()
301 DBG("telephony-dummy: signal strength set to %u", strength); in signal_strength()
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/asymmetric/ec/
DKeyPairGenerator.java52 int strength = 239; field in KeyPairGenerator.EC
88 int strength, in initialize() argument
91 this.strength = strength; in initialize()
100 this.ecParams = ecParameters.get(Integer.valueOf(strength)); in initialize()
/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]" }
/external/openssl/ssl/
Dtls_srp.c93 ctx->srp_ctx.strength = SRP_MINIMAL_N; in SSL_CTX_SRP_CTX_free()
125 s->srp_ctx.strength = SRP_MINIMAL_N; in SSL_SRP_CTX_free()
154 s->srp_ctx.strength = ctx->srp_ctx.strength; in SSL_SRP_CTX_init()
222 ctx->srp_ctx.strength = SRP_MINIMAL_N; in SSL_CTX_SRP_CTX_init()
414 if (BN_num_bits(s->srp_ctx.N) < s->srp_ctx.strength) in SRP_Calc_A_param()
476 int SSL_CTX_set_srp_strength(SSL_CTX *ctx, int strength) in SSL_CTX_set_srp_strength() argument
478 return tls1_ctx_ctrl(ctx, SSL_CTRL_SET_TLS_EXT_SRP_STRENGTH, strength, in SSL_CTX_set_srp_strength()

12345