Searched refs:hash_t (Results 1 - 4 of 4) sorted by relevance
/frameworks/native/include/utils/ |
H A D | BasicHashtable.h | 68 ssize_t find(ssize_t index, hash_t hash, const void* __restrict__ key) const; 69 size_t add(hash_t hash, const void* __restrict__ entry); 119 inline static hash_t trimHash(hash_t hash) { 126 inline static size_t chainStart(hash_t hash, size_t count) { 133 inline static size_t chainIncrement(hash_t hash, size_t count) { 279 inline ssize_t find(ssize_t index, hash_t hash, const TKey& key) const { 292 inline size_t add(hash_t hash, const TEntry& entry) {
|
H A D | TypeHelpers.h | 266 typedef uint32_t hash_t; typedef in namespace:android 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) { \ 277 return hash_t((value >> 32) ^ value); } 279 template <> inline hash_t hash_type(const T& value) { \ 294 template <typename T> inline hash_t hash_type(const T*& value) {
|
/frameworks/native/libs/utils/ |
H A D | BasicHashtable.cpp | 109 ssize_t BasicHashtableImpl::find(ssize_t index, hash_t hash, 148 size_t BasicHashtableImpl::add(hash_t hash, const void* entry) { 213 hash_t hash = fromBucket.cookie & Bucket::HASH_MASK;
|
/frameworks/native/libs/utils/tests/ |
H A D | BasicHashtable_test.cpp | 59 template<> inline hash_t hash_type(const ComplexKey& value) { 108 bool* collision, bool* present, hash_t* hash) { 163 hash_t hash;
|
Completed in 50 milliseconds