Searched refs:strength (Results 1 - 25 of 144) sorted by relevance

123456

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
H A DKeyGenerationParameters.java11 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;
20 KeyGenerationParameters( SecureRandom random, int strength) argument
H A DCipherKeyGenerator.java11 protected int strength; field in class:CipherKeyGenerator
22 this.strength = (param.getStrength() + 7) / 8;
32 byte[] key = new byte[strength];
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
H A DBaseAlgorithmParameterGenerator.java10 protected int strength = 1024; field in class:BaseAlgorithmParameterGenerator
13 int strength,
16 this.strength = strength;
12 engineInit( int strength, SecureRandom random) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
H A DDESedeKeyGenerator.java10 * 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 !
[all...]
H A DDESKeyGenerator.java11 * 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)
H A DRSAKeyPairGenerator.java33 // p and q values should have a length of half the strength in bits
35 int strength = param.getStrength();
36 int pbitlength = (strength + 1) / 2;
37 int qbitlength = strength - pbitlength;
38 int mindiffbits = strength / 3;
/external/chromium_org/third_party/libwebp/utils/
H A Dquant_levels_dec.h29 int strength);
/external/webp/src/utils/
H A Dquant_levels_dec.h29 int strength);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
H A DAlgorithmParameterGeneratorSpi.java20 protected int strength = 1024; field in class:AlgorithmParameterGeneratorSpi
24 int strength,
27 if (strength < 512 || strength > 3072)
29 throw new InvalidParameterException("strength must be from 512 - 3072");
32 if (strength <= 1024 && strength % 64 != 0)
34 throw new InvalidParameterException("strength must be a multiple of 64 below 1024 bits.");
37 if (strength > 1024 && strength
23 engineInit( int strength, SecureRandom random) argument
[all...]
H A DKeyPairGeneratorSpi.java23 int strength = 1024; field in class:KeyPairGeneratorSpi
34 int strength,
37 if (strength < 512 || strength > 1024 || strength % 64 != 0)
39 throw new InvalidParameterException("strength must be from 512 - 1024 and a multiple of 64");
42 this.strength = strength;
69 pGen.init(strength, certainty, random);
33 initialize( int strength, SecureRandom random) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
H A DAlgorithmParameterGeneratorSpi.java19 protected int strength = 1024; field in class:AlgorithmParameterGeneratorSpi
24 int strength,
27 this.strength = strength;
42 this.strength = spec.getPrimeSize();
53 pGen.init(strength, 20, random);
57 pGen.init(strength, 20, new SecureRandom());
23 engineInit( int strength, SecureRandom random) argument
H A DKeyPairGeneratorSpi.java29 int strength = 1024; field in class:KeyPairGeneratorSpi
40 int strength,
43 this.strength = strength;
68 Integer paramStrength = Integers.valueOf(strength);
76 DHParameterSpec dhParams = BouncyCastleProvider.CONFIGURATION.getDHDefaultParameters(strength);
97 pGen.init(strength, certainty, random);
39 initialize( int strength, SecureRandom random) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
H A DRSAKeyGenerationParameters.java17 int strength,
20 super(random, strength);
22 if (strength < 12)
24 throw new IllegalArgumentException("key strength too small");
14 RSAKeyGenerationParameters( BigInteger publicExponent, SecureRandom random, int strength, int certainty) argument
/external/icu/icu4c/source/i18n/
H A Dcollationbuilder.cpp108 RuleBasedCollator::RuleBasedCollator(const UnicodeString &rules, ECollationStrength strength, argument
116 internalBuildTailoring(rules, strength, UCOL_DEFAULT, NULL, NULL, errorCode);
132 ECollationStrength strength,
141 internalBuildTailoring(rules, strength, decompositionMode, NULL, NULL, errorCode);
158 int32_t strength,
182 if(strength != UCOL_DEFAULT) {
183 setAttribute(UCOL_STRENGTH, (UColAttributeValue)strength, errorCode);
285 CollationBuilder::addReset(int32_t strength, const UnicodeString &str, argument
308 if(strength == UCOL_IDENTICAL) { return; } // simple reset-at-position
310 // &[before strength]positio
131 RuleBasedCollator(const UnicodeString &rules, ECollationStrength strength, UColAttributeValue decompositionMode, UErrorCode &errorCode) argument
157 internalBuildTailoring(const UnicodeString &rules, int32_t strength, UColAttributeValue decompositionMode, UParseError *outParseError, UnicodeString *outReason, UErrorCode &errorCode) argument
476 int32_t strength = UCOL_PRIMARY; local
641 addRelation(int32_t strength, const UnicodeString &prefix, const UnicodeString &str, const UnicodeString &extension, const char *&parserErrorReason, UErrorCode &errorCode) argument
756 findOrInsertNodeForCEs(int32_t strength, const char *&parserErrorReason, UErrorCode &errorCode) argument
791 findOrInsertNodeForRootCE(int64_t ce, int32_t strength, UErrorCode &errorCode) argument
906 insertTailoredNodeAfter(int32_t index, int32_t strength, UErrorCode &errorCode) argument
1030 int32_t strength = ceStrength(ce); local
1377 int32_t strength = strengthFromNode(node); local
1520 countTailoredNodes(const int64_t *nodesArray, int32_t i, int32_t strength) argument
1597 ucol_openRules(const UChar *rules, int32_t rulesLength, UColAttributeValue normalizationMode, UCollationStrength strength, UParseError *parseError, UErrorCode *pErrorCode) argument
[all...]
H A Dcollationbuilder.h57 virtual void addReset(int32_t strength, const UnicodeString &str,
64 virtual void addRelation(int32_t strength, const UnicodeString &prefix,
70 * for the CE + strength.
72 int32_t findOrInsertNodeForCEs(int32_t strength, const char *&parserErrorReason,
74 int32_t findOrInsertNodeForRootCE(int64_t ce, int32_t strength, UErrorCode &errorCode);
83 * Skips over nodes of weaker strength to maintain collation order
87 int32_t insertTailoredNodeAfter(int32_t index, int32_t strength, UErrorCode &errorCode);
98 * Finds the node which implies or contains a common=05 weight of the given strength
102 * Always returns the input index if that node is no stronger than the given strength.
104 int32_t findCommonNode(int32_t index, int32_t strength) cons
175 tempCEFromIndexAndStrength(int32_t index, int32_t strength) argument
253 nodeFromStrength(int32_t strength) argument
[all...]
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v4/
H A Dv8-deltablue.js91 * New strengths may be inserted in the strength hierarchy without
143 * a strength instance variable; concrete subclasses provide a means
147 function Constraint(strength) {
148 this.strength = strength;
169 if (this.strength == Strength.REQUIRED)
206 function UnaryConstraint(v, strength) {
207 UnaryConstraint.superConstructor.call(this, strength);
229 && Strength.stronger(this.strength, this.myOutput.walkStrength);
251 * Calculate the walkabout strength, th
[all...]
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v5/
H A Dv8-deltablue.js91 * New strengths may be inserted in the strength hierarchy without
143 * a strength instance variable; concrete subclasses provide a means
147 function Constraint(strength) {
148 this.strength = strength;
169 if (this.strength == Strength.REQUIRED)
206 function UnaryConstraint(v, strength) {
207 UnaryConstraint.superConstructor.call(this, strength);
229 && Strength.stronger(this.strength, this.myOutput.walkStrength);
251 * Calculate the walkabout strength, th
[all...]
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v6/
H A Dv8-deltablue.js91 * New strengths may be inserted in the strength hierarchy without
143 * a strength instance variable; concrete subclasses provide a means
147 function Constraint(strength) {
148 this.strength = strength;
169 if (this.strength == Strength.REQUIRED)
206 function UnaryConstraint(v, strength) {
207 UnaryConstraint.superConstructor.call(this, strength);
229 && Strength.stronger(this.strength, this.myOutput.walkStrength);
251 * Calculate the walkabout strength, th
[all...]
/external/chromium_org/v8/benchmarks/
H A Ddeltablue.js97 * New strengths may be inserted in the strength hierarchy without
149 * a strength instance variable; concrete subclasses provide a means
153 function Constraint(strength) {
154 this.strength = strength;
175 if (this.strength == Strength.REQUIRED)
212 function UnaryConstraint(v, strength) {
213 UnaryConstraint.superConstructor.call(this, strength);
235 && Strength.stronger(this.strength, this.myOutput.walkStrength);
257 * Calculate the walkabout strength, th
[all...]
/external/chromium_org/third_party/mesa/src/include/VG/
H A Dvgext.h144 VG_API_CALL void VG_API_ENTRY vgParametricFilterKHR(VGImage dst,VGImage src,VGImage blur,VGfloat strength,VGfloat offsetX,VGfloat offsetY,VGbitfield filterFlags,VGPaint highlightPaint,VGPaint shadowPaint);
145 VGU_API_CALL VGUErrorCode VGU_API_ENTRY vguDropShadowKHR(VGImage dst,VGImage src,VGfloat dimX,VGfloat dimY,VGuint iterative,VGfloat strength,VGfloat distance,VGfloat angle,VGbitfield filterFlags,VGbitfield allowedQuality,VGuint shadowColorRGBA);
146 VGU_API_CALL VGUErrorCode VGU_API_ENTRY vguGlowKHR(VGImage dst,VGImage src,VGfloat dimX,VGfloat dimY,VGuint iterative,VGfloat strength,VGbitfield filterFlags,VGbitfield allowedQuality,VGuint glowColorRGBA) ;
147 VGU_API_CALL VGUErrorCode VGU_API_ENTRY vguBevelKHR(VGImage dst,VGImage src,VGfloat dimX,VGfloat dimY,VGuint iterative,VGfloat strength,VGfloat distance,VGfloat angle,VGbitfield filterFlags,VGbitfield allowedQuality,VGuint highlightColorRGBA,VGuint shadowColorRGBA);
148 VGU_API_CALL VGUErrorCode VGU_API_ENTRY vguGradientGlowKHR(VGImage dst,VGImage src,VGfloat dimX,VGfloat dimY,VGuint iterative,VGfloat strength,VGfloat distance,VGfloat angle,VGbitfield filterFlags,VGbitfield allowedQuality,VGuint stopsCount,const VGfloat* glowColorRampStops);
149 VGU_API_CALL VGUErrorCode VGU_API_ENTRY vguGradientBevelKHR(VGImage dst,VGImage src,VGfloat dimX,VGfloat dimY,VGuint iterative,VGfloat strength,VGfloat distance,VGfloat angle,VGbitfield filterFlags,VGbitfield allowedQuality,VGuint stopsCount,const VGfloat* bevelColorRampStops);
151 typedef void (VG_API_ENTRYP PFNVGPARAMETRICFILTERKHRPROC) (VGImage dst,VGImage src,VGImage blur,VGfloat strength,VGfloat offsetX,VGfloat offsetY,VGbitfield filterFlags,VGPaint highlightPaint,VGPaint shadowPaint);
152 typedef VGUErrorCode (VGU_API_ENTRYP PFNVGUDROPSHADOWKHRPROC) (VGImage dst,VGImage src,VGfloat dimX,VGfloat dimY,VGuint iterative,VGfloat strength,VGfloat distance,VGfloat angle,VGbitfield filterFlags,VGbitfield allowedQuality,VGuint shadowColorRGBA);
153 typedef VGUErrorCode (VGU_API_ENTRYP PFNVGUGLOWKHRPROC) (VGImage dst,VGImage src,VGfloat dimX,VGfloat dimY,VGuint iterative,VGfloat strength,VGbitfield filterFlags,VGbitfield allowedQuality,VGuint glowColorRGBA);
154 typedef VGUErrorCode (VGU_API_ENTRYP PFNVGUBEVELKHRPROC) (VGImage dst,VGImage src,VGfloat dimX,VGfloat dimY,VGuint iterative,VGfloat strength,VGfloa
[all...]
/external/mesa3d/include/VG/
H A Dvgext.h144 VG_API_CALL void VG_API_ENTRY vgParametricFilterKHR(VGImage dst,VGImage src,VGImage blur,VGfloat strength,VGfloat offsetX,VGfloat offsetY,VGbitfield filterFlags,VGPaint highlightPaint,VGPaint shadowPaint);
145 VGU_API_CALL VGUErrorCode VGU_API_ENTRY vguDropShadowKHR(VGImage dst,VGImage src,VGfloat dimX,VGfloat dimY,VGuint iterative,VGfloat strength,VGfloat distance,VGfloat angle,VGbitfield filterFlags,VGbitfield allowedQuality,VGuint shadowColorRGBA);
146 VGU_API_CALL VGUErrorCode VGU_API_ENTRY vguGlowKHR(VGImage dst,VGImage src,VGfloat dimX,VGfloat dimY,VGuint iterative,VGfloat strength,VGbitfield filterFlags,VGbitfield allowedQuality,VGuint glowColorRGBA) ;
147 VGU_API_CALL VGUErrorCode VGU_API_ENTRY vguBevelKHR(VGImage dst,VGImage src,VGfloat dimX,VGfloat dimY,VGuint iterative,VGfloat strength,VGfloat distance,VGfloat angle,VGbitfield filterFlags,VGbitfield allowedQuality,VGuint highlightColorRGBA,VGuint shadowColorRGBA);
148 VGU_API_CALL VGUErrorCode VGU_API_ENTRY vguGradientGlowKHR(VGImage dst,VGImage src,VGfloat dimX,VGfloat dimY,VGuint iterative,VGfloat strength,VGfloat distance,VGfloat angle,VGbitfield filterFlags,VGbitfield allowedQuality,VGuint stopsCount,const VGfloat* glowColorRampStops);
149 VGU_API_CALL VGUErrorCode VGU_API_ENTRY vguGradientBevelKHR(VGImage dst,VGImage src,VGfloat dimX,VGfloat dimY,VGuint iterative,VGfloat strength,VGfloat distance,VGfloat angle,VGbitfield filterFlags,VGbitfield allowedQuality,VGuint stopsCount,const VGfloat* bevelColorRampStops);
151 typedef void (VG_API_ENTRYP PFNVGPARAMETRICFILTERKHRPROC) (VGImage dst,VGImage src,VGImage blur,VGfloat strength,VGfloat offsetX,VGfloat offsetY,VGbitfield filterFlags,VGPaint highlightPaint,VGPaint shadowPaint);
152 typedef VGUErrorCode (VGU_API_ENTRYP PFNVGUDROPSHADOWKHRPROC) (VGImage dst,VGImage src,VGfloat dimX,VGfloat dimY,VGuint iterative,VGfloat strength,VGfloat distance,VGfloat angle,VGbitfield filterFlags,VGbitfield allowedQuality,VGuint shadowColorRGBA);
153 typedef VGUErrorCode (VGU_API_ENTRYP PFNVGUGLOWKHRPROC) (VGImage dst,VGImage src,VGfloat dimX,VGfloat dimY,VGuint iterative,VGfloat strength,VGbitfield filterFlags,VGbitfield allowedQuality,VGuint glowColorRGBA);
154 typedef VGUErrorCode (VGU_API_ENTRYP PFNVGUBEVELKHRPROC) (VGImage dst,VGImage src,VGfloat dimX,VGfloat dimY,VGuint iterative,VGfloat strength,VGfloa
[all...]
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dssearch.h43 const char *name, const char *strength, uint32_t seed);
/external/icu/icu4c/source/test/intltest/
H A Dssearch.h43 const char *name, const char *strength, uint32_t seed);
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/x86/
H A 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
111 ; modifer += 0x8000 >> (16 - strength)
115 ; modifier >>= strength
116 psrlw xmm0, [rsp + strength]
117 psrlw xmm1, [rsp + strength]
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
H A Dvp9_temporal_filter.c97 int strength,
104 const int rounding = strength > 0 ? 1 << (strength - 1) : 0;
113 // float coeff = (3.0 * modifer * modifier) / pow(2, strength);
118 modifier >>= strength; local
197 int strength,
292 strength, filter_weight,
296 mb_uv_width, mb_uv_height, strength,
301 mb_uv_width, mb_uv_height, strength,
371 int q, frames, strength; local
92 vp9_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count) argument
193 temporal_filter_iterate_c(VP9_COMP *cpi, YV12_BUFFER_CONFIG **frames, int frame_count, int alt_ref_index, int strength, struct scale_factors *scale) argument
432 int strength; local
[all...]

Completed in 398 milliseconds

123456