Home
last modified time | relevance | path

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

/frameworks/native/include/utils/
DTypeHelpers.h269 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) {
295 return hash_type(uintptr_t(value));
/frameworks/native/libs/utils/tests/
DBasicHashtable_test.cpp59 template<> inline hash_t hash_type(const ComplexKey& value) { in hash_type() function
60 return hash_type(value.k); in hash_type()
124 return h.add(hash_type(key), key_value_pair_t<TKey, TValue>(key, value)); in add()
130 return h.find(index, hash_type(key), key); in find()
170 i, collision, present, hash, key, value, hash_type(key)); in dump()