Home
last modified time | relevance | path

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

12

/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/libchrome/base/containers/
Dmru_cache.h37 template <class KeyType, class ValueType>
39 typedef std::map<KeyType, ValueType> Type;
45 template <class KeyType, class PayloadType, class DeletorType,
51 typedef std::pair<KeyType, PayloadType> value_type;
55 typedef typename MapType<KeyType,
93 iterator Put(const KeyType& key, const PayloadType& 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()
232 template <class KeyType, class PayloadType>
[all …]
Dsmall_map.h153 template <typename KeyType, typename ValueType>
154 struct select_equal_key< std::map<KeyType, ValueType>, false> {
156 bool operator()(const KeyType& left, const KeyType& right) {
161 template <typename KeyType, typename ValueType>
162 struct select_equal_key< base::hash_map<KeyType, ValueType>, false> {
164 bool operator()(const KeyType& left, const KeyType& right) {
/external/webrtc/webrtc/system_wrappers/source/
Dsort.cc80 template<typename KeyType>
82 KeyType key_;
170 template <typename KeyType>
172 bool operator()(const SortKey<KeyType>& sort_key_x,
173 const SortKey<KeyType>& sort_key_y) const {
178 template <typename KeyType>
180 KeyType operator()(const SortKey<KeyType>& sort_key,
205 template<typename KeyType>
207 SortKey<KeyType>*& ptr_sort_key,
209 ptr_sort_key = new(std::nothrow) SortKey<KeyType>[num_of_elements];
[all …]
/external/eigen/unsupported/Eigen/src/SparseExtra/
DRandomSetter.h21 typedef int KeyType; typedef
22 typedef std::map<KeyType,Scalar> Type;
27 static void setInvalidKey(Type&, const KeyType&) {} in setInvalidKey()
49 typedef int KeyType; typedef
50 typedef std::unordered_map<KeyType,Scalar> Type;
55 static void setInvalidKey(Type&, const KeyType&) {} in setInvalidKey()
66 typedef int KeyType; typedef
67 typedef google::dense_hash_map<KeyType,Scalar> Type;
72 static void setInvalidKey(Type& map, const KeyType& k) in setInvalidKey()
84 typedef int KeyType; typedef
[all …]
/external/webrtc/webrtc/system_wrappers/test/TestSort/
DTestSort.cc24 template<typename KeyType>
27 KeyType key;
48 template<typename DataType, typename KeyType>
51 KeyType keyX = ((const DataType*)dataX)->key; in CompareKey()
52 KeyType keyY = ((const DataType*)dataY)->key; in CompareKey()
127 template<typename KeyType>
132 KeyType key[DataLength]; in RunSortTest()
133 KeyType keyRef[DataLength]; in RunSortTest()
134 LotsOfData<KeyType> data[DataLength]; in RunSortTest()
135 LotsOfData<KeyType> dataRef[DataLength]; in RunSortTest()
[all …]
/external/libchrome/base/
Did_map.h40 using KeyType = K;
43 typedef base::hash_map<KeyType, T*> HashTable;
67 KeyType Add(T* data) { in Add()
70 KeyType this_id = next_id_; in Add()
81 void AddWithID(T* data, KeyType id) { in AddWithID()
88 void Remove(KeyType id) { in Remove()
109 T* Replace(KeyType id, T* new_data) { in Replace()
139 T* Lookup(KeyType id) const { in Lookup()
198 KeyType GetCurrentKey() const { in GetCurrentKey()
270 std::set<KeyType> removed_ids_;
[all …]
/external/webrtc/talk/app/webrtc/
Ddtlsidentitystore.h79 rtc::KeyType key_type, 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()
135 rtc::KeyType key_type_;
Ddtlsidentitystore.cc59 WorkerTask(DtlsIdentityStoreImpl* store, rtc::KeyType key_type) in WorkerTask()
119 const rtc::KeyType key_type_;
142 rtc::KeyType key_type, in RequestIdentity()
164 rtc::KeyType key_type) const { in HasFreeIdentityForTesting()
170 rtc::KeyType key_type, in GenerateIdentity()
209 rtc::KeyType key_type, rtc::scoped_ptr<rtc::SSLIdentity> identity) { in OnIdentityGenerated()
Dpeerconnectionfactory.cc65 rtc::KeyType key_type, in RequestIdentity()
/external/webrtc/webrtc/base/
Dsslidentity.h121 enum KeyType { KT_RSA, KT_ECDSA, KT_LAST, KT_DEFAULT = KT_RSA }; enum
138 explicit KeyParams(KeyType key_type = KT_DEFAULT);
156 KeyType type() const { return type_; } in type()
159 KeyType type_;
169 KeyType IntKeyTypeFamilyToKeyType(int key_type_family);
194 KeyType key_type) { in Generate()
Dsslidentity.cc38 KeyParams::KeyParams(KeyType key_type) { in KeyParams()
87 KeyType IntKeyTypeFamilyToKeyType(int key_type_family) { in IntKeyTypeFamilyToKeyType()
88 return static_cast<KeyType>(key_type_family); in IntKeyTypeFamilyToKeyType()
Dsslstreamadapter.cc90 KeyType key_type) { in GetDefaultSslCipherForTest()
Dsslstreamadapter.h196 KeyType key_type);
Dopensslstreamadapter.h114 KeyType key_type);
/external/vixl/test/
Dtest-invalset.cc37 typedef ptrdiff_t KeyType; typedef
44 Obj(KeyType key, ValType val) : key_(key), val_(val) {} in Obj()
45 KeyType key_;
66 static const KeyType kInvalidKey = PTRDIFF_MAX;
72 KeyType,
78 inline KeyType InvalSet<Obj,
80 KeyType,
89 KeyType,
92 kReclaimFactor>::SetKey(Obj* obj, KeyType key) { in SetKey()
/external/google-breakpad/src/processor/
Dstatic_map_unittest.cc42 typedef int KeyType; typedef
43 typedef google_breakpad::StaticMap< KeyType, ValueType > TestMap;
44 typedef std::map< KeyType, ValueType > StdMap;
107 sizeof(uint32_t) + kNumNodes * (sizeof(uint32_t) + sizeof(KeyType)); in TEST_F()
124 sizeof(uint32_t) + kNumNodes * (sizeof(uint32_t) + sizeof(KeyType)); in TEST_F()
129 KeyType* keys = reinterpret_cast<KeyType*>( in TEST_F()
174 sizeof(uint32_t) + sizeof(KeyType) + sizeof(ValueType); in SetUp()
240 void FindTester(int test_case, const KeyType &key) { in FindTester()
246 void LowerBoundTester(int test_case, const KeyType &key) { in LowerBoundTester()
252 void UpperBoundTester(int test_case, const KeyType &key) { in UpperBoundTester()
[all …]
/external/pdfium/xfa/src/fxfa/src/common/
Dxfa_utils.h150 template <class KeyType>
159 FX_BOOL Lookup(KeyType key) const { in Lookup()
164 FX_BOOL operator[](KeyType key) { return Lookup(key); }
166 void Add(KeyType key) { CFX_MapPtrToPtr::SetAt((void*)key, (void*)key); } in Add()
168 FX_BOOL RemoveKey(KeyType key) { in RemoveKey()
178 void GetNextAssoc(FX_POSITION& rNextPosition, KeyType& rKey) const { in GetNextAssoc()
182 rKey = (KeyType)(uintptr_t)pKey; in GetNextAssoc()
/external/clang/test/SemaCXX/
DPR11358.cpp29 template <typename KeyType, typename ValueType>
30 void MapTest(hash_map<KeyType, ValueType> map) { in MapTest() argument
31 …for (hash_map<KeyType, ValueType>::const_iterator it = map.begin(); // expected-error{{missing 'ty… in MapTest()
/external/vixl/src/vixl/
Dinvalset.h76 class KeyType, \
77 KeyType INVALID_KEY, \
83 KeyType, INVALID_KEY, RECLAIM_FROM, RECLAIM_FACTOR
93 static const KeyType kInvalidKey = INVALID_KEY;
114 KeyType min_element_key();
117 static KeyType Key(const ElementType& element);
118 static void SetKey(ElementType* element, KeyType key);
188 KeyType cached_min_key_; // Valid iff `valid_cached_min_` is true.
220 typedef KeyType _KeyType;
228 typedef typename S::_KeyType KeyType; typedef
[all …]
/external/cros/system_api/dbus/cryptohome/
Dkey.proto64 // The KeyType should specify the handling needed by Cryptohome
65 // and not a provider KeyType.
66 enum KeyType { enum
69 optional KeyType type = 1;
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/
DPeerConnection.java134 public enum KeyType { enum in PeerConnection
154 public KeyType keyType;
167 keyType = KeyType.ECDSA; in RTCConfiguration()
/external/pdfium/core/include/fxcrt/
Dfx_basic.h708 template <class KeyType, class ValueType>
713 FX_BOOL Lookup(KeyType key, ValueType& rValue) const { in Lookup()
722 ValueType& operator[](KeyType key) {
726 void SetAt(KeyType key, ValueType newValue) { in SetAt()
730 FX_BOOL RemoveKey(KeyType key) { in RemoveKey()
735 KeyType& rKey, in GetNextAssoc()
740 rKey = (KeyType)(uintptr_t)pKey; in GetNextAssoc()
/external/llvm/include/llvm/ADT/
DIntervalMap.h959 typedef KeyT KeyType; typedef
2049 typedef typename MapA::KeyType KeyType; typedef
2105 KeyType start() const { in start()
2106 KeyType ak = a().start(); in start()
2107 KeyType bk = b().start(); in start()
2112 KeyType stop() const { in stop()
2113 KeyType ak = a().stop(); in stop()
2114 KeyType bk = b().stop(); in stop()
2142 void advanceTo(KeyType x) { in advanceTo()
/external/webrtc/talk/app/webrtc/test/
Dfakedtlsidentitystore.h116 rtc::KeyType key_type, in RequestIdentity()

12