Searched refs:hash_type (Results 1 - 5 of 5) sorted by relevance

/system/core/include/utils/
H A 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) { function in namespace:android
329 return hash_type(uintptr_t(value));
H A DLruCache.h89 return hash_type(entry->getKey());
/system/core/libutils/include/utils/
H A 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) { function in namespace:android
329 return hash_type(uintptr_t(value));
H A DLruCache.h89 return hash_type(entry->getKey());
/system/core/libutils/tests/
H A DLruCache_test.cpp99 template<> inline android::hash_t hash_type(const ComplexKey& value) { function in namespace:android
100 return hash_type(value.k);
103 template<> inline android::hash_t hash_type(const KeyWithPointer& value) { function in namespace:android
104 return hash_type(*value.ptr);
107 template<> inline android::hash_t hash_type(const KeyFailsOnCopy& value) { function in namespace:android
108 return hash_type<ComplexKey>(value);

Completed in 59 milliseconds