Searched defs:KeyType (Results 1 - 5 of 5) sorted by relevance

/external/webkit/JavaScriptCore/wtf/
H A DHashIterators.h31 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, typenam
[all...]
H A DHashMap.h39 typedef typename KeyTraits::TraitType KeyType; typedef in class:WTF::HashMap
46 typedef HashTable<KeyType, ValueType, PairFirstExtractor<ValueType>,
65 iterator find(const KeyType&);
66 const_iterator find(const KeyType&) const;
67 bool contains(const KeyType&) const;
68 MappedType get(const KeyType&) const;
73 pair<iterator, bool> set(const KeyType&, const MappedType&);
78 pair<iterator, bool> add(const KeyType&, const MappedType&);
80 void remove(const KeyType&);
84 MappedType take(const KeyType
117 typedef typename ValueType::first_type KeyType; typedef in struct:WTF::HashMapTranslator
131 typedef typename ValueType::first_type KeyType; typedef in struct:WTF::HashMapTranslatorAdapter
[all...]
H A DRefPtrHashMap.h30 typedef typename ValueType::first_type KeyType; typedef in struct:WTF::RefPtrHashMapRawKeyTranslator
36 static bool equal(const KeyType& a, RawKeyType b) { return HashFunctions::equal(a, b); }
52 typedef typename KeyTraits::TraitType KeyType; typedef in class:WTF::HashMap
60 typedef HashTable<KeyType, ValueType, PairFirstExtractor<ValueType>,
82 iterator find(const KeyType&);
84 const_iterator find(const KeyType&) const;
86 bool contains(const KeyType&) const;
88 MappedType get(const KeyType&) const;
95 pair<iterator, bool> set(const KeyType&, const MappedType&);
101 pair<iterator, bool> add(const KeyType
[all...]
H A DHashTable.h290 typedef Key KeyType; typedef in class:WTF::HashTable
317 pair<iterator, bool> add(const ValueType& value) { return add<KeyType, ValueType, IdentityTranslatorType>(Extractor::extract(value), value); }
325 iterator find(const KeyType& key) { return find<KeyType, IdentityTranslatorType>(key); }
326 const_iterator find(const KeyType& key) const { return find<KeyType, IdentityTranslatorType>(key); }
327 bool contains(const KeyType& key) const { return contains<KeyType, IdentityTranslatorType>(key); }
333 void remove(const KeyType&);
698 KeyType enteredKe
[all...]
/external/chromium/base/
H A Did_map.h35 typedef int32 KeyType; typedef in class:IDMap
36 typedef base::hash_map<KeyType, T*> HashTable;
50 KeyType Add(T* data) {
52 KeyType this_id = next_id_;
63 void AddWithID(T* data, KeyType id) {
69 void Remove(KeyType id) {
88 T* Lookup(KeyType id) const {
120 KeyType GetCurrentKey() const {
171 for (std::set<KeyType>::const_iterator i = removed_ids_.begin();
185 std::set<KeyType> removed_ids
[all...]

Completed in 199 milliseconds