Home
last modified time | relevance | path

Searched refs:iterationCount (Results 1 – 25 of 29) 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/
DPBKDF2Params.java35 private ASN1Integer iterationCount; field in PBKDF2Params
69 int iterationCount) in PBKDF2Params() argument
72 this.iterationCount = new ASN1Integer(iterationCount); in PBKDF2Params()
84 int iterationCount, in PBKDF2Params() argument
87 this(salt, iterationCount); in PBKDF2Params()
102 int iterationCount, in PBKDF2Params() argument
106 this(salt, iterationCount); in PBKDF2Params()
121 int iterationCount, in PBKDF2Params() argument
124 this(salt, iterationCount); in PBKDF2Params()
134 iterationCount = (ASN1Integer)e.nextElement(); in PBKDF2Params()
[all …]
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()
/external/chromium_org/third_party/WebKit/Source/core/animation/
DTimingInput.cpp52 void TimingInput::setIterationCount(Timing& timing, double iterationCount) in setIterationCount() argument
54 if (!std::isnan(iterationCount)) in setIterationCount()
55 timing.iterationCount = std::max<double>(iterationCount, 0); in setIterationCount()
57 timing.iterationCount = Timing::defaults().iterationCount; in setIterationCount()
120 double iterationCount = Timing::defaults().iterationCount; in convert() local
121 DictionaryHelper::get(timingInputDictionary, "iterations", iterationCount); in convert()
122 setIterationCount(result, iterationCount); in convert()
DTimingCalculations.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()
DTimingInputTest.cpp90 EXPECT_EQ(2.1, applyTimingInputNumber("iterations", 2.1).iterationCount); in TEST_F()
91 EXPECT_EQ(0, applyTimingInputNumber("iterations", -1).iterationCount); in TEST_F()
94 EXPECT_TRUE(std::isinf(timing.iterationCount)); in TEST_F()
95 EXPECT_GT(timing.iterationCount, 0); in TEST_F()
97 EXPECT_EQ(0, applyTimingInputString("iterations", "-Infinity").iterationCount); in TEST_F()
98 EXPECT_EQ(1, applyTimingInputString("iterations", "NaN").iterationCount); in TEST_F()
99 EXPECT_EQ(1, applyTimingInputString("iterations", "rubbish").iterationCount); in TEST_F()
174 EXPECT_EQ(controlTiming.iterationCount, updatedTiming.iterationCount); in TEST_F()
DTiming.h67 , iterationCount(1) in Timing()
81 ASSERT(iterationCount >= 0); in assertValid()
91 double iterationCount; member
DAnimationNodeTest.cpp247 timing.iterationCount = 0; in TEST()
266 timing.iterationCount = std::numeric_limits<double>::infinity(); in TEST()
283 timing.iterationCount = 2; in TEST()
312 timing.iterationCount = 2.2; in TEST()
333 timing.iterationCount = 10; in TEST()
354 timing.iterationCount = 10; in TEST()
471 timing.iterationCount = 0.2; in TEST()
491 timing.iterationCount = std::numeric_limits<double>::infinity(); in TEST()
509 timing.iterationCount = 2; in TEST()
529 timing.iterationCount = 2.2; in TEST()
[all …]
DCompositorAnimationsTest.cpp142 timing.iterationCount = 1; in createCompositableTiming()
340 m_timing.iterationCount = 5.0; in TEST_F()
344 m_timing.iterationCount = 5.5; in TEST_F()
350 m_timing.iterationCount = -1; in TEST_F()
354 m_timing.iterationCount = std::numeric_limits<double>::infinity(); in TEST_F()
358 m_timing.iterationCount = std::numeric_limits<double>::infinity(); in TEST_F()
368 m_timing.iterationCount = 4.0; in TEST_F()
422 m_timing.iterationCount = 4.0; in TEST_F()
431 m_timing.iterationCount = 4.0; in TEST_F()
440 m_timing.iterationCount = 4.0; in TEST_F()
[all …]
DTimingInput.h23 static void setIterationCount(Timing&, double iterationCount);
DCompositorAnimations.cpp266 if (timing.iterationCount <= 0) in convertTimingForCompositor()
279 if (scaledStartDelay > 0 && scaledStartDelay > out.scaledDuration * timing.iterationCount) in convertTimingForCompositor()
284 if (!std::isfinite(timing.iterationCount)) { in convertTimingForCompositor()
287 out.adjustedIterationCount = timing.iterationCount; in convertTimingForCompositor()
DAnimationNode.cpp75 const double result = multiplyZeroAlwaysGivesZero(iterationDuration(), m_timing.iterationCount); in repeatedDuration()
133 const double localRepeatedDuration = localIterationDuration * m_timing.iterationCount; in updateInheritedTime()
DTimingCalculationsTest.cpp114 timing.iterationCount = 10; in TEST()
135 timing.iterationCount = 7; in TEST()
DAnimationNodeTiming.cpp60 return m_parent->specifiedTiming().iterationCount; in iterations()
/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/deqp/modules/egl/
DteglMakeCurrentPerfTests.cpp74 int iterationCount; member
394 …log << TestLog::Message << "Iteration count: " << m_spec.iterationCount << TestLog::EndMe… in logTestInfo()
435 totalIterationCount += m_spec.iterationCount; in logResults()
440 …erationTimeMedianUs = ((float)(((double)m_samples[m_samples.size() / 2]) / m_spec.iterationCount)); in logResults()
445 float iterationTimeUs = (float)(((double)m_samples[sampleNdx]) / m_spec.iterationCount); in logResults()
452 float iterationTimeUs = (float)(((double)m_samples[sampleNdx]) / m_spec.iterationCount); in logResults()
462 float iterationTimeUs = (float)(((double)m_samples[sampleNdx]) / m_spec.iterationCount); in logResults()
493 for (int iteration = 0; iteration < m_spec.iterationCount; iteration++) in iterate()
523 const int iterationCount = 100; in init() local
546 spec.iterationCount = iterationCount; in init()
[all …]
/external/chromium_org/tools/perf/benchmarks/
Dspeedometer.py40 iterationCount = 10
44 iterationCount = 3
55 """ % iterationCount)
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/spec/
DPBKDF2KeySpec.java12 …public PBKDF2KeySpec(char[] password, byte[] salt, int iterationCount, int keySize, AlgorithmIdent… in PBKDF2KeySpec() argument
14 super(password, salt, iterationCount, keySize); in PBKDF2KeySpec()
/external/chromium_org/third_party/WebKit/PerformanceTests/resources/
Drunner.js15 var iterationCount = undefined;
148 iterationCount = test.dromaeoIterationCount || (window.testRunner ? 5 : 20);
150 PerfTestRunner.log("Running " + iterationCount + " times");
179 if (completedIterations < iterationCount)
234 if (completedIterations >= iterationCount)
/external/chromium_org/third_party/WebKit/Source/core/animation/css/
DCSSAnimationData.cpp47 timing.iterationCount = getRepeated(m_iterationCountList, index); in convertToTiming()
/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()

12