Home
last modified time | relevance | path

Searched refs:keyA (Results 1 – 5 of 5) sorted by relevance

/external/apache-harmony/crypto/src/test/impl/java/org/apache/harmony/crypto/tests/javax/crypto/
DKeyAgreement_Impl1Test.java72 KeyAgreement keyA = new myKeyAgreement(spi, defaultProvider, in testKeyAgreement() local
74 assertEquals("Incorrect algorithm", keyA.getAlgorithm(), in testKeyAgreement()
76 assertEquals("Incorrect provider", keyA.getProvider(), defaultProvider); in testKeyAgreement()
77 assertNull("Incorrect result", keyA.doPhase(null, true)); in testKeyAgreement()
78 assertEquals("Incorrect result", keyA.generateSecret().length, 0); in testKeyAgreement()
80 keyA = new myKeyAgreement(null, null, null); in testKeyAgreement()
81 assertNull("Algorithm must be null", keyA.getAlgorithm()); in testKeyAgreement()
82 assertNull("Provider must be null", keyA.getProvider()); in testKeyAgreement()
84 keyA.doPhase(null, true); in testKeyAgreement()
/external/skia/gpu/src/
Dgr_unittests.cpp91 KeyType keyA; in test_binHashKey() local
93 while (keyA.doPass()) { in test_binHashKey()
95 keyA.keyData(reinterpret_cast<const uint32_t*>(testStringA), kDataLenUsedForKey); in test_binHashKey()
106 GrAssert(keyA.getHash() == keyBust.getHash()); in test_binHashKey()
115 GrAssert(keyA.getHash() == keyA2.getHash()); in test_binHashKey()
121 GrAssert(keyA.compare(keyB) < 0); in test_binHashKey()
122 GrAssert(keyA.compare(keyA2) == 0); in test_binHashKey()
125 keyB.copyAndTakeOwnership(keyA); in test_binHashKey()
126 GrAssert(keyA.fIsValid == false); in test_binHashKey()
130 keyA.deepCopyFrom(keyB); in test_binHashKey()
[all …]
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
DKeyAgreementTest.java142 KeyAgreement keyA; in testGetInstanceString02() local
144 keyA = KeyAgreement.getInstance(validValues[i]); in testGetInstanceString02()
145 assertEquals("Incorrect algorithm", keyA.getAlgorithm(), in testGetInstanceString02()
225 KeyAgreement keyA; in testGetInstanceStringString03() local
227 keyA = KeyAgreement in testGetInstanceStringString03()
229 assertEquals("Incorrect algorithm", keyA.getAlgorithm(), in testGetInstanceStringString03()
231 assertEquals("Incorrect provider", keyA.getProvider().getName(), in testGetInstanceStringString03()
292 KeyAgreement keyA; in testGetInstanceStringProvider03() local
294 keyA = KeyAgreement.getInstance(validValues[i], defaultProvider); in testGetInstanceStringProvider03()
295 assertEquals("Incorrect algorithm", keyA.getAlgorithm(), in testGetInstanceStringProvider03()
[all …]
DKeyGeneratorTest.java323 KeyGenerator keyA; in testGetInstanceStringProvider03() local
325 keyA = KeyGenerator.getInstance(validValues[i], defaultProvider); in testGetInstanceStringProvider03()
326 assertEquals("Incorrect algorithm", keyA.getAlgorithm(), validValues[i]); in testGetInstanceStringProvider03()
327 assertEquals("Incorrect provider", keyA.getProvider(), defaultProvider); in testGetInstanceStringProvider03()
/external/webkit/Source/WebCore/storage/
DIDBLevelDBBackingStore.cpp418 static int compareEncodedIDBKeys(const Vector<char>& keyA, const Vector<char>& keyB) in compareEncodedIDBKeys() argument
420 ASSERT(keyA.size() >= 1); in compareEncodedIDBKeys()
423 const char* p = keyA.data(); in compareEncodedIDBKeys()
424 const char* limitA = p + keyA.size(); in compareEncodedIDBKeys()
1305 KeyType keyA; in decodeAndCompare() local
1308 const char* ptrA = KeyType::decode(a.begin(), a.end(), &keyA); in decodeAndCompare()
1313 return keyA.compare(keyB); in decodeAndCompare()