Home
last modified time | relevance | path

Searched refs:KeyType (Results 1 – 25 of 44) 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.h38 template <class KeyType, class ValueType, class CompareType>
40 typedef std::map<KeyType, ValueType, CompareType> Type;
44 template <class KeyType,
53 typedef std::pair<KeyType, PayloadType> value_type;
57 typedef typename MapType<KeyType,
87 iterator Put(const KeyType& key, Payload&& payload) { in Put()
110 iterator Get(const KeyType& key) { in Get()
123 iterator Peek(const KeyType& key) { in Peek()
130 const_iterator Peek(const KeyType& key) const { in Peek()
212 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/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTMap.h18 template <typename KeyType, typename DataType>
63 PVRTuint32 GetIndexOf(const KeyType key) const in GetIndexOf()
103 DataType& operator[] (const KeyType key)
139 EPVRTError Remove(const KeyType key) in Remove()
181 bool Exists(const KeyType key) const in Exists()
190 CPVRTArray<KeyType> m_Keys; /*!< Array of all the keys. Indices match m_Data. */
/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()
/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);
/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/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/test/
Dtest-invalset.cc36 typedef ptrdiff_t KeyType; typedef
43 Obj(KeyType key, ValType val) : key_(key), val_(val) {} in Obj()
44 KeyType key_;
63 static const KeyType kInvalidKey = PTRDIFF_MAX;
69 KeyType,
75 inline KeyType InvalSet<Obj,
77 KeyType,
86 KeyType,
89 kReclaimFactor>::SetKey(Obj* obj, KeyType key) { in SetKey()
/external/swiftshader/third_party/subzero/src/
DIceGlobalContext.cpp65 template <typename KeyType, class Enable = void> struct KeyCompare {};
67 template <typename KeyType>
68 struct KeyCompare<KeyType,
70 std::is_integral<KeyType>::value ||
71 std::is_same<KeyType, RelocatableTuple>::value>::type> {
72 bool operator()(const KeyType &Value1, const KeyType &Value2) const { in operator ()()
76 template <typename KeyType>
77 struct KeyCompare<KeyType, typename std::enable_if<
78 std::is_floating_point<KeyType>::value>::type> {
79 bool operator()(const KeyType &Value1, const KeyType &Value2) const { in operator ()()
[all …]
/external/vixl/src/
Dinvalset-vixl.h77 class KeyType, \
78 KeyType INVALID_KEY, \
84 ElementType, N_PREALLOCATED_ELEMENTS, KeyType, INVALID_KEY, RECLAIM_FROM, \
97 static const KeyType kInvalidKey = INVALID_KEY;
124 KeyType GetMinElementKey();
127 static KeyType GetKey(const ElementType& element);
128 static void SetKey(ElementType* element, KeyType key);
131 typedef KeyType _KeyType;
201 KeyType cached_min_key_; // Valid iff `valid_cached_min_` is true.
252 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/protobuf/java/core/src/test/java/com/google/protobuf/
DMapForProto2Test.java432 private static <KeyType, ValueType>
433 Message newMapEntry(Message.Builder builder, String name, KeyType key, ValueType value) { in newMapEntry()
452 private static <KeyType, ValueType>
453 Map<KeyType, ValueType> mapForValues( in mapForValues()
454 KeyType key1, ValueType value1, KeyType key2, ValueType value2) { in mapForValues()
455 Map<KeyType, ValueType> map = new HashMap<KeyType, ValueType>(); in mapForValues()
DMapTest.java525 private static <KeyType, ValueType>
526 Message newMapEntry(Message.Builder builder, String name, KeyType key, ValueType value) { in newMapEntry()
545 private static <KeyType, ValueType>
546 Map<KeyType, ValueType> mapForValues( in mapForValues()
547 KeyType key1, ValueType value1, KeyType key2, ValueType value2) { in mapForValues()
548 Map<KeyType, ValueType> map = new HashMap<KeyType, ValueType>(); in mapForValues()
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES3/
DPVRTTextureAPI.h22 template <typename KeyType, typename DataType>
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/
DPVRTTextureAPI.h22 template <typename KeyType, typename DataType>

12