OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:KeyTraits
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/third_party/WebKit/Source/wtf/
HashTraits.h
229
typedef KeyTraitsArg
KeyTraits
;
231
typedef KeyValuePair<typename
KeyTraits
::TraitType, typename ValueTraits::TraitType> TraitType;
232
typedef KeyValuePair<typename
KeyTraits
::EmptyValueType, typename ValueTraits::EmptyValueType> EmptyValueType;
234
static const bool emptyValueIsZero =
KeyTraits
::emptyValueIsZero && ValueTraits::emptyValueIsZero;
235
static EmptyValueType emptyValue() { return KeyValuePair<typename
KeyTraits
::EmptyValueType, typename ValueTraits::EmptyValueType>(
KeyTraits
::emptyValue(), ValueTraits::emptyValue()); }
237
static const bool needsDestruction =
KeyTraits
::needsDestruction || ValueTraits::needsDestruction;
239
static const unsigned minimumTableSize =
KeyTraits
::minimumTableSize;
241
static void constructDeletedValue(TraitType& slot) {
KeyTraits
::constructDeletedValue(slot.key); }
242
static bool isDeletedValue(const TraitType& value) { return
KeyTraits
::isDeletedValue(value.key);
[
all
...]
RefPtrHashMap.h
35
typedef KeyTraitsArg
KeyTraits
;
37
typedef KeyValuePairHashTraits<
KeyTraits
, MappedTraits> ValueTraits;
40
typedef typename
KeyTraits
::TraitType KeyType;
55
HashFunctions, ValueTraits,
KeyTraits
> HashTableType;
HashMap.h
29
template<typename
KeyTraits
, typename MappedTraits> struct HashMapValueTraits;
47
typedef KeyTraitsArg
KeyTraits
;
49
typedef HashMapValueTraits<
KeyTraits
, MappedTraits> ValueTraits;
52
typedef typename
KeyTraits
::TraitType KeyType;
66
HashFunctions, ValueTraits,
KeyTraits
> HashTableType;
217
template<typename
KeyTraits
, typename MappedTraits> struct HashMapValueTraits : KeyValuePairHashTraits<
KeyTraits
, MappedTraits> {
219
static bool isEmptyValue(const typename KeyValuePairHashTraits<
KeyTraits
, MappedTraits>::TraitType& value)
221
return isHashTraitsEmptyValue<
KeyTraits
>(value.key);
414
if (
KeyTraits
::isDeletedValue(key)
[
all
...]
Completed in 171 milliseconds