/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...] |
/external/antlr/src/org/antlr/runtime/misc/ |
DoubleKeyMap.java | 9 public class DoubleKeyMap<Key1, Key2, Value> { 10 Map<Key1, Map<Key2, Value>> data = new LinkedHashMap<Key1, Map<Key2, Value>>(); 12 public Value put(Key1 k1, Key2 k2, Value v) { 26 public Value get(Key1 k1, Key2 k2) { 32 public Map<Key2, Value> get(Key1 k1) { return data.get(k1); } 35 public Collection<Value> values(Key1 k1) { 42 public Set<Key1> keySet() { 47 public Set<Key2> keySet(Key1 k1) {
|
/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/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/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...] |
/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/text/src/android/text/cts/ |
AnnotationTest.java | 30 private static final String KEY1 = "name"; 51 new Annotation(KEY1, VALUE1); 61 mAnnotation = new Annotation(KEY1, VALUE1); 74 mAnnotation = new Annotation(KEY1, VALUE1); 75 assertEquals(KEY1, mAnnotation.getKey()); 86 mAnnotation = new Annotation(KEY1, VALUE1); 110 mAnnotation = new Annotation(KEY1, VALUE1);
|
/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/dbus/test/data/valid-messages/ |
lots-of-arguments.message | 45 STRING 'key1' 55 STRING '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...] |
/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/chromium/base/ |
string_split_unittest.cc | 44 EXPECT_TRUE(SplitStringIntoKeyValues("key1\tvalue1, value2 value3", 47 EXPECT_EQ("key1", key); 78 EXPECT_TRUE(SplitStringIntoKeyValues("key1\tvalue1, value2 value3", 81 EXPECT_EQ("key1", key); 100 EXPECT_TRUE(SplitStringIntoKeyValuePairs("key1:value1,,key3:value3", 105 EXPECT_EQ("key1", kv_pairs[0].first); 112 EXPECT_FALSE(SplitStringIntoKeyValuePairs("key1:value1 , key2:", 117 EXPECT_EQ("key1", kv_pairs[0].first); 124 EXPECT_TRUE(SplitStringIntoKeyValuePairs("key1:va:ue1 , key2:value2", 129 EXPECT_EQ("key1", kv_pairs[0].first) [all...] |
/external/webkit/LayoutTests/dom/xhtml/level3/core/ |
nodesetuserdata09.js | 107 docElem.setUserData("Key1", doc, null); 109 docElem.setUserData("Key1", doc, nullHandler.handle); 111 returned = doc.getUserData("Key1");
|
nodesetuserdata03.js | 107 doc.setUserData("Key1", elem, null); 109 doc.setUserData("Key1", elem, nullHandler.handle); 112 doc.setUserData("Key1", txt, null); 114 doc.setUserData("Key1", txt, nullHandler.handle);
|
nodesetuserdata06.js | 115 comment.setUserData("Key1", entity, null); 117 comment.setUserData("Key1", entity, nullHandler.handle); 120 comment.setUserData("Key1", entity, null); 122 comment.setUserData("Key1", entity, nullHandler.handle);
|
nodesetuserdata07.js | 115 notation.setUserData("Key1", comment, null); 117 notation.setUserData("Key1", comment, nullHandler.handle); 120 notation.setUserData("Key1", comment, null); 122 notation.setUserData("Key1", comment, nullHandler.handle);
|
/external/apache-harmony/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/ |
FilePreferencesImplTest.java | 65 uroot.put("\u4e2d key1", "\u4e2d value1"); 66 assertEquals("\u4e2d value1", uroot.get("\u4e2d key1", null)); 77 sroot.put("\u4e2d key1", "\u4e2d value1"); 78 assertEquals("\u4e2d value1", sroot.get("\u4e2d key1", null));
|
/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/chromium/net/websockets/ |
websocket_net_log_params_unittest.cc | 21 list->Append(new StringValue("Sec-WebSocket-Key1: 4 @1 46546xW%0l 1 5")); 37 "Sec-WebSocket-Key1: 4 @1 46546xW%0l 1 5\r\n"
|
/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/chromium/net/data/cache_tests/dirty_entry3/ |
contents.txt | 170 std::string key1("The first key"); 174 ASSERT_EQ(net::OK, CreateEntry(key1, &entry)); 178 ASSERT_EQ(net::OK, OpenEntry(key1, &entry)); <--- 1st crash. 180 ASSERT_EQ(net::OK, OpenEntry(key1, &entry)); <--- 2nd crash. 182 ASSERT_EQ(net::OK, CreateEntry(key1, &entry));
|