/frameworks/compile/mclinker/include/mcld/ADT/ |
HashEntry.h | 35 template <typename KeyType, typename ValueType, typename KeyCompare> 39 typedef KeyType key_type; 44 typedef HashEntry<KeyType, ValueType, KeyCompare> Self; 48 HashEntry(const KeyType& pKey); 52 KeyType& key() 55 const KeyType& key() const 70 KeyType m_Key;
|
/external/webkit/Source/JavaScriptCore/wtf/ |
HashIterators.h | 31 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableConstKeysIterator; 32 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableConstValuesIterator; 33 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableKeysIterator; 34 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableValuesIterator; 36 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableConstIteratorAdapter<HashTableType, std::pair<KeyType, MappedType> > { 38 typedef std::pair<KeyType, MappedType> ValueType; 40 typedef HashTableConstKeysIterator<HashTableType, KeyType, MappedType> Keys; 41 typedef HashTableConstValuesIterator<HashTableType, KeyType, MappedType> Values; 58 template<typename HashTableType, typename KeyType, typename MappedType> struct HashTableIteratorAdapter<HashTableType, std::pair<KeyType, MappedType (…) [all...] |
HashMap.h | 40 typedef typename KeyTraits::TraitType KeyType; 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 remov [all...] |
StdLibExtras.h | 129 template<typename ArrayType, typename KeyType, KeyType(*extractKey)(ArrayType*)> 130 inline ArrayType* binarySearch(ArrayType* array, size_t size, KeyType key) 137 KeyType val = extractKey(&array[pos]);
|
RefPtrHashMap.h | 33 typedef typename ValueType::first_type KeyType; 39 static bool equal(const KeyType& a, RawKeyType b) { return HashFunctions::equal(a, b); } 56 typedef typename KeyTraits::TraitType KeyType; 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...] |
HashTable.h | 292 typedef Key KeyType; 319 pair<iterator, bool> add(const ValueType& value) { return add<KeyType, ValueType, IdentityTranslatorType>(Extractor::extract(value), value); } 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) [all...] |
/external/openfst/src/include/fst/ |
generic-register.h | 27 // objects of KeyType and EntryType. 28 // KeyType must: 40 template<class KeyType, class EntryType, class RegisterType> 43 typedef KeyType Key; 53 void SetEntry(const KeyType &key, 60 EntryType GetEntry(const KeyType &key) const { 74 virtual EntryType LoadEntryFromSharedObject(const KeyType &key) const { 96 virtual string ConvertKeyToSoFilename(const KeyType& key) const = 0; 99 const KeyType &key) const { 112 typedef map<KeyType, EntryType> RegisterMapType [all...] |
/external/webkit/Source/WebCore/bindings/v8/ |
V8DOMMap.h | 45 template <class KeyType, class ValueType> class AbstractWeakReferenceMap { 54 virtual void visitDOMWrapper(DOMDataStore* store, KeyType* key, v8::Persistent<ValueType> object) = 0; 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<KeyType, ValueType> { 78 typedef AbstractWeakReferenceMap<KeyType, ValueType> Parent; 83 virtual v8::Persistent<ValueType> get(KeyType* obj [all...] |
/external/webkit/Source/WebKit/win/ |
COMPropertyBag.h | 38 template<typename ValueType, typename KeyType = typename WTF::String, typename HashType = typename WTF::StringHash> 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, HashType>::createInstance(const HashMapType& hashMap) 90 template<typename ValueType, typename KeyType, typename HashType> 91 COMPropertyBag<ValueType, KeyType, HashType>* COMPropertyBag<typename ValueType, typename KeyType, HashType>::adopt(HashMapType& hashMap) 100 template<typename ValueType, typename KeyType, typename HashType> 101 HRESULT STDMETHODCALLTYPE COMPropertyBag<ValueType, KeyType, HashType>::QueryInterface(REFIID riid, void** ppvObject [all...] |
/external/clang/test/SemaCXX/ |
PR11358.cpp | 29 template <typename KeyType, typename ValueType> 30 void MapTest(hash_map<KeyType, ValueType> map) { 31 for (hash_map<KeyType, ValueType>::const_iterator it = map.begin(); // expected-error{{missing 'typename'}}
|
/frameworks/compile/mclinker/include/mcld/Support/ |
UniqueGCFactory.h | 26 template<typename KeyType, typename DataType, size_t ChunkSize> 31 typedef std::map<KeyType, DataType*> KeyMap; 46 DataType* find(const KeyType& pKey) { 53 const DataType* find(const KeyType& pKey) const { 60 DataType* produce(const KeyType& pKey, bool& pExist) { 73 DataType* produce(const KeyType& pKey, const DataType& pValue, bool& pExist) {
|
/external/webkit/Source/JavaScriptCore/runtime/ |
WeakGCMap.h | 37 template <typename KeyType, typename MappedType> struct DefaultWeakGCMapFinalizerCallback { 38 static void* finalizerContextFor(KeyType key) 43 static KeyType keyForFinalizer(void* context, typename HandleTypes<MappedType>::ExternalType) 45 return reinterpret_cast<KeyType>(context); 49 template<typename KeyType, typename MappedType, typename FinalizerCallback = DefaultWeakGCMapFinalizerCallback<KeyType, MappedType>, typename HashArg = typename DefaultHash<KeyType>::Hash, typename KeyTraitsArg = HashTraits<KeyType> > 54 typedef HashMap<KeyType, HandleSlot, HashArg, KeyTraitsArg> MapType; 67 std::pair<KeyType, ExternalType> get() const { return std::make_pair(m_iterator->first, HandleTypes<MappedType>::get (…) [all...] |
PropertyMapHashTable.h | 132 typedef StringImpl* KeyType; 157 find_iterator find(const KeyType& key); 162 void remove(const KeyType& key); 324 inline PropertyTable::find_iterator PropertyTable::find(const KeyType& key) 406 inline void PropertyTable::remove(const KeyType& key)
|
/external/chromium/base/ |
id_map.h | 37 typedef int32 KeyType; 38 typedef base::hash_map<KeyType, T*> HashTable; 59 KeyType Add(T* data) { 62 KeyType this_id = next_id_; 73 void AddWithID(T* data, KeyType id) { 80 void Remove(KeyType id) { 101 T* Lookup(KeyType id) const { 138 KeyType GetCurrentKey() const { 192 for (std::set<KeyType>::const_iterator i = removed_ids_.begin(); 206 std::set<KeyType> removed_ids_ [all...] |
/external/chromium/chrome/browser/webdata/ |
autofill_change.h | 14 // For classic Autofill form fields, the KeyType is AutofillKey. 16 template <typename KeyType> 28 const KeyType& key() const { return key_; } 31 GenericAutofillChange(Type type, const KeyType& key) 36 KeyType key_;
|
/external/webrtc/src/system_wrappers/source/ |
sort.cc | 91 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 [all...] |
/external/webrtc/src/system_wrappers/test/TestSort/ |
TestSort.cpp | 23 template<typename KeyType> 26 KeyType key; 47 template<typename DataType, typename KeyType> 50 KeyType keyX = ((const DataType*)dataX)->key; 51 KeyType keyY = ((const DataType*)dataY)->key; 126 template<typename KeyType> 131 KeyType key[DataLength]; 132 KeyType keyRef[DataLength]; 133 LotsOfData<KeyType> data[DataLength]; 134 LotsOfData<KeyType> dataRef[DataLength] [all...] |
/frameworks/compile/mclinker/include/mcld/LD/ |
StringUnorderedMap.h | 38 typename KeyType> 42 void operator()(KeyType &pKey, ValueType &pValue, 43 const KeyType &pStr, InitType pInitVal) { 56 template<typename KeyType, 60 typename Allocator = std::allocator<std::pair<KeyType, ValueType> > > 72 ValueType &getOrCreate(const KeyType &pStr, const ValueType &pInitVal); 74 ValueType &getOrCreate(const KeyType &pStr); 87 std::pair<KeyType, ValueType> 163 StringUnorderedMapImpl::getOrCreate(const KeyType &pStr, ValueType &pInitVal)
|
/external/webkit/Source/JavaScriptCore/heap/ |
Handle.h | 48 template<typename KeyType, typename MappedType, typename FinalizerCallback, typename HashArg, typename KeyTraitsArg> class WeakGCMap; 53 template <typename KeyType, typename MappedType, typename FinalizerCallback, typename HashArg, typename KeyTraitsArg> friend class WeakGCMap;
|
/external/webkit/Source/WebKit2/Shared/ |
WebPreferencesStore.cpp | 164 static typename MapType::MappedType valueForKey(const MapType& map, const typename MapType::KeyType& key) 174 static bool setValueForKey(MapType& map, const typename MapType::KeyType& key, const typename MapType::MappedType& value)
|
/external/webkit/Source/WebKit2/UIProcess/ |
WebProcessProxy.cpp | 50 static inline bool isGoodKey(const typename HashMap::KeyType& key) 52 return key != HashTraits<typename HashMap::KeyType>::emptyValue() && !HashTraits<typename HashMap::KeyType>::isDeletedValue(key);
|
/external/llvm/include/llvm/ADT/ |
IntervalMap.h | [all...] |
/external/webkit/Source/WebCore/storage/ |
IDBLevelDBBackingStore.cpp | [all...] |
/external/chromium/testing/gmock/include/gmock/ |
gmock-matchers.h | [all...] |
/hardware/ti/wlan/wl1271/CUDK/configurationutility/src/ |
cu_cmd.c | [all...] |