Home
last modified time | relevance | path

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

1234567891011

/third_party/curl/tests/unit/
Dunit1603.c55 char key1[] = "key1"; variable
66 if(Curl_hash_str(key1, strlen(key1), slots) != 1 ||
73 nodep = Curl_hash_add(&hash_static, &key1, strlen(key1), &key1);
75 nodep = Curl_hash_pick(&hash_static, &key1, strlen(key1));
76 fail_unless(nodep == key1, "hash retrieval failed");
95 nodep = Curl_hash_pick(&hash_static, &key1, strlen(key1));
96 fail_unless(nodep == key1, "hash retrieval failed");
107 nodep = Curl_hash_pick(&hash_static, &key1, strlen(key1));
108 fail_unless(nodep == key1, "hash retrieval failed");
119 rc = Curl_hash_delete(&hash_static, &key1, strlen(key1));
[all …]
/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/node/deps/openssl/openssl/crypto/des/
Dstr2key.c46 void DES_string_to_2keys(const char *str, DES_cblock *key1, DES_cblock *key2) in DES_string_to_2keys() argument
51 memset(key1, 0, 8); in DES_string_to_2keys()
59 (*key1)[i % 8] ^= (j << 1); in DES_string_to_2keys()
67 (*key1)[7 - (i % 8)] ^= j; in DES_string_to_2keys()
73 memcpy(key2, key1, 8); in DES_string_to_2keys()
74 DES_set_odd_parity(key1); in DES_string_to_2keys()
76 DES_set_key_unchecked(key1, &ks); in DES_string_to_2keys()
77 DES_cbc_cksum((const unsigned char *)str, key1, length, &ks, key1); in DES_string_to_2keys()
81 DES_set_odd_parity(key1); in DES_string_to_2keys()
/third_party/openssl/crypto/des/
Dstr2key.c46 void DES_string_to_2keys(const char *str, DES_cblock *key1, DES_cblock *key2) in DES_string_to_2keys() argument
51 memset(key1, 0, 8); in DES_string_to_2keys()
59 (*key1)[i % 8] ^= (j << 1); in DES_string_to_2keys()
67 (*key1)[7 - (i % 8)] ^= j; in DES_string_to_2keys()
73 memcpy(key2, key1, 8); in DES_string_to_2keys()
74 DES_set_odd_parity(key1); in DES_string_to_2keys()
76 DES_set_key_unchecked(key1, &ks); in DES_string_to_2keys()
77 DES_cbc_cksum((const unsigned char *)str, key1, length, &ks, key1); in DES_string_to_2keys()
81 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/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/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/rust/crates/rust-openssl/openssl/src/
Dmd_ctx.rs411 let key1 = Rsa::generate(4096).unwrap(); in verify_fail() localVariable
412 let key1 = PKey::from_rsa(key1).unwrap(); in verify_fail() localVariable
418 ctx.digest_sign_init(Some(md), &key1).unwrap(); in verify_fail()
425 ctx.digest_verify_init(Some(md), &key1).unwrap(); in verify_fail()
433 let key1 = Rsa::generate(2048).unwrap(); in verify_success() localVariable
434 let key1 = PKey::from_rsa(key1).unwrap(); in verify_success() localVariable
440 ctx.digest_sign_init(Some(md), &key1).unwrap(); in verify_success()
447 ctx.digest_verify_init(Some(md), &key1).unwrap(); in verify_success()
456 let key1 = PKey::from_rsa(rsa.clone()).unwrap(); in verify_with_public_success() localVariable
462 ctx.digest_sign_init(Some(md), &key1).unwrap(); in verify_with_public_success()
[all …]
Ddh.rs389 let key1 = dh1.generate_key().unwrap(); in test_dh_stored_restored() localVariable
393 .set_private_key(key1.private_key().to_owned().unwrap()) in test_dh_stored_restored()
396 assert_eq!(key1.public_key(), key2.public_key()); in test_dh_stored_restored()
397 assert_eq!(key1.private_key(), key2.private_key()); in test_dh_stored_restored()
404 let key1 = dh1.generate_key().unwrap(); in test_set_keys() localVariable
408 .set_public_key(key1.public_key().to_owned().unwrap()) in test_set_keys()
411 assert_eq!(key1.public_key(), key2.public_key()); in test_set_keys()
416 key1.public_key().to_owned().unwrap(), in test_set_keys()
417 key1.private_key().to_owned().unwrap(), in test_set_keys()
420 assert_eq!(key1.public_key(), key3.public_key()); in test_set_keys()
[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/node/deps/openssl/openssl/include/crypto/
Daes_platform.h40 size_t len, const AES_KEY *key1,
43 size_t len, const AES_KEY *key1,
55 const AES_KEY *key1, const AES_KEY *key2,
58 const AES_KEY *key1, const AES_KEY *key2,
196 const AES_KEY *key1, const AES_KEY *key2,
202 const AES_KEY *key1, const AES_KEY *key2,
292 size_t blocks, const AES_KEY *key1,
295 size_t blocks, const AES_KEY *key1,
298 size_t blocks, const AES_KEY *key1,
301 size_t blocks, const AES_KEY *key1,
[all …]
/third_party/openssl/include/crypto/
Daes_platform.h40 size_t len, const AES_KEY *key1,
43 size_t len, const AES_KEY *key1,
55 const AES_KEY *key1, const AES_KEY *key2,
58 const AES_KEY *key1, const AES_KEY *key2,
196 const AES_KEY *key1, const AES_KEY *key2,
202 const AES_KEY *key1, const AES_KEY *key2,
292 size_t blocks, const AES_KEY *key1,
295 size_t blocks, const AES_KEY *key1,
298 size_t blocks, const AES_KEY *key1,
301 size_t blocks, const AES_KEY *key1,
[all …]
/third_party/python/Lib/test/
Dtest_mailbox.py195 key1 = self._box.add(self._template % 1)
201 self.assertEqual(self._box.get_string(key1), self._template % 1)
208 self.assertEqual(self._box.get_string(key1), self._template % 1)
209 method(key1)
211 self.assertRaises(KeyError, lambda: self._box[key1])
212 self.assertRaises(KeyError, lambda: method(key1))
217 key1 = self._box.add(self._template % 1)
236 key1 = self._box.add(self._template % 1)
237 msg = self._box.get(key1)
254 key1 = self._box.add(_sample_message)
[all …]
/third_party/node/deps/openssl/openssl/providers/implementations/keymgmt/
Dmac_legacy_kmgmt.c159 const MAC_KEY *key1 = keydata1; in mac_match() local
167 if ((key1->priv_key == NULL && key2->priv_key != NULL) in mac_match()
168 || (key1->priv_key != NULL && key2->priv_key == NULL) in mac_match()
169 || key1->priv_key_len != key2->priv_key_len in mac_match()
170 || (key1->cipher.cipher == NULL && key2->cipher.cipher != NULL) in mac_match()
171 || (key1->cipher.cipher != NULL && key2->cipher.cipher == NULL)) in mac_match()
174 ok = ok && (key1->priv_key == NULL /* implies key2->privkey == NULL */ in mac_match()
175 || CRYPTO_memcmp(key1->priv_key, key2->priv_key, in mac_match()
176 key1->priv_key_len) == 0); in mac_match()
177 if (key1->cipher.cipher != NULL) in mac_match()
[all …]
/third_party/openssl/providers/implementations/keymgmt/
Dmac_legacy_kmgmt.c159 const MAC_KEY *key1 = keydata1; in mac_match() local
167 if ((key1->priv_key == NULL && key2->priv_key != NULL) in mac_match()
168 || (key1->priv_key != NULL && key2->priv_key == NULL) in mac_match()
169 || key1->priv_key_len != key2->priv_key_len in mac_match()
170 || (key1->cipher.cipher == NULL && key2->cipher.cipher != NULL) in mac_match()
171 || (key1->cipher.cipher != NULL && key2->cipher.cipher == NULL)) in mac_match()
174 ok = ok && (key1->priv_key == NULL /* implies key2->privkey == NULL */ in mac_match()
175 || CRYPTO_memcmp(key1->priv_key, key2->priv_key, in mac_match()
176 key1->priv_key_len) == 0); in mac_match()
177 if (key1->cipher.cipher != NULL) in mac_match()
[all …]
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/statements/variable_statements/2_destructuring_variable_declarations/
Ddestructuring_variable_declarations_1.ts25 key1: "value1",
32 var { key1, key2: y, key3, key4: z = false, key5: k = true } = object_name; variable
34 Assert.equal("value1", key1);
Ddestructuring_variable_declarations_3.ts35 key1: "value1",
45 var { key1, key3: [y, z = 10, k = 10] = ohArray, key5: [a, b] = ohArray } = object_name; variable
47 Assert.equal("value1", key1);
/third_party/node/deps/v8/src/compiler/
Dstate-values-utils.cc24 bool StateValuesCache::AreKeysEqual(void* key1, void* key2) { in AreKeysEqual() argument
25 NodeKey* node_key1 = reinterpret_cast<NodeKey*>(key1); in AreKeysEqual()
30 return AreValueKeysEqual(reinterpret_cast<StateValuesKey*>(key1), in AreKeysEqual()
33 return IsKeysEqualToNode(reinterpret_cast<StateValuesKey*>(key1), in AreKeysEqual()
74 bool StateValuesCache::AreValueKeysEqual(StateValuesKey* key1, in AreValueKeysEqual() argument
76 if (key1->count != key2->count) { in AreValueKeysEqual()
79 if (key1->mask != key2->mask) { in AreValueKeysEqual()
82 for (size_t i = 0; i < key1->count; i++) { in AreValueKeysEqual()
83 if (key1->values[i] != key2->values[i]) { in AreValueKeysEqual()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_auth.c356 sctp_compare_key(sctp_key_t *key1, sctp_key_t *key2) in sctp_compare_key() argument
365 key1len = sctp_get_keylen(key1); in sctp_compare_key()
379 key_1 = key1->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()
437 if (sctp_get_keylen(key1)) { in sctp_compute_hashkey()
438 memcpy(key_ptr, key1->key, key1->keylen); in sctp_compute_hashkey()
439 key_ptr += key1->keylen; in sctp_compute_hashkey()
454 if (sctp_get_keylen(key1)) { in sctp_compute_hashkey()
[all …]
/third_party/openssl/test/
Digetest.c81 const unsigned char key1[32]; member
194 AES_KEY key1; in test_bi_ige_vectors() local
202 AES_set_encrypt_key(v->key1, 8 * v->keysize, &key1); in test_bi_ige_vectors()
205 AES_set_decrypt_key(v->key1, 8 * v->keysize, &key1); in test_bi_ige_vectors()
209 AES_bi_ige_encrypt(v->in, buf, v->length, &key1, &key2, v->iv, in test_bi_ige_vectors()
213 test_output_memory("key 1", v->key1, sizeof(v->key1)); in test_bi_ige_vectors()
/third_party/openssl/crypto/aes/asm/
Daesp8-ppc.pl1927 my ($inp,$out,$len,$key1,$key2,$ivp,$rounds,$idx) = map("r$_",(3..10));
2014 ?lvsl $keyperm,0,$key1 # prepare for unaligned key
2015 lwz $rounds,240($key1)
2035 lvx $rndkey0,0,$key1
2036 lvx $rndkey1,$idx,$key1
2042 lvx $rndkey0,$idx,$key1
2051 lvx $rndkey1,$idx,$key1
2055 lvx $rndkey0,$idx,$key1
2061 lvx $rndkey1,$idx,$key1
2079 lvx $rndkey0,0,$key1
[all …]
/third_party/node/deps/openssl/openssl/crypto/aes/asm/
Daesp8-ppc.pl1927 my ($inp,$out,$len,$key1,$key2,$ivp,$rounds,$idx) = map("r$_",(3..10));
2014 ?lvsl $keyperm,0,$key1 # prepare for unaligned key
2015 lwz $rounds,240($key1)
2035 lvx $rndkey0,0,$key1
2036 lvx $rndkey1,$idx,$key1
2042 lvx $rndkey0,$idx,$key1
2051 lvx $rndkey1,$idx,$key1
2055 lvx $rndkey0,$idx,$key1
2061 lvx $rndkey1,$idx,$key1
2079 lvx $rndkey0,0,$key1
[all …]
/third_party/ltp/testcases/network/virt/
Dmacsec_lib.sh32 local key1="98765432109876543210987612343434"
44 ROD $cmd rx address $h1 port 1 sa $sa pn 100 on key $keyid1 $key1
46 tst_rhost_run -s -c "$cmd tx sa $sa pn 100 on key $keyid1 $key1"

1234567891011