/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/ |
D | ZHash.java | 26 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/ |
D | mru_cache.h | 38 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 …]
|
D | small_map.h | 153 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/ |
D | sort.cc | 80 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/ |
D | RandomSetter.h | 21 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/ |
D | TestSort.cc | 24 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/ |
D | id_map.h | 40 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/ |
D | PVRTMap.h | 18 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/ |
D | dtlsidentitystore.h | 79 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_;
|
D | dtlsidentitystore.cc | 59 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/ |
D | sslidentity.h | 121 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()
|
D | sslidentity.cc | 38 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()
|
D | sslstreamadapter.cc | 90 KeyType key_type) { in GetDefaultSslCipherForTest()
|
/external/google-breakpad/src/processor/ |
D | static_map_unittest.cc | 42 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/ |
D | PR11358.cpp | 29 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/ |
D | test-invalset.cc | 36 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/vixl/src/ |
D | invalset-vixl.h | 77 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/ |
D | key.proto | 64 // 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/ |
D | PeerConnection.java | 134 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/ |
D | MapForProto2Test.java | 432 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()
|
D | MapTest.java | 525 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/ |
D | PVRTTextureAPI.h | 22 template <typename KeyType, typename DataType>
|
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/ |
D | PVRTTextureAPI.h | 22 template <typename KeyType, typename DataType>
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | IntervalMap.h | 943 typedef KeyT KeyType; typedef 2039 typedef typename MapA::KeyType KeyType; typedef 2095 KeyType start() const { in start() 2096 KeyType ak = a().start(); in start() 2097 KeyType bk = b().start(); in start() 2102 KeyType stop() const { in stop() 2103 KeyType ak = a().stop(); in stop() 2104 KeyType bk = b().stop(); in stop() 2132 void advanceTo(KeyType x) { in advanceTo()
|
/external/llvm/include/llvm/ADT/ |
D | IntervalMap.h | 959 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()
|