/external/vboot_reference/tests/ |
vb21_common2_tests.c | 28 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, size) 251 struct vb2_packed_key *key2 = NULL; local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/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/curl/tests/unit/ |
unit1603.c | 53 char key2[] = "key2b"; variable 64 Curl_hash_str(key2, strlen(key2), slots) != 0 || 75 nodep = Curl_hash_add(&hash_static, &key2, strlen(key2), &key2); 77 nodep = Curl_hash_pick(&hash_static, &key2, strlen(key2)); 78 fail_unless(nodep == key2, "hash retrieval failed"); 94 nodep = Curl_hash_pick(&hash_static, &key2, strlen(key2)) [all...] |
unit1602.c | 57 int key2 = 25; variable 73 nodep = Curl_hash_add(&hash_static, &key2, klen, value2);
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
Contacts_SettingsTest.java | 35 String key2 = "key 2"; local 38 Settings.setSetting(mContentResolver, "account", key2, value2); 40 assertEquals(value2, Settings.getSetting(mContentResolver, "account", key2));
|
/external/icu/icu4c/source/common/ |
uelement.h | 74 * @param key2 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); 85 * @param key2 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) { 66 DSAPublicKey dsa2 = ((DSAPublicKey) key2); 73 && key2 instanceof DSAPrivateKey) { 75 DSAPrivateKey dsa2 = ((DSAPrivateKey) key2);
|
/external/curl/packages/vms/ |
config_h.com | 208 $ key2 = f$element(1," ",line_in) 210 $ if key2 .nes. " " .and. key2 .nes. "" then goto rtldef_loop1 230 $ key2 = f$element(1," ",line_in) 232 $ if key2 .nes. " " .and. key2 .nes. "" then goto stardef_loop1 277 $ key2 = f$element(1," ",xline) 278 $ key2a = f$element(0,"_",key2) 279 $ key2b = f$element(1,"_",key2) 280 $ key2_len = f$length(key2) [all...] |
/external/libchrome/crypto/ |
symmetric_key_unittest.cc | 24 std::unique_ptr<crypto::SymmetricKey> key2( 26 ASSERT_TRUE(key2); 28 EXPECT_TRUE(key2->GetRawKey(&raw_key2)); 40 std::unique_ptr<crypto::SymmetricKey> key2( 42 ASSERT_TRUE(key2); 45 EXPECT_TRUE(key2->GetRawKey(&raw_key2)); 58 std::unique_ptr<crypto::SymmetricKey> key2( 60 ASSERT_TRUE(key2); 63 EXPECT_TRUE(key2->GetRawKey(&raw_key2));
|
/external/selinux/libsepol/cil/src/ |
cil_symtab.c | 152 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 == curr->ckey->key2 & [all...] |
/external/selinux/libsepol/src/ |
symtab.c | 31 const_hashtab_key_t key2) 33 return strcmp(key1, key2);
|
/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/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 | 43 static int key2; variable 52 {"ltp2", EKEYREVOKED, &key2}, 105 key2 = init_key("ltp2", KEYCTL_REVOKE);
|
/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/guava/guava-tests/test/com/google/common/cache/ |
CacheReferencesTest.java | 92 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), cache.asMap().keySet()) [all...] |
/external/boringssl/src/fipstools/ |
cavp_tdes_test.cc | 89 std::vector<uint8_t> keys, key1, key2, key3, iv, in, result; local 97 !t->GetBytes(&key2, "KEY2") || 107 key.insert(key.end(), key2.begin(), key2.end()); 138 EncodeHex(key2.data(), key2.size()).c_str(), 212 std::vector<uint8_t> key1, key2, key3, iv, in, result; local 217 !t->GetBytes(&key2, "KEY2") || [all...] |
/external/guice/core/test/com/google/inject/internal/ |
WeakKeySetTest.java | 113 Key<Integer> key2 = Key.get(Integer.class); local 120 set.add(key2, state2, source2); 121 assertInSet(set, key2, 2, source1, source2); 124 WeakReference<Key<Integer>> weakKey2Ref = new WeakReference<Key<Integer>>(key2); 128 Key<Integer> key = key1 = key2 = Key.get(Integer.class); 161 Key<Integer> key2 = Key.get(Integer.class); local 168 set.add(key2, state2, source2); 169 assertInSet(set, key2, 2, source1, source2); 172 WeakReference<Key<Integer>> weakKey2Ref = new WeakReference<Key<Integer>>(key2); 174 Key<Integer> key = key1 = key2 = Key.get(Integer.class) 189 Key<Integer> key2 = Key.get(Integer.class); local 232 Key<Integer> key2 = Key.get(Integer.class); local 279 Key<Integer> key2 = Key.get(Integer.class); local [all...] |
/external/autotest/client/site_tests/login_OwnershipNotRetaken/ |
login_OwnershipNotRetaken.py | 63 key2 = open(constants.OWNER_KEY_FILE, 'rb') 64 hash2 = hashlib.md5(key2.read()) 65 key2.close()
|
/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);
|
/frameworks/base/tests/net/java/android/net/nsd/ |
NsdManagerTest.java | 84 int key2 = verifyRequest(NsdManager.RESOLVE_SERVICE); local 85 sendResponse(NsdManager.RESOLVE_SERVICE_SUCCEEDED, 0, key2, reply); 103 int key2 = verifyRequest(NsdManager.RESOLVE_SERVICE); local 105 sendResponse(NsdManager.RESOLVE_SERVICE_SUCCEEDED, 0, key2, reply); 128 int key2 = verifyRequest(NsdManager.REGISTER_SERVICE); local 131 sendResponse(NsdManager.REGISTER_SERVICE_SUCCEEDED, 0, key2, request2); 156 assertEquals(key2, key2again); 165 //assertEquals(key2, key2yetAgain); 191 int key2 = verifyRequest(NsdManager.DISCOVER_SERVICES); local 193 sendResponse(NsdManager.DISCOVER_SERVICES_STARTED, 0, key2, reply1) [all...] |
/external/boringssl/src/decrepit/xts/ |
xts.c | 60 void *key1, *key2; member in struct:xts128_context 78 (*ctx->block2)(tweak.c, tweak.c, ctx->key2); 202 xctx->xts.key2 = &xctx->ks2; 213 !xctx->xts.key2 || 234 if (xctx->xts.key2) { 235 if (xctx->xts.key2 != &xctx->ks2) { 238 xctx_out->xts.key2 = &xctx_out->ks2; 244 /* key1 and key2 are used as an indicator both key and IV are set */ 246 xctx->xts.key2 = NULL;
|