/third_party/typescript/tests/baselines/reference/ |
H A D | unknownControlFlow.js | 256 if (Object.keys(a).length !== Object.keys(b).length) { // Error here 273 // is `never` (meaning no possible keys) for any `T` that includes `undefined` or `null`. 674 if (Object.keys(a).length !== Object.keys(b).length) { // Error here
688 // is `never` (meaning no possible keys) for any `T` that includes `undefined` or `null`.
|
/third_party/python/Lib/test/ |
H A D | test_poplib.py | 362 self.assertTrue('IMPLEMENTATION' in capa.keys()) 373 self.assertTrue('STLS' in capa.keys()) 450 self.assertFalse('STLS' in capa.keys()) 484 self.assertFalse(b'STLS' in capa.keys())
|
H A D | test_call.py | 169 msg = r"keys\(\) takes no arguments \(1 given\)" 170 self.assertRaisesRegex(TypeError, msg, {}.keys, 0) 173 msg = r"keys\(\) takes no arguments \(2 given\)" 174 self.assertRaisesRegex(TypeError, msg, {}.keys, 0, 1) 177 msg = r"keys\(\) takes no keyword arguments" 178 self.assertRaisesRegex(TypeError, msg, {}.keys, x=2) 181 msg = r"keys\(\) takes no keyword arguments" 182 self.assertRaisesRegex(TypeError, msg, {}.keys, x=2, y=2) 545 kwnames = tuple(kwargs.keys())
|
/third_party/mbedtls/library/ |
H A D | ssl_tls13_keys.c | 262 * keys in a single function call. 269 mbedtls_ssl_key_set *keys) in mbedtls_ssl_tls13_make_traffic_keys() 275 keys->client_write_key, key_len, in mbedtls_ssl_tls13_make_traffic_keys() 276 keys->client_write_iv, iv_len); in mbedtls_ssl_tls13_make_traffic_keys() 283 keys->server_write_key, key_len, in mbedtls_ssl_tls13_make_traffic_keys() 284 keys->server_write_iv, iv_len); in mbedtls_ssl_tls13_make_traffic_keys() 289 keys->key_len = key_len; in mbedtls_ssl_tls13_make_traffic_keys() 290 keys->iv_len = iv_len; in mbedtls_ssl_tls13_make_traffic_keys() 662 * can be used to derive the handshake traffic keys. 1048 * Setup psa keys an in mbedtls_ssl_tls13_populate_transform() 264 mbedtls_ssl_tls13_make_traffic_keys( psa_algorithm_t hash_alg, const unsigned char *client_secret, const unsigned char *server_secret, size_t secret_len, size_t key_len, size_t iv_len, mbedtls_ssl_key_set *keys) mbedtls_ssl_tls13_make_traffic_keys() argument [all...] |
/third_party/python/Python/ |
H A D | ast.c | 287 if (asdl_seq_LEN(exp->v.Dict.keys) != asdl_seq_LEN(exp->v.Dict.values)) { in validate_expr() 289 "Dict doesn't have the same number of keys as values"); in validate_expr() 292 /* null_ok=1 for keys expressions to allow dict unpacking to work in in validate_expr() 294 ret = validate_exprs(state, exp->v.Dict.keys, Load, /*null_ok=*/ 1) && in validate_expr() 560 if (asdl_seq_LEN(p->v.MatchMapping.keys) != asdl_seq_LEN(p->v.MatchMapping.patterns)) { in validate_pattern() 562 "MatchMapping doesn't have the same number of keys as patterns"); in validate_pattern() 572 asdl_expr_seq *keys = p->v.MatchMapping.keys; in validate_pattern() local 573 for (Py_ssize_t i = 0; i < asdl_seq_LEN(keys); i++) { in validate_pattern() 574 expr_ty key = asdl_seq_GET(keys, in validate_pattern() [all...] |
/third_party/skia/bench/ |
H A D | nanobench.cpp | 1349 SkTArray<SkString> keys; local 1354 bench->getGpuStats(canvas, &keys, &values); 1358 dmsaaStats.dumpKeyValuePairs(&keys, &values); 1395 if (!keys.empty()) { 1396 // dump to json, only SKPBench currently returns valid keys / values 1397 SkASSERT(keys.count() == values.count()); 1398 for (int j = 0; j < keys.count(); j++) { 1399 log.appendMetric(keys[j].c_str(), values[j]);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/ |
H A D | ikev2.c | 23 ikev2_free_keys(&data->keys); in ikev2_initiator_deinit() 114 &data->keys); in ikev2_derive_keys() 457 data->proposal.integ, &data->keys, 0, in ikev2_process_sa_init_encr() 618 &data->keys, 0, data->shared_secret, in ikev2_process_auth_secret() 645 "using shared keys"); in ikev2_process_auth_secret() 721 &data->keys, 0, hdr, pl->encrypted, in ikev2_process_sa_auth() 1068 &data->keys, 1, data->shared_secret, in ikev2_build_auth() 1171 &data->keys, 1, msg, plain, in ikev2_build_sa_auth()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
H A D | ikev2.c | 23 ikev2_free_keys(&data->keys); in ikev2_initiator_deinit() 114 &data->keys); in ikev2_derive_keys() 457 data->proposal.integ, &data->keys, 0, in ikev2_process_sa_init_encr() 618 &data->keys, 0, data->shared_secret, in ikev2_process_auth_secret() 645 "using shared keys"); in ikev2_process_auth_secret() 721 &data->keys, 0, hdr, pl->encrypted, in ikev2_process_sa_auth() 1068 &data->keys, 1, data->shared_secret, in ikev2_build_auth() 1171 &data->keys, 1, msg, plain, in ikev2_build_sa_auth()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
H A D | sae.c | 711 u8 keys[SAE_KCK_LEN + SAE_PMK_LEN]; in sae_derive_keys() local 742 val, sae->tmp->order_len, keys, sizeof(keys)) < 0) in sae_derive_keys() 745 os_memcpy(sae->tmp->kck, keys, SAE_KCK_LEN); in sae_derive_keys() 746 os_memcpy(sae->pmk, keys + SAE_KCK_LEN, SAE_PMK_LEN); in sae_derive_keys() 748 os_memset(keys, 0, sizeof(keys)); in sae_derive_keys()
|
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/hdi_operate/ |
H A D | hdi_add_handler.py | 34 help=' '.join(self.handlers.keys()),
376 for key_name in list(config_list.keys()):
427 temp_str = pre_dict[list(pre_dict.keys())[0]][0].split(":")[0]
430 if result_test_str not in pre_dict[list(pre_dict.keys())[1]]:
431 pre_dict[list(pre_dict.keys())[1]].append(result_test_str)
|
/test/testfwk/xdevice/src/xdevice/_core/ |
H A D | logger.py | 174 if thread_id in self.driver_log_handler.keys(): 451 if "console" in leve_dict.keys(): 455 if str(level).lower() in level_map.keys(): 471 if "file" in leve_dict.keys(): 475 if str(level).lower() in level_map.keys():
|
/third_party/lzma/C/ |
H A D | AesOpt.c | 198 { __m256i keys[NUM_AES_KEYS_MAX]; \
202 keys[ii] = _mm256_broadcastsi128_si256(p[ii]); \
400 const __m256i *w = keys + numRounds - 2;
in VAES_FUNC_START2() 411 while (w != keys);
in VAES_FUNC_START2() 475 const __m256i *w = keys;
in VAES_FUNC_START2()
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
H A D | generator.py | 443 if 'value' in elem.keys(): 460 if 'bitpos' in elem.keys(): 471 if 'offset' in elem.keys(): 477 if 'dir' in elem.keys(): 491 if 'alias' in elem.keys():
|
/third_party/skia/third_party/externals/dawn/src/dawn_node/interop/ |
H A D | Core.h | 522 auto keys = obj.GetPropertyNames(); in FromJS() local 523 std::unordered_map<K, V> map(keys.Length()); in FromJS() 524 for (uint32_t i = 0; i < static_cast<uint32_t>(keys.Length()); i++) { in FromJS() 527 auto key_res = Converter<K>::FromJS(env, keys[i], key); in FromJS() 531 auto value_res = Converter<V>::FromJS(env, obj.Get(keys[i]), value); in FromJS()
|
/third_party/vulkan-headers/registry/ |
H A D | generator.py | 443 if 'value' in elem.keys(): 460 if 'bitpos' in elem.keys(): 471 if 'offset' in elem.keys(): 477 if 'dir' in elem.keys(): 491 if 'alias' in elem.keys():
|
/kernel/linux/linux-5.10/drivers/crypto/caam/ |
H A D | caamalg_qi2.c | 289 struct crypto_authenc_keys keys; in aead_setkey() local 291 if (crypto_authenc_extractkeys(&keys, key, keylen) != 0) in aead_setkey() 295 keys.authkeylen + keys.enckeylen, keys.enckeylen, in aead_setkey() 296 keys.authkeylen); in aead_setkey() 300 ctx->adata.keylen = keys.authkeylen; in aead_setkey() 304 if (ctx->adata.keylen_pad + keys.enckeylen > CAAM_MAX_KEY_SIZE) in aead_setkey() 307 memcpy(ctx->key, keys.authkey, keys in aead_setkey() 327 struct crypto_authenc_keys keys; des3_aead_setkey() local [all...] |
/kernel/linux/linux-6.6/drivers/crypto/caam/ |
H A D | caamalg_qi2.c | 294 struct crypto_authenc_keys keys; in aead_setkey() local 296 if (crypto_authenc_extractkeys(&keys, key, keylen) != 0) in aead_setkey() 300 keys.authkeylen + keys.enckeylen, keys.enckeylen, in aead_setkey() 301 keys.authkeylen); in aead_setkey() 305 ctx->adata.keylen = keys.authkeylen; in aead_setkey() 309 if (ctx->adata.keylen_pad + keys.enckeylen > CAAM_MAX_KEY_SIZE) in aead_setkey() 312 memcpy(ctx->key, keys.authkey, keys in aead_setkey() 332 struct crypto_authenc_keys keys; des3_aead_setkey() local [all...] |
/kernel/linux/linux-5.10/drivers/crypto/ |
H A D | sa2ul.c | 450 /* work around to get the right inverse for AES_KEYSIZE_192 size keys */ in sa_aes_inv_key() 517 /* Copy the keys or ipad/opad */ in sa_set_sc_auth() 1246 * crypto algorithm to be used, data sizes, different keys etc. in sa_run() 1784 struct crypto_authenc_keys keys; in sa_aead_setkey() local 1789 if (crypto_authenc_extractkeys(&keys, key, keylen) != 0) in sa_aead_setkey() 1793 key_idx = (keys.enckeylen >> 3) - 2; in sa_aead_setkey() 1815 cfg.akey = keys.authkey; in sa_aead_setkey() 1816 cfg.akey_len = keys.authkeylen; in sa_aead_setkey() 1819 if (sa_init_sc(&ctx->enc, keys.enckey, keys in sa_aead_setkey() [all...] |
/kernel/linux/linux-6.6/drivers/crypto/ |
H A D | sa2ul.c | 476 /* work around to get the right inverse for AES_KEYSIZE_192 size keys */ in sa_aes_inv_key() 544 /* Copy the keys or ipad/opad */ in sa_set_sc_auth() 1272 * crypto algorithm to be used, data sizes, different keys etc. in sa_run() 1805 struct crypto_authenc_keys keys; in sa_aead_setkey() local 1810 if (crypto_authenc_extractkeys(&keys, key, keylen) != 0) in sa_aead_setkey() 1814 key_idx = (keys.enckeylen >> 3) - 2; in sa_aead_setkey() 1836 cfg.akey = keys.authkey; in sa_aead_setkey() 1837 cfg.akey_len = keys.authkeylen; in sa_aead_setkey() 1840 if (sa_init_sc(&ctx->enc, ctx->dev_data->match_data, keys.enckey, in sa_aead_setkey() 1841 keys in sa_aead_setkey() [all...] |
/test/xts/acts/distributeddatamgr/distributedKVStoretest/distributedKVStorejstest/hap/entry/src/ohosTest/js/test/ |
H A D | SingleKvStoreKVCallbackJsTest.js | 1337 let keys = []; 1348 keys.push(key + i); 1354 await kvStore.deleteBatch(keys, async function (err,data) { 1376 let keys = ['batch_test_string_key1', 'batch_test_string_key2']; 1377 await kvStore.deleteBatch(keys, function (err,data) { 1414 let keys = ['batch_test_string_key1', 'batch_test_string_keya']; 1415 await kvStore.deleteBatch(keys, async function (err,data) { 1450 let keys = Object.keys(entries).slice(5); 1451 await kvStore.deleteBatch(keys, asyn [all...] |
H A D | DeviceKvStoreKVCallbackJsTest.js | 1297 let keys = []; 1308 keys.push(key + i); 1314 await kvStore.deleteBatch(keys, async function (err,data) { 1336 let keys = ['batch_test_string_key1', 'batch_test_string_key2']; 1337 await kvStore.deleteBatch(keys, function (err,data) { 1374 let keys = ['batch_test_string_key1', 'batch_test_string_keya']; 1375 await kvStore.deleteBatch(keys, async function (err,data) { 1410 let keys = Object.keys(entries).slice(5); 1411 await kvStore.deleteBatch(keys, asyn [all...] |
/test/xts/acts/distributeddatamgr/kvStoretest/kvStorejstest/hap/entry/src/ohosTest/js/test/ |
H A D | SingleKvStorePromiseJsunit.test.js | 1429 let keys = []; 1440 keys.push(key + i); 1446 await kvStore.deleteBatch(keys).then((err) => { 1472 let keys = ['batch_test_string_key1', 'batch_test_string_key2']; 1473 await kvStore.deleteBatch(keys).then((err) => { 1510 let keys = ['batch_test_string_key1', 'batch_test_string_keya']; 1511 await kvStore.deleteBatch(keys).then((err) => { 1557 let keys = Object.keys(entries).slice(5); //delete 5 beginnings 1558 await kvStore.deleteBatch(keys) [all...] |
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | GeneratedMessageV3.java | 3115 // Sorting the unboxed keys and then look up the values during serialization is 2x faster in serializeIntegerMapTo() 3117 int[] keys = new int[m.size()]; in serializeIntegerMapTo() 3120 keys[index++] = k; in serializeIntegerMapTo() 3122 Arrays.sort(keys); in serializeIntegerMapTo() 3123 for (int key : keys) { in serializeIntegerMapTo() 3144 long[] keys = new long[m.size()]; in serializeLongMapTo() 3147 keys[index++] = k; in serializeLongMapTo() 3149 Arrays.sort(keys); in serializeLongMapTo() 3150 for (long key : keys) { in serializeLongMapTo() 3171 // Sorting the String keys an in serializeStringMapTo() [all...] |
/kernel/linux/linux-6.6/net/mac80211/ |
H A D | link.c | 88 LIST_HEAD(keys); in ieee80211_tear_down_links() 99 ieee80211_remove_link_keys(link, &keys); in ieee80211_tear_down_links() 106 ieee80211_free_key_list(sdata->local, &keys); in ieee80211_tear_down_links() 254 /* for keys we will not be able to undo this */ in ieee80211_vif_update_links()
|
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | searchndk.cpp | 216 char keys[][8] = {"key1", "key2", "key3"};
in HsearchR() local 221 e.key = keys[i];
in HsearchR() 227 e2.key = keys[i];
in HsearchR()
|