Home
last modified time | relevance | path

Searched refs:key2 (Results 1 – 25 of 198) sorted by relevance

12345678

/external/vboot_reference/tests/
Dvb21_common2_tests.c28 struct vb2_packed_key *key2; in test_unpack_key() local
32 key2 = (struct vb2_packed_key *)malloc(size); in test_unpack_key()
34 memcpy(key2, key, size); in test_unpack_key()
35 TEST_SUCC(vb2_unpack_key(&pubk, (uint8_t *)key2, size), in test_unpack_key()
38 memcpy(key2, key, size); in test_unpack_key()
39 key2->key_offset += 4; in test_unpack_key()
40 TEST_EQ(vb2_unpack_key(&pubk, (uint8_t *)key2, size), in test_unpack_key()
44 memcpy(key2, key, size); in test_unpack_key()
45 key2->c.fixed_size += size; in test_unpack_key()
46 TEST_EQ(vb2_unpack_key(&pubk, (uint8_t *)key2, size), in test_unpack_key()
[all …]
/external/curl/packages/vms/
Dconfig_h.com367 $ if key2 .eqs. "GETADDRINFO_THREADSAFE"
391 $ if key2 .eqs. "LL"
399 $ if key2 .eqs. "bool_t"
407 $ if key2 .eqs. "bits16_t"
415 $ if key2 .eqs. "u_bits16_t"
423 $ if key2 .eqs. "bits32_t"
431 $ if key2 .eqs. "u_bits32_t"
439 $ if key2 .eqs. "intmax_t"
451 $ if key2 .eqs. "uintmax_t"
463 $ if key2 .eqs. "socklen_t"
[all …]
/external/curl/tests/unit/
Dunit1603.c53 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));
95 fail_unless(nodep == key2, "hash retrieval failed");
142 nodep = Curl_hash_pick(&hash_static, &key2, strlen(key2));
143 fail_unless(nodep == key2, "hash retrieval failed");
/external/selinux/libsepol/cil/src/
Dcil_symtab.c152 intptr_t sum = ckey->key1 + ckey->key2 + ckey->key3 + ckey->key4; in cil_complex_symtab_hash()
185 ckey->key2 == curr->ckey->key2 && in cil_complex_symtab_insert()
192 ckey->key2 < curr->ckey->key2) { in cil_complex_symtab_insert()
197 ckey->key2 == curr->ckey->key2 && in cil_complex_symtab_insert()
203 ckey->key2 == curr->ckey->key2 && in cil_complex_symtab_insert()
233 ckey->key2 == curr->ckey->key2 && in cil_complex_symtab_search()
241 ckey->key2 < curr->ckey->key2) { in cil_complex_symtab_search()
246 ckey->key2 == curr->ckey->key2 && in cil_complex_symtab_search()
252 ckey->key2 == curr->ckey->key2 && in cil_complex_symtab_search()
/external/guice/core/test/com/google/inject/internal/
DWeakKeySetTest.java113 Key<Integer> key2 = Key.get(Integer.class); in testEviction_keyOverlap_2x() local
120 set.add(key2, state2, source2); in testEviction_keyOverlap_2x()
121 assertInSet(set, key2, 2, source1, source2); in testEviction_keyOverlap_2x()
124 WeakReference<Key<Integer>> weakKey2Ref = new WeakReference<Key<Integer>>(key2); in testEviction_keyOverlap_2x()
128 Key<Integer> key = key1 = key2 = Key.get(Integer.class); in testEviction_keyOverlap_2x()
161 Key<Integer> key2 = Key.get(Integer.class); in testNoEviction_keyOverlap_2x() local
168 set.add(key2, state2, source2); in testNoEviction_keyOverlap_2x()
169 assertInSet(set, key2, 2, source1, source2); in testNoEviction_keyOverlap_2x()
172 WeakReference<Key<Integer>> weakKey2Ref = new WeakReference<Key<Integer>>(key2); in testNoEviction_keyOverlap_2x()
174 Key<Integer> key = key1 = key2 = Key.get(Integer.class); in testNoEviction_keyOverlap_2x()
[all …]
/external/libchrome/crypto/
Dsymmetric_key_unittest.cc24 std::unique_ptr<crypto::SymmetricKey> key2( in TEST() local
26 ASSERT_TRUE(key2); in TEST()
28 EXPECT_TRUE(key2->GetRawKey(&raw_key2)); in TEST()
40 std::unique_ptr<crypto::SymmetricKey> key2( in TEST() local
42 ASSERT_TRUE(key2); in TEST()
45 EXPECT_TRUE(key2->GetRawKey(&raw_key2)); in TEST()
58 std::unique_ptr<crypto::SymmetricKey> key2( in TEST() local
60 ASSERT_TRUE(key2); in TEST()
63 EXPECT_TRUE(key2->GetRawKey(&raw_key2)); in TEST()
/external/guava/guava-tests/test/com/google/common/cache/
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), cache.asMap().keySet());
[all …]
/external/boringssl/src/fipstools/
Dcavp_tdes_test.cc89 std::vector<uint8_t> keys, key1, key2, key3, iv, in, result; in TestKAT() local
97 !t->GetBytes(&key2, "KEY2") || in TestKAT()
107 key.insert(key.end(), key2.begin(), key2.end()); in TestKAT()
138 EncodeHex(key2.data(), key2.size()).c_str(), in TestKAT()
212 std::vector<uint8_t> key1, key2, key3, iv, in, result; in TestMCT() local
217 !t->GetBytes(&key2, "KEY2") || in TestMCT()
230 key.insert(key.end(), key2.begin(), key2.end()); in TestMCT()
269 EncodeHex(key2.data(), key2.size()).c_str(), in TestMCT()
281 XORKeyWithOddParityLSB(&key2, prev_result); in TestMCT()
/external/skia/tests/
DImageFilterCacheTest.cpp37 SkImageFilterCacheKey key2(0, SkMatrix::I(), clip, subset->uniqueID(), subset->subset()); in test_find_existing() local
48 REPORTER_ASSERT(reporter, !cache->get(key2, &foundOffset)); in test_find_existing()
63 SkImageFilterCacheKey key2(0, SkMatrix::MakeTrans(5, 5), clip1, in test_dont_find_if_diff_key() local
73 REPORTER_ASSERT(reporter, !cache->get(key2, &foundOffset)); in test_dont_find_if_diff_key()
86 SkImageFilterCacheKey key2(1, SkMatrix::I(), clip, image->uniqueID(), image->subset()); in test_internal_purge() local
96 cache->set(key2, image.get(), offset, nullptr); in test_internal_purge()
98 REPORTER_ASSERT(reporter, cache->get(key2, &foundOffset)); in test_internal_purge()
111 SkImageFilterCacheKey key2(1, SkMatrix::I(), clip, subset->uniqueID(), image->subset()); in test_explicit_purging() local
115 cache->set(key2, image.get(), offset, nullptr); in test_explicit_purging()
121 REPORTER_ASSERT(reporter, cache->get(key2, &foundOffset)); in test_explicit_purging()
[all …]
DResourceCacheTest.cpp917 GrUniqueKey key2; in test_duplicate_unique_key() local
918 make_unique_key<0>(&key2, 0); in test_duplicate_unique_key()
921 key2.setCustomData(SkData::MakeWithCopy(&foo, sizeof(foo))); in test_duplicate_unique_key()
922 d->resourcePriv().setUniqueKey(key2); in test_duplicate_unique_key()
936 GrUniqueKey key1, key2, key3; in test_purge_invalidated() local
938 make_unique_key<0>(&key2, 2); in test_purge_invalidated()
947 b->resourcePriv().setUniqueKey(key2); in test_purge_invalidated()
954 REPORTER_ASSERT(reporter, cache->hasUniqueKey(key2)); in test_purge_invalidated()
963 Bus::Post(Msg(key2)); in test_purge_invalidated()
967 REPORTER_ASSERT(reporter, !cache->hasUniqueKey(key2)); in test_purge_invalidated()
[all …]
/external/boringssl/src/decrepit/xts/
Dxts.c60 void *key1, *key2; member
78 (*ctx->block2)(tweak.c, tweak.c, ctx->key2); in CRYPTO_xts128_encrypt()
202 xctx->xts.key2 = &xctx->ks2; in aes_xts_init_key()
213 !xctx->xts.key2 || in aes_xts_cipher()
234 if (xctx->xts.key2) { in aes_xts_ctrl()
235 if (xctx->xts.key2 != &xctx->ks2) { in aes_xts_ctrl()
238 xctx_out->xts.key2 = &xctx_out->ks2; in aes_xts_ctrl()
246 xctx->xts.key2 = NULL; in aes_xts_ctrl()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DDESedeEngine.java59 byte[] key2 = new byte[8]; in init()
60 System.arraycopy(keyMaster, 8, key2, 0, key2.length); in init()
61 workingKey2 = generateWorkingKey(!encrypting, key2); in init()
/external/python/cpython2/Lib/plat-mac/
Dic.py141 key2 = key[:string.index(key, '\245')+1]
143 key2 = key
144 if key2 in _decoder_table:
145 decoder = _decoder_table[key2][0]
154 key2 = key[:string.index(key, '\245')+1]
156 key2 = key
157 if key2 in _decoder_table:
158 coder = _decoder_table[key2][1]
/external/icu/icu4c/source/test/intltest/
Duvectest.cpp72 UVectorTest_compareInt32(UElement key1, UElement key2) { in UVectorTest_compareInt32() argument
73 if (key1.integer > key2.integer) { in UVectorTest_compareInt32()
76 else if (key1.integer < key2.integer) { in UVectorTest_compareInt32()
84 UVectorTest_compareCstrings(const UElement key1, const UElement key2) { in UVectorTest_compareCstrings() argument
85 return !strcmp((const char *)key1.pointer, (const char *)key2.pointer); in UVectorTest_compareCstrings()
/external/ltp/testcases/kernel/syscalls/request_key/
Drequest_key02.c43 static int key2; variable
52 {"ltp2", EKEYREVOKED, &key2},
105 key2 = init_key("ltp2", KEYCTL_REVOKE); in setup()
/external/v8/src/compiler/
Dstate-values-utils.cc22 bool StateValuesCache::AreKeysEqual(void* key1, void* key2) { in AreKeysEqual() argument
24 NodeKey* node_key2 = reinterpret_cast<NodeKey*>(key2); in AreKeysEqual()
29 reinterpret_cast<StateValuesKey*>(key2)); in AreKeysEqual()
37 return IsKeysEqualToNode(reinterpret_cast<StateValuesKey*>(key2), in AreKeysEqual()
73 StateValuesKey* key2) { in AreValueKeysEqual() argument
74 if (key1->count != key2->count) { in AreValueKeysEqual()
77 if (key1->mask != key2->mask) { in AreValueKeysEqual()
81 if (key1->values[i] != key2->values[i]) { in AreValueKeysEqual()
/external/libvncserver/libvncserver/
Dwebsockets.c169 void webSocketsGenMd5(char * target, char *key1, char *key2, char *key3);
255 char *key1 = NULL, *key2 = NULL, *key3 = NULL; in webSocketsHandshake() local
293 if (key1 && key2) { in webSocketsHandshake()
332 key2 = line+20; in webSocketsHandshake()
397 if (!(key1 && key2 && key3)) { in webSocketsHandshake()
404 webSocketsGenMd5(trailer, key1, key2, key3); in webSocketsHandshake()
438 webSocketsGenMd5(char * target, char *key1, char *key2, char *key3) in webSocketsGenMd5() argument
455 for (i=0; i < strlen(key2); i++) { in webSocketsGenMd5()
456 if (key2[i] == ' ') { in webSocketsGenMd5()
459 if ((key2[i] >= 48) && (key2[i] <= 57)) { in webSocketsGenMd5()
[all …]
/external/r8/src/test/java/com/android/tools/r8/smali/
DSwitchRewritingTest.java31 private boolean twoCaseWillUsePackedSwitch(int key1, int key2) { in twoCaseWillUsePackedSwitch() argument
32 return Math.abs((long) key1 - (long) key2) <= 2; in twoCaseWillUsePackedSwitch()
112 private void runTwoCaseSparseToPackedDexTest(int key1, int key2) { in runTwoCaseSparseToPackedDexTest() argument
133 " " + key2 + " -> :case_2", in runTwoCaseSparseToPackedDexTest()
151 if (twoCaseWillUsePackedSwitch(key1, key2)) { in runTwoCaseSparseToPackedDexTest()
314 private void runTwoCaseSparseToPackedJarTest(int key1, int key2) throws Exception { in runTwoCaseSparseToPackedJarTest() argument
324 " " + key2 + " : case_2", in runTwoCaseSparseToPackedJarTest()
352 if (twoCaseWillUsePackedSwitch(key1, key2)) { in runTwoCaseSparseToPackedJarTest()
/external/autotest/client/site_tests/login_OwnershipNotRetaken/
Dlogin_OwnershipNotRetaken.py63 key2 = open(constants.OWNER_KEY_FILE, 'rb')
64 hash2 = hashlib.md5(key2.read())
65 key2.close()
/external/snakeyaml/src/test/resources/pyyaml/
Dspec-10-11.data3 ? explicit key2 : , # Explicit empty
6 simple key2 : , # Explicit empty
Dspec-10-10.data3 ? explicit key2 : , # Explicit empty
6 simple key2 : , # Explicit empty
Dspec-10-10.canonical6 ? !!str "explicit key2"
12 ? !!str "simple key2"
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_screen.c46 static int vmw_dev_compare(void *key1, void *key2) in vmw_dev_compare() argument
48 return (major(*(dev_t *)key1) == major(*(dev_t *)key2) && in vmw_dev_compare()
49 minor(*(dev_t *)key1) == minor(*(dev_t *)key2)) ? 0 : 1; in vmw_dev_compare()
/external/llvm/test/YAMLParser/
Dspec-10-11.test5 ? explicit key2 : , # Explicit empty
8 simple key2 : , # Explicit empty
Dspec-10-10.test5 ? explicit key2 : , # Explicit empty
8 simple key2 : , # Explicit empty

12345678