/third_party/mbedtls/include/psa/ |
H A D | crypto_sizes.h | 174 * \param key_type The type of the AEAD key. 188 #define PSA_AEAD_TAG_LENGTH(key_type, key_bits, alg) \ 189 (PSA_AEAD_NONCE_LENGTH(key_type, alg) != 0 ? \ 195 * See also #PSA_AEAD_TAG_LENGTH(\p key_type, \p key_bits, \p alg). 315 * \param key_type The type of the MAC key. 328 #define PSA_MAC_LENGTH(key_type, key_bits, alg) \ 331 PSA_ALG_IS_BLOCK_CIPHER_MAC(alg) ? PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type) : \ 332 ((void) (key_type), (void) (key_bits), 0u)) 347 * \param key_type A symmetric key type that is 360 #define PSA_AEAD_ENCRYPT_OUTPUT_SIZE(key_type, al [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
H A D | raw_hash_map.h | 48 using key_type = typename Policy::key_type; 51 using key_arg = typename KeyArgImpl::template type<K, key_type>; 53 static_assert(!std::is_reference<key_type>::value, ""); 72 template <class K = key_type, class V = mapped_type, K* = nullptr, 78 template <class K = key_type, class V = mapped_type, K* = nullptr> 83 template <class K = key_type, class V = mapped_type, V* = nullptr> 88 template <class K = key_type, class V = mapped_type> 93 template <class K = key_type, class V = mapped_type, K* = nullptr, 99 template <class K = key_type, clas [all...] |
H A D | btree_container.h | 43 // `key_type` otherwise. It permits template argument deduction on `K` for the 48 template type<K, typename Tree::key_type>; 51 using key_type = typename Tree::key_type; 107 template <typename K = key_type> 112 template <typename K = key_type> 116 template <typename K = key_type> 120 template <typename K = key_type> 124 template <typename K = key_type> 128 template <typename K = key_type> [all...] |
H A D | unordered_map_members_test.h | 36 EXPECT_TRUE((std::is_same<std::pair<const typename TypeParam::key_type, in TYPED_TEST_P() 47 std::declval<const typename TypeParam::key_type&>())), in TYPED_TEST_P() 51 std::declval<const typename TypeParam::key_type&>(), in TYPED_TEST_P() 52 std::declval<const typename TypeParam::key_type&>())), in TYPED_TEST_P()
|
H A D | unordered_set_members_test.h | 36 EXPECT_TRUE((std::is_same<typename TypeParam::key_type, in TYPED_TEST_P() 46 std::declval<const typename TypeParam::key_type&>())), in TYPED_TEST_P() 50 std::declval<const typename TypeParam::key_type&>(), in TYPED_TEST_P() 51 std::declval<const typename TypeParam::key_type&>())), in TYPED_TEST_P()
|
H A D | hashtable_debug_hooks.h | 42 const typename T::key_type& GetKey(const typename T::key_type& key, char) { in GetKey() 59 const typename Container::key_type& key) { in GetNumProbes()
|
H A D | common.h | 37 template <typename K, typename key_type> 43 // Not transparent. Always use `key_type`. 44 template <typename K, typename key_type> 45 using type = key_type; 144 using key_type = typename Policy::key_type;
|
H A D | hash_policy_traits.h | 34 using key_type = typename Policy::key_type; 43 static key_type& Impl(Key&& k, int) { in Impl() 45 const_cast<key_type*>(std::addressof(std::forward<Key>(k)))); in Impl()
|
/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
H A D | MapField.php | 53 private $key_type; variable 70 * @param long $key_type Type of the stored key element. 76 public function __construct($key_type, $value_type, $klass = null) 79 $this->key_type = $key_type; variable 100 return $this->key_type; 156 $this->checkKey($this->key_type, $key); 214 $this->checkKey($this->key_type, $key); 229 $this->checkKey($this->key_type, $key); 238 return new MapFieldIter($this->container, $this->key_type); [all...] |
H A D | MapFieldIter.php | 60 public function __construct($container, $key_type) 63 $this->key_type = $key_type; variable 94 switch ($this->key_type) {
|
/third_party/json/include/nlohmann/ |
H A D | ordered_map.hpp | 31 using key_type = Key; 54 std::pair<iterator, bool> emplace(const key_type& key, T&& t) in emplace() 68 detail::is_usable_as_key_type<key_compare, key_type, KeyType>::value, int> = 0> 82 T& operator[](const key_type& key) in operator []() 88 detail::is_usable_as_key_type<key_compare, key_type, KeyType>::value, int> = 0> 94 const T& operator[](const key_type& key) const in operator []() 100 detail::is_usable_as_key_type<key_compare, key_type, KeyType>::value, int> = 0> 106 T& at(const key_type& key) in at() 120 detail::is_usable_as_key_type<key_compare, key_type, KeyType>::value, int> = 0> 134 const T& at(const key_type [all...] |
/third_party/mbedtls/library/ |
H A D | psa_crypto_cipher.c | 31 psa_key_type_t key_type) in mbedtls_cipher_validate_values() 36 MBEDTLS_ASSUME(key_type != PSA_KEY_TYPE_AES); in mbedtls_cipher_validate_values() 39 MBEDTLS_ASSUME(key_type != PSA_KEY_TYPE_ARIA); in mbedtls_cipher_validate_values() 42 MBEDTLS_ASSUME(key_type != PSA_KEY_TYPE_CAMELLIA); in mbedtls_cipher_validate_values() 45 MBEDTLS_ASSUME(key_type != PSA_KEY_TYPE_CHACHA20); in mbedtls_cipher_validate_values() 48 MBEDTLS_ASSUME(key_type != PSA_KEY_TYPE_DES); in mbedtls_cipher_validate_values() 92 if (key_type == PSA_KEY_TYPE_CHACHA20) { in mbedtls_cipher_validate_values() 100 if (key_type == PSA_KEY_TYPE_AES || in mbedtls_cipher_validate_values() 101 key_type == PSA_KEY_TYPE_ARIA || in mbedtls_cipher_validate_values() 102 key_type in mbedtls_cipher_validate_values() 29 mbedtls_cipher_validate_values( psa_algorithm_t alg, psa_key_type_t key_type) mbedtls_cipher_validate_values() argument 126 mbedtls_cipher_values_from_psa( psa_algorithm_t alg, psa_key_type_t key_type, size_t *key_bits, mbedtls_cipher_mode_t *mode, mbedtls_cipher_id_t *cipher_id) mbedtls_cipher_values_from_psa() argument 258 mbedtls_cipher_info_from_psa( psa_algorithm_t alg, psa_key_type_t key_type, size_t key_bits, mbedtls_cipher_id_t *cipher_id) mbedtls_cipher_info_from_psa() argument 292 psa_key_type_t key_type = attributes->type; psa_cipher_setup() local [all...] |
/third_party/mbedtls/tests/scripts/ |
H A D | generate_psa_tests.py | 28 verb: str, key_type: str, bits: int, 38 short_key_type = crypto_knowledge.short_expression(key_type) 46 tc.set_arguments([key_type] + list(args)) 121 for key_type in sorted(self.constructors.key_types): 122 if key_type in self.ECC_KEY_TYPES: 124 if key_type in self.DH_KEY_TYPES: 126 kt = crypto_knowledge.KeyType(key_type) 144 key_type: str, bits: int, 153 short_key_type = crypto_knowledge.short_expression(key_type) 158 tc.set_arguments([key_type] [all...] |
/third_party/protobuf/php/ext/google/protobuf/ |
H A D | map.c | 53 upb_fieldtype_t key_type; member 122 intern->key_type = upb_fielddef_type(key_f); in MapField_GetPhpWrapper() 135 upb_fieldtype_t key_type = upb_fielddef_type(key_f); in MapField_GetUpbMap() local 144 upb_map *map = upb_map_new(arena, key_type, val_type); in MapField_GetUpbMap() 161 if (!Convert_PhpToUpb(&php_key, &upb_key, key_type, NULL, arena) || in MapField_GetUpbMap() 174 if (intern->key_type != key_type || intern->val_type != val_type || in MapField_GetUpbMap() 201 zend_long key_type, val_type; in PHP_METHOD() local 204 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ll|C", &key_type, &val_type, in PHP_METHOD() 209 intern->key_type in PHP_METHOD() [all...] |
/third_party/mbedtls/programs/psa/ |
H A D | aead_demo.c | 136 /* Convert arg to alg + key_bits + key_type */ in aead_prepare() 138 psa_key_type_t key_type; in aead_prepare() local 142 key_type = PSA_KEY_TYPE_AES; in aead_prepare() 146 key_type = PSA_KEY_TYPE_AES; in aead_prepare() 150 key_type = PSA_KEY_TYPE_AES; in aead_prepare() 154 key_type = PSA_KEY_TYPE_CHACHA20; in aead_prepare() 164 psa_set_key_type(&attributes, key_type); in aead_prepare() 184 psa_key_type_t key_type = psa_get_key_type(&attr); in aead_info() local 187 size_t tag_len = PSA_AEAD_TAG_LENGTH(key_type, key_bits, alg); in aead_info() 189 const char *type_str = key_type in aead_info() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
H A D | stl_type_traits.h | 94 absl::void_t<typename C::key_type, typename C::key_compare, 96 : std::is_base_of<C, T<typename C::key_type, typename C::key_compare, 101 absl::void_t<typename C::key_type, typename C::mapped_type, 104 T<typename C::key_type, typename C::mapped_type, 110 absl::void_t<typename C::key_type, typename C::hasher, 112 : std::is_base_of<C, T<typename C::key_type, typename C::hasher, 119 absl::void_t<typename C::key_type, typename C::mapped_type, 122 : std::is_base_of<C, T<typename C::key_type, typename C::mapped_type, 172 absl::void_t<typename C::key_type, typename C::key_compare, 174 : std::is_convertible<C, T<typename C::key_type, typenam [all...] |
/third_party/gn/src/base/containers/ |
H A D | flat_map.h | 105 // mapped_type& operator[](const key_type&); 106 // mapped_type& operator[](key_type&&); 165 using key_type = typename tree::key_type; 214 mapped_type& operator[](const key_type& key); 215 mapped_type& operator[](key_type&& key); 223 std::enable_if_t<std::is_constructible<key_type, K&&>::value, 228 std::enable_if_t<std::is_constructible<key_type, K&&>::value, iterator> 288 auto flat_map<Key, Mapped, Compare>::operator[](const key_type& key) 297 auto flat_map<Key, Mapped, Compare>::operator[](key_type [all...] |
/third_party/protobuf/ruby/ext/google/protobuf_c/ |
H A D | map.c | 70 switch (self->key_type) { in table_key() 78 key = native_slot_encode_and_freeze_string(self->key_type, key); in table_key() 88 native_slot_set("", self->key_type, Qnil, buf, key); in table_key() 90 *out_length = native_slot_size(self->key_type); in table_key() 104 switch (self->key_type) { in table_key_to_ruby() 109 (self->key_type == UPB_TYPE_BYTES) ? in table_key_to_ruby() 119 return native_slot_get(self->key_type, Qnil, key.data); in table_key_to_ruby() 199 * Map.new(key_type, value_type, value_typeclass = nil, init_hashmap = {}) 231 // We take either two args (:key_type, :value_type), three args (:key_type, in Map_init() 497 VALUE key_type = fieldtype_to_ruby(self->key_type); Map_new_this_type() local [all...] |
/third_party/libabigail/tests/data/test-read-ctf/ |
H A D | test-forward-undefine-type-decl.c | 6 struct key_type; 8 typedef void (*key_restrict_link_func_t)(struct key_type *type, 13 struct key_type *keytype;
|
/third_party/vk-gl-cts/framework/delibs/decpp/ |
H A D | deSTLUtil.hpp | 44 inline bool contains (const C& container, const typename C::key_type& item) in contains() 80 const typename M::key_type& key) in tryLookup() 91 const typename M::key_type& key, in lookupDefault() 101 const typename M::mapped_type& lookup (const M& map, const typename M::key_type& key) in lookup() 112 bool insert (M& map, const typename M::key_type& key, const typename M::mapped_type& value) in insert()
|
/third_party/python/Lib/ |
H A D | tracemalloc.py | 477 def _group_by(self, key_type, cumulative): 478 if key_type not in ('traceback', 'filename', 'lineno'): 479 raise ValueError("unknown key_type: %r" % (key_type,)) 480 if cumulative and key_type not in ('lineno', 'filename'): 482 "with key type %r" % key_type) 492 if key_type == 'traceback': 494 elif key_type == 'lineno': 496 else: # key_type == 'filename': 514 if key_type [all...] |
/third_party/gn/src/base/ |
H A D | value_iterators.h | 119 using key_type = DictStorage::key_type; 121 using value_type = std::pair<key_type, mapped_type>; 158 using key_type = const DictStorage::key_type; 160 using value_type = std::pair<key_type, mapped_type>;
|
/third_party/mbedtls/tests/src/drivers/ |
H A D | test_driver_key_management.c | 100 const psa_key_type_t key_type, in mbedtls_test_opaque_size_function() 105 key_buffer_size = PSA_EXPORT_KEY_OUTPUT_SIZE(key_type, key_bits); in mbedtls_test_opaque_size_function() 552 psa_key_type_t key_type = psa_get_key_type(attributes); in mbedtls_test_transparent_export_public_key() local 554 if (PSA_KEY_TYPE_IS_ECC(key_type)) { in mbedtls_test_transparent_export_public_key() 569 } else if (PSA_KEY_TYPE_IS_RSA(key_type)) { in mbedtls_test_transparent_export_public_key() 584 } else if (PSA_KEY_TYPE_IS_DH(key_type)) { in mbedtls_test_transparent_export_public_key() 603 (void) key_type; in mbedtls_test_transparent_export_public_key() 615 psa_key_type_t key_type = psa_get_key_type(attributes); in mbedtls_test_opaque_export_public_key() local 623 if (PSA_KEY_TYPE_IS_ECC(key_type)) { in mbedtls_test_opaque_export_public_key() 644 } else if (PSA_KEY_TYPE_IS_RSA(key_type)) { in mbedtls_test_opaque_export_public_key() 99 mbedtls_test_opaque_size_function( const psa_key_type_t key_type, const size_t key_bits) mbedtls_test_opaque_size_function() argument [all...] |
/third_party/node/deps/openssl/openssl/apps/ |
H A D | rsautl.c | 81 char rsa_mode = RSA_VERIFY, key_type = KEY_PRIVKEY; in rsautl_main() local 149 key_type = KEY_PUBKEY; in rsautl_main() 152 key_type = KEY_CERT; in rsautl_main() 179 if (need_priv && (key_type != KEY_PRIVKEY)) { in rsautl_main() 189 switch (key_type) { in rsautl_main()
|
/third_party/openssl/apps/ |
H A D | rsautl.c | 81 char rsa_mode = RSA_VERIFY, key_type = KEY_PRIVKEY; in rsautl_main() local 149 key_type = KEY_PUBKEY; in rsautl_main() 152 key_type = KEY_CERT; in rsautl_main() 179 if (need_priv && (key_type != KEY_PRIVKEY)) { in rsautl_main() 189 switch (key_type) { in rsautl_main()
|