/third_party/boost/libs/hana/test/map/ |
D | at_key.collisions.cpp | 55 constexpr auto key2 = B{}; in main() 58 BOOST_HANA_CONSTANT_CHECK(hana::equal(key2, key2)); in main() 59 BOOST_HANA_CONSTANT_CHECK(hana::not_(hana::equal(key1, key2))); in main() 62 BOOST_HANA_CONSTANT_CHECK(hana::equal(hana::hash(key1), hana::hash(key2))); in main() 67 hana::make_pair(key2, key2) in main() 76 hana::at_key(map, key2), in main() 77 key2 in main() 83 hana::make_pair(key2, key2), in main() 93 hana::at_key(map, key2), in main() 94 key2 in main() [all …]
|
/third_party/curl/packages/vms/ |
D | config_h.com | 367 $ 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 …]
|
/third_party/curl/tests/unit/ |
D | 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)); 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");
|
/third_party/boost/libs/fusion/test/sequence/ |
D | map_comparison.cpp | 14 struct key2 {}; struct 22 map<pair<key1, int>, pair<key2, char> > v1(5, 'a'); in equality_test() 23 map<pair<key1, int>, pair<key2, char> > v2(5, 'a'); in equality_test() 26 map<pair<key1, int>, pair<key2, char> > v3(5, 'b'); in equality_test() 27 map<pair<key1, int>, pair<key2, char> > t4(2, 'a'); in equality_test() 32 map<pair<key1, int>, pair<key2, char>, pair<key2, bool> > v5(5, 'a', true); in equality_test() 44 map<pair<key1, int>, pair<key2, float> > v1(4, 3.3f); in ordering_test() 45 map<pair<key1, short>, pair<key2, float> > v2(5, 3.3f); in ordering_test() 46 map<pair<key1, long>, pair<key2, double> > v3(5, 4.4); in ordering_test()
|
D | map_construction.cpp | 14 struct key2 {}; struct 80 map<pair<key1, int>, pair<key2, float> > t5; in test() 84 map<pair<key1, int>, pair<key2, float> > t6(12, 5.5f); in test() 88 map<pair<key1, int>, pair<key2, float> > t7(t6); in test() 92 map<pair<key1, long>, pair<key2, double> > t8(t6); in test() 100 pair<key2, no_def_constructor>, in test() 104 pair<key2, no_def_constructor>(std::string("Daba")), // constructor is not used in test() 109 dummy(map<pair<key1, int>, pair<key2, double> >()); in test() 110 dummy(map<pair<key1, int>, pair<key2, double> >(1,3.14)); in test()
|
/third_party/openssl/crypto/des/ |
D | str2key.c | 40 void DES_string_to_2keys(const char *str, DES_cblock *key1, DES_cblock *key2) in DES_string_to_2keys() argument 46 memset(key2, 0, 8); in DES_string_to_2keys() 55 (*key2)[i % 8] ^= (j << 1); in DES_string_to_2keys() 63 (*key2)[7 - (i % 8)] ^= j; in DES_string_to_2keys() 67 memcpy(key2, key1, 8); in DES_string_to_2keys() 69 DES_set_odd_parity(key2); in DES_string_to_2keys() 72 DES_set_key_unchecked(key2, &ks); in DES_string_to_2keys() 73 DES_cbc_cksum((const unsigned char *)str, key2, length, &ks, key2); in DES_string_to_2keys() 76 DES_set_odd_parity(key2); in DES_string_to_2keys()
|
/third_party/openssl/test/ |
D | igetest.c | 77 const unsigned char key2[32]; member 190 AES_KEY key2; in test_bi_ige_vectors() local 198 AES_set_encrypt_key(v->key2, 8 * v->keysize, &key2); in test_bi_ige_vectors() 201 AES_set_decrypt_key(v->key2, 8 * v->keysize, &key2); in test_bi_ige_vectors() 204 AES_bi_ige_encrypt(v->in, buf, v->length, &key1, &key2, v->iv, in test_bi_ige_vectors() 209 test_output_memory("key 2", v->key2, sizeof(v->key2)); in test_bi_ige_vectors() 324 AES_KEY key, key2; in test_bi_ige_enc_dec() local 331 AES_set_encrypt_key(rkey2, 8 * sizeof(rkey2), &key2); in test_bi_ige_enc_dec() 332 AES_bi_ige_encrypt(plaintext, ciphertext, TEST_SIZE, &key, &key2, iv, in test_bi_ige_enc_dec() 336 AES_set_decrypt_key(rkey2, 8 * sizeof(rkey2), &key2); in test_bi_ige_enc_dec() [all …]
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_symtab.c | 154 intptr_t sum = ckey->key1 + ckey->key2 + ckey->key3 + ckey->key4; in cil_complex_symtab_hash() 187 ckey->key2 == curr->ckey->key2 && in cil_complex_symtab_insert() 195 ckey->key2 < curr->ckey->key2) { in cil_complex_symtab_insert() 200 ckey->key2 == curr->ckey->key2 && in cil_complex_symtab_insert() 206 ckey->key2 == curr->ckey->key2 && in cil_complex_symtab_insert() 236 ckey->key2 == curr->ckey->key2 && in cil_complex_symtab_search() 244 ckey->key2 < curr->ckey->key2) { in cil_complex_symtab_search() 249 ckey->key2 == curr->ckey->key2 && in cil_complex_symtab_search() 255 ckey->key2 == curr->ckey->key2 && in cil_complex_symtab_search()
|
/third_party/node/deps/npm/node_modules/ecc-jsbn/ |
D | test.js | 3 var key2 = new ecc.ECKey(ecc.ECCurves.secp160r1); variable 4 console.log(key1.deriveSharedSecret(key2)); 6 var key4 = new ecc.ECKey(ecc.ECCurves.secp160r1,key2.PublicKey,true); 10 var key2 = new ecc.ECKey(ecc.ECCurves.secp256r1); variable 11 console.log(key1.deriveSharedSecret(key2)); 13 var key4 = new ecc.ECKey(ecc.ECCurves.secp256r1,key2.PublicKey,true);
|
/third_party/grpc/test/cpp/test/ |
D | server_context_test_spouse_test.cc | 33 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<std::string, std::string>(key2, val2)); in TEST() 85 context.AddTrailingMetadata(key2, val2); in TEST() 86 metadata.insert(std::pair<std::string, std::string>(key2, val2)); in TEST()
|
/third_party/boost/boost/intrusive/detail/ |
D | tree_value_compare.hpp | 94 BOOST_INTRUSIVE_FORCEINLINE Ret operator()(const key_type &key1, const key_type &key2) const in operator ()() 95 { return this->key_comp()(key1, key2); } in operator ()() 103 BOOST_INTRUSIVE_FORCEINLINE Ret operator()(const value_type &value1, const key_type &key2) const in operator ()() 104 { return this->key_comp()(KeyOfValue()(value1), key2); } in operator ()() 112 BOOST_INTRUSIVE_FORCEINLINE Ret operator()( const U &nonkey1, const key_type &key2 in operator ()() 114 { return this->key_comp()(nonkey1, key2); } in operator ()() 169 BOOST_INTRUSIVE_FORCEINLINE Ret operator()(const key_type &key1, const key_type &key2) const in operator ()() 170 { return this->key_comp()(key1, key2); } in operator ()() 178 BOOST_INTRUSIVE_FORCEINLINE Ret operator()(const U &nonkey1, const key_type &key2 in operator ()() 180 { return this->key_comp()(nonkey1, key2); } in operator ()()
|
/third_party/flutter/flutter/packages/flutter/test/widgets/ |
D | global_keys_moving_test.dart | 10 GlobalKey key2 = GlobalKey(); 13 String toString() => 'Item($key1, $key2)'; 32 const KeyedWrapper(this.key1, this.key2); 35 final Key key2; 42 key: key2, 51 KeyedWrapper(items[1].key1, items[1].key2), 52 KeyedWrapper(items[0].key1, items[0].key2),
|
D | slivers_appbar_floating_test.dart | 57 GlobalKey key1, key2, key3; 64 SliverPersistentHeader(key: key2 = GlobalKey(), delegate: delegate, floating: true), 73 verifyPaintPosition(key2, const Offset(0.0, 1000.0), false); 79 verifyPaintPosition(key2, Offset(0.0, 600.0 - delegate.maxExtent), true); 87 verifyPaintPosition(key2, Offset(0.0, 600.0 - delegate.maxExtent * 2.0), true); 94 verifyPaintPosition(key2, const Offset(0.0, 0.0), true); 101 verifyPaintPosition(key2, const Offset(0.0, 0.0), true); 108 verifyPaintPosition(key2, const Offset(0.0, 0.0), true); 115 verifyPaintPosition(key2, const Offset(0.0, 0.0), true); 122 verifyPaintPosition(key2, const Offset(0.0, 0.0), false); [all …]
|
D | composited_transform_test.dart | 45 final GlobalKey key2 = GlobalKey(); 69 child: Container(key: key2, height: 10.0, width: 10.0), 78 final RenderBox box2 = key2.currentContext.findRenderObject(); 88 final GlobalKey key2 = GlobalKey(); 120 child: Container(key: key2, height: 10.0, width: 10.0), 133 final RenderBox box2 = key2.currentContext.findRenderObject(); 143 final GlobalKey key2 = GlobalKey(); 162 key: key2, 172 final RenderBox box2 = key2.currentContext.findRenderObject();
|
D | slivers_appbar_pinned_test.dart | 28 GlobalKey key1, key2, key3, key4, key5; 35 SliverPersistentHeader(key: key2 = GlobalKey(), delegate: TestDelegate(), pinned: true), 56 verifyPaintPosition(key2, const Offset(0.0, 0.0), true); 126 GlobalKey key1, key2, key3, key4, key5; 133 SliverPersistentHeader(key: key2 = GlobalKey(), delegate: TestDelegate(), pinned: true), 144 verifyPaintPosition(key2, const Offset(0.0, 550.0), true); 151 verifyPaintPosition(key2, const Offset(0.0, 0.0), true); 158 verifyPaintPosition(key2, const Offset(0.0, 0.0), true); 165 verifyPaintPosition(key2, const Offset(0.0, 0.0), true); 173 verifyPaintPosition(key2, const Offset(0.0, 0.0), true); [all …]
|
/third_party/boost/libs/spirit/test/x3/ |
D | fusion_map.cpp | 19 std::string key2; member 28 (std::string, key2, class key2_attr) 61 BOOST_TEST(attr_.key2 == ""); in main() 72 BOOST_TEST(attr_.key2 == ""); in main() 105 auto const key2 = lit("key2") >> attr(key2_attr()); in main() local 107 auto const kv2 = key2 >> lit("=") >> +~char_(';'); in main() 119 auto key2 = lit("key2") >> attr(key2_attr()); in main() local 120 auto keys = key1 | key2; in main()
|
/third_party/grpc/test/cpp/cocoapods/test/ |
D | server_context_test_spouse_test.mm | 37 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<std::string, std::string>(key2, val2)); 93 context.AddTrailingMetadata(key2, val2); 94 metadata.insert(std::pair<std::string, std::string>(key2, val2));
|
/third_party/flutter/skia/tests/ |
D | ImageFilterCacheTest.cpp | 45 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 …]
|
/third_party/ffmpeg/libavutil/tests/ |
D | hmac.c | 46 static const uint8_t key2[] = "Jefe"; in main() local 65 test(hmac, key2, sizeof(key2), data2, sizeof(data2)); in main() 79 test(hmac, key2, sizeof(key2), data2, sizeof(data2)); in main()
|
/third_party/skia/tests/ |
D | ImageFilterCacheTest.cpp | 48 SkImageFilterCacheKey key2(0, SkMatrix::I(), clip, subset->uniqueID(), subset->subset()); in test_find_existing() local 58 REPORTER_ASSERT(reporter, !cache->get(key2, &foundImage)); in test_find_existing() 73 SkImageFilterCacheKey key2(0, SkMatrix::Translate(5, 5), clip1, in test_dont_find_if_diff_key() local 84 REPORTER_ASSERT(reporter, !cache->get(key2, &foundImage)); in test_dont_find_if_diff_key() 97 SkImageFilterCacheKey key2(1, SkMatrix::I(), clip, image->uniqueID(), image->subset()); in test_internal_purge() local 108 cache->set(key2, filter2.get(), in test_internal_purge() 111 REPORTER_ASSERT(reporter, cache->get(key2, &foundImage)); in test_internal_purge() 124 SkImageFilterCacheKey key2(1, SkMatrix::I(), clip, subset->uniqueID(), image->subset()); in test_explicit_purging() local 131 cache->set(key2, filter2.get(), in test_explicit_purging() 137 REPORTER_ASSERT(reporter, cache->get(key2, &foundImage)); in test_explicit_purging() [all …]
|
/third_party/flutter/flutter/packages/flutter/test/services/ |
D | keyboard_key_test.dart | 20 const PhysicalKeyboardKey key2 = PhysicalKeyboardKey(0x01, debugName: 'key2'); 22 expect(key1, equals(key2)); 49 … const LogicalKeyboardKey key2 = LogicalKeyboardKey(0x01, keyLabel: 'label2', debugName: 'key2'); 51 expect(key1, equals(key2));
|
/third_party/boost/boost/container/detail/ |
D | compare_functors.hpp | 110 BOOST_CONTAINER_FORCEINLINE bool operator()(const key_type &key1, const key_type &key2) const in operator ()() 111 { return this->key_pred()(key1, key2); } in operator ()() 118 BOOST_CONTAINER_FORCEINLINE bool operator()(const U &nonkey1, const key_type &key2) const in operator ()() 119 { return this->key_pred()(this->key_from(nonkey1), key2); } in operator ()()
|
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/ |
D | sctp_auth.c | 356 sctp_compare_key(sctp_key_t *key1, sctp_key_t *key2) in sctp_compare_key() argument 366 key2len = sctp_get_keylen(key2); in sctp_compare_key() 380 key_2 = key2->key; in sctp_compare_key() 407 sctp_compute_hashkey(sctp_key_t *key1, sctp_key_t *key2, sctp_key_t *shared) in sctp_compute_hashkey() argument 413 keylen = sctp_get_keylen(key1) + sctp_get_keylen(key2) + in sctp_compute_hashkey() 431 if (sctp_compare_key(key1, key2) <= 0) { in sctp_compute_hashkey() 441 if (sctp_get_keylen(key2)) { in sctp_compute_hashkey() 442 memcpy(key_ptr, key2->key, key2->keylen); in sctp_compute_hashkey() 450 if (sctp_get_keylen(key2)) { in sctp_compute_hashkey() 451 memcpy(key_ptr, key2->key, key2->keylen); in sctp_compute_hashkey() [all …]
|
/third_party/ltp/testcases/kernel/syscalls/request_key/ |
D | request_key02.c | 29 static int key2; variable 38 {"ltp2", EKEYREVOKED, &key2}, 91 key2 = init_key("ltp2", KEYCTL_REVOKE); in setup()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | uvectest.cpp | 74 UVectorTest_compareInt32(UElement key1, UElement key2) { in UVectorTest_compareInt32() argument 75 if (key1.integer > key2.integer) { in UVectorTest_compareInt32() 78 else if (key1.integer < key2.integer) { in UVectorTest_compareInt32() 86 UVectorTest_compareCstrings(const UElement key1, const UElement key2) { in UVectorTest_compareCstrings() argument 87 return !strcmp((const char *)key1.pointer, (const char *)key2.pointer); in UVectorTest_compareCstrings()
|