Searched defs:hash_type (Results 1 - 2 of 2) sorted by relevance
/frameworks/native/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(const T*& value) { function in namespace:android 295 return hash_type(uintptr_t(value));
|
/frameworks/native/libs/utils/tests/ |
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 50 milliseconds