Home
last modified time | relevance | path

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

12345678

/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 > 1024 || strength % 64 != 0) 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()
/external/icu/icu4c/source/i18n/
Dcollationbuilder.cpp108 RuleBasedCollator::RuleBasedCollator(const UnicodeString &rules, ECollationStrength strength, in RuleBasedCollator() argument
116 internalBuildTailoring(rules, strength, UCOL_DEFAULT, NULL, NULL, errorCode); in RuleBasedCollator()
132 ECollationStrength strength, in RuleBasedCollator() argument
141 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()
285 CollationBuilder::addReset(int32_t strength, const UnicodeString &str, in addReset() argument
308 if(strength == UCOL_IDENTICAL) { return; } // simple reset-at-position in addReset()
311 U_ASSERT(UCOL_PRIMARY <= strength && strength <= UCOL_TERTIARY); in addReset()
[all …]
Dcollationbuilder.h57 virtual void addReset(int32_t strength, const UnicodeString &str,
64 virtual void addRelation(int32_t strength, const UnicodeString &prefix,
72 int32_t findOrInsertNodeForCEs(int32_t strength, const char *&parserErrorReason,
74 int32_t findOrInsertNodeForRootCE(int64_t ce, int32_t strength, UErrorCode &errorCode);
87 int32_t insertTailoredNodeAfter(int32_t index, int32_t strength, UErrorCode &errorCode);
104 int32_t findCommonNode(int32_t index, int32_t strength) const;
157 static int32_t countTailoredNodes(const int64_t *nodesArray, int32_t i, int32_t strength);
175 static inline int64_t tempCEFromIndexAndStrength(int32_t index, int32_t strength) { in tempCEFromIndexAndStrength() argument
186 (strength << 8); in tempCEFromIndexAndStrength()
253 static inline int64_t nodeFromStrength(int32_t strength) { in nodeFromStrength() argument
[all …]
Dcollationruleparser.cpp146 int32_t strength = result & STRENGTH_MASK; in parseRuleChain() local
150 if(strength != resetStrength) { in parseRuleChain()
155 if(strength < resetStrength) { in parseRuleChain()
163 parseRelationStrings(strength, i, errorCode); in parseRuleChain()
165 parseStarredCharacters(strength, i, errorCode); in parseRuleChain()
212 int32_t strength; in parseRelationOperator() local
223 strength = UCOL_QUATERNARY; in parseRelationOperator()
225 strength = UCOL_TERTIARY; in parseRelationOperator()
228 strength = UCOL_SECONDARY; in parseRelationOperator()
231 strength = UCOL_PRIMARY; in parseRelationOperator()
[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/chromium_org/third_party/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/chromium_org/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/chromium_org/third_party/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/chromium_org/third_party/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/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
Dvp9_temporal_filter.c97 int strength, in vp9_temporal_filter_apply_c() argument
104 const int rounding = strength > 0 ? 1 << (strength - 1) : 0; in vp9_temporal_filter_apply_c()
118 modifier >>= strength; in vp9_temporal_filter_apply_c()
197 int strength, in temporal_filter_iterate_c() argument
292 strength, filter_weight, in temporal_filter_iterate_c()
296 mb_uv_width, mb_uv_height, strength, in temporal_filter_iterate_c()
301 mb_uv_width, mb_uv_height, strength, in temporal_filter_iterate_c()
371 int q, frames, strength; in adjust_arnr_filter() local
397 strength = oxcf->arnr_strength; in adjust_arnr_filter()
399 strength = oxcf->arnr_strength - ((16 - q) / 2); in adjust_arnr_filter()
[all …]
/external/chromium_org/third_party/icu/source/i18n/
Ducol_bld.cpp173 uint32_t strength) in ucol_inv_getNextCE() argument
185 CE &= strengthMask[strength]; in ucol_inv_getNextCE()
186 contCE &= strengthMask[strength]; in ucol_inv_getNextCE()
191 while((*nextCE & strengthMask[strength]) == CE in ucol_inv_getNextCE()
192 && (*nextContCE & strengthMask[strength]) == contCE) in ucol_inv_getNextCE()
204 uint32_t strength) in ucol_inv_getPrevCE() argument
216 CE &= strengthMask[strength]; in ucol_inv_getPrevCE()
217 contCE &= strengthMask[strength]; in ucol_inv_getPrevCE()
222 while((*prevCE & strengthMask[strength]) == CE in ucol_inv_getPrevCE()
223 && (*prevContCE & strengthMask[strength])== contCE in ucol_inv_getPrevCE()
[all …]
/external/chromium_org/third_party/mesa/src/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/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/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/chromium_org/third_party/libvpx/source/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/chromium_org/third_party/libvpx/source/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/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.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()

12345678