Home
last modified time | relevance | path

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

12

/external/webkit/Source/JavaScriptCore/wtf/
DHashIterators.h31 …template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableConstKeysI…
32 …template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableConstValue…
33 …template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableKeysIterat…
34 …template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableValuesIter…
36 …me HashTableType, typename KeyType, typename MappedType> struct HashTableConstIteratorAdapter<Hash…
38 typedef std::pair<KeyType, MappedType> ValueType;
40 typedef HashTableConstKeysIterator<HashTableType, KeyType, MappedType> Keys;
41 typedef HashTableConstValuesIterator<HashTableType, KeyType, MappedType> Values;
58 …name HashTableType, typename KeyType, typename MappedType> struct HashTableIteratorAdapter<HashTab…
60 typedef std::pair<KeyType, MappedType> ValueType;
[all …]
DHashMap.h40 typedef typename KeyTraits::TraitType KeyType; typedef
47 typedef HashTable<KeyType, ValueType, PairFirstExtractor<ValueType>,
66 iterator find(const KeyType&);
67 const_iterator find(const KeyType&) const;
68 bool contains(const KeyType&) const;
69 MappedType get(const KeyType&) const;
74 pair<iterator, bool> set(const KeyType&, const MappedType&);
79 pair<iterator, bool> add(const KeyType&, const MappedType&);
81 void remove(const KeyType&);
85 MappedType take(const KeyType&); // efficient combination of get with remove
[all …]
DRefPtrHashMap.h33 typedef typename ValueType::first_type KeyType; typedef
39 static bool equal(const KeyType& a, RawKeyType b) { return HashFunctions::equal(a, b); } in equal()
56 typedef typename KeyTraits::TraitType KeyType; typedef
64 typedef HashTable<KeyType, ValueType, PairFirstExtractor<ValueType>,
86 iterator find(const KeyType&);
88 const_iterator find(const KeyType&) const;
90 bool contains(const KeyType&) const;
92 MappedType get(const KeyType&) const;
99 pair<iterator, bool> set(const KeyType&, const MappedType&);
105 pair<iterator, bool> add(const KeyType&, const MappedType&);
[all …]
DStdLibExtras.h129 template<typename ArrayType, typename KeyType, KeyType(*extractKey)(ArrayType*)>
130 inline ArrayType* binarySearch(ArrayType* array, size_t size, KeyType key) in binarySearch()
137 KeyType val = extractKey(&array[pos]); in binarySearch()
DHashTable.h292 typedef Key KeyType;
319 …pair<iterator, bool> add(const ValueType& value) { return add<KeyType, ValueType, IdentityTranslat…
327 iterator find(const KeyType& key) { return find<KeyType, IdentityTranslatorType>(key); }
328 …const_iterator find(const KeyType& key) const { return find<KeyType, IdentityTranslatorType>(key);…
329 … bool contains(const KeyType& key) const { return contains<KeyType, IdentityTranslatorType>(key); }
335 void remove(const KeyType&);
701 KeyType enteredKey = Extractor::extract(*entry);
746 KeyType enteredKey = Extractor::extract(*entry);
869 …void HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::remove(const KeyType& key)
/external/webkit/Source/WebCore/bindings/v8/
DV8DOMMap.h45 template <class KeyType, class ValueType> class AbstractWeakReferenceMap {
54 …virtual void visitDOMWrapper(DOMDataStore* store, KeyType* key, v8::Persistent<ValueType> object) …
59 virtual v8::Persistent<ValueType> get(KeyType* obj) = 0;
60 virtual void set(KeyType* obj, v8::Persistent<ValueType> wrapper) = 0;
61 virtual bool contains(KeyType* obj) = 0;
63 virtual bool removeIfPresent(KeyType*, v8::Persistent<ValueType>) = 0;
76 …template<class KeyType, class ValueType> class WeakReferenceMap : public AbstractWeakReferenceMap<
78 typedef AbstractWeakReferenceMap<KeyType, ValueType> Parent;
83 virtual v8::Persistent<ValueType> get(KeyType* obj) in get()
89 virtual void set(KeyType* obj, v8::Persistent<ValueType> wrapper) in set()
[all …]
/external/webkit/Source/WebKit/win/
DCOMPropertyBag.h38 template<typename ValueType, typename KeyType = typename WTF::String, typename HashType = typename …
42 typedef HashMap<KeyType, ValueType, HashType> HashMapType;
82 template<typename ValueType, typename KeyType, typename HashType>
83 COMPropertyBag<ValueType, KeyType, HashType>* COMPropertyBag<typename ValueType, typename KeyType, … in createInstance()
90 template<typename ValueType, typename KeyType, typename HashType>
91 COMPropertyBag<ValueType, KeyType, HashType>* COMPropertyBag<typename ValueType, typename KeyType, … in adopt()
100 template<typename ValueType, typename KeyType, typename HashType>
101 HRESULT STDMETHODCALLTYPE COMPropertyBag<ValueType, KeyType, HashType>::QueryInterface(REFIID riid,… in QueryInterface()
117 template<typename ValueType, typename KeyType, typename HashType>
118 ULONG STDMETHODCALLTYPE COMPropertyBag<ValueType, KeyType, HashType>::AddRef() in AddRef()
[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/webkit/Source/JavaScriptCore/runtime/
DWeakGCMap.h37 template <typename KeyType, typename MappedType> struct DefaultWeakGCMapFinalizerCallback {
38 static void* finalizerContextFor(KeyType key) in finalizerContextFor()
43 static KeyType keyForFinalizer(void* context, typename HandleTypes<MappedType>::ExternalType) in keyForFinalizer()
45 return reinterpret_cast<KeyType>(context); in keyForFinalizer()
49KeyType, typename MappedType, typename FinalizerCallback = DefaultWeakGCMapFinalizerCallback<KeyTy…
54 typedef HashMap<KeyType, HandleSlot, HashArg, KeyTraitsArg> MapType;
67 …std::pair<KeyType, ExternalType> get() const { return std::make_pair(m_iterator->first, HandleType… in get()
68 std::pair<KeyType, HandleSlot> getSlot() const { return *m_iterator; } in getSlot()
95 bool contains(const KeyType& key) const in contains()
100 iterator find(const KeyType& key) in find()
[all …]
DPropertyMapHashTable.h132 typedef StringImpl* KeyType; typedef
157 find_iterator find(const KeyType& key);
162 void remove(const KeyType& key);
324 inline PropertyTable::find_iterator PropertyTable::find(const KeyType& key) in find()
406 inline void PropertyTable::remove(const KeyType& key) in remove()
/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/chromium/base/
Did_map.h37 typedef int32 KeyType; typedef
38 typedef base::hash_map<KeyType, T*> HashTable;
59 KeyType Add(T* data) { in Add()
62 KeyType this_id = next_id_; in Add()
73 void AddWithID(T* data, KeyType id) { in AddWithID()
80 void Remove(KeyType id) { in Remove()
101 T* Lookup(KeyType id) const { in Lookup()
138 KeyType GetCurrentKey() const { in GetCurrentKey()
192 for (std::set<KeyType>::const_iterator i = removed_ids_.begin();
206 std::set<KeyType> removed_ids_;
[all …]
/external/chromium/chrome/browser/webdata/
Dautofill_change.h16 template <typename KeyType>
28 const KeyType& key() const { return key_; } in key()
31 GenericAutofillChange(Type type, const KeyType& key) in GenericAutofillChange()
36 KeyType key_;
/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/webkit/Source/WebKit2/Shared/
DWebPreferencesStore.cpp164 static typename MapType::MappedType valueForKey(const MapType& map, const typename MapType::KeyType in valueForKey()
174 static bool setValueForKey(MapType& map, const typename MapType::KeyType& key, const typename MapTy… in setValueForKey()
/external/webkit/Source/WebKit2/UIProcess/
DWebProcessProxy.cpp50 static inline bool isGoodKey(const typename HashMap::KeyType& key) in isGoodKey()
52 …return key != HashTraits<typename HashMap::KeyType>::emptyValue() && !HashTraits<typename HashMap:… in isGoodKey()
/external/webkit/Source/JavaScriptCore/heap/
DHandle.h48 template<typename KeyType, typename MappedType, typename FinalizerCallback, typename HashArg, typen…
53 …template <typename KeyType, typename MappedType, typename FinalizerCallback, typename HashArg, typ…
/external/llvm/include/llvm/ADT/
DIntervalMap.h963 typedef KeyT KeyType; typedef
2059 typedef typename MapA::KeyType KeyType; typedef
2115 KeyType start() const { in start()
2116 KeyType ak = a().start(); in start()
2117 KeyType bk = b().start(); in start()
2122 KeyType stop() const { in stop()
2123 KeyType ak = a().stop(); in stop()
2124 KeyType bk = b().stop(); in stop()
2152 void advanceTo(KeyType x) { in advanceTo()
/external/webkit/Source/WebCore/storage/
DIDBLevelDBBackingStore.cpp1302 template<typename KeyType>
1305 KeyType keyA; in decodeAndCompare()
1306 KeyType keyB; in decodeAndCompare()
1308 const char* ptrA = KeyType::decode(a.begin(), a.end(), &keyA); in decodeAndCompare()
1310 const char* ptrB = KeyType::decode(b.begin(), b.end(), &keyB); in decodeAndCompare()
/external/llvm/docs/
DSourceLevelDebugging.rst1934 how the string value is stored ("``KeyType``") and the content of the data for each
2089 The KeyType for the DWARF table is a 32 bit string table offset into the
2113 | 0x00001023 | uint32_t KeyType (.debug_str[0x0001023] => "main")
2119 | 0x00000000 | uint32_t KeyType (end of hash chain)
2127 | 0x00001023 | uint32_t KeyType (.debug_str[0x0001023] => "main")
2133 | 0x00002023 | uint32_t KeyType (.debug_str[0x0002023] => "print")
2137 | 0x00000000 | uint32_t KeyType (end of hash chain)
/external/chromium/testing/gmock/include/gmock/
Dgmock-matchers.h2227 typedef typename RawPairType::first_type KeyType;
2232 testing::SafeMatcherCast<const KeyType&>(inner_matcher)) {
2261 const Matcher<const KeyType&> inner_matcher_;
/external/webkit/Source/JavaScriptCore/bytecode/
DCodeBlock.cpp1300 …TotalSize += (codeBlock->m_symbolTable.capacity() * (sizeof(SymbolTable::KeyType) + sizeof(SymbolT… in dumpStatistics()
/external/ceres-solver/internal/ceres/gmock/
Dgmock.h6839 typedef typename RawPairType::first_type KeyType;
6844 testing::SafeMatcherCast<const KeyType&>(inner_matcher)) {
6873 const Matcher<const KeyType&> inner_matcher_;

12