/external/v8/test/mjsunit/es6/regress/ |
H A D | regress-2156.js | 30 var key1 = {}; 36 assertTrue(%HaveSameMap(key1, key2)); 37 map.set(key1, 1); 39 assertTrue(%HaveSameMap(key1, key2));
|
/external/curl/tests/unit/ |
H A D | unit1603.c | 52 char key1[] = "key1"; variable 63 if(Curl_hash_str(key1, strlen(key1), slots) != 1 || 70 nodep = Curl_hash_add(&hash_static, &key1, strlen(key1), &key1); 72 nodep = Curl_hash_pick(&hash_static, &key1, strlen(key1)); 73 fail_unless(nodep == key1, "has [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/ |
H A D | 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 [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
H A D | handle.c | 53 compare(void *key1, void *key2) argument 55 if (key1 < key2) 57 else if (key1 > key2)
|
/external/vboot_reference/tests/ |
H A D | vb20_common2_tests.c | 24 static void test_unpack_key(const struct vb2_packed_key *key1) argument 32 uint32_t size = key1->key_offset + key1->key_size; 36 memcpy(key, key1, size); 45 memcpy(key, key1, size); 51 memcpy(key, key1, size); 57 memcpy(key, key1, size); 63 memcpy(key, key1, size); 69 memcpy(key, key1, size); 77 static void test_verify_data(const struct vb2_packed_key *key1, argument 145 struct vb2_packed_key *key1; local [all...] |
/external/icu/icu4c/source/common/ |
H A D | uelement.h | 71 * @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 D | EncodedKeySpec2Test.java | 62 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/selinux/libsepol/cil/src/ |
H A D | cil_symtab.c | 152 intptr_t sum = ckey->key1 + ckey->key2 + ckey->key3 + ckey->key4; 184 if (ckey->key1 == curr->ckey->key1 && 191 if (ckey->key1 == curr->ckey->key1 && 196 if (ckey->key1 == curr->ckey->key1 && 202 if (ckey->key1 == curr->ckey->key1 && 232 if (ckey->key1 [all...] |
H A D | cil_strpool.c | 60 static int cil_strpool_compare(hashtab_t h __attribute__ ((unused)), hashtab_key_t key1, hashtab_key_t key2) argument 62 char *keyp1 = (char*)key1;
|
/external/autotest/frontend/client/src/autotest/common/table/ |
H A D | JSONObjectComparator.java | 21 String key1 = arg1.get(sortSpec.getField()).toString().toLowerCase(); 22 compareValue = key0.compareTo(key1) * sortSpec.getDirectionMultiplier();
|
/external/selinux/libsepol/src/ |
H A D | symtab.c | 30 __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 D | DESedeEngine.java | 55 byte[] key1 = new byte[8]; 56 System.arraycopy(keyMaster, 0, key1, 0, key1.length); 57 workingKey1 = generateWorkingKey(encrypting, key1);
|
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_cache.h | 63 int (*compare)(const void *key1, const void *key2),
|
H A D | u_hash_table.h | 60 int (*compare)(void *key1, void *key2));
|
/external/skia/tests/ |
H A D | ImageFilterCacheTest.cpp | 36 SkImageFilter::Cache::Key key1(0, SkMatrix::I(), clip, image->uniqueID(), image->subset()); 40 cache->set(key1, image, offset); 44 SkSpecialImage* foundImage = cache->get(key1, &foundOffset); 62 SkImageFilter::Cache::Key key1(1, SkMatrix::I(), clip1, image->uniqueID(), image->subset()); 72 REPORTER_ASSERT(reporter, !cache->get(key1, &foundOffset)); 85 SkImageFilter::Cache::Key key1(0, SkMatrix::I(), clip, image->uniqueID(), image->subset()); 89 cache->set(key1, image, offset); 93 REPORTER_ASSERT(reporter, cache->get(key1, &foundOffset)); 99 REPORTER_ASSERT(reporter, !cache->get(key1, &foundOffset)); 110 SkImageFilter::Cache::Key key1( [all...] |
/external/guice/core/test/com/google/inject/internal/ |
H A D | WeakKeySetTest.java | 112 Key<Integer> key1 = Key.get(Integer.class); 117 set.add(key1, state1, source1); 118 assertInSet(set, key1, 1, source1); 123 WeakReference<Key<Integer>> weakKey1Ref = new WeakReference<Key<Integer>>(key1); 128 Key<Integer> key = key1 = key2 = Key.get(Integer.class); 153 // Now that the backing set is emptied, key1 is released. 160 Key<Integer> key1 = Key.get(Integer.class); 165 set.add(key1, state1, source1); 166 assertInSet(set, key1, 1, source1); 171 WeakReference<Key<Integer>> weakKey1Ref = new WeakReference<Key<Integer>>(key1); [all...] |
/external/boringssl/src/decrepit/xts/ |
H A D | xts.c | 60 void *key1, *key2; member in struct:xts128_context 91 (*ctx->block1)(scratch.c, scratch.c, ctx->key1); 121 (*ctx->block1)(scratch.c, scratch.c, ctx->key1); 145 (*ctx->block1)(scratch.c, scratch.c, ctx->key1); 156 (*ctx->block1)(scratch.c, scratch.c, ctx->key1); 198 xctx->xts.key1 = &xctx->ks1; 212 if (!xctx->xts.key1 || 228 if (xctx->xts.key1) { 229 if (xctx->xts.key1 != &xctx->ks1) { 232 xctx_out->xts.key1 [all...] |
/external/guava/guava-tests/test/com/google/common/cache/ |
H A D | CacheReferencesTest.java | 90 Key key1 = new Key(1); 91 String value1 = key1.toString(); 94 assertSame(value1, cache.getUnchecked(key1)); 96 assertEquals(ImmutableSet.of(key1, key2), cache.asMap().keySet()); 98 assertEquals(ImmutableSet.of(immutableEntry(key1, value1), immutableEntry(key2, value2)), 105 Key key1 = new Key(1); 106 String value1 = key1.toString(); 109 assertSame(value1, cache.getUnchecked(key1)); 111 cache.invalidate(key1); 112 assertFalse(cache.asMap().containsKey(key1)); [all...] |
/external/libchrome/crypto/ |
H A D | 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/jetty/src/java/org/eclipse/jetty/websocket/ |
H A D | WebSocketServletConnectionD00.java | 61 String key1 = request.getHeader("Sec-WebSocket-Key1"); 63 if (key1 != null) 66 setHixieKeys(key1,key2);
|
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
H A D | 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);
|
/external/libdrm/amdgpu/ |
H A D | util_hash_table.h | 56 int (*compare)(void *key1, void *key2));
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/dynamodb/ |
H A D | test_layer1.py | 134 key1 = {'HashKeyElement': {hash_key_type: item1_key}, 136 result = c.get_item(table_name, key=key1, consistent_read=True) 148 result = c.get_item(table_name, key=key1, consistent_read=True, 156 c.delete_item, table_name, key=key1, 164 result = c.update_item(table_name, key=key1, 174 c.update_item, table_name, key=key1, 228 result = c.delete_item(table_name, key=key1) 262 key1 = {'HashKeyElement': {self.hash_key_type: item1_key}, 264 result = c.get_item(self.table_name, key=key1, consistent_read=True)
|
/external/mesa3d/src/gallium/tests/unit/ |
H A D | u_cache_test.c | 61 cache_test_compare(const void *key1, const void *key2) { argument 62 return !(key1 == key2);
|
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ |
H A D | ExemptionMechanismTest.java | 130 Key key1 = new MyExemptionMechanismSpi().new tmpKey("Proba", 132 assertFalse(em.isCryptoAllowed(key1)); 134 em.init(key1);
|