/external/curl/tests/unit/ |
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, "hash retrieval failed") [all...] |
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
Contacts_SettingsTest.java | 33 String key1 = "key 1"; local 37 Settings.setSetting(mContentResolver, "account", key1, value1); 39 assertEquals(value1, Settings.getSetting(mContentResolver, "account", key1)); 43 Settings.setSetting(mContentResolver, "account", key1, value2); 44 assertEquals(value2, Settings.getSetting(mContentResolver, "account", key1));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/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...] |
/external/vboot_reference/tests/ |
vb20_common2_tests.c | 24 static void test_unpack_key(const struct vb2_packed_key *key1) 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, 145 struct vb2_packed_key *key1; local [all...] |
/external/icu/icu4c/source/common/ |
uelement.h | 73 * @param key1 The string for comparison 75 * @return true if key1 and key2 are equal, return false otherwise. 78 uhash_compareUnicodeString(const UElement key1, const UElement key2); 84 * @param key1 The string for comparison 86 * @return true if key1 and key2 are equal, return false otherwise. 89 uhash_compareCaselessUnicodeString(const UElement key1, const UElement key2);
|
/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/selinux/libsepol/cil/src/ |
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 == curr->ckey->key1 & [all...] |
/external/autotest/frontend/client/src/autotest/common/table/ |
JSONObjectComparator.java | 21 String key1 = arg1.get(sortSpec.getField()).toString().toLowerCase(); local 22 compareValue = key0.compareTo(key1) * sortSpec.getDirectionMultiplier();
|
/external/selinux/libsepol/src/ |
symtab.c | 30 __attribute__ ((unused)), const_hashtab_key_t key1, 33 return strcmp(key1, key2);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/ |
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/ |
u_cache.h | 63 int (*compare)(const void *key1, const void *key2),
|
u_hash_table.h | 60 int (*compare)(void *key1, void *key2));
|
/external/ltp/testcases/kernel/syscalls/request_key/ |
request_key02.c | 42 static int key1; variable 51 {"ltp1", ENOKEY, &key1}, 104 key1 = KEY_REQKEY_DEFL_DEFAULT;
|
/external/skia/src/gpu/ |
GrPath.cpp | 46 SkAutoTArray<uint32_t> key1(cnt0); 48 write_style_key(key1.get(), style); 49 if (0 != memcmp(key0.get(), key1.get(), cnt0)) {
|
/external/guice/core/test/com/google/inject/internal/ |
WeakKeySetTest.java | 112 Key<Integer> key1 = Key.get(Integer.class); local 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); 139 // Key1 will be referenced as the key in the sources backingSet and won't be 153 // Now that the backing set is emptied, key1 is released. 160 Key<Integer> key1 = Key.get(Integer.class); local 165 set.add(key1, state1, source1); 166 assertInSet(set, key1, 1, source1) 188 Key<Integer> key1 = Key.get(Integer.class); local 231 Key<Integer> key1 = Key.get(Integer.class); local 278 Key<Integer> key1 = Key.get(Integer.class); local [all...] |
/device/google/contexthub/firmware/os/inc/ |
bl.h | 54 bool (*blProgramShared)(uint8_t *dst, const uint8_t *src, uint32_t length, uint32_t key1, uint32_t key2); 55 bool (*blEraseShared)(uint32_t key1, uint32_t key2); 56 bool (*blProgramEe)(uint8_t *dst, const uint8_t *src, uint32_t length, uint32_t key1, uint32_t key2); 91 bool blEraseSectors(uint32_t sector_cnt, uint8_t *erase_mask, uint32_t key1, uint32_t key2); 92 bool blPlatProgramFlash(uint8_t *dst, const uint8_t *src, uint32_t length, uint32_t key1, uint32_t key2);
|
/external/boringssl/src/decrepit/xts/ |
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 = &xctx_out->ks1 [all...] |
/external/guava/guava-tests/test/com/google/common/cache/ |
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/ |
symmetric_key_unittest.cc | 34 std::unique_ptr<crypto::SymmetricKey> key1( 36 ASSERT_TRUE(key1); 38 EXPECT_TRUE(key1->GetRawKey(&raw_key1)); 51 std::unique_ptr<crypto::SymmetricKey> key1( 54 ASSERT_TRUE(key1); 56 EXPECT_TRUE(key1->GetRawKey(&raw_key1));
|
/external/boringssl/src/fipstools/ |
cavp_tdes_test.cc | 89 std::vector<uint8_t> keys, key1, key2, key3, iv, in, result; local 96 (!t->GetBytes(&key1, "KEY1") || 106 key.insert(key.end(), key1.begin(), key1.end()); 136 printf("KEY1 = %s\r\nKEY2 = %s\r\nKEY3 = %s\r\n", 137 EncodeHex(key1.data(), key1.size()).c_str(), 212 std::vector<uint8_t> key1, key2, key3, iv, in, result; local 216 if (!t->GetBytes(&key1, "KEY1") | [all...] |
/external/mesa3d/src/gallium/winsys/svga/drm/ |
vmw_screen.c | 46 static int vmw_dev_compare(void *key1, void *key2) 48 return (major(*(dev_t *)key1) == major(*(dev_t *)key2) && 49 minor(*(dev_t *)key1) == minor(*(dev_t *)key2)) ? 0 : 1;
|
/external/libdrm/amdgpu/ |
util_hash_table.h | 56 int (*compare)(void *key1, void *key2));
|
/external/v8/src/profiler/ |
strings-storage.h | 37 static bool StringsMatch(void* key1, void* key2);
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
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/skia/tests/ |
ImageFilterCacheTest.cpp | 36 SkImageFilterCacheKey key1(0, SkMatrix::I(), clip, image->uniqueID(), image->subset()); 40 cache->set(key1, image.get(), offset, nullptr); 44 sk_sp<SkSpecialImage> foundImage = cache->get(key1, &foundOffset); 62 SkImageFilterCacheKey key1(1, SkMatrix::I(), clip1, image->uniqueID(), image->subset()); 72 REPORTER_ASSERT(reporter, !cache->get(key1, &foundOffset)); 85 SkImageFilterCacheKey key1(0, SkMatrix::I(), clip, image->uniqueID(), image->subset()); 89 cache->set(key1, image.get(), offset, nullptr); 93 REPORTER_ASSERT(reporter, cache->get(key1, &foundOffset)); 99 REPORTER_ASSERT(reporter, !cache->get(key1, &foundOffset)); 110 SkImageFilterCacheKey key1(0, SkMatrix::I(), clip, image->uniqueID(), image->subset()) [all...] |