Home
last modified time | relevance | path

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

12345

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DAlgorithmParameterGeneratorSpi.java20 protected int strength = 1024; field in AlgorithmParameterGeneratorSpi
24 int strength, in engineInit() argument
27 if (strength < 512 || strength > 3072) in engineInit()
32 if (strength <= 1024 && strength % 64 != 0) in engineInit()
37 if (strength > 1024 && strength % 1024 != 0) in engineInit()
42 this.strength = strength; in engineInit()
58 if (strength <= 1024) in engineGenerateParameters()
72 if (strength == 1024) in engineGenerateParameters()
77 else if (strength > 1024) in engineGenerateParameters()
79 params = new DSAParameterGenerationParameters(strength, 256, 80, random); in engineGenerateParameters()
[all …]
DKeyPairGeneratorSpi.java23 int strength = 1024; field in KeyPairGeneratorSpi
34 int strength, in initialize() argument
37 …if (strength < 512 || strength > 4096 || ((strength < 1024) && strength % 64 != 0) || (strength >=… in initialize()
42 this.strength = strength; in initialize()
69 pGen.init(strength, certainty, random); in generateKeyPair()
/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.java40 int strength = param.getStrength(); in generateKeyPair() local
41 int pbitlength = (strength + 1) / 2; in generateKeyPair()
42 int qbitlength = strength - pbitlength; in generateKeyPair()
43 int mindiffbits = strength / 3; in generateKeyPair()
44 int minWeight = strength >> 2; in generateKeyPair()
72 if (n.bitLength() != strength) in generateKeyPair()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationBuilder.java105 void addReset(int strength, CharSequence str) { in addReset() argument
120 if(strength == Collator.IDENTICAL) { return; } // simple reset-at-position in addReset()
123 assert(Collator.PRIMARY <= strength && strength <= Collator.TERTIARY); in addReset()
124 int index = findOrInsertNodeForCEs(strength); in addReset()
129 while(strengthFromNode(node) > strength) { in addReset()
135 if(strengthFromNode(node) == strength && isTailoredNode(node)) { in addReset()
138 } else if(strength == Collator.PRIMARY) { in addReset()
168 if(strength >= Collator.TERTIARY) { in addReset()
174 if(strengthFromNode(node) == strength) { in addReset()
179 (strength == Collator.SECONDARY) ? in addReset()
[all …]
DCollationRuleParser.java67 abstract void addReset(int strength, CharSequence str); in addReset() argument
71 abstract void addRelation(int strength, CharSequence prefix, in addRelation() argument
180 int strength = result & STRENGTH_MASK; in parseRuleChain() local
184 if(strength != resetStrength) { in parseRuleChain()
189 if(strength < resetStrength) { in parseRuleChain()
197 parseRelationStrings(strength, i); in parseRuleChain()
199 parseStarredCharacters(strength, i); in parseRuleChain()
244 int strength; in parseRelationOperator() local
255 strength = Collator.QUATERNARY; in parseRelationOperator()
257 strength = Collator.TERTIARY; in parseRelationOperator()
[all …]
/external/icu/icu4c/source/i18n/
Dcollationbuilder.cpp104 RuleBasedCollator::RuleBasedCollator(const UnicodeString &rules, ECollationStrength strength, in RuleBasedCollator() argument
113 internalBuildTailoring(rules, strength, UCOL_DEFAULT, NULL, NULL, errorCode); in RuleBasedCollator()
130 ECollationStrength strength, in RuleBasedCollator() argument
140 internalBuildTailoring(rules, strength, decompositionMode, NULL, NULL, errorCode); in RuleBasedCollator()
158 int32_t strength, in internalBuildTailoring() argument
182 if(strength != UCOL_DEFAULT) { in internalBuildTailoring()
183 setAttribute(UCOL_STRENGTH, (UColAttributeValue)strength, errorCode); in internalBuildTailoring()
292 CollationBuilder::addReset(int32_t strength, const UnicodeString &str, in addReset() argument
315 if(strength == UCOL_IDENTICAL) { return; } // simple reset-at-position in addReset()
318 U_ASSERT(UCOL_PRIMARY <= strength && strength <= UCOL_TERTIARY); in addReset()
[all …]
Dcollationbuilder.h57 virtual void addReset(int32_t strength, const UnicodeString &str,
69 virtual void addRelation(int32_t strength, const UnicodeString &prefix,
77 int32_t findOrInsertNodeForCEs(int32_t strength, const char *&parserErrorReason,
79 int32_t findOrInsertNodeForRootCE(int64_t ce, int32_t strength, UErrorCode &errorCode);
92 int32_t insertTailoredNodeAfter(int32_t index, int32_t strength, UErrorCode &errorCode);
109 int32_t findCommonNode(int32_t index, int32_t strength) const;
162 static int32_t countTailoredNodes(const int64_t *nodesArray, int32_t i, int32_t strength);
180 static inline int64_t tempCEFromIndexAndStrength(int32_t index, int32_t strength) { in tempCEFromIndexAndStrength() argument
191 (strength << 8); in tempCEFromIndexAndStrength()
253 static inline int64_t nodeFromStrength(int32_t strength) { in nodeFromStrength() argument
[all …]
Dcollationruleparser.cpp144 int32_t strength = result & STRENGTH_MASK; in parseRuleChain() local
148 if(strength != resetStrength) { in parseRuleChain()
153 if(strength < resetStrength) { in parseRuleChain()
161 parseRelationStrings(strength, i, errorCode); in parseRuleChain()
163 parseStarredCharacters(strength, i, errorCode); in parseRuleChain()
210 int32_t strength; in parseRelationOperator() local
221 strength = UCOL_QUATERNARY; in parseRelationOperator()
223 strength = UCOL_TERTIARY; in parseRelationOperator()
226 strength = UCOL_SECONDARY; in parseRelationOperator()
229 strength = UCOL_PRIMARY; in parseRelationOperator()
[all …]
/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/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/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/libvpx/libvpx/vp9/encoder/
Dvp9_temporal_filter.c126 int strength, in vp9_temporal_filter_apply_c() argument
133 const int rounding = strength > 0 ? 1 << (strength - 1) : 0; in vp9_temporal_filter_apply_c()
147 modifier >>= strength; in vp9_temporal_filter_apply_c()
171 int strength, in vp9_highbd_temporal_filter_apply_c() argument
180 const int rounding = strength > 0 ? 1 << (strength - 1) : 0; in vp9_highbd_temporal_filter_apply_c()
194 modifier >>= strength; in vp9_highbd_temporal_filter_apply_c()
274 int strength, in temporal_filter_iterate_c() argument
381 int adj_strength = strength + 2 * (mbd->bd - 8); in temporal_filter_iterate_c()
403 strength, filter_weight, in temporal_filter_iterate_c()
407 mb_uv_width, mb_uv_height, strength, in temporal_filter_iterate_c()
[all …]
/external/mesa3d/include/VG/
Dvgext.h144 …NTRY vgParametricFilterKHR(VGImage dst,VGImage src,VGImage blur,VGfloat strength,VGfloat offsetX,V…
145 …mage dst,VGImage src,VGfloat dimX,VGfloat dimY,VGuint iterative,VGfloat strength,VGfloat distance,…
146 …mage dst,VGImage src,VGfloat dimX,VGfloat dimY,VGuint iterative,VGfloat strength,VGbitfield filter…
147 …mage dst,VGImage src,VGfloat dimX,VGfloat dimY,VGuint iterative,VGfloat strength,VGfloat distance,…
148 …mage dst,VGImage src,VGfloat dimX,VGfloat dimY,VGuint iterative,VGfloat strength,VGfloat distance,…
149 …mage dst,VGImage src,VGfloat dimX,VGfloat dimY,VGuint iterative,VGfloat strength,VGfloat distance,…
151 …GPARAMETRICFILTERKHRPROC) (VGImage dst,VGImage src,VGImage blur,VGfloat strength,VGfloat offsetX,V…
152 …mage dst,VGImage src,VGfloat dimX,VGfloat dimY,VGuint iterative,VGfloat strength,VGfloat distance,…
153 …mage dst,VGImage src,VGfloat dimX,VGfloat dimY,VGuint iterative,VGfloat strength,VGbitfield filter…
154 …mage dst,VGImage src,VGfloat dimX,VGfloat dimY,VGuint iterative,VGfloat strength,VGfloat distance,…
[all …]
/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/libvpx/libvpx/vp9/encoder/x86/
Dvp9_temporal_filter_apply_sse2.asm20 ; int strength, | 5
37 %define strength 32
51 movdqa [rsp + strength], xmm6 ; where strength is used, all 16 bytes are read
54 ; 0x8000 >> (16 - strength)
56 sub rdx, arg(5) ; 16 - strength
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DCollatorICU.java91 int strength; in getStrength() local
95 strength = java.text.Collator.IDENTICAL; in getStrength()
98 strength = java.text.Collator.PRIMARY; in getStrength()
101 strength = java.text.Collator.SECONDARY; in getStrength()
104 strength = java.text.Collator.TERTIARY; in getStrength()
109 strength = java.text.Collator.TERTIARY; in getStrength()
114 return strength; in getStrength()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseAlgorithmParameterGenerator.java18 protected int strength = 1024; field in BaseAlgorithmParameterGenerator
31 int strength, in engineInit() argument
34 this.strength = strength; in engineInit()
/external/libvpx/libvpx/vp8/encoder/mips/msa/
Dtemporal_filter_msa.c27 v4i32 const3, const16, filter_wt, strength; in temporal_filter_apply_16size_msa() local
34 strength = __msa_fill_w(strength_in); in temporal_filter_apply_16size_msa()
57 SRAR_W4_SW(mod0_w, mod1_w, mod2_w, mod3_w, strength); in temporal_filter_apply_16size_msa()
95 SRAR_W4_SW(mod0_w, mod1_w, mod2_w, mod3_w, strength); in temporal_filter_apply_16size_msa()
145 v4i32 filter_wt, strength; in temporal_filter_apply_8size_msa() local
152 strength = __msa_fill_w(strength_in); in temporal_filter_apply_8size_msa()
182 SRAR_W4_SW(mod0_w, mod1_w, mod2_w, mod3_w, strength); in temporal_filter_apply_8size_msa()
222 SRAR_W4_SW(mod0_w, mod1_w, mod2_w, mod3_w, strength); in temporal_filter_apply_8size_msa()
255 int32_t strength, int32_t filter_weight, in vp8_temporal_filter_apply_msa() argument
260 temporal_filter_apply_8size_msa(frame1, stride, frame2, strength, in vp8_temporal_filter_apply_msa()
[all …]
/external/libvpx/libvpx/vp8/encoder/
Dtemporal_filter.c92 int strength, in vp8_temporal_filter_apply_c() argument
101 const int rounding = strength > 0 ? 1 << (strength - 1) : 0; in vp8_temporal_filter_apply_c()
119 modifier >>= strength; in vp8_temporal_filter_apply_c()
230 int strength in vp8_temporal_filter_iterate_c() argument
339 strength, in vp8_temporal_filter_iterate_c()
349 strength, in vp8_temporal_filter_iterate_c()
359 strength, in vp8_temporal_filter_iterate_c()
445 int strength = cpi->oxcf.arnr_strength; in vp8_temporal_filter_prepare_c() local
519 strength ); in vp8_temporal_filter_prepare_c()
/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()

12345