Home
last modified time | relevance | path

Searched refs:key1 (Results 1 - 25 of 220) sorted by relevance

123456789

/third_party/curl/tests/unit/
H A 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, "has
[all...]
/third_party/node/deps/openssl/openssl/crypto/des/
H A 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()
[all...]
/third_party/openssl/crypto/des/
H A 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()
[all...]
/third_party/typescript/tests/baselines/reference/
H A DtsxStatelessFunctionComponentsWithTypeArguments1.js4 declare function ComponentWithTwoAttributes<K,V>(l: {key1: K, value: V}): JSX.Element;
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) {
39 var a0 = <ComponentWithTwoAttributes key1={key1} value={value}/>;
40 var a1 = <ComponentWithTwoAttributes {...{ key1: key1, valu
[all...]
/third_party/selinux/libsepol/cil/src/
H A 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 in cil_complex_symtab_search()
[all...]
/third_party/ffmpeg/libavutil/tests/
H A 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/
H A DImageFilterCacheTest.cpp47 SkImageFilterCacheKey key1(0, SkMatrix::I(), clip, image->uniqueID(), image->subset()); in test_find_existing()
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()
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()
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( in test_explicit_purging()
[all...]
/third_party/python/Lib/test/
H A Dtest_mailbox.py200 key1 = self._box.add(self._template % 1)
206 self.assertEqual(self._box.get_string(key1), self._template % 1)
213 self.assertEqual(self._box.get_string(key1), self._template % 1)
214 method(key1)
216 self.assertRaises(KeyError, lambda: self._box[key1])
217 self.assertRaises(KeyError, lambda: method(key1))
222 key1 = self._box.add(self._template % 1)
241 key1 = self._box.add(self._template % 1)
242 msg = self._box.get(key1)
259 key1
[all...]
/third_party/node/deps/openssl/openssl/include/crypto/
H A 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/
H A 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/node/deps/openssl/openssl/providers/implementations/keymgmt/
H A 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 in mac_match()
[all...]
/third_party/openssl/providers/implementations/keymgmt/
H A 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 in mac_match()
[all...]
/third_party/rust/crates/rust-openssl/openssl/src/
H A Ddh.rs389 let key1 = dh1.generate_key().unwrap(); in test_dh_stored_restored()
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()
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 in test_set_keys()
[all...]
H A Dpkey_ctx.rs833 let key1 = EcKey::generate(&group).unwrap(); in derive()
834 let key1 = PKey::from_ec_key(key1).unwrap(); in derive()
838 let mut ctx = PkeyCtx::new(&key1).unwrap(); in derive()
926 let key1 = Rsa::generate(4096).unwrap(); in verify_fail()
927 let key1 = PKey::from_rsa(key1).unwrap(); in verify_fail()
931 let mut ctx = PkeyCtx::new(&key1).unwrap(); in verify_fail()
946 let key1 = in verify_fail_ec()
948 let key1 in verify_fail_ec()
[all...]
/third_party/ltp/testcases/kernel/syscalls/request_key/
H A Drequest_key02.c28 static int key1; variable
37 {"ltp1", ENOKEY, &key1},
90 key1 = KEY_REQKEY_DEFL_DEFAULT; in setup()
/third_party/ltp/testcases/network/virt/
H A Dmacsec_lib.sh30 local key1="98765432109876543210987612343434"
42 ROD $cmd rx address $h1 port 1 sa $sa pn 100 on key $keyid1 $key1
44 tst_rhost_run -s -c "$cmd tx sa $sa pn 100 on key $keyid1 $key1"
/third_party/node/deps/v8/src/compiler/
H A 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/icu/icu4c/source/test/intltest/
H A Duvectest.cpp74 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()
183 static UBool U_CALLCONV neverTRUE(const UElement /*key1*/, const UElement /*key2*/) { in neverTRUE()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DStaticUnicodeSets.java87 * Checks if the UnicodeSet given by key1 contains the given string.
91 * @param key1
93 * @return key1 if the set contains str, or COUNT if not.
95 public static Key chooseFrom(String str, Key key1) { in chooseFrom() argument
96 return get(key1).contains(str) ? key1 : null; in chooseFrom()
100 * Checks if the UnicodeSet given by either key1 or key2 contains the string.
106 * @param key1
110 * @return key1 if that set contains str; key2 if that set contains str; or COUNT if neither set
113 public static Key chooseFrom(String str, Key key1, Ke argument
[all...]
/third_party/icu/icu4c/source/common/
H A Dstatic_unicode_sets.cpp222 Key unisets::chooseFrom(UnicodeString str, Key key1) { in chooseFrom() argument
223 return get(key1)->contains(str) ? key1 : NONE; in chooseFrom()
226 Key unisets::chooseFrom(UnicodeString str, Key key1, Key key2) { in chooseFrom() argument
227 return get(key1)->contains(str) ? key1 : chooseFrom(str, key2); in chooseFrom()
H A Duelement.h76 * @param key1 The string for comparison
78 * @return true if key1 and key2 are equal, return false otherwise.
81 uhash_compareUnicodeString(const UElement key1, const UElement key2);
87 * @param key1 The string for comparison
89 * @return true if key1 and key2 are equal, return false otherwise.
92 uhash_compareCaselessUnicodeString(const UElement key1, const UElement key2);
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DStaticUnicodeSets.java94 * Checks if the UnicodeSet given by key1 contains the given string.
98 * @param key1
100 * @return key1 if the set contains str, or COUNT if not.
102 public static Key chooseFrom(String str, Key key1) { in chooseFrom() argument
103 return safeContains(get(key1), str) ? key1 : null; in chooseFrom()
107 * Checks if the UnicodeSet given by either key1 or key2 contains the string.
113 * @param key1
117 * @return key1 if that set contains str; key2 if that set contains str; or COUNT if neither set
120 public static Key chooseFrom(String str, Key key1, Ke argument
[all...]
/third_party/node/deps/icu-small/source/common/
H A Dstatic_unicode_sets.cpp222 Key unisets::chooseFrom(UnicodeString str, Key key1) { in chooseFrom() argument
223 return get(key1)->contains(str) ? key1 : NONE; in chooseFrom()
226 Key unisets::chooseFrom(UnicodeString str, Key key1, Key key2) { in chooseFrom() argument
227 return get(key1)->contains(str) ? key1 : chooseFrom(str, key2); in chooseFrom()
/third_party/skia/third_party/externals/icu/source/common/
H A Dstatic_unicode_sets.cpp222 Key unisets::chooseFrom(UnicodeString str, Key key1) { in chooseFrom() argument
223 return get(key1)->contains(str) ? key1 : NONE; in chooseFrom()
226 Key unisets::chooseFrom(UnicodeString str, Key key1, Key key2) { in chooseFrom() argument
227 return get(key1)->contains(str) ? key1 : chooseFrom(str, key2); in chooseFrom()
/third_party/node/test/parallel/
H A Dtest-set-incoming-message-header.js24 im.headers = { key1: 'value1' };
26 assert.deepStrictEqual(im.headers, { key1: 'value1', key2: 'value2' });

Completed in 18 milliseconds

123456789