Home
last modified time | relevance | path

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

/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/openfst/src/include/fst/
Dgeneric-register.h40 template<class KeyType, class EntryType, class RegisterType>
43 typedef KeyType Key;
53 void SetEntry(const KeyType &key, in SetEntry()
60 EntryType GetEntry(const KeyType &key) const { in GetEntry()
74 virtual EntryType LoadEntryFromSharedObject(const KeyType &key) const { in LoadEntryFromSharedObject()
96 virtual string ConvertKeyToSoFilename(const KeyType& key) const = 0;
99 const KeyType &key) const { in LookupEntry()
112 typedef map<KeyType, EntryType> RegisterMapType;
126 template<class KeyType, class EntryType, class RegisterType>
127 FstOnceType GenericRegister<KeyType, EntryType,
[all …]
/external/webrtc/src/system_wrappers/source/
Dsort.cc91 template<typename KeyType>
94 KeyType key;
202 template <typename KeyType>
205 bool operator()(const SortKey<KeyType>& sortKeyX,
206 const SortKey<KeyType>& sortKeyY) const
212 template <typename KeyType>
215 KeyType operator()(const SortKey<KeyType>& sortKey,
244 template<typename KeyType>
246 SortKey<KeyType>*& ptrSortKey,
249 ptrSortKey = new(std::nothrow) SortKey<KeyType>[numOfElements];
[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/src/system_wrappers/test/TestSort/
DTestSort.cpp23 template<typename KeyType>
26 KeyType key;
47 template<typename DataType, typename KeyType>
50 KeyType keyX = ((const DataType*)dataX)->key; in CompareKey()
51 KeyType keyY = ((const DataType*)dataY)->key; in CompareKey()
126 template<typename KeyType>
131 KeyType key[DataLength]; in RunSortTest()
132 KeyType keyRef[DataLength]; in RunSortTest()
133 LotsOfData<KeyType> data[DataLength]; in RunSortTest()
134 LotsOfData<KeyType> dataRef[DataLength]; in RunSortTest()
[all …]
/external/lldb/include/lldb/DataFormatters/
DTypeCategoryMap.h28 typedef ConstString KeyType; typedef
35 typedef std::map<KeyType, ValueSP> MapType;
47 Add (KeyType name,
51 Delete (KeyType name);
54 Enable (KeyType category_name,
58 Disable (KeyType category_name);
71 Get (KeyType name,
143 friend class FormatNavigator<KeyType, ValueType>;
DFormatNavigator.h103 template<typename KeyType, typename ValueType>
106 template<typename KeyType, typename ValueType>
112 typedef std::map<KeyType, ValueSP> MapType;
114 typedef bool(*CallbackType)(void*, KeyType, const ValueSP&);
124 Add(KeyType name, in Add()
139 Delete (KeyType name) in Delete()
161 Get(KeyType name, in Get()
181 KeyType type = pos->first; in LoopThrough()
210 KeyType
221 return KeyType(); in GetKeyAtIndex()
[all …]
/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/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/lldb/source/DataFormatters/
DTypeCategoryMap.cpp35 TypeCategoryMap::Add (KeyType name, const ValueSP& entry) in Add()
44 TypeCategoryMap::Delete (KeyType name) in Delete()
58 TypeCategoryMap::Enable (KeyType category_name, Position pos) in Enable()
68 TypeCategoryMap::Disable (KeyType category_name) in Disable()
130 TypeCategoryMap::Get (KeyType name, ValueSP& entry) in Get()
260 KeyType type = pos->first; in LoopThrough()
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dpageint.h329 template <class KeyType, class ValueType>
330 KeyType PDF_DocPageData_FindValue(const CFX_MapPtrTemplate<KeyType, CPDF_CountedObject<ValueType>*>… in PDF_DocPageData_FindValue() argument
334 KeyType findKey; in PDF_DocPageData_FindValue()
341 return (KeyType)(FX_UINTPTR)NULL; in PDF_DocPageData_FindValue()
343 template <class KeyType, class ValueType>
344 …_BOOL PDF_DocPageData_Release(CFX_MapPtrTemplate<KeyType, CPDF_CountedObject<ValueType>*> &map, Ke…
351 findKey = PDF_DocPageData_FindValue<KeyType, ValueType>(map, findValue, findData);
/external/lldb/include/lldb/Core/
DMappedHash.h183 typedef __KeyType KeyType; typedef
189 KeyType key;
195 typedef std::map<KeyType, ValueArrayType> HashData;
199 virtual KeyType
359 typedef __KeyType KeyType; typedef
372 KeyType key;
488 GetStringForKeyType (KeyType key) const = 0;
/external/pdfium/core/include/fxcrt/
Dfx_basic.h853 template <class KeyType, class ValueType>
859 FX_BOOL Lookup(KeyType key, ValueType& rValue) const in Lookup()
869 ValueType& operator[](KeyType key)
874 void SetAt(KeyType key, ValueType newValue) in SetAt()
879 FX_BOOL RemoveKey(KeyType key) in RemoveKey()
884 void GetNextAssoc(FX_POSITION& rNextPosition, KeyType& rKey, ValueType& rValue) const in GetNextAssoc()
889 rKey = (KeyType)(FX_UINTPTR)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/lldb/source/Plugins/SymbolFile/DWARF/
DHashedNameToDIE.h604 GetStringForKeyType (KeyType key) const in GetStringForKeyType()
826 KeyType key = m_data.GetU32 (&hash_data_offset); in AppendAllDIEsInRange()
/external/protobuf/src/google/protobuf/stubs/
Dmap_util.h710 template <class MapContainer, class KeyType>
712 vector<KeyType>* key_container) {
/external/llvm/docs/
DSourceLevelDebugging.rst991 how the string value is stored ("``KeyType``") and the content of the data for each
1146 The KeyType for the DWARF table is a 32 bit string table offset into the
1170 | 0x00001023 | uint32_t KeyType (.debug_str[0x0001023] => "main")
1176 | 0x00000000 | uint32_t KeyType (end of hash chain)
1184 | 0x00001023 | uint32_t KeyType (.debug_str[0x0001023] => "main")
1190 | 0x00002023 | uint32_t KeyType (.debug_str[0x0002023] => "print")
1194 | 0x00000000 | uint32_t KeyType (end of hash chain)
/external/google-breakpad/src/testing/include/gmock/
Dgmock-matchers.h2353 typedef typename RawPairType::first_type KeyType;
2358 testing::SafeMatcherCast<const KeyType&>(inner_matcher)) {
2387 const Matcher<const KeyType&> inner_matcher_;