Home
last modified time | relevance | path

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

/aosp12/frameworks/rs/cpp/util/
H A DTypeHelpers.h270 hash_t hash_type(const TKey& key);
275 template <> inline hash_t hash_type(const T& value) { return hash_t(value); }
277 template <> inline hash_t hash_type(const T& value) { \
280 template <> inline hash_t hash_type(const T& value) { \
281 return hash_type(*reinterpret_cast<const R*>(&value)); }
295 template <typename T> inline hash_t hash_type(T* const & value) {
296 return hash_type(uintptr_t(value));
/aosp12/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) {
329 return hash_type(uintptr_t(value));
H A DLruCache.h89 return hash_type(entry->getKey()); in operator()
/aosp12/packages/modules/StatsD/statsd/src/
H A DHashableDimensionKey.cpp117 hash = android::JenkinsHashMix(hash, android::hash_type((int)fieldValue.mField.getField())); in hashDimension()
118 hash = android::JenkinsHashMix(hash, android::hash_type((int)fieldValue.mField.getTag())); in hashDimension()
119 hash = android::JenkinsHashMix(hash, android::hash_type((int)fieldValue.mValue.getType())); in hashDimension()
123 android::hash_type(fieldValue.mValue.int_value)); in hashDimension()
127 android::hash_type(fieldValue.mValue.long_value)); in hashDimension()
135 android::hash_type(fieldValue.mValue.float_value)); in hashDimension()
/aosp12/system/core/libutils/
H A DLruCache_test.cpp99 template<> inline android::hash_t hash_type(const ComplexKey& value) { in hash_type() function
100 return hash_type(value.k); in hash_type()
103 template<> inline android::hash_t hash_type(const KeyWithPointer& value) { in hash_type() function
104 return hash_type(*value.ptr); in hash_type()
107 template<> inline android::hash_t hash_type(const KeyFailsOnCopy& value) { in hash_type() function
108 return hash_type<ComplexKey>(value); in hash_type()
/aosp12/frameworks/base/tools/aapt2/process/
H A DSymbolTable.h37 inline android::hash_t hash_type(const ResourceName& name) { in hash_type() function
46 inline android::hash_t hash_type(const ResourceId& id) { in hash_type() function
47 return android::hash_type(id.id); in hash_type()
/aosp12/frameworks/base/libs/hwui/utils/
H A DMacros.h30 friend inline hash_t hash_type(const Type& entry) { return entry.hash(); }
/aosp12/frameworks/minikin/include/minikin/
H A DLayoutCache.h196 inline android::hash_t hash_type(const LayoutCacheKey& key) { in hash_type() function