Home
last modified time | relevance | path

Searched refs:hash_type (Results 1 – 3 of 3) sorted by relevance

/system/core/libutils/include/utils/
DTypeHelpers.h300 hash_t hash_type(const TKey& key);
304 template <> inline hash_t hash_type(const T& value) { return hash_t(value); }
306 template <> inline hash_t hash_type(const T& value) { \
309 template <> inline hash_t hash_type(const T& value) { \
313 return hash_type(newValue); \
328 template <typename T> inline hash_t hash_type(T* const & value) {
329 return hash_type(uintptr_t(value));
DLruCache.h89 return hash_type(entry->getKey()); in operator()
/system/core/libutils/
DLruCache_test.cpp99 template<> inline android::hash_t hash_type(const ComplexKey& value) { in hash_type() function
100 return hash_type(value.k); in hash_type()
103 template<> inline android::hash_t hash_type(const KeyWithPointer& value) { in hash_type() function
104 return hash_type(*value.ptr); in hash_type()
107 template<> inline android::hash_t hash_type(const KeyFailsOnCopy& value) { in hash_type() function
108 return hash_type<ComplexKey>(value); in hash_type()