Searched refs:key2 (Results 1 - 25 of 141) sorted by relevance

123456

/external/v8/test/mjsunit/es6/regress/
H A Dregress-2156.js31 var key2 = {};
36 assertTrue(%HaveSameMap(key1, key2));
38 map.set(key2, 2);
39 assertTrue(%HaveSameMap(key1, key2));
/external/vboot_reference/tests/
H A Dvb21_common2_tests.c28 struct vb2_packed_key *key2; local
32 key2 = (struct vb2_packed_key *)malloc(size);
34 memcpy(key2, key, size);
35 TEST_SUCC(vb2_unpack_key(&pubk, (uint8_t *)key2, size),
38 memcpy(key2, key, size);
39 key2->key_offset += 4;
40 TEST_EQ(vb2_unpack_key(&pubk, (uint8_t *)key2, size),
44 memcpy(key2, key, size);
45 key2->c.fixed_size += size;
46 TEST_EQ(vb2_unpack_key(&pubk, (uint8_t *)key2, siz
251 struct vb2_packed_key *key2 = NULL; local
[all...]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/
H A DKeyPairTest.java77 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
[all...]
/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/icu/icu4c/source/common/
H A Duelement.h72 * @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/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) {
65 DSAPublicKey dsa2 = ((DSAPublicKey) key2);
72 && key2 instanceof DSAPrivateKey) {
74 DSAPrivateKey dsa2 = ((DSAPrivateKey) key2);
/external/selinux/libsepol/cil/src/
H A Dcil_symtab.c152 intptr_t sum = ckey->key1 + ckey->key2 + ckey->key3 + ckey->key4;
185 ckey->key2 == curr->ckey->key2 &&
192 ckey->key2 < curr->ckey->key2) {
197 ckey->key2 == curr->ckey->key2 &&
203 ckey->key2 == curr->ckey->key2 &&
233 ckey->key2
[all...]
H A Dcil_strpool.c60 static int cil_strpool_compare(hashtab_t h __attribute__ ((unused)), hashtab_key_t key1, hashtab_key_t key2) argument
63 char *keyp2 = (char*)key2;
/external/boringssl/src/crypto/rsa/
H A Drsa_test.c128 static int key2(RSA *key, unsigned char *c) { function
321 RSA *key1, *key2; local
346 key2 = RSA_new();
347 key2->n = BN_dup(key1->n);
348 key2->e = BN_dup(key1->e);
349 key2->d = BN_dup(key1->d);
352 if (!RSA_recover_crt_params(key2)) {
358 if (RSA_size(key2) > buf_len) {
362 if (!RSA_check_key(key2)) {
369 key2)) {
[all...]
/external/selinux/libsepol/src/
H A Dsymtab.c31 hashtab_key_t key2)
36 keyp2 = (char *)key2;
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.java59 byte[] key2 = new byte[8];
60 System.arraycopy(keyMaster, 8, key2, 0, key2.length);
61 workingKey2 = generateWorkingKey(!encrypting, 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/openfst/src/include/fst/extensions/far/
H A Dequal.h61 const string key2 = reader2->GetKey(); local
62 if (!end_key.empty() && end_key < key1 && end_key < key2) {
67 if (key1 != key2) {
69 << key1 << "\" <> \"" << key2 << "\"."; local
/external/guava/guava-tests/test/com/google/common/cache/
H A DCacheReferencesTest.java92 Key key2 = new Key(2);
93 String value2 = key2.toString();
95 assertSame(value2, cache.getUnchecked(key2));
96 assertEquals(ImmutableSet.of(key1, key2), cache.asMap().keySet());
98 assertEquals(ImmutableSet.of(immutableEntry(key1, value1), immutableEntry(key2, value2)),
107 Key key2 = new Key(2);
108 String value2 = key2.toString();
110 assertSame(value2, cache.getUnchecked(key2));
113 assertTrue(cache.asMap().containsKey(key2));
115 assertEquals(ImmutableSet.of(key2), cach
[all...]
/external/mesa3d/src/gallium/tests/unit/
H A Du_cache_test.c61 cache_test_compare(const void *key1, const void *key2) { argument
62 return !(key1 == key2);
/external/openssh/
H A Droaming_client.c56 static u_int64_t key1, key2, oldkey1, oldkey2; variable
69 key2 = oldkey2 = packet_get_int64();
96 key2 = oldkey2;
113 oldkey2 = key2;
115 calculate_new_key(&key2, cookie, chall);
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
H A DCollationCreationMethodTest.java45 CollationKey key2;
79 key2 = ruleCollator.getCollationKey(randString1);
81 report(locale.getDisplayName(), randString1, key1, key2);
/external/mockito/cglib-and-asm/src/org/mockito/asm/
H A DClassWriter.java273 final Item key2; field in class:ClassWriter
540 key2 = new Item();
943 key2.set(CLASS, value, null, null);
944 Item result = get(key2);
947 result = new Item(index++, key2);
1133 key2.set(STR, value, null, null);
1134 Item result = get(key2);
1137 result = new Item(index++, key2);
1154 key2.set(NAME_TYPE, name, desc, null);
1155 Item result = get(key2);
[all...]
/external/jetty/src/java/org/eclipse/jetty/websocket/
H A DWebSocketServletConnectionD00.java65 String key2 = request.getHeader("Sec-WebSocket-Key2");
66 setHixieKeys(key1,key2);
H A DWebSocketConnectionD00.java76 public void setHixieKeys(String key1,String key2) argument
79 _key2=key2;
326 public static byte[] doTheHixieHixieShake(long key1,long key2,byte[] key3) argument
337 fodder[4]=(byte)(0xff&(key2>>24));
338 fodder[5]=(byte)(0xff&(key2>>16));
339 fodder[6]=(byte)(0xff&(key2>>8));
340 fodder[7]=(byte)(0xff&key2);
/external/mesa3d/src/mesa/program/
H A Dhash_table.h50 typedef int (*hash_compare_func_t)(const void *key1, const void *key2);
182 hash_table_pointer_compare(const void *key1, const void *key2);
/external/selinux/libsepol/include/sepol/policydb/
H A Dhashtab.h40 int (*keycmp) (struct hashtab_val * h, hashtab_key_t key1, hashtab_key_t key2); /* key comparison function */
56 const hashtab_key_t key2),
/external/selinux/policycoreutils/newrole/
H A Dhashtab.h37 int (*keycmp) (struct hashtab_val * h, hashtab_key_t key1, hashtab_key_t key2); /* key comparison function */
59 const hashtab_key_t key2),
/external/icu/icu4c/source/test/intltest/
H A Duvectest.cpp70 UVectorTest_compareInt32(UElement key1, UElement key2) { argument
71 if (key1.integer > key2.integer) {
74 else if (key1.integer < key2.integer) {
82 UVectorTest_compareCstrings(const UElement key1, const UElement key2) { argument
83 return !strcmp((const char *)key1.pointer, (const char *)key2.pointer);
164 static UBool U_CALLCONV neverTRUE(const UElement /*key1*/, const UElement /*key2*/) {

Completed in 920 milliseconds

123456