/external/google-breakpad/src/common/ |
D | long_string_dictionary.cc | 80 size_t key_length = strlen(key); in SetKeyValue() local 81 assert(key_length + kMaxSuffixLength <= (key_size - 1)); in SetKeyValue() 96 strcpy(segment_key + key_length, kSuffixes[i]); in SetKeyValue() 120 size_t key_length = strlen(key); in RemoveKey() local 121 assert(key_length + kMaxSuffixLength <= (key_size - 1)); in RemoveKey() 128 strcpy(segment_key + key_length, kSuffixes[i]); in RemoveKey() 150 size_t key_length = strlen(key); in GetValueForKey() local 151 assert(key_length + kMaxSuffixLength <= (key_size - 1)); in GetValueForKey() 159 strcpy(segment_key + key_length, kSuffixes[i]); in GetValueForKey()
|
/external/cpuinfo/src/arm/linux/ |
D | cpuinfo.c | 733 const size_t key_length = key_end - line_start; in parse_line() local 734 switch (key_length) { in parse_line() 736 if (memcmp(line_start, "Serial", key_length) == 0) { in parse_line() 739 } else if (memcmp(line_start, "I size", key_length) == 0) { in parse_line() 743 } else if (memcmp(line_start, "I sets", key_length) == 0) { in parse_line() 747 } else if (memcmp(line_start, "D size", key_length) == 0) { in parse_line() 751 } else if (memcmp(line_start, "D sets", key_length) == 0) { in parse_line() 762 if (memcmp(line_start, "I assoc", key_length) == 0) { in parse_line() 766 } else if (memcmp(line_start, "D assoc", key_length) == 0) { in parse_line() 776 if (memcmp(line_start, "CPU part", key_length) == 0) { in parse_line() [all …]
|
/external/python/cpython3/Modules/clinic/ |
D | _dbmmodule.c.h | 52 Py_ssize_clean_t key_length, PyObject *default_value); 59 Py_ssize_clean_t key_length; in _dbm_dbm_get() local 63 &key, &key_length, &default_value)) { in _dbm_dbm_get() 66 return_value = _dbm_dbm_get_impl(self, key, key_length, default_value); in _dbm_dbm_get() 85 Py_ssize_clean_t key_length, 93 Py_ssize_clean_t key_length; in _dbm_dbm_setdefault() local 97 &key, &key_length, &default_value)) { in _dbm_dbm_setdefault() 100 return_value = _dbm_dbm_setdefault_impl(self, key, key_length, default_value); in _dbm_dbm_setdefault()
|
D | _gdbmmodule.c.h | 151 Py_ssize_clean_t key_length); 158 Py_ssize_clean_t key_length; in _gdbm_gdbm_nextkey() local 160 if (!PyArg_Parse(arg, "s#:nextkey", &key, &key_length)) { in _gdbm_gdbm_nextkey() 163 return_value = _gdbm_gdbm_nextkey_impl(self, key, key_length); in _gdbm_gdbm_nextkey()
|
/external/grpc-grpc/test/core/tsi/alts/zero_copy_frame_protector/ |
D | alts_grpc_record_protocol_test.cc | 116 size_t key_length = rekey ? kAes128GcmRekeyKeyLength : kAes128GcmKeyLength; in test_fixture_integrity_only_create() local 118 gsec_test_random_array(&key, key_length); in test_fixture_integrity_only_create() 123 key, key_length, kAesGcmNonceLength, kAesGcmTagLength, rekey, in test_fixture_integrity_only_create() 130 key, key_length, kAesGcmNonceLength, kAesGcmTagLength, rekey, in test_fixture_integrity_only_create() 137 key, key_length, kAesGcmNonceLength, kAesGcmTagLength, rekey, in test_fixture_integrity_only_create() 144 key, key_length, kAesGcmNonceLength, kAesGcmTagLength, rekey, in test_fixture_integrity_only_create() 174 size_t key_length = rekey ? kAes128GcmRekeyKeyLength : kAes128GcmKeyLength; in test_fixture_privacy_integrity_create() local 176 gsec_test_random_array(&key, key_length); in test_fixture_privacy_integrity_create() 181 key, key_length, kAesGcmNonceLength, kAesGcmTagLength, rekey, in test_fixture_privacy_integrity_create() 188 key, key_length, kAesGcmNonceLength, kAesGcmTagLength, rekey, in test_fixture_privacy_integrity_create() [all …]
|
D | alts_zero_copy_grpc_protector_test.cc | 109 size_t key_length = rekey ? kAes128GcmRekeyKeyLength : kAes128GcmKeyLength; in alts_zero_copy_grpc_protector_test_fixture_create() local 112 gsec_test_random_array(&key, key_length); in alts_zero_copy_grpc_protector_test_fixture_create() 114 key, key_length, rekey, /*is_client=*/true, integrity_only, in alts_zero_copy_grpc_protector_test_fixture_create() 118 key, key_length, rekey, /*is_client=*/false, integrity_only, in alts_zero_copy_grpc_protector_test_fixture_create()
|
/external/grpc-grpc/src/core/tsi/alts/crypt/ |
D | aes_gcm.cc | 48 size_t key_length; member 142 const gsec_aead_crypter* crypter, size_t* key_length, in gsec_aes_gcm_aead_crypter_key_length() argument 144 if (key_length == nullptr) { in gsec_aes_gcm_aead_crypter_key_length() 151 *key_length = aes_gcm_crypter->key_length; in gsec_aes_gcm_aead_crypter_key_length() 599 switch (is_rekey ? kRekeyAeadKeyLen : aes_gcm_crypter->key_length) { in aes_gcm_new_evp_cipher_ctx() 633 size_t key_length, in gsec_aes_gcm_aead_crypter_create() argument 647 if ((rekey && key_length != kAes128GcmRekeyKeyLength) || in gsec_aes_gcm_aead_crypter_create() 648 (!rekey && key_length != kAes128GcmKeyLength && in gsec_aes_gcm_aead_crypter_create() 649 key_length != kAes256GcmKeyLength) || in gsec_aes_gcm_aead_crypter_create() 665 aes_gcm_crypter->key_length = kKdfKeyLen; in gsec_aes_gcm_aead_crypter_create() [all …]
|
D | gsec.h | 163 grpc_status_code (*key_length)(const gsec_aead_crypter* crypter, member 448 size_t key_length,
|
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/alts/crypt/ |
D | aes_gcm.cc | 46 size_t key_length; member 140 const gsec_aead_crypter* crypter, size_t* key_length, in gsec_aes_gcm_aead_crypter_key_length() argument 142 if (key_length == nullptr) { in gsec_aes_gcm_aead_crypter_key_length() 149 *key_length = aes_gcm_crypter->key_length; in gsec_aes_gcm_aead_crypter_key_length() 597 switch (is_rekey ? kRekeyAeadKeyLen : aes_gcm_crypter->key_length) { in aes_gcm_new_evp_cipher_ctx() 631 size_t key_length, in gsec_aes_gcm_aead_crypter_create() argument 645 if ((rekey && key_length != kAes128GcmRekeyKeyLength) || in gsec_aes_gcm_aead_crypter_create() 646 (!rekey && key_length != kAes128GcmKeyLength && in gsec_aes_gcm_aead_crypter_create() 647 key_length != kAes256GcmKeyLength) || in gsec_aes_gcm_aead_crypter_create() 663 aes_gcm_crypter->key_length = kKdfKeyLen; in gsec_aes_gcm_aead_crypter_create() [all …]
|
D | gsec.h | 163 grpc_status_code (*key_length)(const gsec_aead_crypter* crypter, member 448 size_t key_length,
|
/external/cpuinfo/src/x86/linux/ |
D | cpuinfo.c | 152 const size_t key_length = key_end - line_start; in parse_line() local 153 switch (key_length) { in parse_line() 155 if (memcmp(line_start, "apicid", key_length) == 0) { in parse_line() 162 if (memcmp(line_start, "processor", key_length) == 0) { in parse_line() 190 cpuinfo_log_debug("unknown /proc/cpuinfo key: %.*s", (int) key_length, line_start); in parse_line()
|
/external/webrtc/rtc_base/ |
D | ssl_stream_adapter.cc | 55 int* key_length, in GetSrtpKeyAndSaltLengths() argument 62 *key_length = 16; in GetSrtpKeyAndSaltLengths() 68 *key_length = 16; in GetSrtpKeyAndSaltLengths() 74 *key_length = 32; in GetSrtpKeyAndSaltLengths()
|
/external/pigweed/pw_kvs/ |
D | entry.cc | 66 size_t key_length, in ReadKey() argument 68 if (key_length == 0u || key_length > kMaxKeyLength) { in ReadKey() 72 return partition.Read(address + sizeof(EntryHeader), key_length, key) in ReadKey() 140 PW_TRY_WITH_SIZE(writer.Write(input, key_length() + value_size())); in Copy() 154 address_ + sizeof(EntryHeader) + key_length() + offset_bytes, in ReadValue() 169 Address address = address_ + sizeof(EntryHeader) + key_length(); in ValueMatches() 254 PW_LOG_DEBUG(" Key length = 0x%x", unsigned(key_length())); in DebugLog()
|
/external/pigweed/pw_kvs/public/pw_kvs/internal/ |
D | entry.h | 61 size_t key_length, 119 ReadKey(partition(), address_, key_length(), key.data()), key_length()); in ReadKey() 154 size_t key_length() const { return header_.key_length_bytes; } in key_length() function 199 return sizeof(EntryHeader) + key_length() + value_size(); in content_size()
|
/external/grpc-grpc/test/core/slice/ |
D | slice_weak_hash_table_test.cc | 39 const size_t key_length = strlen(key_str); in BuildRefCountedKey() local 40 grpc_slice key = grpc_slice_malloc_large(key_length); in BuildRefCountedKey() 41 memcpy(GRPC_SLICE_START_PTR(key), key_str, key_length); in BuildRefCountedKey()
|
/external/python/asn1crypto/asn1crypto/ |
D | algos.py | 844 def key_length(self): member in EncryptionAlgorithm 905 … key_length = self['parameters']['key_derivation_func']['parameters']['key_length'].native 906 if key_length is not None: 907 return key_length 914 return self['parameters']['encryption_scheme'].key_length
|
/external/libchrome/crypto/ |
D | hmac.cc | 44 bool HMAC::Init(const unsigned char* key, size_t key_length) { in Init() argument 48 key_.assign(key, key + key_length); in Init()
|
/external/curl/lib/ |
D | hash.h | 33 size_t key_length, 88 size_t Curl_hash_str(void *key, size_t key_length, size_t slots_num);
|
/external/grpc-grpc/test/core/tsi/alts/frame_protector/ |
D | alts_frame_protector_test.cc | 339 size_t key_length = rekey ? kAes128GcmRekeyKeyLength : kAes128GcmKeyLength; in alts_test_do_round_trip() local 340 gsec_test_random_array(&key, key_length); in alts_test_do_round_trip() 345 alts_create_frame_protector(key, key_length, /*is_client=*/true, rekey, in alts_test_do_round_trip() 354 alts_create_frame_protector(key, key_length, /*is_client=*/false, rekey, in alts_test_do_round_trip()
|
D | alts_crypter_test.cc | 351 size_t key_length = rekey ? kAes128GcmRekeyKeyLength : kAes128GcmKeyLength; in create_random_alts_seal_crypter() local 353 gsec_test_random_array(&key, key_length); in create_random_alts_seal_crypter() 354 gsec_aes_gcm_aead_crypter_create(key, key_length, kAesGcmNonceLength, in create_random_alts_seal_crypter() 357 gsec_aes_gcm_aead_crypter_create(key, key_length, kAesGcmNonceLength, in create_random_alts_seal_crypter() 360 gsec_aes_gcm_aead_crypter_create(key, key_length, kAesGcmNonceLength, in create_random_alts_seal_crypter() 363 gsec_aes_gcm_aead_crypter_create(key, key_length, kAesGcmNonceLength, in create_random_alts_seal_crypter()
|
/external/python/cpython3/Modules/ |
D | _dbmmodule.c | 294 Py_ssize_clean_t key_length, PyObject *default_value) in _dbm_dbm_get_impl() argument 301 dbm_key.dsize = key_length; in _dbm_dbm_get_impl() 324 Py_ssize_clean_t key_length, in _dbm_dbm_setdefault_impl() argument 332 dbm_key.dsize = key_length; in _dbm_dbm_setdefault_impl()
|
/external/openscreen/util/crypto/ |
D | certificate_utils.cc | 206 int key_length) { in ImportRSAPrivateKey() argument 207 if (!der_rsa_private_key || key_length == 0) { in ImportRSAPrivateKey() 211 RSA* rsa = RSA_private_key_from_bytes(der_rsa_private_key, key_length); in ImportRSAPrivateKey()
|
/external/llvm-project/clang/tools/scan-build-py/libear/ |
D | ear.c | 492 size_t const key_length = strlen(key); in bear_update_environ() local 495 if ((0 == strncmp(*it, key, key_length)) && in bear_update_environ() 496 (strlen(*it) > key_length) && ('=' == (*it)[key_length])) in bear_update_environ() 501 size_t const env_length = key_length + value_length + 2; in bear_update_environ()
|
/external/clang/tools/scan-build-py/libear/ |
D | ear.c | 493 size_t const key_length = strlen(key); in bear_update_environ() local 496 if ((0 == strncmp(*it, key, key_length)) && in bear_update_environ() 497 (strlen(*it) > key_length) && ('=' == (*it)[key_length])) in bear_update_environ() 502 size_t const env_length = key_length + value_length + 2; in bear_update_environ()
|
/external/grpc-grpc/test/core/tsi/alts/crypt/ |
D | aes_gcm_test.cc | 40 size_t key_length; member 725 size_t key_length = test_vector->key_length; in gsec_test_get_crypter_from_test_vector() local 726 GPR_ASSERT(key_length == kAes128GcmKeyLength || in gsec_test_get_crypter_from_test_vector() 727 key_length == kAes256GcmKeyLength || in gsec_test_get_crypter_from_test_vector() 728 key_length == kAes128GcmRekeyKeyLength); in gsec_test_get_crypter_from_test_vector() 735 gsec_aes_gcm_aead_crypter_create(test_vector->key, key_length, nonce_length, in gsec_test_get_crypter_from_test_vector() 748 gsec_aead_test_vector** test_vector, const uint8_t* key, size_t key_length, in gsec_aead_malloc_test_vector() argument 754 (*test_vector)->key_length = key_length; in gsec_aead_malloc_test_vector() 759 gsec_test_copy(key, &((*test_vector)->key), key_length); in gsec_aead_malloc_test_vector() 777 size_t key_length, in gsec_test_create_random_aes_gcm_crypter() argument [all …]
|