Home
last modified time | relevance | path

Searched refs:iterationCount (Results 1 – 25 of 26) sorted by relevance

12

/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DPBEKeySpecTest.java68 int iterationCount = 10; in testPBEKeySpec2() local
73 iterationCount, keyLength); in testPBEKeySpec2()
83 new PBEKeySpec(password, null, iterationCount, keyLength); in testPBEKeySpec2()
92 new PBEKeySpec(password, new byte [0], iterationCount, keyLength); in testPBEKeySpec2()
106 new PBEKeySpec(password, salt, iterationCount, -1); in testPBEKeySpec2()
120 new PBEKeySpec(password, salt, iterationCount, 0); in testPBEKeySpec2()
127 iterationCount, keyLength); in testPBEKeySpec2()
147 int iterationCount = 10; in testPBEKeySpec3() local
150 PBEKeySpec pbeks = new PBEKeySpec(null, salt, iterationCount); in testPBEKeySpec3()
160 new PBEKeySpec(password, null, iterationCount); in testPBEKeySpec3()
[all …]
DPBEParameterSpecTest.java44 int iterationCount = 10; in testPBEParameterSpec() local
47 new PBEParameterSpec(null, iterationCount); in testPBEParameterSpec()
53 PBEParameterSpec pbeps = new PBEParameterSpec(salt, iterationCount); in testPBEParameterSpec()
67 int iterationCount = 10; in testGetSalt() local
68 PBEParameterSpec pbeps = new PBEParameterSpec(salt, iterationCount); in testGetSalt()
86 int iterationCount = 10; in testGetIterationCount() local
87 PBEParameterSpec pbeps = new PBEParameterSpec(salt, iterationCount); in testGetIterationCount()
90 pbeps.getIterationCount() == iterationCount); in testGetIterationCount()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DMacData.java22 BigInteger iterationCount; field in MacData
48 this.iterationCount = ((ASN1Integer)seq.getObjectAt(2)).getValue(); in MacData()
52 this.iterationCount = ONE; in MacData()
59 int iterationCount) in MacData() argument
63 this.iterationCount = BigInteger.valueOf(iterationCount); in MacData()
78 return iterationCount; in getIterationCount()
99 if (!iterationCount.equals(ONE)) in toASN1Primitive()
101 v.add(new ASN1Integer(iterationCount)); in toASN1Primitive()
DPBKDF2Params.java19 private ASN1Integer iterationCount; field in PBKDF2Params
40 int iterationCount) in PBKDF2Params() argument
43 this.iterationCount = new ASN1Integer(iterationCount); in PBKDF2Params()
48 int iterationCount, in PBKDF2Params() argument
51 this(salt, iterationCount); in PBKDF2Params()
62 iterationCount = (ASN1Integer)e.nextElement(); in PBKDF2Params()
81 return iterationCount.getValue(); in getIterationCount()
99 v.add(iterationCount); in toASN1Primitive()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
DPBEParametersGenerator.java12 protected int iterationCount; field in PBEParametersGenerator
32 int iterationCount) in init() argument
36 this.iterationCount = iterationCount; in init()
66 return iterationCount; in getIterationCount()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/bc/
DBcKeyStoreSpi.java141 int iterationCount = MIN_ITERATIONS + (random.nextInt() & 0x3ff); in StoreEntry() local
149 dOut.writeInt(iterationCount); in StoreEntry()
151 … cipher = makePBECipher(KEY_CIPHER, Cipher.ENCRYPT_MODE, password, salt, iterationCount); in StoreEntry()
227 int iterationCount = dIn.readInt(); in getObject() local
229 …ipher cipher = makePBECipher(KEY_CIPHER, Cipher.DECRYPT_MODE, password, salt, iterationCount); in getObject()
246 iterationCount = dIn.readInt(); in getObject()
248 …cipher = makePBECipher("Broken" + KEY_CIPHER, Cipher.DECRYPT_MODE, password, salt, iterationCount); in getObject()
267 iterationCount = dIn.readInt(); in getObject()
269 … cipher = makePBECipher("Old" + KEY_CIPHER, Cipher.DECRYPT_MODE, password, salt, iterationCount); in getObject()
286 dOut.writeInt(iterationCount); in getObject()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/animation/
DTimedItemCalculations.h114 static inline bool endsOnIterationBoundary(double iterationCount, double iterationStart) in endsOnIterationBoundary() argument
116 ASSERT(std::isfinite(iterationCount)); in endsOnIterationBoundary()
117 return !fmod(iterationCount + iterationStart, 1); in endsOnIterationBoundary()
123 …SERT(repeatedDuration == multiplyZeroAlwaysGivesZero(iterationDuration, specified.iterationCount)); in calculateIterationTime()
132 …artOffset == repeatedDuration && specified.iterationCount && endsOnIterationBoundary(specified.ite… in calculateIterationTime()
155 return specified.iterationStart + specified.iterationCount - 1; in calculateCurrentIteration()
DTiming.h59 , iterationCount(1) in Timing()
73 ASSERT(iterationCount >= 0); in assertValid()
82 double iterationCount; member
DTimedItemTest.cpp235 timing.iterationCount = 0; in TEST()
254 timing.iterationCount = std::numeric_limits<double>::infinity(); in TEST()
271 timing.iterationCount = 2; in TEST()
301 timing.iterationCount = 2.2; in TEST()
323 timing.iterationCount = 10; in TEST()
345 timing.iterationCount = 10; in TEST()
461 timing.iterationCount = 0.2; in TEST()
480 timing.iterationCount = std::numeric_limits<double>::infinity(); in TEST()
497 timing.iterationCount = 2; in TEST()
517 timing.iterationCount = 2.2; in TEST()
[all …]
DCompositorAnimationsTest.cpp134 timing.iterationCount = 1; in createCompositableTiming()
347 m_timing.iterationCount = 5.0; in TEST_F()
351 m_timing.iterationCount = 5.5; in TEST_F()
357 m_timing.iterationCount = -1; in TEST_F()
361 m_timing.iterationCount = std::numeric_limits<double>::infinity(); in TEST_F()
365 m_timing.iterationCount = std::numeric_limits<double>::infinity(); in TEST_F()
375 m_timing.iterationCount = 4.0; in TEST_F()
425 m_timing.iterationCount = 4.0; in TEST_F()
435 m_timing.iterationCount = 4.0; in TEST_F()
445 m_timing.iterationCount = 4.0; in TEST_F()
[all …]
DCompositorAnimations.cpp318 if ((std::floor(timing.iterationCount) != timing.iterationCount) || timing.iterationCount <= 0) in convertTimingForCompositor()
335 if (scaledStartDelay > 0 && scaledStartDelay > out.scaledDuration * timing.iterationCount) in convertTimingForCompositor()
343 if (!std::isfinite(timing.iterationCount)) { in convertTimingForCompositor()
346 out.adjustedIterationCount = std::floor(timing.iterationCount); in convertTimingForCompositor()
DTimedItem.cpp73 …uble repeatedDuration = multiplyZeroAlwaysGivesZero(iterationDuration, m_specified.iterationCount); in updateInheritedTime()
103 … const double localRepeatedDuration = localIterationDuration * m_specified.iterationCount; in updateInheritedTime()
DTimedItemCalculationsTest.cpp127 timing.iterationCount = 10; in TEST()
148 timing.iterationCount = 7; in TEST()
/external/chromium_org/third_party/WebKit/Source/core/frame/animation/
DAnimationBase.cpp58 if (m_animation->iterationCount() > 0) in AnimationBase()
59 m_totalDuration = m_animation->duration() * m_animation->iterationCount(); in AnimationBase()
443 const int integralIterationCount = static_cast<int>(m_animation->iterationCount()); in fractionalTime()
444 const bool iterationCountHasFractional = m_animation->iterationCount() - integralIterationCount; in fractionalTime()
445 …if (m_animation->iterationCount() != CSSAnimationData::IterationCountInfinite && !iterationCountHa… in fractionalTime()
480 if (m_animation->iterationCount() > 0) in progress()
481 dur *= m_animation->iterationCount(); in progress()
487 if (m_animation->iterationCount() > 0 && elapsedTime >= dur) { in progress()
488 const int integralIterationCount = static_cast<int>(m_animation->iterationCount()); in progress()
489 … const bool iterationCountHasFractional = m_animation->iterationCount() - integralIterationCount; in progress()
DKeyframeAnimation.cpp77 …if (m_animation->duration() && m_animation->iterationCount() != CSSAnimationData::IterationCountIn… in fetchIntervalEndpointsForProperty()
78 elapsedTime = min(elapsedTime, m_animation->duration() * m_animation->iterationCount()); in fetchIntervalEndpointsForProperty()
DCompositeAnimation.cpp237 … } else if ((anim->duration() || anim->delay()) && anim->iterationCount() && name != none) { in updateKeyframeAnimations()
468 double count = keyframeAnim->m_animation->iterationCount(); in pauseAnimationsForTesting()
/external/chromium_org/third_party/WebKit/PerformanceTests/resources/
Drunner.js20 var iterationCount = undefined;
158 iterationCount = test.dromaeoIterationCount || (window.testRunner ? 5 : 20);
160 PerfTestRunner.log("Running " + iterationCount + " times");
189 if (completedIterations < iterationCount)
246 if (completedIterations >= iterationCount)
/external/chromium_org/third_party/WebKit/Source/core/platform/animation/
DCSSAnimationDataList.cpp47 FILL_UNSET_PROPERTY(isIterationCountSet, iterationCount, setIterationCount); in fillUnsetProperties()
DCSSAnimationData.h117 double iterationCount() const { return m_iterationCount; } in iterationCount() function
DAnimationTranslationUtil.cpp319 …int iterations = (animation && animation->isIterationCountSet()) ? animation->iterationCount() : 1; in createWebAnimation()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DPKCS5S1ParametersGenerator.java45 for (int i = 1; i < iterationCount; i++) in generateDerivedKey()
DPKCS5S2ParametersGenerator.java100 F(salt, iterationCount, iBuf, outBytes, outPos); in generateDerivedKey()
DPKCS12ParametersGenerator.java135 for (int j = 1; j < iterationCount; j++) in generateDerivedKey()
/external/chromium_org/third_party/WebKit/Source/core/animation/css/
DCSSAnimations.cpp276 if (animationData->iterationCount() == CSSAnimationData::IterationCountInfinite) in timingFromAnimationData()
277 timing.iterationCount = std::numeric_limits<double>::infinity(); in timingFromAnimationData()
279 timing.iterationCount = animationData->iterationCount(); in timingFromAnimationData()
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSComputedStyleDeclaration.cpp2470 double iterationCount = t->animation(i)->iterationCount(); in getPropertyCSSValue() local
2471 if (iterationCount == CSSAnimationData::IterationCountInfinite) in getPropertyCSSValue()
2474 … list->append(cssValuePool().createValue(iterationCount, CSSPrimitiveValue::CSS_NUMBER)); in getPropertyCSSValue()
2525 if (animation->iterationCount() == CSSAnimationData::IterationCountInfinite) in getPropertyCSSValue()
2528 …list->append(cssValuePool().createValue(animation->iterationCount(), CSSPrimitiveValue::CSS_NUMBER… in getPropertyCSSValue()

12