/third_party/curl/tests/unit/ |
H A D | unit1603.c | 55 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...] |
/kernel/linux/linux-5.10/drivers/input/keyboard/ |
H A D | ep93xx_keypad.c | 72 int key1; member 85 int keycode, key1, key2; in ep93xx_keypad_irq_handler() local 90 key1 = keypad->keycodes[keycode]; in ep93xx_keypad_irq_handler() 96 if (keypad->key1 && key1 != keypad->key1 && key2 != keypad->key1) in ep93xx_keypad_irq_handler() 97 input_report_key(input_dev, keypad->key1, 0); in ep93xx_keypad_irq_handler() 99 if (keypad->key2 && key1 != keypad->key2 && key2 != keypad->key2) in ep93xx_keypad_irq_handler() 102 input_report_key(input_dev, key1, in ep93xx_keypad_irq_handler() [all...] |
/kernel/linux/linux-6.6/drivers/input/keyboard/ |
H A D | ep93xx_keypad.c | 75 int key1; member 88 int keycode, key1, key2; in ep93xx_keypad_irq_handler() local 93 key1 = keypad->keycodes[keycode]; in ep93xx_keypad_irq_handler() 99 if (keypad->key1 && key1 != keypad->key1 && key2 != keypad->key1) in ep93xx_keypad_irq_handler() 100 input_report_key(input_dev, keypad->key1, 0); in ep93xx_keypad_irq_handler() 102 if (keypad->key2 && key1 != keypad->key2 && key2 != keypad->key2) in ep93xx_keypad_irq_handler() 105 input_report_key(input_dev, key1, in ep93xx_keypad_irq_handler() [all...] |
/third_party/node/deps/openssl/openssl/crypto/des/ |
H A D | str2key.c | 46 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 D | str2key.c | 46 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 D | tsxStatelessFunctionComponentsWithTypeArguments1.js | 4 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...] |
/kernel/linux/linux-6.6/tools/testing/selftests/alsa/ |
H A D | conf.c | 343 static int conf_get_by_keys(snd_config_t *root, const char *key1, in conf_get_by_keys() argument 348 if (key1) { in conf_get_by_keys() 349 ret = snd_config_search(root, key1, &root); in conf_get_by_keys() 360 snd_config_t *conf_get_subtree(snd_config_t *root, const char *key1, const char *key2) in conf_get_subtree() argument 366 ret = conf_get_by_keys(root, key1, key2, &root); in conf_get_subtree() 370 ksft_exit_fail_msg("key '%s'.'%s' search error: %s\n", key1, key2, snd_strerror(ret)); in conf_get_subtree() 374 int conf_get_count(snd_config_t *root, const char *key1, const char *key2) in conf_get_count() argument 382 ret = conf_get_by_keys(root, key1, key2, &cfg); in conf_get_count() 386 ksft_exit_fail_msg("key '%s'.'%s' search error: %s\n", key1, key2, snd_strerror(ret)); in conf_get_count() 388 ksft_exit_fail_msg("key '%s'.'%s' is not a compound\n", key1, key in conf_get_count() 395 conf_get_string(snd_config_t *root, const char *key1, const char *key2, const char *def) conf_get_string() argument 413 conf_get_long(snd_config_t *root, const char *key1, const char *key2, long def) conf_get_long() argument 431 conf_get_bool(snd_config_t *root, const char *key1, const char *key2, int def) conf_get_bool() argument 449 conf_get_string_array(snd_config_t *root, const char *key1, const char *key2, const char **array, int array_size, const char *def) conf_get_string_array() argument [all...] |
H A D | alsa-local.h | 19 snd_config_t *conf_get_subtree(snd_config_t *root, const char *key1, const char *key2); 20 int conf_get_count(snd_config_t *root, const char *key1, const char *key2); 21 const char *conf_get_string(snd_config_t *root, const char *key1, const char *key2, const char *def); 22 long conf_get_long(snd_config_t *root, const char *key1, const char *key2, long def); 23 int conf_get_bool(snd_config_t *root, const char *key1, const char *key2, int def); 24 void conf_get_string_array(snd_config_t *root, const char *key1, const char *key2,
|
/third_party/selinux/libsepol/cil/src/ |
H A D | cil_symtab.c | 154 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...] |
/kernel/linux/linux-6.6/fs/xfs/libxfs/ |
H A D | xfs_btree.h | 163 * Difference between key2 and key1 -- positive if key1 > key2, 164 * negative if key1 < key2, and zero if equal. If the @mask parameter 169 const union xfs_btree_key *key1, 188 * Given two btree keys @key1 and @key2, decide if it is impossible for 190 * @key1 < K < @key2. To determine if two btree records are 191 * immediately adjacent, @key1 should be the high key of the first 197 const union xfs_btree_key *key1, 584 const union xfs_btree_key *key1, 600 const union xfs_btree_key *key1, in xfs_btree_keycmp_lt() 598 xfs_btree_keycmp_lt( struct xfs_btree_cur *cur, const union xfs_btree_key *key1, const union xfs_btree_key *key2) xfs_btree_keycmp_lt() argument 607 xfs_btree_keycmp_gt( struct xfs_btree_cur *cur, const union xfs_btree_key *key1, const union xfs_btree_key *key2) xfs_btree_keycmp_gt() argument 616 xfs_btree_keycmp_eq( struct xfs_btree_cur *cur, const union xfs_btree_key *key1, const union xfs_btree_key *key2) xfs_btree_keycmp_eq() argument 625 xfs_btree_keycmp_le( struct xfs_btree_cur *cur, const union xfs_btree_key *key1, const union xfs_btree_key *key2) xfs_btree_keycmp_le() argument 634 xfs_btree_keycmp_ge( struct xfs_btree_cur *cur, const union xfs_btree_key *key1, const union xfs_btree_key *key2) xfs_btree_keycmp_ge() argument 643 xfs_btree_keycmp_ne( struct xfs_btree_cur *cur, const union xfs_btree_key *key1, const union xfs_btree_key *key2) xfs_btree_keycmp_ne() argument 653 xfs_btree_masked_keycmp_lt( struct xfs_btree_cur *cur, const union xfs_btree_key *key1, const union xfs_btree_key *key2, const union xfs_btree_key *mask) xfs_btree_masked_keycmp_lt() argument 663 xfs_btree_masked_keycmp_gt( struct xfs_btree_cur *cur, const union xfs_btree_key *key1, const union xfs_btree_key *key2, const union xfs_btree_key *mask) xfs_btree_masked_keycmp_gt() argument 673 xfs_btree_masked_keycmp_ge( struct xfs_btree_cur *cur, const union xfs_btree_key *key1, const union xfs_btree_key *key2, const union xfs_btree_key *mask) xfs_btree_masked_keycmp_ge() argument [all...] |
/kernel/linux/linux-5.10/fs/befs/ |
H A D | btree.c | 119 static int befs_compare_strings(const void *key1, int keylen1, 702 * @key1: pointer to the first key to be compared 703 * @keylen1: length in bytes of key1 707 * Returns 0 if @key1 and @key2 are equal. 708 * Returns >0 if @key1 is greater. 712 befs_compare_strings(const void *key1, int keylen1, in befs_compare_strings() argument 716 int result = strncmp(key1, key2, len); in befs_compare_strings() 725 btree_compare_int32(cont void *key1, int keylen1, const void *key2, int keylen2) 727 return *(int32_t *) key1 - *(int32_t *) key2; 731 btree_compare_uint32(cont void *key1, in [all...] |
/kernel/linux/linux-6.6/fs/befs/ |
H A D | btree.c | 119 static int befs_compare_strings(const void *key1, int keylen1, 702 * @key1: pointer to the first key to be compared 703 * @keylen1: length in bytes of key1 707 * Returns 0 if @key1 and @key2 are equal. 708 * Returns >0 if @key1 is greater. 712 befs_compare_strings(const void *key1, int keylen1, in befs_compare_strings() argument 716 int result = strncmp(key1, key2, len); in befs_compare_strings() 725 btree_compare_int32(cont void *key1, int keylen1, const void *key2, int keylen2) 727 return *(int32_t *) key1 - *(int32_t *) key2; 731 btree_compare_uint32(cont void *key1, in [all...] |
/third_party/ffmpeg/libavutil/tests/ |
H A D | hmac.c | 43 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 D | ImageFilterCacheTest.cpp | 47 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...] |
/kernel/linux/linux-5.10/arch/arm/crypto/ |
H A D | aes-ce-core.S | 26 .macro enc_dround, key1, key2 27 enc_round q0, \key1 31 .macro dec_dround, key1, key2 32 dec_round q0, \key1 36 .macro enc_fround, key1, key2, key3 37 enc_round q0, \key1 42 .macro dec_fround, key1, key2, key3 43 dec_round q0, \key1 48 .macro enc_dround_4x, key1, key2 49 enc_round q0, \key1 [all...] |
/kernel/linux/linux-6.6/arch/arm/crypto/ |
H A D | aes-ce-core.S | 26 .macro enc_dround, key1, key2 27 enc_round q0, \key1 31 .macro dec_dround, key1, key2 32 dec_round q0, \key1 36 .macro enc_fround, key1, key2, key3 37 enc_round q0, \key1 42 .macro dec_fround, key1, key2, key3 43 dec_round q0, \key1 48 .macro enc_dround_4x, key1, key2 49 enc_round q0, \key1 [all...] |
/third_party/python/Lib/test/ |
H A D | test_mailbox.py | 200 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 D | aes_platform.h | 40 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 D | aes_platform.h | 40 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...] |
/kernel/linux/linux-5.10/fs/ubifs/ |
H A D | key.h | 472 * @key1: the first key to compare 475 * This function compares 2 keys and returns %-1 if @key1 is less than 476 * @key2, %0 if the keys are equivalent and %1 if @key1 is greater than @key2. 479 const union ubifs_key *key1, in keys_cmp() 482 if (key1->u32[0] < key2->u32[0]) in keys_cmp() 484 if (key1->u32[0] > key2->u32[0]) in keys_cmp() 486 if (key1->u32[1] < key2->u32[1]) in keys_cmp() 488 if (key1->u32[1] > key2->u32[1]) in keys_cmp() 497 * @key1: the first key to compare 500 * This function compares 2 keys and returns %1 if @key1 i 478 keys_cmp(const struct ubifs_info *c, const union ubifs_key *key1, const union ubifs_key *key2) keys_cmp() argument 503 keys_eq(const struct ubifs_info *c, const union ubifs_key *key1, const union ubifs_key *key2) keys_eq() argument [all...] |
/kernel/linux/linux-6.6/fs/ubifs/ |
H A D | key.h | 472 * @key1: the first key to compare 475 * This function compares 2 keys and returns %-1 if @key1 is less than 476 * @key2, %0 if the keys are equivalent and %1 if @key1 is greater than @key2. 479 const union ubifs_key *key1, in keys_cmp() 482 if (key1->u32[0] < key2->u32[0]) in keys_cmp() 484 if (key1->u32[0] > key2->u32[0]) in keys_cmp() 486 if (key1->u32[1] < key2->u32[1]) in keys_cmp() 488 if (key1->u32[1] > key2->u32[1]) in keys_cmp() 497 * @key1: the first key to compare 500 * This function compares 2 keys and returns %1 if @key1 i 478 keys_cmp(const struct ubifs_info *c, const union ubifs_key *key1, const union ubifs_key *key2) keys_cmp() argument 503 keys_eq(const struct ubifs_info *c, const union ubifs_key *key1, const union ubifs_key *key2) keys_eq() argument [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/keymgmt/ |
H A D | mac_legacy_kmgmt.c | 159 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 D | mac_legacy_kmgmt.c | 159 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 D | dh.rs | 389 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...] |
/kernel/linux/linux-6.6/tools/testing/selftests/hid/tests/ |
H A D | test_gamepad.py | 70 key1 = libevdev.evbit(uhdev.buttons_map[b1]) 76 expected_event0 = libevdev.InputEvent(key1, 1) 83 assert evdev.value[key1] == 1 88 expected_event = libevdev.InputEvent(key1, 0) 92 assert evdev.value[key1] == 0 101 assert evdev.value[key1] == 0
|