/external/openssl/crypto/des/ |
des3s.cpp | 39 des_key_schedule key1,key2,key3; local 48 des_encrypt3(&data[0],key1,key2,key3); 50 des_encrypt3(&data[0],key1,key2,key3); 51 des_encrypt3(&data[0],key1,key2,key3); 52 des_encrypt3(&data[0],key1,key2,key3); 55 des_encrypt3(&data[0],key1,key2,key3); 56 des_encrypt3(&data[0],key1,key2,key3); 57 des_encrypt3(&data[0],key1,key2,key3); 58 des_encrypt3(&data[0],key1,key2,key3); 60 des_encrypt3(&data[0],key1,key2,key3) [all...] |
str2key.c | 102 void DES_string_to_2keys(const char *str, DES_cblock *key1, DES_cblock *key2) 108 memset(key1,0,8); 116 (*key2)[i]=(*key1)[i]=(str[i]<<1); 126 (*key1)[i%8]^=(str[i]<<1); 136 (*key1)[i%8]^=(j<<1); 146 (*key1)[7-(i%8)]^=j; 151 if (length <= 8) memcpy(key2,key1,8); 153 DES_set_odd_parity(key1); 156 if(DES_is_weak_key(key1)) 157 (*key1)[7] ^= 0xF0 [all...] |
read2pwd.c | 129 int DES_read_2passwords(DES_cblock *key1, DES_cblock *key2, const char *prompt, 136 DES_string_to_2keys(buf,key1,key2);
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/ |
KeyPairTest.java | 76 Key key1 = ((KeyPair)test).getPublic(); 79 assertEquals("PublicKey class", key1.getClass(), key2.getClass()); 80 assertEquals("PublicKey algorithm", key1.getAlgorithm(), key2 82 assertEquals("PublicKey format", key1.getFormat(), key2.getFormat()); 83 assertTrue("PublicKey encoded", Arrays.equals(key1.getEncoded(), 87 key1 = ((KeyPair)test).getPrivate(); 90 assertEquals("PrivateKey class", key1.getClass(), key2.getClass()); 91 assertEquals("PrivateKey algorithm", key1.getAlgorithm(), key2 93 assertEquals("PrivateKey format", key1.getFormat(), key2.getFormat()); 94 assertTrue("PrivateKey encoded", Arrays.equals(key1.getEncoded() [all...] |
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
CollationKeyTest.java | 33 CollationKey key1 = collator.getCollationKey("abc"); local 35 assertEquals("Should be equal", 0, key1.compareTo(key2)); 46 CollationKey key1 = collator.getCollationKey("abc"); local 48 assertEquals("Should be equal", 0, key1.compareTo(key2)); 57 CollationKey key1 = collator.getCollationKey("abc"); local 59 assertTrue("Should be equal", key1.equals(key2)); 80 CollationKey key1 = collator.getCollationKey("abc"); local 82 assertTrue("Should be equal", key1.hashCode() == key2.hashCode()); 93 CollationKey key1 = collator.getCollationKey("abc"); local 94 byte[] bytes = key1.toByteArray() [all...] |
/external/chromium/chrome/browser/rlz/ |
rlz_unittest.cc | 36 RegKey key1; local 37 EXPECT_EQ(ERROR_SUCCESS, key1.Open(HKEY_CURRENT_USER, kKeyName, KEY_READ)); 38 EXPECT_EQ(ERROR_SUCCESS, key1.ReadValueDW(kEvent1, &recorded_value)); 58 RegKey key1; local 59 EXPECT_EQ(ERROR_SUCCESS, key1.Open(HKEY_CURRENT_USER, kKeyName, KEY_READ)); 60 EXPECT_EQ(ERROR_SUCCESS, key1.ReadValueDW(kEvent1, &recorded_value));
|
/external/mesa3d/src/mesa/program/ |
hash_table.h | 37 typedef int (*hash_compare_func_t)(const void *key1, const void *key2); 145 hash_table_pointer_compare(const void *key1, const void *key2);
|
/libcore/luni/src/main/java/org/apache/harmony/luni/util/ |
TwoKeyHashMap.java | 124 * @param key1 128 public V remove(Object key1, Object key2) { 129 Entry<E, K, V> e = removeEntry(key1, key2); 136 * @param key1 141 public V put(E key1, K key2, V value) { 142 if (key1 == null && key2 == null) { 156 int hash = key1.hashCode() + key2.hashCode(); 161 if (hash == e.hash && key1.equals(e.getKey1()) 170 arr[index] = createEntry(hash, key1, key2, value, arr[index]); 217 * Returns true if this map contains a mapping for {@code key1} and {@code key2} 291 E key1; field in class:TwoKeyHashMap.Entry [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
Contacts_SettingsTest.java | 100 String key1 = "key 1"; local 104 Settings.setSetting(mContentResolver, "account", key1, value1); 106 assertEquals(value1, Settings.getSetting(mContentResolver, "account", key1)); 110 Settings.setSetting(mContentResolver, "account", key1, value2); 111 assertEquals(value2, Settings.getSetting(mContentResolver, "account", key1));
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/ |
EncodedKeySpec2Test.java | 62 private boolean isEqual(Key key1, Key key2) { 63 if (key1 instanceof DSAPublicKey && key2 instanceof DSAPublicKey) { 64 DSAPublicKey dsa1 = ((DSAPublicKey) key1); 71 } else if (key1 instanceof DSAPrivateKey 73 DSAPrivateKey dsa1 = ((DSAPrivateKey) key1);
|
/libcore/luni/src/test/java/tests/security/spec/ |
EncodedKeySpec2Test.java | 63 private boolean isEqual(Key key1, Key key2) { 64 if (key1 instanceof DSAPublicKey && key2 instanceof DSAPublicKey) { 65 DSAPublicKey dsa1 = ((DSAPublicKey) key1); 72 } else if (key1 instanceof DSAPrivateKey 74 DSAPrivateKey dsa1 = ((DSAPrivateKey) key1);
|
/external/icu4c/common/ |
uhash_us.cpp | 37 uhash_compareUnicodeString(const UHashTok key1, const UHashTok key2) { 39 const UnicodeString *str1 = (const UnicodeString*) key1.pointer;
|
uhash.h | 114 * @param key1 A key stored in a hashtable 118 typedef UBool U_CALLCONV UKeyComparator(const UHashTok key1, 599 * @param key1 The string for comparison 601 * @return true if key1 and key2 are equal, return false otherwise. 604 uhash_compareUChars(const UHashTok key1, const UHashTok key2); 609 * @param key1 The string for comparison 611 * @return true if key1 and key2 are equal, return false otherwise. 614 uhash_compareChars(const UHashTok key1, const UHashTok key2); 619 * @param key1 The string for comparison 621 * @return true if key1 and key2 are equal, return false otherwise [all...] |
/dalvik/vm/ |
AtomicCache.cpp | 86 void dvmUpdateAtomicCache(u4 key1, u4 key2, u4 value, AtomicCacheEntry* pEntry, 127 if (pEntry->key1 == 0) 143 android_atomic_release_store(key1, (int32_t*) &pEntry->key1);
|
AtomicCache.h | 17 * Mutex-free cache for key1+key2=value. 35 u4 key1; member in struct:AtomicCacheEntry 107 if (pEntry->key1 == (u4)(_key1) && pEntry->key2 == (u4)(_key2)) { \ 161 void dvmUpdateAtomicCache(u4 key1, u4 key2, u4 value, AtomicCacheEntry* pEntry,
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/engines/ |
DESedeEngine.java | 54 byte[] key1 = new byte[8]; 55 System.arraycopy(keyMaster, 0, key1, 0, key1.length); 56 workingKey1 = generateWorkingKey(encrypting, key1);
|
/external/chromium/crypto/ |
symmetric_key_unittest.cc | 34 scoped_ptr<crypto::SymmetricKey> key1( 36 ASSERT_TRUE(NULL != key1.get()); 38 EXPECT_TRUE(key1->GetRawKey(&raw_key1)); 51 scoped_ptr<crypto::SymmetricKey> key1( 54 ASSERT_TRUE(NULL != key1.get()); 56 EXPECT_TRUE(key1->GetRawKey(&raw_key1));
|
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
DESedeKeySpecTest.java | 121 byte[] key1 = {1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 124 ks = new DESedeKeySpec(key1, 2); 131 + "as specified in a constructor.", key1, res); 133 System.arraycopy(key1, 2, exp, 0, 24);
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
DESedeKeySpecTest.java | 121 byte[] key1 = {1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 124 ks = new DESedeKeySpec(key1, 2); 131 + "as specified in a constructor.", key1, res); 133 System.arraycopy(key1, 2, exp, 0, 24);
|
/libcore/luni/src/test/java/libcore/java/text/ |
OldCollationKeyTest.java | 31 CollationKey key1 = collator.getCollationKey("abc"); local 32 byte[] bytes = key1.toByteArray();
|
/external/chromium/net/base/ |
host_cache_unittest.cc | 280 HostCache::Key key1("foobar.com", ADDRESS_FAMILY_UNSPECIFIED, 0); 283 const HostCache::Entry* entry1 = NULL; // Entry for key1 289 EXPECT_TRUE(cache.Lookup(key1, base::TimeTicks()) == NULL); 290 cache.Set(key1, OK, AddressList(), now); 291 entry1 = cache.Lookup(key1, base::TimeTicks()); 315 HostCache::Key key1("foobar.com", ADDRESS_FAMILY_IPV4, 0); 321 const HostCache::Entry* entry1 = NULL; // Entry for key1 328 EXPECT_TRUE(cache.Lookup(key1, base::TimeTicks()) == NULL); 329 cache.Set(key1, OK, AddressList(), now); 330 entry1 = cache.Lookup(key1, base::TimeTicks()) 395 HostCache::Key key1; member in struct:net::__anon3470 458 const HostCache::Key& key1 = tests[i].key1; local [all...] |
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ |
ExemptionMechanismTest.java | 125 Key key1 = new MyExemptionMechanismSpi().new tmpKey("Proba", local 127 assertFalse(em.isCryptoAllowed(key1)); 129 em.init(key1);
|
/build/tools/signapk/test/ |
run | 25 cert := out/key1.pem
|
/external/webkit/Source/WebCore/platform/graphics/wince/ |
SharedBitmap.h | 99 HDC getDC(unsigned* key1) { return s_dcProvider->getDC(this, key1); } 100 void releaseDC(HDC hdc, unsigned key1) { s_dcProvider->releaseDC(this, hdc, key1); }
|
/external/icu4c/test/intltest/ |
uvectest.cpp | 70 UVectorTest_compareInt32(UHashTok key1, UHashTok key2) { 71 if (key1.integer > key2.integer) { 74 else if (key1.integer < key2.integer) { 82 UVectorTest_compareCstrings(const UHashTok key1, const UHashTok key2) { 83 return !strcmp((const char *)key1.pointer, (const char *)key2.pointer); 164 static UBool U_CALLCONV neverTRUE(const UHashTok /*key1*/, const UHashTok /*key2*/) {
|