Home
last modified time | relevance | path

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

12345678910>>...13

/external/boringssl/src/util/fipstools/acvp/acvptool/test/expected/
DACVP-TDES-ECB.bz2 ... : "d9d284a5a2899c36", 126 "key1": "68a720f1c146d3c1", 127 "key2": "2c6be56231a48626", 128 "key3": "49e6df91ea9804f8" 129 ...
DACVP-TDES-CBC.bz2 ... 763cd39a24e4e423", 127 "key1": "9de55e7a20f129ce", 128 "key2": "d998a21f1091bc10", 129 "key3": "4ada673415238f13" 130 } ...
/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/perfetto/test/trace_processor/track_event/
Dtrack_event_merged_debug_annotations_args.out10 "debug.debug1.key2","debug.debug1.key2[0]",20,"[NULL]"
11 "debug.debug1.key2","debug.debug1.key2[1]",21,"[NULL]"
12 "debug.debug1.key2","debug.debug1.key2[2]",22,"[NULL]"
13 "debug.debug1.key2","debug.debug1.key2[3]",23,"[NULL]"
16 "debug.debug2.key2","debug.debug2.key2[0]",20,"[NULL]"
17 "debug.debug2.key2","debug.debug2.key2[1]",21,"[NULL]"
18 "debug.debug2.key2","debug.debug2.key2[2]",22,"[NULL]"
19 "debug.debug2.key2","debug.debug2.key2[3]",23,"[NULL]"
25 "debug.debug4.key2[0]","debug.debug4.key2[0]",20,"[NULL]"
26 "debug.debug4.key2[1]","debug.debug4.key2[1]",21,"[NULL]"
Dtrack_event_merged_debug_annotations.textproto40 dict_keys: "key2"
60 legacy_json_value: "{\"key1\": 10, \"key2\": [20, 21],"
74 name: "key2"
101 dict_keys: "key2"
121 legacy_json_value: "{\"key4\": 40, \"key2\": [22, 23],"
/external/openscreen/discovery/dnssd/impl/
Dinstance_key_unittest.cc19 InstanceKey key2("instance", "_service._udp", "domain"); in TEST() local
20 EXPECT_TRUE(key1 == key2); in TEST()
21 EXPECT_FALSE(key1 != key2); in TEST()
24 EXPECT_FALSE(key1 == key2); in TEST()
25 EXPECT_TRUE(key1 != key2); in TEST()
26 key2 = InstanceKey("instance", "_service2._udp", "domain"); in TEST()
27 EXPECT_TRUE(key1 == key2); in TEST()
28 EXPECT_FALSE(key1 != key2); in TEST()
31 EXPECT_FALSE(key1 == key2); in TEST()
32 EXPECT_TRUE(key1 != key2); in TEST()
[all …]
Dservice_key_unittest.cc18 ServiceKey key2("_service._udp", "domain"); in TEST() local
19 EXPECT_TRUE(key1 == key2); in TEST()
20 EXPECT_FALSE(key1 != key2); in TEST()
23 EXPECT_FALSE(key1 == key2); in TEST()
24 EXPECT_TRUE(key1 != key2); in TEST()
25 key2 = ServiceKey("_service2._udp", "domain"); in TEST()
26 EXPECT_TRUE(key1 == key2); in TEST()
27 EXPECT_FALSE(key1 != key2); in TEST()
30 EXPECT_FALSE(key1 == key2); in TEST()
31 EXPECT_TRUE(key1 != key2); in TEST()
[all …]
/external/grpc-grpc-java/context/src/test/java/io/grpc/
DPersistentHashArrayMappedTrieTest.java52 Key key2 = new Key(0); in leaf_collision() local
56 Node<Key, Object> ret = leaf.put(key2, value2, key2.hashCode(), 0); in leaf_collision()
59 assertSame(value2, ret.get(key2, key2.hashCode(), 0)); in leaf_collision()
62 assertSame(null, leaf.get(key2, key2.hashCode(), 0)); in leaf_collision()
71 Key key2 = new Key(1); in leaf_insert() local
75 Node<Key, Object> ret = leaf.put(key2, value2, key2.hashCode(), 0); in leaf_insert()
78 assertSame(value2, ret.get(key2, key2.hashCode(), 0)); in leaf_insert()
81 assertSame(null, leaf.get(key2, key2.hashCode(), 0)); in leaf_insert()
101 Key key2 = new Key(key1.hashCode()); in collisionLeaf_insert() local
107 new CollisionLeaf<Key, Object>(key1, value1, key2, value2); in collisionLeaf_insert()
[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/boringssl/src/util/fipstools/acvp/acvptool/test/vectors/
DACVP-TDES-ECB.bz2 ... [ 19 { 20 "key1": "10079119981A0801", 21 "key2": "0101010101010101", 22 "key3": "1007921098190101", 23 "pt ...
DACVP-TDES-CBC.bz2 ... iv": "0000000000000000", 21 "key1": "0107910491190101", 22 "key2": "0101010101010101", 23 "key3": "0107940491190401", 24 "pt ...
/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()
193 ckey->key2 < curr->ckey->key2) { in cil_complex_symtab_insert()
198 ckey->key2 == curr->ckey->key2 && in cil_complex_symtab_insert()
204 ckey->key2 == curr->ckey->key2 && in cil_complex_symtab_insert()
234 ckey->key2 == curr->ckey->key2 && in cil_complex_symtab_search()
242 ckey->key2 < curr->ckey->key2) { in cil_complex_symtab_search()
247 ckey->key2 == curr->ckey->key2 && in cil_complex_symtab_search()
253 ckey->key2 == curr->ckey->key2 && in cil_complex_symtab_search()
/external/libchrome/crypto/
Dsymmetric_key_unittest.cc22 std::unique_ptr<crypto::SymmetricKey> key2( in TEST() local
24 ASSERT_TRUE(key2); in TEST()
25 EXPECT_EQ(32U, key2->key().size()); in TEST()
26 EXPECT_NE(key->key(), key2->key()); in TEST()
34 std::unique_ptr<crypto::SymmetricKey> key2( in TEST() local
36 ASSERT_TRUE(key2); in TEST()
38 EXPECT_EQ(key1->key(), key2->key()); in TEST()
47 std::unique_ptr<crypto::SymmetricKey> key2(crypto::SymmetricKey::Import( in TEST() local
49 ASSERT_TRUE(key2); in TEST()
51 EXPECT_EQ(key1->key(), key2->key()); in TEST()
/external/guice/core/test/com/google/inject/internal/
DWeakKeySetTest.java111 Key<Integer> key2 = Key.get(Integer.class); in testEviction_keyOverlap_2x() local
118 set.add(key2, state2, source2); in testEviction_keyOverlap_2x()
119 assertInSet(set, key2, 2, source1, source2); in testEviction_keyOverlap_2x()
122 WeakReference<Key<Integer>> weakKey2Ref = new WeakReference<>(key2); in testEviction_keyOverlap_2x()
126 Key<Integer> key = key1 = key2 = Key.get(Integer.class); in testEviction_keyOverlap_2x()
159 Key<Integer> key2 = Key.get(Integer.class); in testNoEviction_keyOverlap_2x() local
166 set.add(key2, state2, source2); in testNoEviction_keyOverlap_2x()
167 assertInSet(set, key2, 2, source1, source2); in testNoEviction_keyOverlap_2x()
170 WeakReference<Key<Integer>> weakKey2Ref = new WeakReference<>(key2); in testNoEviction_keyOverlap_2x()
172 Key<Integer> key = key1 = key2 = Key.get(Integer.class); in testNoEviction_keyOverlap_2x()
[all …]
/external/python/cryptography/tests/hazmat/primitives/
Dtest_3des.py53 lambda key1, key2, key3, **kwargs: algorithms.TripleDES(
54 binascii.unhexlify(key1 + key2 + key3)
90 lambda key1, key2, key3, **kwargs: algorithms.TripleDES(
91 binascii.unhexlify(key1 + key2 + key3)
127 lambda key1, key2, key3, **kwargs: algorithms.TripleDES(
128 binascii.unhexlify(key1 + key2 + key3)
164 lambda key1, key2, key3, **kwargs: algorithms.TripleDES(
165 binascii.unhexlify(key1 + key2 + key3)
201 lambda key1, key2, key3, **kwargs: algorithms.TripleDES(
202 binascii.unhexlify(key1 + key2 + key3)
/external/guava/android/guava-tests/test/com/google/common/cache/
DCacheReferencesTest.java93 Key key2 = new Key(2);
94 String value2 = key2.toString();
96 assertSame(value2, cache.getUnchecked(key2));
97 assertEquals(ImmutableSet.of(key1, key2), cache.asMap().keySet());
100 ImmutableSet.of(immutableEntry(key1, value1), immutableEntry(key2, value2)),
109 Key key2 = new Key(2);
110 String value2 = key2.toString();
112 assertSame(value2, cache.getUnchecked(key2));
115 assertTrue(cache.asMap().containsKey(key2));
117 assertEquals(ImmutableSet.of(key2), cache.asMap().keySet());
[all …]
/external/guava/guava-tests/test/com/google/common/cache/
DCacheReferencesTest.java93 Key key2 = new Key(2);
94 String value2 = key2.toString();
96 assertSame(value2, cache.getUnchecked(key2));
97 assertEquals(ImmutableSet.of(key1, key2), cache.asMap().keySet());
100 ImmutableSet.of(immutableEntry(key1, value1), immutableEntry(key2, value2)),
109 Key key2 = new Key(2);
110 String value2 = key2.toString();
112 assertSame(value2, cache.getUnchecked(key2));
115 assertTrue(cache.asMap().containsKey(key2));
117 assertEquals(ImmutableSet.of(key2), cache.asMap().keySet());
[all …]
/external/grpc-grpc/test/cpp/test/
Dserver_context_test_spouse_test.cc33 const char key2[] = "metadata-key2"; variable
57 spouse.AddClientMetadata(key2, val2); in TEST()
59 ASSERT_TRUE(ClientMetadataContains(context, key2, val2)); in TEST()
71 context.AddInitialMetadata(key2, val2); in TEST()
72 metadata.insert(std::pair<grpc::string, grpc::string>(key2, val2)); in TEST()
85 context.AddTrailingMetadata(key2, val2); in TEST()
86 metadata.insert(std::pair<grpc::string, grpc::string>(key2, val2)); in TEST()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/upstream/cache/
DCachedContentIndexTest.java94 final String key2 = "key2"; in addGetRemove() local
101 CachedContent cachedContent2 = index.getOrAdd(key2); in addGetRemove()
116 assertThat(index.get(key2)).isEqualTo(cachedContent2); in addGetRemove()
125 assertThat(keys).containsExactly(key1, key2); in addGetRemove()
129 assertThat(index.getKeyForId(cachedContent2.id)).isEqualTo(key2); in addGetRemove()
132 index.maybeRemove(key2); in addGetRemove()
135 assertThat(index.get(key2)).isNull(); in addGetRemove()
139 index.getOrAdd(key2); in addGetRemove()
142 assertThat(index.get(key2)).isNull(); in addGetRemove()
198 final String key2 = "key2"; in assignIdForKeyAndGetKeyForId() local
[all …]
/external/perfetto/src/traced/probes/filesystem/
Dlru_inode_cache_unittest.cc34 const std::pair<BlockDeviceID, Inode> key2{0, 1}; variable
56 cache.Insert(key2, val2()); in TEST()
58 EXPECT_THAT(cache.Get(key2), Pointee(Eq(val2()))); in TEST()
66 cache.Insert(key2, val2()); in TEST()
68 EXPECT_THAT(cache.Get(key2), Pointee(Eq(val2()))); in TEST()
72 EXPECT_THAT(cache.Get(key2), Pointee(Eq(val2()))); in TEST()
/external/rust/crates/quiche/deps/boringssl/src/util/fipstools/cavp/
Dcavp_tdes_test.cc90 std::vector<uint8_t> keys, key1, key2, key3, iv, in, result; in TestKAT() local
98 !t->GetBytes(&key2, "KEY2") || in TestKAT()
108 key.insert(key.end(), key2.begin(), key2.end()); in TestKAT()
138 EncodeHex(key2).c_str(), EncodeHex(key3).c_str()); in TestKAT()
209 std::vector<uint8_t> key1, key2, key3, iv, in, result; in TestMCT() local
214 !t->GetBytes(&key2, "KEY2") || in TestMCT()
227 key.insert(key.end(), key2.begin(), key2.end()); in TestMCT()
265 EncodeHex(key1).c_str(), EncodeHex(key2).c_str(), in TestMCT()
275 XORKeyWithOddParityLSB(&key2, prev_result); in TestMCT()
/external/boringssl/src/util/fipstools/cavp/
Dcavp_tdes_test.cc90 std::vector<uint8_t> keys, key1, key2, key3, iv, in, result; in TestKAT() local
98 !t->GetBytes(&key2, "KEY2") || in TestKAT()
108 key.insert(key.end(), key2.begin(), key2.end()); in TestKAT()
138 EncodeHex(key2).c_str(), EncodeHex(key3).c_str()); in TestKAT()
209 std::vector<uint8_t> key1, key2, key3, iv, in, result; in TestMCT() local
214 !t->GetBytes(&key2, "KEY2") || in TestMCT()
227 key.insert(key.end(), key2.begin(), key2.end()); in TestMCT()
265 EncodeHex(key1).c_str(), EncodeHex(key2).c_str(), in TestMCT()
275 XORKeyWithOddParityLSB(&key2, prev_result); in TestMCT()
/external/grpc-grpc/test/cpp/cocoapods/test/
Dserver_context_test_spouse_test.mm37 const char key2[] = "metadata-key2";
65 spouse.AddClientMetadata(key2, val2);
67 ASSERT_TRUE(ClientMetadataContains(context, key2, val2));
79 context.AddInitialMetadata(key2, val2);
80 metadata.insert(std::pair<grpc::string, grpc::string>(key2, val2));
93 context.AddTrailingMetadata(key2, val2);
94 metadata.insert(std::pair<grpc::string, grpc::string>(key2, val2));
/external/skqp/tests/
DImageFilterCacheTest.cpp45 SkImageFilterCacheKey key2(0, SkMatrix::I(), clip, subset->uniqueID(), subset->subset()); in test_find_existing() local
57 REPORTER_ASSERT(reporter, !cache->get(key2, &foundOffset)); in test_find_existing()
72 SkImageFilterCacheKey key2(0, SkMatrix::MakeTrans(5, 5), clip1, in test_dont_find_if_diff_key() local
83 REPORTER_ASSERT(reporter, !cache->get(key2, &foundOffset)); in test_dont_find_if_diff_key()
96 SkImageFilterCacheKey key2(1, SkMatrix::I(), clip, image->uniqueID(), image->subset()); in test_internal_purge() local
108 cache->set(key2, image.get(), offset, filter2.get()); in test_internal_purge()
110 REPORTER_ASSERT(reporter, cache->get(key2, &foundOffset)); in test_internal_purge()
123 SkImageFilterCacheKey key2(1, SkMatrix::I(), clip, subset->uniqueID(), image->subset()); in test_explicit_purging() local
129 cache->set(key2, image.get(), offset, filter2.get()); in test_explicit_purging()
135 REPORTER_ASSERT(reporter, cache->get(key2, &foundOffset)); in test_explicit_purging()
[all …]

12345678910>>...13