Home
last modified time | relevance | path

Searched refs:KeyType (Results 1 – 25 of 262) sorted by relevance

1234567891011

/external/perfetto/src/trace_processor/storage/
Dmetadata.h31 F(all_data_source_flushed_ns, KeyType::kMulti, Variadic::kInt), \
32 F(all_data_source_started_ns, KeyType::kSingle, Variadic::kInt), \
33 F(android_build_fingerprint, KeyType::kSingle, Variadic::kString), \
34 F(android_device_manufacturer, KeyType::kSingle, Variadic::kString), \
35 F(android_sdk_version, KeyType::kSingle, Variadic::kInt), \
36 F(android_soc_model, KeyType::kSingle, Variadic::kString), \
37 F(android_guest_soc_model, KeyType::kSingle, Variadic::kString), \
38 F(android_hardware_revision, KeyType::kSingle, Variadic::kString), \
39 F(android_storage_model, KeyType::kSingle, Variadic::kString), \
40 F(android_ram_model, KeyType::kSingle, Variadic::kString), \
[all …]
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
DZHash.java26 public class ZHash<KeyType, ValueType> implements ZIndexable<KeyType> {
28 private HashMap<KeyType, ValueType> hash;
31 private ZLinkedList<KeyType> zlist;
34 hash = new HashMap<KeyType, ValueType>();
35 zlist = new ZLinkedList<KeyType>();
44 public ValueType get(KeyType key) { in get()
48 public List<KeyType> getKeysAsList() { in getKeysAsList()
58 public synchronized void addToTop(KeyType key, ValueType value) { in addToTop()
75 public synchronized void addToBottom(KeyType key, ValueType value) { in addToBottom()
86 public synchronized boolean moveToTop(KeyType element) { in moveToTop()
[all …]
/external/rust/android-crates-io/extra_versions/crates/clap/src/
Dmkeymap.rs11 key: KeyType,
26 pub(crate) enum KeyType { enum
32 impl KeyType { implementation
34 matches!(self, KeyType::Position(_)) in is_position()
38 impl PartialEq<usize> for KeyType { implementation
41 KeyType::Position(x) => x == rhs, in eq()
47 impl PartialEq<&str> for KeyType { implementation
50 KeyType::Long(l) => l == rhs, in eq()
56 impl PartialEq<str> for KeyType { implementation
59 KeyType::Long(l) => l == rhs, in eq()
[all …]
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/clap_builder-4.5.21/src/
Dmkeymap.rs10 key: KeyType,
25 pub(crate) enum KeyType { enum
31 impl KeyType { implementation
33 matches!(self, KeyType::Position(_)) in is_position()
37 impl PartialEq<usize> for KeyType { implementation
40 KeyType::Position(x) => x == rhs, in eq()
46 impl PartialEq<&str> for KeyType { implementation
49 KeyType::Long(l) => l == rhs, in eq()
55 impl PartialEq<str> for KeyType { implementation
58 KeyType::Long(l) => l == rhs, in eq()
[all …]
/external/rust/android-crates-io/crates/clap_builder/src/
Dmkeymap.rs10 key: KeyType,
25 pub(crate) enum KeyType { enum
31 impl KeyType { implementation
33 matches!(self, KeyType::Position(_)) in is_position()
37 impl PartialEq<usize> for KeyType { implementation
40 KeyType::Position(x) => x == rhs, in eq()
46 impl PartialEq<&str> for KeyType { implementation
49 KeyType::Long(l) => l == rhs, in eq()
55 impl PartialEq<str> for KeyType { implementation
58 KeyType::Long(l) => l == rhs, in eq()
[all …]
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/clap_builder-4.5.21/src/
Dmkeymap.rs10 key: KeyType,
25 pub(crate) enum KeyType { enum
31 impl KeyType { implementation
33 matches!(self, KeyType::Position(_)) in is_position()
37 impl PartialEq<usize> for KeyType { implementation
40 KeyType::Position(x) => x == rhs, in eq()
46 impl PartialEq<&str> for KeyType { implementation
49 KeyType::Long(l) => l == rhs, in eq()
55 impl PartialEq<str> for KeyType { implementation
58 KeyType::Long(l) => l == rhs, in eq()
[all …]
/external/rust/android-crates-io/crates/coset/src/key/
Dtests.rs26 kty: KeyType::Assigned(iana::KeyType::OKP), in test_cose_key_encode()
38 kty: KeyType::Assigned(iana::KeyType::OKP), in test_cose_key_encode()
48 kty: KeyType::Text("bc".to_owned()), in test_cose_key_encode()
58 kty: KeyType::Assigned(iana::KeyType::OKP), in test_cose_key_encode()
70 kty: KeyType::Assigned(iana::KeyType::OKP), in test_cose_key_encode()
82 kty: KeyType::Assigned(iana::KeyType::OKP), in test_cose_key_encode()
94 kty: KeyType::Assigned(iana::KeyType::OKP), in test_cose_key_encode()
106 kty: KeyType::Assigned(iana::KeyType::OKP), in test_cose_key_encode()
126 kty: KeyType::Assigned(iana::KeyType::OKP), in test_cose_key_encode()
142 kty: KeyType::Assigned(iana::KeyType::OKP), in test_cose_key_encode()
[all …]
Dmod.rs33 pub type KeyType = crate::RegisteredLabel<iana::KeyType>; typedef
35 impl Default for KeyType { implementation
37 KeyType::Assigned(iana::KeyType::Reserved) in default()
77 pub kty: KeyType,
133 KTY => key.kty = KeyType::from_cbor_value(value)?, in from_cbor_value()
164 if key.kty == KeyType::Assigned(iana::KeyType::Reserved) { in from_cbor_value()
206 builder_set! {kty: KeyType}
213 kty: KeyType::Assigned(iana::KeyType::EC2), in new_ec2_pub_key()
230 kty: KeyType::Assigned(iana::KeyType::EC2), in new_ec2_pub_key_y_sign()
265 kty: KeyType::Assigned(iana::KeyType::Symmetric), in new_symmetric_key()
[all …]
/external/sdv/vsomeip/third_party/boost/intrusive/include/boost/intrusive/
Dsplay_set.hpp227 template<class KeyType, class KeyTypeKeyCompare>
229 (const KeyType &key, KeyTypeKeyCompare comp, insert_commit_data &commit_data) in insert_check()
233 template<class KeyType, class KeyTypeKeyCompare>
235 (const_iterator hint, const KeyType &key in insert_check()
268 template<class KeyType, class KeyTypeKeyCompare>
269 size_type erase(const KeyType& key, KeyTypeKeyCompare comp);
284 template<class KeyType, class KeyTypeKeyCompare, class Disposer>
285 size_type erase_and_dispose(const KeyType& key, KeyTypeKeyCompare comp, Disposer disposer);
301 template<class KeyType, class KeyTypeKeyCompare>
302 size_type count(const KeyType& key, KeyTypeKeyCompare comp) const in count()
[all …]
Dsplaytree.hpp265 template<class KeyType, class KeyTypeKeyCompare>
267 (const KeyType &key, KeyTypeKeyCompare comp, insert_commit_data &commit_data);
270 template<class KeyType, class KeyTypeKeyCompare>
272 (const_iterator hint, const KeyType &key
301 template<class KeyType, class KeyTypeKeyCompare>
302 size_type erase(const KeyType& key, KeyTypeKeyCompare comp);
317 template<class KeyType, class KeyTypeKeyCompare, class Disposer>
318 size_type erase_and_dispose(const KeyType& key, KeyTypeKeyCompare comp, Disposer disposer);
333 template<class KeyType, class KeyTypeKeyCompare>
334 size_type count(const KeyType &key, KeyTypeKeyCompare comp);
[all …]
Davl_set.hpp229 template<class KeyType, class KeyTypeKeyCompare>
231 (const KeyType &key, KeyTypeKeyCompare comp, insert_commit_data &commit_data) in insert_check()
235 template<class KeyType, class KeyTypeKeyCompare>
237 (const_iterator hint, const KeyType &key in insert_check()
270 template<class KeyType, class KeyTypeKeyCompare>
271 size_type erase(const KeyType& key, KeyTypeKeyCompare comp);
286 template<class KeyType, class KeyTypeKeyCompare, class Disposer>
287 size_type erase_and_dispose(const KeyType& key, KeyTypeKeyCompare comp, Disposer disposer);
303 template<class KeyType, class KeyTypeKeyCompare>
304 size_type count(const KeyType& key, KeyTypeKeyCompare comp) const in count()
[all …]
Dbs_set.hpp226 template<class KeyType, class KeyTypeKeyCompare>
228 (const KeyType &key, KeyTypeKeyCompare comp, insert_commit_data &commit_data) in insert_check()
232 template<class KeyType, class KeyTypeKeyCompare>
234 (const_iterator hint, const KeyType &key in insert_check()
267 template<class KeyType, class KeyTypeKeyCompare>
268 size_type erase(const KeyType& key, KeyTypeKeyCompare comp);
283 template<class KeyType, class KeyTypeKeyCompare, class Disposer>
284 size_type erase_and_dispose(const KeyType& key, KeyTypeKeyCompare comp, Disposer disposer);
300 template<class KeyType, class KeyTypeKeyCompare>
301 size_type count(const KeyType& key, KeyTypeKeyCompare comp) const in count()
[all …]
Dset.hpp229 template<class KeyType, class KeyTypeKeyCompare>
231 (const KeyType &key, KeyTypeKeyCompare comp, insert_commit_data &commit_data) in insert_check()
235 template<class KeyType, class KeyTypeKeyCompare>
237 (const_iterator hint, const KeyType &key in insert_check()
270 template<class KeyType, class KeyTypeKeyCompare>
271 size_type erase(const KeyType& key, KeyTypeKeyCompare comp);
286 template<class KeyType, class KeyTypeKeyCompare, class Disposer>
287 size_type erase_and_dispose(const KeyType& key, KeyTypeKeyCompare comp, Disposer disposer);
303 template<class KeyType, class KeyTypeKeyCompare>
304 size_type count(const KeyType& key, KeyTypeKeyCompare comp) const in count()
[all …]
Drbtree.hpp265 template<class KeyType, class KeyTypeKeyCompare>
267 (const KeyType &key, KeyTypeKeyCompare comp, insert_commit_data &commit_data);
270 template<class KeyType, class KeyTypeKeyCompare>
272 (const_iterator hint, const KeyType &key
309 template<class KeyType, class KeyTypeKeyCompare>
310 size_type erase(const KeyType& key, KeyTypeKeyCompare comp);
325 template<class KeyType, class KeyTypeKeyCompare, class Disposer>
326 size_type erase_and_dispose(const KeyType& key, KeyTypeKeyCompare comp, Disposer disposer);
339 template<class KeyType, class KeyTypeKeyCompare>
340 size_type count(const KeyType& key, KeyTypeKeyCompare comp) const;
[all …]
Davltree.hpp262 template<class KeyType, class KeyTypeKeyCompare>
264 (const KeyType &key, KeyTypeKeyCompare comp, insert_commit_data &commit_data);
267 template<class KeyType, class KeyTypeKeyCompare>
269 (const_iterator hint, const KeyType &key
306 template<class KeyType, class KeyTypeKeyCompare>
307 size_type erase(const KeyType& key, KeyTypeKeyCompare comp);
322 template<class KeyType, class KeyTypeKeyCompare, class Disposer>
323 size_type erase_and_dispose(const KeyType& key, KeyTypeKeyCompare comp, Disposer disposer);
336 template<class KeyType, class KeyTypeKeyCompare>
337 size_type count(const KeyType& key, KeyTypeKeyCompare comp) const;
[all …]
Dsg_set.hpp227 template<class KeyType, class KeyTypeKeyCompare>
229 (const KeyType &key, KeyTypeKeyCompare comp, insert_commit_data &commit_data) in insert_check()
233 template<class KeyType, class KeyTypeKeyCompare>
235 (const_iterator hint, const KeyType &key in insert_check()
268 template<class KeyType, class KeyTypeKeyCompare>
269 size_type erase(const KeyType& key, KeyTypeKeyCompare comp);
284 template<class KeyType, class KeyTypeKeyCompare, class Disposer>
285 size_type erase_and_dispose(const KeyType& key, KeyTypeKeyCompare comp, Disposer disposer);
301 template<class KeyType, class KeyTypeKeyCompare>
302 size_type count(const KeyType& key, KeyTypeKeyCompare comp) const in count()
[all …]
Dtreap_set.hpp257 template<class KeyType, class KeyTypeKeyCompare, class PrioType, class PrioValuePrioCompare>
259 ( const KeyType &key, KeyTypeKeyCompare comp, const PrioType &prio, PrioValuePrioCompare pcomp in insert_check()
264 template<class KeyType, class KeyTypeKeyCompare, class PrioType, class PrioValuePrioCompare>
267 , const KeyType &key, KeyTypeKeyCompare comp in insert_check()
301 template<class KeyType, class KeyTypeKeyCompare>
302 size_type erase(const KeyType& key, KeyTypeKeyCompare comp);
317 template<class KeyType, class KeyTypeKeyCompare, class Disposer>
318 size_type erase_and_dispose(const KeyType& key, KeyTypeKeyCompare comp, Disposer disposer);
334 template<class KeyType, class KeyTypeKeyCompare>
335 size_type count(const KeyType& key, KeyTypeKeyCompare comp) const in count()
[all …]
Dsplaytree_algorithms.hpp294 template<class KeyType, class KeyNodePtrCompare>
296 (node_ptr header, const KeyType &key, KeyNodePtrCompare comp) in count()
309 template<class KeyType, class KeyNodePtrCompare>
311 (const_node_ptr header, const KeyType &key, KeyNodePtrCompare comp) in count()
316 template<class KeyType, class KeyNodePtrCompare>
318 (node_ptr header, const KeyType &key, KeyNodePtrCompare comp) in lower_bound()
328 template<class KeyType, class KeyNodePtrCompare>
330 (const_node_ptr header, const KeyType &key, KeyNodePtrCompare comp) in lower_bound()
335 template<class KeyType, class KeyNodePtrCompare>
337 (node_ptr header, const KeyType &key, KeyNodePtrCompare comp) in upper_bound()
[all …]
/external/libchrome/base/containers/
Dmru_cache.h46 template <class KeyType, class ValueType, class CompareType>
48 typedef std::map<KeyType, ValueType, CompareType> Type;
52 template <class KeyType,
61 typedef std::pair<KeyType, PayloadType> value_type;
65 typedef typename MapType<KeyType,
95 iterator Put(const KeyType& key, Payload&& payload) { in Put()
116 iterator Get(const KeyType& key) { in Get()
129 iterator Peek(const KeyType& key) { in Peek()
136 const_iterator Peek(const KeyType& key) const { in Peek()
222 template <class KeyType,
[all …]
Did_map.h38 using KeyType = K;
43 using HashTable = std::unordered_map<KeyType, V>;
66 KeyType Add(V data) { return AddInternal(std::move(data)); } in Add()
72 void AddWithID(V data, KeyType id) { AddWithIDInternal(std::move(data), id); } in AddWithID()
74 void Remove(KeyType id) { in Remove()
91 V Replace(KeyType id, V new_data) { in Replace()
118 T* Lookup(KeyType id) const { in Lookup()
175 KeyType GetCurrentKey() const { in GetCurrentKey()
215 struct KeyIterator : std::iterator<std::forward_iterator_tag, KeyType> {
220 KeyType operator*() const { return iter_->first; }
[all …]
/external/angle/src/common/base/anglebase/containers/
Dmru_cache.h42 template <class KeyType, class ValueType, class CompareType>
45 typedef std::map<KeyType, ValueType, CompareType> Type;
49 template <class KeyType,
58 typedef std::pair<KeyType, PayloadType> value_type;
63 typename MapType<KeyType, typename PayloadList::iterator, HashOrCompareType>::Type KeyIndex;
94 iterator Put(const KeyType &key, Payload &&payload) in Put()
119 iterator Get(const KeyType &key) in Get()
133 iterator Peek(const KeyType &key) in Peek()
141 const_iterator Peek(const KeyType &key) const in Peek()
230 template <class KeyType, class PayloadType, class CompareType = std::less<KeyType>>
[all …]
/external/eigen/unsupported/Eigen/src/SparseExtra/
DRandomSetter.h27 typedef int KeyType; typedef
28 typedef std::map<KeyType,Scalar> Type;
33 static void setInvalidKey(Type&, const KeyType&) {} in setInvalidKey()
55 typedef int KeyType; typedef
56 typedef std::unordered_map<KeyType,Scalar> Type;
61 static void setInvalidKey(Type&, const KeyType&) {} in setInvalidKey()
73 template<typename KeyType, typename Scalar>
75 typedef dense_hash_map<KeyType, Scalar> type;
78 template<typename KeyType, typename Scalar>
80 typedef sparse_hash_map<KeyType, Scalar> type;
[all …]
/external/cronet/stable/base/containers/
Did_map.h41 using KeyType = K;
47 using HashTable = std::unordered_map<KeyType, V>;
77 KeyType Add(V data) { return AddInternal(std::move(data)); } in Add()
83 void AddWithID(V data, KeyType id) { AddWithIDInternal(std::move(data), id); } in AddWithID()
88 void Remove(KeyType id) { in Remove()
108 V Replace(KeyType id, V new_data) { in Replace()
142 T* Lookup(KeyType id) const { in Lookup()
205 KeyType GetCurrentKey() const { in GetCurrentKey()
251 using value_type = KeyType;
253 using pointer = KeyType*;
[all …]
/external/cronet/tot/base/containers/
Did_map.h41 using KeyType = K;
47 using HashTable = std::unordered_map<KeyType, V>;
77 KeyType Add(V data) { return AddInternal(std::move(data)); } in Add()
83 void AddWithID(V data, KeyType id) { AddWithIDInternal(std::move(data), id); } in AddWithID()
88 void Remove(KeyType id) { in Remove()
108 V Replace(KeyType id, V new_data) { in Replace()
142 T* Lookup(KeyType id) const { in Lookup()
205 KeyType GetCurrentKey() const { in GetCurrentKey()
251 using value_type = KeyType;
253 using pointer = KeyType*;
[all …]
/external/pigweed/pw_protobuf/size_report/
Doneof_codegen_comparison.cc54 volatile enum KeyType : uint32_t { in BasicEncode() enum
58 } which_key = KeyType::KEY_STRING; in BasicEncode()
61 if (which_key == KeyType::KEY_STRING) { in BasicEncode()
63 } else if (which_key == KeyType::KEY_TOKEN) { in BasicEncode()
119 volatile enum KeyType : uint32_t { in BasicDecode() enum
123 } which_key = KeyType::NONE; in BasicDecode()
130 which_key = KeyType::KEY_STRING; in BasicDecode()
138 which_key = KeyType::KEY_TOKEN; in BasicDecode()
184 volatile enum KeyType : uint32_t { in BasicEncode() enum
188 } which_key = KeyType::KEY_STRING; in BasicEncode()
[all …]

1234567891011