Home
last modified time | relevance | path

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

12345

/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/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 …]
DProgramState.h369 ProgramStateRef add(typename ProgramStateTrait<T>::key_type K) const;
379 get(typename ProgramStateTrait<T>::key_type key) const { in get()
389 ProgramStateRef remove(typename ProgramStateTrait<T>::key_type K) const;
392 ProgramStateRef remove(typename ProgramStateTrait<T>::key_type K,
401 ProgramStateRef set(typename ProgramStateTrait<T>::key_type K,
405 ProgramStateRef set(typename ProgramStateTrait<T>::key_type K,
410 bool contains(typename ProgramStateTrait<T>::key_type key) const { in contains()
580 typename ProgramStateTrait<T>::key_type K, in set()
590 typename ProgramStateTrait<T>::key_type K, in add()
598 typename ProgramStateTrait<T>::key_type K, in remove()
[all …]
/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/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/libcxx/include/
Dmap27 typedef Key key_type;
29 typedef pair<const key_type, mapped_type> value_type;
117 mapped_type& operator[](const key_type& k);
118 mapped_type& operator[](key_type&& k);
120 mapped_type& at(const key_type& k);
121 const mapped_type& at(const key_type& k) const;
141 pair<iterator, bool> try_emplace(const key_type& k, Args&&... args); // C++17
143 pair<iterator, bool> try_emplace(key_type&& k, Args&&... args); // C++17
145 iterator try_emplace(const_iterator hint, const key_type& k, Args&&... args); // C++17
147 iterator try_emplace(const_iterator hint, key_type&& k, Args&&... args); // C++17
[all …]
Dset27 typedef Key key_type;
28 typedef key_type value_type;
120 size_type erase(const key_type& k);
136 iterator find(const key_type& k);
137 const_iterator find(const key_type& k) const;
145 size_type count(const key_type& k) const;
146 iterator lower_bound(const key_type& k);
147 const_iterator lower_bound(const key_type& k) const;
153 iterator upper_bound(const key_type& k);
154 const_iterator upper_bound(const key_type& k) const;
[all …]
Dunordered_map29 typedef Key key_type;
34 typedef pair<const key_type, mapped_type> value_type;
126 pair<iterator, bool> try_emplace(const key_type& k, Args&&... args); // C++17
128 pair<iterator, bool> try_emplace(key_type&& k, Args&&... args); // C++17
130 iterator try_emplace(const_iterator hint, const key_type& k, Args&&... args); // C++17
132 iterator try_emplace(const_iterator hint, key_type&& k, Args&&... args); // C++17
134 pair<iterator, bool> insert_or_assign(const key_type& k, M&& obj); // C++17
136 pair<iterator, bool> insert_or_assign(key_type&& k, M&& obj); // C++17
138 iterator insert_or_assign(const_iterator hint, const key_type& k, M&& obj); // C++17
140 iterator insert_or_assign(const_iterator hint, key_type&& k, M&& obj); // C++17
[all …]
Dunordered_set29 typedef Value key_type;
30 typedef key_type value_type;
118 size_type erase(const key_type& k);
130 iterator find(const key_type& k);
131 const_iterator find(const key_type& k) const;
132 size_type count(const key_type& k) const;
133 pair<iterator, iterator> equal_range(const key_type& k);
134 pair<const_iterator, const_iterator> equal_range(const key_type& k) const;
140 size_type bucket(const key_type& k) const;
177 typedef Value key_type;
[all …]
/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/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/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/protobuf/ruby/ext/google/protobuf_c/
Dmap.c70 switch (self->key_type) { in table_key()
75 native_slot_validate_string_encoding(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()
99 switch (self->key_type) { in table_key_to_ruby()
104 (self->key_type == UPB_TYPE_BYTES) ? in table_key_to_ruby()
114 return native_slot_get(self->key_type, Qnil, buf); in table_key_to_ruby()
226 self->key_type = ruby_to_fieldtype(argv[0]); in Map_init()
230 switch (self->key_type) { in Map_init()
479 VALUE key_type = fieldtype_to_ruby(self->key_type); in Map_new_this_type() local
[all …]
/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/libcxx/test/libcxx/containers/unord/
Dkey_value_traits.pass.cpp22 static_assert((std::is_same<Traits::key_type, int>::value), ""); in testKeyValueTrait()
30 static_assert((std::is_same<Traits::key_type, Tp>::value), ""); in testKeyValueTrait()
38 static_assert((std::is_same<Traits::key_type, Tp>::value), ""); in testKeyValueTrait()
46 static_assert((std::is_same<Traits::key_type, int>::value), ""); in testKeyValueTrait()
/external/libcxx/test/libcxx/containers/associative/
Dtree_key_value_traits.pass.cpp22 static_assert((std::is_same<Traits::key_type, int>::value), ""); in testKeyValueTrait()
30 static_assert((std::is_same<Traits::key_type, Tp>::value), ""); in testKeyValueTrait()
38 static_assert((std::is_same<Traits::key_type, Tp>::value), ""); in testKeyValueTrait()
46 static_assert((std::is_same<Traits::key_type, int>::value), ""); in testKeyValueTrait()
/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dreactor_op_queue.hpp32 typedef Descriptor key_type; typedef in asio::detail::reactor_op_queue
41 typedef typename hash_map<key_type, mapped_type>::value_type value_type;
42 typedef typename hash_map<key_type, mapped_type>::iterator iterator;
157 hash_map<key_type, mapped_type> operations_;
/external/libchrome/base/containers/
Dsmall_map.h138 bool operator()(const typename M::key_type& left, in operator()
139 const typename M::key_type& right) { in operator()
194 typedef typename NormalMap::key_type key_type;
387 iterator find(const key_type& key) {
401 const_iterator find(const key_type& key) const {
416 data_type& operator[](const key_type& key) {
528 size_t erase(const key_type& key) {
535 size_t count(const key_type& key) const {
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DImmutableIntervalMap.h37 typedef const Interval key_type; typedef
91 typedef typename ImutInfo::key_type key_type; typedef
200 typedef typename ImutIntervalInfo<ValT>::key_type key_type; typedef
222 TreeTy *T = F.add(Old.Root, std::pair<key_type, data_type>(K, D)); in add()
DImmutableMap.h28 typedef const T key_type; typedef
65 typedef typename ValInfo::key_type key_type; typedef
111 TreeTy *T = F.add(Old.Root, std::pair<key_type,data_type>(K,D)); in add()
270 typedef typename ValInfo::key_type key_type; typedef
322 TreeTy *NewT = Factory->add(Root, std::pair<key_type, data_type>(K, D)); in add()
/external/webrtc/webrtc/system_wrappers/source/
Dsort.cc63 KEY_TYPE* key_type = (KEY_TYPE*)(key); \
65 ptr_sort_key[i].key_ = &key_type[i]; \
214 KeyType* key_type = static_cast<KeyType*>(key);
216 ptr_sort_key[i].key_ = key_type[i];
367 uint32_t size_of_element, Type key_type) { in KeySort() argument
386 switch (key_type) { in KeySort()
452 switch (key_type) { in KeySort()
/external/llvm/include/llvm/ADT/
DImmutableMap.h28 typedef const T key_type; typedef
64 typedef typename ValInfo::key_type key_type; typedef
112 TreeTy *T = F.add(Old.Root, std::pair<key_type,data_type>(K,D)); in add()
256 typedef typename ValInfo::key_type key_type; typedef
324 TreeTy *NewT = Factory->add(Root, std::pair<key_type, data_type>(K, D)); in add()

12345