Home
last modified time | relevance | path

Searched refs:key1 (Results 1 – 25 of 274) sorted by relevance

1234567891011

/third_party/curl/tests/unit/
Dunit1603.c52 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");
92 nodep = Curl_hash_pick(&hash_static, &key1, strlen(key1));
93 fail_unless(nodep == key1, "hash retrieval failed");
104 nodep = Curl_hash_pick(&hash_static, &key1, strlen(key1));
105 fail_unless(nodep == key1, "hash retrieval failed");
116 rc = Curl_hash_delete(&hash_static, &key1, strlen(key1));
[all …]
/third_party/boost/libs/hana/test/map/
Dat_key.collisions.cpp54 constexpr auto key1 = A{}; in main()
57 BOOST_HANA_CONSTANT_CHECK(hana::equal(key1, key1)); 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()
66 hana::make_pair(key1, key1), in main()
71 hana::at_key(map, key1), in main()
72 key1 in main()
84 hana::make_pair(key1, key1) in main()
88 hana::at_key(map, key1), in main()
89 key1 in main()
[all …]
/third_party/boost/libs/fusion/test/sequence/
Dmap_construction.cpp13 struct key1 {}; struct
68 map<pair<key1, int> > t1; in test()
71 map<pair<key1, float> > t2(5.5f); in test()
74 map<pair<key1, foo> > t3(foo(12)); in test()
77 map<pair<key1, double> > t4(t2); in test()
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()
99 pair<key1, no_def_constructor>, in test()
[all …]
Dmap_comparison.cpp13 struct key1 {}; 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()
/third_party/typescript/tests/baselines/reference/
DtsxStatelessFunctionComponentsWithTypeArguments1.types5 declare function ComponentWithTwoAttributes<K,V>(l: {key1: K, value: V}): JSX.Element;
6 >ComponentWithTwoAttributes : <K, V>(l: { key1: K; value: V;}) => JSX.Element
7 >l : { key1: K; value: V; }
8 >key1 : K
13 function Baz<T,U>(key1: T, value: U) {
14 >Baz : <T, U>(key1: T, value: U) => void
15 >key1 : T
18 let a0 = <ComponentWithTwoAttributes key1={key1} value={value} />
20 ><ComponentWithTwoAttributes key1={key1} value={value} /> : JSX.Element
21 >ComponentWithTwoAttributes : <K, V>(l: { key1: K; value: V; }) => JSX.Element
[all …]
DtsxStatelessFunctionComponentsWithTypeArguments1.js4 declare function ComponentWithTwoAttributes<K,V>(l: {key1: K, value: V}): JSX.Element; property
7 function Baz<T,U>(key1: T, value: U) {
8 let a0 = <ComponentWithTwoAttributes key1={key1} value={value} />
9 let a1 = <ComponentWithTwoAttributes {...{key1, value: value}} key="Component" />
38 function Baz(key1, value) { argument
39 var a0 = <ComponentWithTwoAttributes key1={key1} value={value}/>;
40 var a1 = <ComponentWithTwoAttributes {...{ key1: key1, value: value }} key="Component"/>;
DtsxStatelessFunctionComponentsWithTypeArguments1.symbols5 declare function ComponentWithTwoAttributes<K,V>(l: {key1: K, value: V}): JSX.Element;
10 >key1 : Symbol(key1, Decl(file.tsx, 2, 53))
18 function Baz<T,U>(key1: T, value: U) {
22 >key1 : Symbol(key1, Decl(file.tsx, 5, 18))
27 let a0 = <ComponentWithTwoAttributes key1={key1} value={value} />
30 >key1 : Symbol(key1, Decl(file.tsx, 6, 40))
31 >key1 : Symbol(key1, Decl(file.tsx, 5, 18))
35 let a1 = <ComponentWithTwoAttributes {...{key1, value: value}} key="Component" />
38 >key1 : Symbol(key1, Decl(file.tsx, 7, 46))
/third_party/boost/libs/spirit/test/x3/
Dfusion_map.cpp18 std::string key1; member
27 (std::string, key1, class key1_attr)
49 auto const key1 = lit("key1") >> attr(key1_attr()); in main() local
50 auto const kv1 = key1 >> lit("=") >> +char_; in main()
60 BOOST_TEST(attr_.key1 == "ABC"); in main()
66 auto const key1 = lit("key1") >> attr(key1_attr()); in main() local
67 auto const kv1 = key1 >> lit("=") >> +~char_(';'); in main()
71 BOOST_TEST(attr_.key1 == "ABC"); in main()
75 auto const key1 = lit("key1") >> attr(key1_attr()); in main() local
76 auto const kv1 = key1 >> lit("=") >> +~char_(';'); in main()
[all …]
/third_party/openssl/crypto/des/
Dstr2key.c40 void DES_string_to_2keys(const char *str, DES_cblock *key1, DES_cblock *key2) in DES_string_to_2keys() argument
45 memset(key1, 0, 8); in DES_string_to_2keys()
53 (*key1)[i % 8] ^= (j << 1); in DES_string_to_2keys()
61 (*key1)[7 - (i % 8)] ^= j; in DES_string_to_2keys()
67 memcpy(key2, key1, 8); in DES_string_to_2keys()
68 DES_set_odd_parity(key1); in DES_string_to_2keys()
70 DES_set_key_unchecked(key1, &ks); in DES_string_to_2keys()
71 DES_cbc_cksum((const unsigned char *)str, key1, length, &ks, key1); in DES_string_to_2keys()
75 DES_set_odd_parity(key1); in DES_string_to_2keys()
/third_party/selinux/libsepol/cil/src/
Dcil_symtab.c154 intptr_t sum = ckey->key1 + ckey->key2 + ckey->key3 + ckey->key4; in cil_complex_symtab_hash()
186 if (ckey->key1 == curr->ckey->key1 && in cil_complex_symtab_insert()
194 if (ckey->key1 == curr->ckey->key1 && in cil_complex_symtab_insert()
199 if (ckey->key1 == curr->ckey->key1 && in cil_complex_symtab_insert()
205 if (ckey->key1 == curr->ckey->key1 && in cil_complex_symtab_insert()
235 if (ckey->key1 == curr->ckey->key1 && in cil_complex_symtab_search()
243 if (ckey->key1 == curr->ckey->key1 && in cil_complex_symtab_search()
248 if (ckey->key1 == curr->ckey->key1 && in cil_complex_symtab_search()
254 if (ckey->key1 == curr->ckey->key1 && in cil_complex_symtab_search()
/third_party/grpc/test/cpp/test/
Dserver_context_test_spouse_test.cc32 const char key1[] = "metadata-key1"; variable
54 spouse.AddClientMetadata(key1, val1); in TEST()
55 ASSERT_TRUE(ClientMetadataContains(context, key1, val1)); in TEST()
58 ASSERT_TRUE(ClientMetadataContains(context, key1, val1)); in TEST()
67 context.AddInitialMetadata(key1, val1); in TEST()
68 metadata.insert(std::pair<std::string, std::string>(key1, val1)); in TEST()
81 context.AddTrailingMetadata(key1, val1); in TEST()
82 metadata.insert(std::pair<std::string, std::string>(key1, val1)); in TEST()
/third_party/node/deps/npm/node_modules/ecc-jsbn/
Dtest.js2 var key1 = new ecc.ECKey(ecc.ECCurves.secp160r1); variable
4 console.log(key1.deriveSharedSecret(key2));
5 var key3 = new ecc.ECKey(ecc.ECCurves.secp160r1,key1.PrivateKey);
9 var key1 = new ecc.ECKey(ecc.ECCurves.secp256r1); variable
11 console.log(key1.deriveSharedSecret(key2));
12 var key3 = new ecc.ECKey(ecc.ECCurves.secp256r1,key1.PrivateKey);
/third_party/flutter/flutter/packages/flutter/test/services/
Dkeyboard_key_test.dart19 const PhysicalKeyboardKey key1 = PhysicalKeyboardKey(0x01, debugName: 'key1');
21 expect(key1, equals(key1));
22 expect(key1, equals(key2));
48 … const LogicalKeyboardKey key1 = LogicalKeyboardKey(0x01, keyLabel: 'label1', debugName: 'key1');
50 expect(key1, equals(key1));
51 expect(key1, equals(key2));
/third_party/boost/boost/intrusive/detail/
Dtree_value_compare.hpp94 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 ()()
100 BOOST_INTRUSIVE_FORCEINLINE Ret operator()(const key_type &key1, const value_type &value2) const in operator ()()
101 { return this->key_comp()(key1, KeyOfValue()(value2)); } in operator ()()
107 BOOST_INTRUSIVE_FORCEINLINE Ret operator()( const key_type &key1, const U &nonkey2 in operator ()()
109 { return this->key_comp()(key1, nonkey2); } 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 ()()
173 BOOST_INTRUSIVE_FORCEINLINE Ret operator()( const key_type &key1, const U &nonkey2 in operator ()()
175 { return this->key_comp()(key1, nonkey2); } in operator ()()
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dglobal_keys_moving_test.dart9 GlobalKey key1 = GlobalKey();
13 String toString() => 'Item($key1, $key2)';
32 const KeyedWrapper(this.key1, this.key2);
34 final Key key1;
40 key: key1,
51 KeyedWrapper(items[1].key1, items[1].key2),
52 KeyedWrapper(items[0].key1, items[0].key2),
Dslivers_appbar_floating_test.dart57 GlobalKey key1, key2, key3;
63 BigSliver(key: key1 = GlobalKey(), height: bigHeight),
72 verifyPaintPosition(key1, const Offset(0.0, 0.0), true);
78 verifyPaintPosition(key1, const Offset(0.0, 0.0), true);
86 verifyPaintPosition(key1, const Offset(0.0, 0.0), true);
93 verifyPaintPosition(key1, const Offset(0.0, 0.0), false);
100 verifyPaintPosition(key1, const Offset(0.0, 0.0), false);
107 verifyPaintPosition(key1, const Offset(0.0, 0.0), false);
114 verifyPaintPosition(key1, const Offset(0.0, 0.0), false);
121 verifyPaintPosition(key1, const Offset(0.0, 0.0), false);
[all …]
Dcomposited_transform_test.dart44 final GlobalKey key1 = GlobalKey();
58 child: Container(key: key1, height: 10.0, width: 10.0),
77 final RenderBox box1 = key1.currentContext.findRenderObject();
87 final GlobalKey key1 = GlobalKey();
101 child: Container(key: key1, height: 10.0, width: 10.0),
132 final RenderBox box1 = key1.currentContext.findRenderObject();
142 final GlobalKey key1 = GlobalKey();
156 child: Container(key: key1, height: 10.0, width: 10.0),
175 await tester.tap(find.byKey(key1));
/third_party/boringssl/src/decrepit/xts/
Dxts.c60 AES_KEY *key1, *key2; member
86 (*ctx->block1)(scratch.c, scratch.c, ctx->key1); in CRYPTO_xts128_encrypt()
111 (*ctx->block1)(scratch.c, scratch.c, ctx->key1); in CRYPTO_xts128_encrypt()
130 (*ctx->block1)(scratch.c, scratch.c, ctx->key1); in CRYPTO_xts128_encrypt()
141 (*ctx->block1)(scratch.c, scratch.c, ctx->key1); in CRYPTO_xts128_encrypt()
178 xctx->xts.key1 = &xctx->ks1.ks; in aes_xts_init_key()
192 if (!xctx->xts.key1 || in aes_xts_cipher()
208 if (xctx->xts.key1) { in aes_xts_ctrl()
209 if (xctx->xts.key1 != &xctx->ks1.ks) { in aes_xts_ctrl()
212 xctx_out->xts.key1 = &xctx_out->ks1.ks; in aes_xts_ctrl()
[all …]
/third_party/ffmpeg/libavutil/tests/
Dhmac.c43 uint8_t key1[20], key3[131], data3[50]; in main() local
54 memset(key1, 0x0b, sizeof(key1)); in main()
64 test(hmac, key1, hmac->hashlen, data1, sizeof(data1)); in main()
78 test(hmac, key1, sizeof(key1), data1, sizeof(data1)); in main()
/third_party/boost/libs/graph/doc/
Dwrite_graphml.rst142 <key id="key1" for="edge" attr.name="weight" attr.type="int" />
190 <data key="key1">3</data>
193 <data key="key1">3</data>
196 <data key="key1">3</data>
199 <data key="key1">3</data>
202 <data key="key1">3</data>
205 <data key="key1">3</data>
208 <data key="key1">3</data>
211 <data key="key1">3</data>
214 <data key="key1">3</data>
[all …]
/third_party/grpc/test/cpp/cocoapods/test/
Dserver_context_test_spouse_test.mm36 const char key1[] = "metadata-key1";
62 spouse.AddClientMetadata(key1, val1);
63 ASSERT_TRUE(ClientMetadataContains(context, key1, val1));
66 ASSERT_TRUE(ClientMetadataContains(context, key1, val1));
75 context.AddInitialMetadata(key1, val1);
76 metadata.insert(std::pair<std::string, std::string>(key1, val1));
89 context.AddTrailingMetadata(key1, val1);
90 metadata.insert(std::pair<std::string, std::string>(key1, val1));
/third_party/flutter/skia/tests/
DImageFilterCacheTest.cpp44 SkImageFilterCacheKey key1(0, SkMatrix::I(), clip, image->uniqueID(), image->subset()); in test_find_existing() local
49 cache->set(key1, image.get(), offset, filter.get()); in test_find_existing()
53 sk_sp<SkSpecialImage> foundImage = cache->get(key1, &foundOffset); in test_find_existing()
71 SkImageFilterCacheKey key1(1, SkMatrix::I(), clip1, image->uniqueID(), image->subset()); in test_dont_find_if_diff_key() local
82 REPORTER_ASSERT(reporter, !cache->get(key1, &foundOffset)); in test_dont_find_if_diff_key()
95 SkImageFilterCacheKey key1(0, SkMatrix::I(), clip, image->uniqueID(), image->subset()); in test_internal_purge() local
100 cache->set(key1, image.get(), offset, filter1.get()); in test_internal_purge()
104 REPORTER_ASSERT(reporter, cache->get(key1, &foundOffset)); in test_internal_purge()
111 REPORTER_ASSERT(reporter, !cache->get(key1, &foundOffset)); in test_internal_purge()
122 SkImageFilterCacheKey key1(0, SkMatrix::I(), clip, image->uniqueID(), image->subset()); in test_explicit_purging() local
[all …]
/third_party/typescript/tests/cases/conformance/jsx/
DtsxStatelessFunctionComponentsWithTypeArguments1.tsx10 declare function ComponentWithTwoAttributes<K,V>(l: {key1: K, value: V}): JSX.Element;
13 function Baz<T,U>(key1: T, value: U) {
14 let a0 = <ComponentWithTwoAttributes key1={key1} value={value} />
15 let a1 = <ComponentWithTwoAttributes {...{key1, value: value}} key="Component" />
/third_party/skia/tests/
DImageFilterCacheTest.cpp47 SkImageFilterCacheKey key1(0, SkMatrix::I(), clip, image->uniqueID(), image->subset()); in test_find_existing() local
52 cache->set(key1, filter.get(), skif::FilterResult(image, skif::LayerSpace<SkIPoint>(offset))); in test_find_existing()
55 REPORTER_ASSERT(reporter, cache->get(key1, &foundImage)); in test_find_existing()
72 SkImageFilterCacheKey key1(1, SkMatrix::I(), clip1, image->uniqueID(), image->subset()); in test_dont_find_if_diff_key() local
83 REPORTER_ASSERT(reporter, !cache->get(key1, &foundImage)); in test_dont_find_if_diff_key()
96 SkImageFilterCacheKey key1(0, SkMatrix::I(), clip, image->uniqueID(), image->subset()); in test_internal_purge() local
101 cache->set(key1, filter1.get(), skif::FilterResult(image, skif::LayerSpace<SkIPoint>(offset))); in test_internal_purge()
104 REPORTER_ASSERT(reporter, cache->get(key1, &foundImage)); in test_internal_purge()
112 REPORTER_ASSERT(reporter, !cache->get(key1, &foundImage)); in test_internal_purge()
123 SkImageFilterCacheKey key1(0, SkMatrix::I(), clip, image->uniqueID(), image->subset()); in test_explicit_purging() local
[all …]
/third_party/boringssl/src/util/fipstools/cavp/
Dcavp_tdes_test.cc89 std::vector<uint8_t> keys, key1, key2, key3, iv, in, result; in TestKAT() local
96 (!t->GetBytes(&key1, "KEY1") || in TestKAT()
106 key.insert(key.end(), key1.begin(), key1.end()); in TestKAT()
137 EncodeHex(key1.data(), key1.size()).c_str(), in TestKAT()
212 std::vector<uint8_t> key1, key2, key3, iv, in, result; in TestMCT() local
216 if (!t->GetBytes(&key1, "KEY1") || in TestMCT()
229 std::vector<uint8_t> key(key1); in TestMCT()
268 EncodeHex(key1.data(), key1.size()).c_str(), in TestMCT()
280 XORKeyWithOddParityLSB(&key1, result); in TestMCT()

1234567891011