/external/llvm/test/YAMLParser/ |
spec-10-10.data | 5 ? explicit key2 : , # Explicit empty 8 simple key2 : , # Explicit empty
|
spec-10-11.data | 5 ? explicit key2 : , # Explicit empty 8 simple key2 : , # Explicit empty
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/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) { 13 Map<Key2, Value> data2 = data.get(k1); 16 data2 = new LinkedHashMap<Key2, Value>(); 26 public Value get(Key1 k1, Key2 k2) { 27 Map<Key2, Value> data2 = data.get(k1); 32 public Map<Key2, Value> get(Key1 k1) { return data.get(k1); } 36 Map<Key2, Value> data2 = data.get(k1) [all...] |
/external/chromium_org/third_party/openssl/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) 109 memset(key2,0,8); 116 (*key2)[i]=(*key1)[i]=(str[i]<<1); 124 (*key2)[i%8]^=(str[i]<<1); 138 (*key2)[i%8]^=(j<<1); 148 (*key2)[7-(i%8)]^=j; 151 if (length <= 8) memcpy(key2,key1,8); 154 DES_set_odd_parity(key2); 164 if(DES_is_weak_key(key2)) 165 (*key2)[7] ^= 0xF0 [all...] |
/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) 109 memset(key2,0,8); 116 (*key2)[i]=(*key1)[i]=(str[i]<<1); 124 (*key2)[i%8]^=(str[i]<<1); 138 (*key2)[i%8]^=(j<<1); 148 (*key2)[7-(i%8)]^=j; 151 if (length <= 8) memcpy(key2,key1,8); 154 DES_set_odd_parity(key2); 164 if(DES_is_weak_key(key2)) 165 (*key2)[7] ^= 0xF0 [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/ |
KeyPairTest.java | 77 Key key2 = ((KeyPair)reference).getPublic(); 79 assertEquals("PublicKey class", key1.getClass(), key2.getClass()); 80 assertEquals("PublicKey algorithm", key1.getAlgorithm(), key2 82 assertEquals("PublicKey format", key1.getFormat(), key2.getFormat()); 84 key2.getEncoded())); 88 key2 = ((KeyPair)reference).getPrivate(); 90 assertEquals("PrivateKey class", key1.getClass(), key2.getClass()); 91 assertEquals("PrivateKey algorithm", key1.getAlgorithm(), key2 93 assertEquals("PrivateKey format", key1.getFormat(), key2.getFormat()); 95 key2.getEncoded())) [all...] |
/external/chromium_org/net/dns/ |
host_cache_unittest.cc | 36 HostCache::Key key2 = Key("foobar2.com"); local 53 EXPECT_FALSE(cache.Lookup(key2, now)); 54 cache.Set(key2, entry, now, kTTL); 55 EXPECT_TRUE(cache.Lookup(key2, now)); 63 EXPECT_TRUE(cache.Lookup(key2, now)); 64 EXPECT_NE(cache.Lookup(key1, now), cache.Lookup(key2, now)); 70 EXPECT_TRUE(cache.Lookup(key2, now)); 79 EXPECT_TRUE(cache.Lookup(key2, now)); 85 EXPECT_FALSE(cache.Lookup(key2, now)); 100 HostCache::Key key2 = Key("foobar2.com") local 128 HostCache::Key key2 = Key("foobar2.com"); local 304 HostCache::Key key2; member in struct:net::__anon9052 367 const HostCache::Key& key2 = tests[i].key2; local [all...] |
/external/chromium_org/chrome/common/extensions/api/test_presubmit/ |
valid_json.json | 10 "key2": 3 // This is an inline comment.
|
/external/dropbear/libtomcrypt/testprof/ |
dsa_test.c | 10 dsa_key key, key2; local 49 DO(dsa_import(out2, x, &key2)); 52 DO(dsa_verify_hash(out, x, msg, sizeof(msg), &stat1, &key2)); 54 dsa_free(&key2); 60 DO(dsa_import(out2, x, &key2)); 62 DO(dsa_verify_hash(out, x, msg, sizeof(msg), &stat1, &key2)); 64 dsa_free(&key2);
|
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheReferencesTest.java | 93 Key key2 = new Key(2); 94 String value2 = key2.toString(); 96 assertSame(value2, cache.getUnchecked(key2)); 97 assertEquals(ImmutableSet.of(key1, key2), cache.asMap().keySet()); 99 assertEquals(ImmutableSet.of(immutableEntry(key1, value1), immutableEntry(key2, value2)), 108 Key key2 = new Key(2); 109 String value2 = key2.toString(); 111 assertSame(value2, cache.getUnchecked(key2)); 114 assertTrue(cache.asMap().containsKey(key2)); 116 assertEquals(ImmutableSet.of(key2), cache.asMap().keySet()) [all...] |
/external/icu4c/common/ |
uelement.h | 72 * @param key2 The string for comparison 73 * @return true if key1 and key2 are equal, return false otherwise. 76 uhash_compareUnicodeString(const UElement key1, const UElement key2); 83 * @param key2 The string for comparison 84 * @return true if key1 and key2 are equal, return false otherwise. 87 uhash_compareCaselessUnicodeString(const UElement key1, const UElement key2);
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
CollationKeyTest.java | 34 CollationKey key2 = collator.getCollationKey("ABC"); local 35 assertEquals("Should be equal", 0, key1.compareTo(key2)); 47 CollationKey key2 = collator.getCollationKey("ABC"); local 48 assertEquals("Should be equal", 0, key1.compareTo(key2)); 58 CollationKey key2 = collator.getCollationKey("ABC"); local 59 assertTrue("Should be equal", key1.equals(key2)); 81 CollationKey key2 = collator.getCollationKey("ABC"); local 82 assertTrue("Should be equal", key1.hashCode() == key2.hashCode());
|
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-2156.js | 31 var key2 = {}; 36 assertTrue(%HaveSameMap(key1, key2)); 38 map.set(key2, 2); 39 assertTrue(%HaveSameMap(key1, key2));
|
/cts/tests/tests/provider/src/android/provider/cts/ |
Contacts_SettingsTest.java | 35 String key2 = "key 2"; local 38 Settings.setSetting(mContentResolver, "account", key2, value2); 40 assertEquals(value2, Settings.getSetting(mContentResolver, "account", key2));
|
/libcore/crypto/src/test/java/org/conscrypt/ |
MacTest.java | 46 SecretKey key2 = new SecretKeySpec(secret.getBytes(), "HmacSHA256"); local 49 assertFalse(key1.equals(key2)); 53 assertEquals("RAW", key2.getFormat()); 54 assertEquals(Arrays.toString(secret.getBytes()), Arrays.toString(key2.getEncoded())); 63 mac2.init(key2);
|
/external/chromium/chrome/browser/rlz/ |
rlz_unittest.cc | 45 RegKey key2; local 46 EXPECT_EQ(ERROR_SUCCESS, key2.Open(HKEY_CURRENT_USER, kKeyName, KEY_READ)); 48 EXPECT_EQ(ERROR_SUCCESS, key2.ReadValueDW(kEvent2, &recorded_value));
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
handle.c | 53 compare(void *key1, void *key2) 55 if (key1 < key2) 57 else if (key1 > key2)
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
handle.c | 53 compare(void *key1, void *key2) 55 if (key1 < key2) 57 else if (key1 > key2)
|
/cts/tests/tests/text/src/android/text/cts/ |
AnnotationTest.java | 26 private static final String KEY2 = "family name"; 48 mAnnotation = new Annotation(KEY2, VALUE2); 56 mAnnotation = new Annotation(KEY2, VALUE2); 57 assertEquals(KEY2, mAnnotation.getKey());
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/ |
DESedeEngine.java | 59 byte[] key2 = new byte[8]; 60 System.arraycopy(keyMaster, 8, key2, 0, key2.length); 61 workingKey2 = generateWorkingKey(!encrypting, key2);
|
/external/chromium/crypto/ |
symmetric_key_unittest.cc | 24 scoped_ptr<crypto::SymmetricKey> key2( 26 ASSERT_TRUE(NULL != key2.get()); 28 EXPECT_TRUE(key2->GetRawKey(&raw_key2)); 40 scoped_ptr<crypto::SymmetricKey> key2( 42 ASSERT_TRUE(NULL != key2.get()); 45 EXPECT_TRUE(key2->GetRawKey(&raw_key2)); 58 scoped_ptr<crypto::SymmetricKey> key2( 60 ASSERT_TRUE(NULL != key2.get()); 63 EXPECT_TRUE(key2->GetRawKey(&raw_key2));
|
/external/chromium_org/crypto/ |
symmetric_key_unittest.cc | 24 scoped_ptr<crypto::SymmetricKey> key2( 26 ASSERT_TRUE(NULL != key2.get()); 28 EXPECT_TRUE(key2->GetRawKey(&raw_key2)); 40 scoped_ptr<crypto::SymmetricKey> key2( 42 ASSERT_TRUE(NULL != key2.get()); 45 EXPECT_TRUE(key2->GetRawKey(&raw_key2)); 58 scoped_ptr<crypto::SymmetricKey> key2( 60 ASSERT_TRUE(NULL != key2.get()); 63 EXPECT_TRUE(key2->GetRawKey(&raw_key2));
|
/external/chromium_org/net/tools/balsa/ |
balsa_headers_test.cc | 163 headers_->AppendHeader("key2", "value2"); 171 ASSERT_EQ("value2", headers_->GetHeader("key2")); 177 headers_->GetAllOfHeader("key2", &v2); 180 headers_->GetAllOfHeaderAsString("key2", &s2); 252 ASSERT_FALSE(headers_->HasHeader("key2")); 257 headers_->AppendHeader("key2", ""); 260 ASSERT_FALSE(headers_->HasNonEmptyHeader("key2")); 266 headers_->AppendHeader("key2", "value2"); 270 headers_->GetHeaderPosition("key2"); 277 ASSERT_EQ("key2", i->first) [all...] |