Home
last modified time | relevance | path

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

1234

/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/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/file/
Dkey.py37 def __init__(self, bucket, name, fp=None, key_type=KEY_REGULAR_FILE): argument
46 self.key_type = key_type
47 if key_type == self.KEY_STREAM_READABLE:
50 elif key_type == self.KEY_STREAM_WRITABLE:
75 if self.key_type & self.KEY_STREAM_WRITABLE:
77 elif self.key_type & self.KEY_STREAM_READABLE:
121 if self.key_type & self.KEY_STREAM_READABLE:
123 elif self.key_type & self.KEY_STREAM_WRITABLE:
192 return (self.key_type & self.KEY_STREAM)
Dbucket.py72 key_type=Key.KEY_REGULAR_FILE): argument
90 return Key(self.name, '-', key_type=Key.KEY_STREAM_READABLE)
95 def new_key(self, key_name=None, key_type=Key.KEY_REGULAR_FILE): argument
106 return Key(self.name, '-', key_type=Key.KEY_STREAM_WRITABLE)
/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/
Dtypeannotation.py69 self.key_type = None
81 key_type = self.sub_types and self.sub_types[0].key_type
82 return self.IsFunction() and key_type.identifier == 'new'
131 keyword = '%s:' % repr(self.key_type) if self.key_type else ''
184 if self.key_type:
185 yield self.key_type
252 if (self.key_type and
253 self.key_type.identifier == TypeAnnotation.FUNCTION_TYPE):
254 current = self.key_type
256 self.key_type = None
[all …]
/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.h368 ProgramStateRef add(typename ProgramStateTrait<T>::key_type K) const;
378 get(typename ProgramStateTrait<T>::key_type key) const { in get()
388 ProgramStateRef remove(typename ProgramStateTrait<T>::key_type K) const;
391 ProgramStateRef remove(typename ProgramStateTrait<T>::key_type K,
400 ProgramStateRef set(typename ProgramStateTrait<T>::key_type K,
404 ProgramStateRef set(typename ProgramStateTrait<T>::key_type K,
409 bool contains(typename ProgramStateTrait<T>::key_type key) const { in contains()
579 typename ProgramStateTrait<T>::key_type K, in set()
589 typename ProgramStateTrait<T>::key_type K, in add()
597 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.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/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/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/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;
139 pair<iterator, bool> try_emplace(const key_type& k, Args&&... args); // C++17
141 pair<iterator, bool> try_emplace(key_type&& k, Args&&... args); // C++17
143 iterator try_emplace(const_iterator hint, const key_type& k, Args&&... args); // C++17
145 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/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/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/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()
/external/webrtc/webrtc/base/
Dsslidentity.h138 explicit KeyParams(KeyType key_type = KT_DEFAULT);
194 KeyType key_type) { in Generate() argument
195 return Generate(common_name, KeyParams(key_type)); in Generate()
/external/dbus/dbus/
Ddbus-hash.c198 DBusHashType key_type; /**< Type of keys used in this table */ member
315 table->key_type = type; in _dbus_hash_table_new()
319 switch (table->key_type) in _dbus_hash_table_new()
1012 switch (table->key_type) in rebuild_table()
1054 _dbus_assert (table->key_type == DBUS_HASH_STRING); in _dbus_hash_table_lookup_string()
1079 _dbus_assert (table->key_type == DBUS_HASH_INT); in _dbus_hash_table_lookup_int()
1104 _dbus_assert (table->key_type == DBUS_HASH_UINTPTR); in _dbus_hash_table_lookup_uintptr()
1129 _dbus_assert (table->key_type == DBUS_HASH_STRING); in _dbus_hash_table_remove_string()
1157 _dbus_assert (table->key_type == DBUS_HASH_INT); in _dbus_hash_table_remove_int()
1185 _dbus_assert (table->key_type == DBUS_HASH_UINTPTR); in _dbus_hash_table_remove_uintptr()
[all …]

1234