Searched refs:hash_type (Results 1 - 4 of 4) sorted by relevance
/system/core/include/utils/ |
H A D | TypeHelpers.h | 269 hash_t hash_type(const TKey& key); 274 template <> inline hash_t hash_type(const T& value) { return hash_t(value); } 276 template <> inline hash_t hash_type(const T& value) { \ 279 template <> inline hash_t hash_type(const T& value) { \ 280 return hash_type(*reinterpret_cast<const R*>(&value)); } 294 template <typename T> inline hash_t hash_type(T* const & value) { function in namespace:android 295 return hash_type(uintptr_t(value));
|
H A D | LruCache.h | 123 hash_t hash = hash_type(key); 140 hash_t hash = hash_type(key); 159 hash_t hash = hash_type(key);
|
/system/core/libutils/tests/ |
H A D | LruCache_test.cpp | 56 template<> inline hash_t hash_type(const ComplexKey& value) { function in namespace:android 57 return hash_type(value.k);
|
H A D | BasicHashtable_test.cpp | 59 template<> inline hash_t hash_type(const ComplexKey& value) { function in namespace:android 60 return hash_type(value.k); 124 return h.add(hash_type(key), key_value_pair_t<TKey, TValue>(key, value)); 130 return h.find(index, hash_type(key), key); 169 "hash_type(key)=0x%08x", 170 i, collision, present, hash, key, value, hash_type(key));
|
Completed in 56 milliseconds