Home
last modified time | relevance | path

Searched refs:key_type (Results 1 – 25 of 216) sorted by relevance

123456789

/external/webrtc/talk/app/webrtc/
Ddtlsidentitystore.cc59 WorkerTask(DtlsIdentityStoreImpl* store, rtc::KeyType key_type) in WorkerTask() argument
62 key_type_(key_type) { in WorkerTask()
142 rtc::KeyType key_type, in RequestIdentity() argument
147 GenerateIdentity(key_type, observer); in RequestIdentity()
164 rtc::KeyType key_type) const { in HasFreeIdentityForTesting()
166 return request_info_[key_type].free_identity_.get() != nullptr; in HasFreeIdentityForTesting()
170 rtc::KeyType key_type, in GenerateIdentity() argument
176 request_info_[key_type].request_observers_.push(observer); in GenerateIdentity()
179 if (request_info_[key_type].free_identity_.get()) { in GenerateIdentity()
182 ++request_info_[key_type].gen_in_progress_counts_; in GenerateIdentity()
[all …]
Ddtlsidentitystore.h79 rtc::KeyType key_type, in RequestIdentity() argument
82 RequestIdentity(rtc::KeyParams(key_type), observer); in RequestIdentity()
109 rtc::KeyType key_type,
116 bool HasFreeIdentityForTesting(rtc::KeyType key_type) const;
120 rtc::KeyType key_type,
122 void OnIdentityGenerated(rtc::KeyType key_type,
131 IdentityResult(rtc::KeyType key_type, in IdentityResult()
133 : key_type_(key_type), identity_(std::move(identity)) {} in IdentityResult()
/external/protobuf/php/src/Google/Protobuf/Internal/
DMapField.php53 private $key_type; variable in Google\\Protobuf\\Internal\\MapField
70 * @param long $key_type Type of the stored key element.
76 public function __construct($key_type, $value_type, $klass = null) argument
79 $this->key_type = $key_type;
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);
256 private function checkKey($key_type, &$key) argument
[all …]
DMapFieldIter.php60 public function __construct($container, $key_type) argument
63 $this->key_type = $key_type;
94 if ($this->key_type === GPBType::BOOL) {
97 } elseif ($this->key_type === GPBType::STRING) {
/external/tensorflow/tensorflow/compiler/tf2tensorrt/utils/
Dtrt_lru_cache.h41 typedef Key key_type; typedef
43 typedef typename std::unordered_map<key_type, value_type, hasher> map_type;
59 size_t count(const key_type& key) const { return objects_.count(key); } in count()
61 value_type& at(const key_type& key) { return Touch(key); } in at()
74 key_type key = result.first->first; in emplace()
84 std::unordered_map<key_type, value_type, hasher> objects_;
85 std::list<key_type> keys_;
89 value_type& Touch(const key_type& key) { in Touch()
97 void TouchNoCheck(const key_type& key) { in TouchNoCheck()
110 key_type discard_key = keys_.back();
/external/python/cryptography/src/cryptography/hazmat/primitives/serialization/
Dssh.py24 key_type = key_parts[0]
26 if key_type == b'ssh-rsa':
28 elif key_type == b'ssh-dss':
30 elif key_type in [
46 if inner_key_type != key_type:
51 return loader(key_type, rest, backend)
54 def _load_ssh_rsa_public_key(key_type, decoded_data, backend): argument
64 def _load_ssh_dss_public_key(key_type, decoded_data, backend): argument
/external/libbrillo/brillo/
Dmap_utils.h17 inline std::set<typename T::key_type> GetMapKeys(const T& map) { in GetMapKeys()
18 std::set<typename T::key_type> keys; in GetMapKeys()
27 inline std::vector<typename T::key_type> GetMapKeysAsVector(const T& map) { in GetMapKeysAsVector()
28 std::vector<typename T::key_type> keys; in GetMapKeysAsVector()
47 inline std::vector<std::pair<typename T::key_type, typename T::mapped_type>>
49 std::vector<std::pair<typename T::key_type, typename T::mapped_type>> vector; in MapToVector()
61 typename T::key_type key, in GetOrDefault()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DProgramStateTrait.h62 typedef Key key_type;
73 static lookup_type Lookup(data_type B, key_type K) {
76 static data_type Set(data_type B, key_type K, value_type E,context_type F){
80 static data_type Remove(data_type B, key_type K, context_type F) {
113 typedef Key key_type;
124 static data_type Add(data_type B, key_type K, context_type F) {
128 static data_type Remove(data_type B, key_type K, context_type F) {
132 static bool Contains(data_type B, key_type K) {
155 typedef T key_type;
158 static data_type Add(data_type L, key_type K, context_type F) {
[all …]
/external/libcxx/test/std/containers/unord/unord.multimap/
Dtypes.pass.cpp40 static_assert((std::is_same<C::key_type, char>::value), ""); in main()
42 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); in main()
43 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), ""); in main()
45 …static_assert((std::is_same<C::value_type, std::pair<const C::key_type, C::mapped_type> >::value),… in main()
57 static_assert((std::is_same<C::key_type, char>::value), ""); in main()
59 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); in main()
60 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), ""); in main()
62 …static_assert((std::is_same<C::value_type, std::pair<const C::key_type, C::mapped_type> >::value),… in main()
/external/libcxx/test/std/containers/unord/unord.map/
Dtypes.pass.cpp40 static_assert((std::is_same<C::key_type, char>::value), ""); in main()
42 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); in main()
43 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), ""); in main()
45 …static_assert((std::is_same<C::value_type, std::pair<const C::key_type, C::mapped_type> >::value),… in main()
57 static_assert((std::is_same<C::key_type, char>::value), ""); in main()
59 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); in main()
60 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), ""); in main()
62 …static_assert((std::is_same<C::value_type, std::pair<const C::key_type, C::mapped_type> >::value),… in main()
/external/bcc/src/lua/bcc/
Dtable.lua34 function BaseTable:initialize(t_type, bpf, map_id, map_fd, key_type, leaf_type)
41 self.c_key = ffi.typeof(key_type.."[1]")
152 function HashTable:initialize(bpf, map_id, map_fd, key_type, leaf_type)
153 BaseTable.initialize(self, BaseTable.BPF_MAP_TYPE_HASH, bpf, map_id, map_fd, key_type, leaf_type)
171 function BaseArray:initialize(t_type, bpf, map_id, map_fd, key_type, leaf_type)
172 BaseTable.initialize(self, t_type, bpf, map_id, map_fd, key_type, leaf_type)
229 function Array:initialize(bpf, map_id, map_fd, key_type, leaf_type)
230 BaseArray.initialize(self, BaseTable.BPF_MAP_TYPE_ARRAY, bpf, map_id, map_fd, key_type, leaf_type)
237 function PerfEventArray:initialize(bpf, map_id, map_fd, key_type, leaf_type)
238 …BaseArray.initialize(self, BaseTable.BPF_MAP_TYPE_PERF_EVENT_ARRAY, bpf, map_id, map_fd, key_type,…
[all …]
/external/boringssl/src/crypto/pem/
Dpem_info.c96 size_t len, int key_type) in parse_x509() argument
106 size_t len, int key_type) in parse_x509_aux() argument
116 size_t len, int key_type) in parse_crl() argument
126 size_t len, int key_type) in parse_key() argument
135 info->x_pkey->dec_pkey = d2i_PrivateKey(key_type, NULL, &data, len); in parse_key()
178 int key_type = EVP_PKEY_NONE; in STACK_OF() local
188 key_type = EVP_PKEY_RSA; in STACK_OF()
191 key_type = EVP_PKEY_DSA; in STACK_OF()
194 key_type = EVP_PKEY_EC; in STACK_OF()
198 if (key_type != EVP_PKEY_NONE && strlen(header) > 10) { in STACK_OF()
[all …]
/external/libcxx/include/
Dmap27 typedef Key key_type;
29 typedef pair<const key_type, mapped_type> value_type;
119 mapped_type& operator[](const key_type& k);
120 mapped_type& operator[](key_type&& k);
122 mapped_type& at(const key_type& k);
123 const mapped_type& at(const key_type& k) const;
143 node_type extract(const key_type& x); // C++17
148 pair<iterator, bool> try_emplace(const key_type& k, Args&&... args); // C++17
150 pair<iterator, bool> try_emplace(key_type&& k, Args&&... args); // C++17
152 iterator try_emplace(const_iterator hint, const key_type& k, Args&&... args); // C++17
[all …]
Dset27 typedef Key key_type;
28 typedef key_type value_type;
121 node_type extract(const key_type& x); // C++17
127 size_type erase(const key_type& k);
152 iterator find(const key_type& k);
153 const_iterator find(const key_type& k) const;
161 size_type count(const key_type& k) const;
162 iterator lower_bound(const key_type& k);
163 const_iterator lower_bound(const key_type& k) const;
169 iterator upper_bound(const key_type& k);
[all …]
Dunordered_map29 typedef Key key_type;
34 typedef pair<const key_type, mapped_type> value_type;
129 node_type extract(const key_type& x); // C++17
134 pair<iterator, bool> try_emplace(const key_type& k, Args&&... args); // C++17
136 pair<iterator, bool> try_emplace(key_type&& k, Args&&... args); // C++17
138 iterator try_emplace(const_iterator hint, const key_type& k, Args&&... args); // C++17
140 iterator try_emplace(const_iterator hint, key_type&& k, Args&&... args); // C++17
142 pair<iterator, bool> insert_or_assign(const key_type& k, M&& obj); // C++17
144 pair<iterator, bool> insert_or_assign(key_type&& k, M&& obj); // C++17
146 iterator insert_or_assign(const_iterator hint, const key_type& k, M&& obj); // C++17
[all …]
/external/libcxx/test/std/containers/unord/unord.multiset/
Dtypes.pass.cpp40 static_assert((std::is_same<C::key_type, short>::value), ""); in main()
41 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); in main()
42 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), ""); in main()
56 static_assert((std::is_same<C::key_type, short>::value), ""); in main()
57 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); in main()
58 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), ""); in main()
/external/libcxx/test/std/containers/unord/unord.set/
Dtypes.pass.cpp40 static_assert((std::is_same<C::key_type, short>::value), ""); in main()
41 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); in main()
42 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), ""); in main()
56 static_assert((std::is_same<C::key_type, short>::value), ""); in main()
57 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); in main()
58 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), ""); in main()
/external/libcxx/include/ext/
Dhash_set27 typedef Value key_type;
28 typedef key_type value_type;
70 size_type erase(const key_type& k);
79 iterator find(const key_type& k);
80 const_iterator find(const key_type& k) const;
81 size_type count(const key_type& k) const;
82 pair<iterator, iterator> equal_range(const key_type& k);
83 pair<const_iterator, const_iterator> equal_range(const key_type& k) const;
113 typedef Value key_type;
114 typedef key_type value_type;
[all …]
Dhash_map27 typedef Key key_type;
32 typedef pair<const key_type, mapped_type> value_type;
71 size_type erase(const key_type& k);
80 iterator find(const key_type& k);
81 const_iterator find(const key_type& k) const;
82 size_type count(const key_type& k) const;
83 pair<iterator, iterator> equal_range(const key_type& k);
84 pair<const_iterator, const_iterator> equal_range(const key_type& k) const;
86 mapped_type& operator[](const key_type& k);
116 typedef Key key_type;
[all …]
/external/tensorflow/tensorflow/core/util/
Dpresized_cuckoo_map.h77 typedef uint64 key_type; typedef
100 bool InsertUnique(const key_type k, const value& v) { in InsertUnique()
130 bool Find(const key_type k, value* out) const { in Find()
139 void PrefetchKey(const key_type k) const { in PrefetchKey()
185 key_type keys[kSlotsPerBucket];
237 inline uint64 key_transform(const key_type k) const { in key_transform()
250 inline uint64 alt_bucket(key_type k, uint64 b) const { in alt_bucket()
257 inline void InsertInternal(key_type k, const value& v, uint64 b, int slot) { in InsertInternal()
265 bool FindInBucket(key_type k, uint64 b, value* out) const { in FindInBucket()
296 bool CuckooInsert(key_type k, const value& v, uint64 b1, uint64 b2) { in CuckooInsert()
/external/u-boot/include/crypto/
Dpublic_key.h59 struct key_type;
63 const struct key_type *type,
68 const struct key_type *type,
73 const struct key_type *type,
/external/deqp/framework/delibs/decpp/
DdeSTLUtil.hpp42 inline bool contains (const C& container, const typename C::key_type& item) in contains()
78 const typename M::key_type& key) in tryLookup()
89 const typename M::key_type& key, in lookupDefault()
99 const typename M::mapped_type& lookup (const M& map, const typename M::key_type& key) in lookup()
110 bool insert (M& map, const typename M::key_type& key, const typename M::mapped_type& value) in insert()
/external/tensorflow/tensorflow/lite/experimental/resource/
Dstatic_hashtable.cc83 LookupInterface* CreateStaticHashtable(TfLiteType key_type, in CreateStaticHashtable() argument
85 if (key_type == kTfLiteInt64 && value_type == kTfLiteString) { in CreateStaticHashtable()
86 return new StaticHashtable<std::int64_t, std::string>(key_type, value_type); in CreateStaticHashtable()
87 } else if (key_type == kTfLiteString && value_type == kTfLiteInt64) { in CreateStaticHashtable()
88 return new StaticHashtable<std::string, std::int64_t>(key_type, value_type); in CreateStaticHashtable()
/external/protobuf/ruby/ext/google/protobuf_c/
Dmap.c70 switch (self->key_type) { in table_key()
75 key = native_slot_encode_and_freeze_string(self->key_type, key); in table_key()
85 native_slot_set("", self->key_type, Qnil, buf, key); in table_key()
87 *out_length = native_slot_size(self->key_type); in table_key()
101 switch (self->key_type) { in table_key_to_ruby()
106 (self->key_type == UPB_TYPE_BYTES) ? in table_key_to_ruby()
116 return native_slot_get(self->key_type, Qnil, buf); in table_key_to_ruby()
235 self->key_type = ruby_to_fieldtype(argv[0]); in Map_init()
240 switch (self->key_type) { in Map_init()
495 VALUE key_type = fieldtype_to_ruby(self->key_type); in Map_new_this_type() local
[all …]
/external/libchrome/base/containers/
Dflat_map.h165 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&& key)
331 -> std::enable_if_t<std::is_constructible<key_type, K&&>::value,
344 -> std::enable_if_t<std::is_constructible<key_type, K&&>::value, iterator> {

123456789