Searched defs:KeyTraits (Results 1 - 2 of 2) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/wtf/ |
H A D | HashTraits.h | 275 typedef KeyTraitsArg KeyTraits; typedef in struct:WTF::KeyValuePairHashTraits 277 typedef KeyValuePair<typename KeyTraits::TraitType, typename ValueTraits::TraitType> TraitType; 278 typedef KeyValuePair<typename KeyTraits::EmptyValueType, typename ValueTraits::EmptyValueType> EmptyValueType; 280 static const bool emptyValueIsZero = KeyTraits::emptyValueIsZero && ValueTraits::emptyValueIsZero; 281 static EmptyValueType emptyValue() { return KeyValuePair<typename KeyTraits::EmptyValueType, typename ValueTraits::EmptyValueType>(KeyTraits::emptyValue(), ValueTraits::emptyValue()); } 283 static const bool needsDestruction = KeyTraits::needsDestruction || ValueTraits::needsDestruction; 286 static const bool value = ShouldBeTraced<KeyTraits>::value || ShouldBeTraced<ValueTraits>::value; 288 static const WeakHandlingFlag weakHandlingFlag = (KeyTraits::weakHandlingFlag == WeakHandlingInCollections || ValueTraits::weakHandlingFlag == WeakHandlingInCollections) ? WeakHandlingInCollections : NoWeakHandlingInCollections; 290 static const unsigned minimumTableSize = KeyTraits [all...] |
H A D | HashMap.h | 29 template<typename KeyTraits, typename MappedTraits> struct HashMapValueTraits; 55 typedef KeyTraitsArg KeyTraits; typedef in class:WTF::HashMap 57 typedef HashMapValueTraits<KeyTraits, MappedTraits> ValueTraits; 60 typedef typename KeyTraits::TraitType KeyType; 61 typedef const typename KeyTraits::PeekInType& KeyPeekInType; 75 HashFunctions, ValueTraits, KeyTraits, Allocator> HashTableType; 239 template<typename KeyTraits, typename MappedTraits> struct HashMapValueTraits : KeyValuePairHashTraits<KeyTraits, MappedTraits> { 241 static bool isEmptyValue(const typename KeyValuePairHashTraits<KeyTraits, MappedTraits>::TraitType& value) 243 return isHashTraitsEmptyValue<KeyTraits>(valu [all...] |
Completed in 285 milliseconds