Searched refs:key1 (Results 1 - 25 of 177) sorted by relevance

12345678

/external/chromium_org/v8/test/mjsunit/es6/regress/
H A Dregress-2156.js30 var key1 = {};
36 assertTrue(%HaveSameMap(key1, key2));
37 map.set(key1, 1);
39 assertTrue(%HaveSameMap(key1, key2));
/external/openssl/crypto/des/
H A Ddes3s.cpp39 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,key
[all...]
H A Dstr2key.c102 void DES_string_to_2keys(const char *str, DES_cblock *key1, DES_cblock *key2) argument
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)[
[all...]
H A Dread2pwd.c129 int DES_read_2passwords(DES_cblock *key1, DES_cblock *key2, const char *prompt, argument
136 DES_string_to_2keys(buf,key1,key2);
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/
H A DKeyPairTest.java76 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
[all...]
/external/chromium_org/net/dns/
H A Dhost_cache_unittest.cc35 HostCache::Key key1 = Key("foobar.com"); local
42 EXPECT_FALSE(cache.Lookup(key1, now));
43 cache.Set(key1, entry, now, kTTL);
44 EXPECT_TRUE(cache.Lookup(key1, now));
45 EXPECT_TRUE(cache.Lookup(key1, now)->error == entry.error);
62 EXPECT_TRUE(cache.Lookup(key1, now));
64 EXPECT_NE(cache.Lookup(key1, now), cache.Lookup(key2, now));
69 EXPECT_FALSE(cache.Lookup(key1, now));
72 // Update key1, so it is no longer expired.
73 cache.Set(key1, entr
99 HostCache::Key key1 = Key("foobar.com"); local
127 HostCache::Key key1 = Key("foobar.com"); local
303 HostCache::Key key1; member in struct:net::__anon9205
366 const HostCache::Key& key1 = tests[i].key1; local
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Dhandle.c53 compare(void *key1, void *key2) argument
55 if (key1 < key2)
57 else if (key1 > key2)
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dhandle.c53 compare(void *key1, void *key2) argument
55 if (key1 < key2)
57 else if (key1 > key2)
/external/conscrypt/src/test/java/org/conscrypt/
H A DMacTest.java42 SecretKey key1 = engine.getSecretKeyById(secret, "HmacSHA256");
49 assertFalse(key1.equals(key2));
50 assertEquals(key1, key1dupe);
51 assertNull(key1.getFormat());
52 assertNull(key1.getEncoded());
57 mac1.init(key1);
/external/chromium_org/content/test/data/indexeddb/
H A Dkey_types_test.js151 var key1 = valid_keys[i];
154 shouldBe("indexedDB.cmp(" + key1 + "," + key2 + ")", "-1");
155 shouldBe("indexedDB.cmp(" + key2 + "," + key1 + ")", "1");
156 shouldBe("indexedDB.cmp(" + key1 + "," + key1 + ")", "0");
/external/chromium_org/third_party/icu/source/common/
H A Duelement.h71 * @param key1 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);
82 * @param key1 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/icu/icu4c/source/common/
H A Duelement.h71 * @param key1 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);
82 * @param key1 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/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
H A DEncodedKeySpec2Test.java62 private boolean isEqual(Key key1, Key key2) { argument
63 if (key1 instanceof DSAPublicKey && key2 instanceof DSAPublicKey) {
64 DSAPublicKey dsa1 = ((DSAPublicKey) key1);
71 } else if (key1 instanceof DSAPrivateKey
73 DSAPrivateKey dsa1 = ((DSAPrivateKey) key1);
/external/openfst/src/include/fst/extensions/far/
H A Dequal.h60 const string key1 = reader1->GetKey(); local
62 if (!end_key.empty() && end_key < key1 && end_key < key2) {
67 if (key1 != key2) {
69 << key1 << "\" <> \"" << key2 << "\".";
75 VLOG(1) << "FarEqual: Fsts for key \"" << key1 << "\" are not equal.";
/external/guava/guava-tests/test/com/google/common/cache/
H A DCacheReferencesTest.java91 Key key1 = new Key(1);
92 String value1 = key1.toString();
95 assertSame(value1, cache.getUnchecked(key1));
97 assertEquals(ImmutableSet.of(key1, key2), cache.asMap().keySet());
99 assertEquals(ImmutableSet.of(immutableEntry(key1, value1), immutableEntry(key2, value2)),
106 Key key1 = new Key(1);
107 String value1 = key1.toString();
110 assertSame(value1, cache.getUnchecked(key1));
112 cache.invalidate(key1);
113 assertFalse(cache.asMap().containsKey(key1));
[all...]
/external/libsepol/src/
H A Dsymtab.c30 __attribute__ ((unused)), hashtab_key_t key1,
35 keyp1 = (char *)key1;
29 symcmp(hashtab_t h __attribute__ ((unused)), hashtab_key_t key1, hashtab_key_t key2) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
H A DDESedeEngine.java55 byte[] key1 = new byte[8];
56 System.arraycopy(keyMaster, 0, key1, 0, key1.length);
57 workingKey1 = generateWorkingKey(encrypting, key1);
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_cache.h63 int (*compare)(const void *key1, const void *key2),
H A Du_hash_table.h60 int (*compare)(void *key1, void *key2));
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_cache.h63 int (*compare)(const void *key1, const void *key2),
H A Du_hash_table.h60 int (*compare)(void *key1, void *key2));
/external/chromium_org/ui/accessibility/extensions/highcontrast/
H A Dpopup.js6 var key1; variable
23 '<span class="kb">(' + key1 + ')</span>';
28 '<span class="kb">(' + key1 + ')</span>';
110 key1 = '&#x2318;+Shift+F11';
113 key1 = 'Shift+F11';
/external/chromium_org/third_party/boringssl/src/crypto/rsa/
H A Drsa_test.c78 static int key1(RSA *key, unsigned char *c) { function
317 RSA *key1, *key2; local
329 key1 = RSA_new();
330 if (!RSA_generate_key_ex(key1, 512, e, NULL)) {
336 if (!RSA_check_key(key1)) {
343 key2->n = BN_dup(key1->n);
344 key2->e = BN_dup(key1->e);
345 key2->d = BN_dup(key1->d);
346 RSA_free(key1);
406 clen = key1(ke
[all...]
/external/chromium_org/crypto/
H A Dsymmetric_key_unittest.cc34 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/
H A DDESedeKeySpecTest.java121 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);

Completed in 1033 milliseconds

12345678