HomeSort by relevance Sort by last modified time
    Searched defs:KeyTraits (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/third_party/WebKit/Source/wtf/
HashTraits.h 275 typedef KeyTraitsArg KeyTraits;
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::minimumTableSize
    [all...]
HashMap.h 29 template<typename KeyTraits, typename MappedTraits> struct HashMapValueTraits;
55 typedef KeyTraitsArg KeyTraits;
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>(value.key)
    [all...]

Completed in 64 milliseconds