/hardware/google/gfxstream/third-party/glm/include/glm/gtx/ |
D | hash.inl | 2 /// @file glm/gtx/hash.inl 9 /// @brief Add std::hash support for glm types 11 /// <glm/gtx/hash.inl> need to be included to use these functionalities. 16 GLM_INLINE void hash_combine(size_t &seed, size_t hash) argument 18 hash += 0x9e3779b9 + (seed << 6) + (seed >> 2); 19 seed ^= hash; 26 GLM_FUNC_QUALIFIER size_t hash<glm::tvec1<T, P>>::operator()(glm::tvec1<T, P> const & v) const 28 hash<T> hasher; 33 GLM_FUNC_QUALIFIER size_t hash<glm::tvec2<T, P>>::operator()(glm::tvec2<T, P> const & v) const 36 hash<T> hasher; [all …]
|
D | hash.hpp | 44 struct hash<glm::tvec1<T,P> > struct 50 struct hash<glm::tvec2<T,P> > struct 56 struct hash<glm::tvec3<T,P> > struct 62 struct hash<glm::tvec4<T,P> > struct 68 struct hash<glm::tquat<T,P>> struct 74 struct hash<glm::tdualquat<T,P> > struct 80 struct hash<glm::tmat2x2<T,P> > struct 86 struct hash<glm::tmat2x3<T,P> > struct 92 struct hash<glm::tmat2x4<T,P> > struct 98 struct hash<glm::tmat3x2<T,P> > struct [all …]
|
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | set.c | 264 set_search(const struct set *ht, uint32_t hash, const void *key) in set_search() argument 269 uint32_t start_address = util_fast_urem32(hash, size, ht->size_magic); in set_search() 270 uint32_t double_hash = util_fast_urem32(hash, ht->rehash, in set_search() 278 } else if (entry_is_present(entry) && entry->hash == hash) { in set_search() 300 _mesa_set_search_pre_hashed(const struct set *set, uint32_t hash, in _mesa_set_search_pre_hashed() argument 304 hash == set->key_hash_function(key)); in _mesa_set_search_pre_hashed() 305 return set_search(set, hash, key); in _mesa_set_search_pre_hashed() 309 set_add_rehash(struct set *ht, uint32_t hash, const void *key) in set_add_rehash() argument 312 uint32_t start_address = util_fast_urem32(hash, size, ht->size_magic); in set_add_rehash() 313 uint32_t double_hash = util_fast_urem32(hash, ht->rehash, in set_add_rehash() [all …]
|
D | hash_table.c | 309 hash_table_search(struct hash_table *ht, uint32_t hash, const void *key) in hash_table_search() argument 314 uint32_t start_hash_address = util_fast_urem32(hash, size, ht->size_magic); in hash_table_search() 315 uint32_t double_hash = 1 + util_fast_urem32(hash, ht->rehash, in hash_table_search() 324 } else if (entry_is_present(ht, entry) && entry->hash == hash) { in hash_table_search() 352 _mesa_hash_table_search_pre_hashed(struct hash_table *ht, uint32_t hash, in _mesa_hash_table_search_pre_hashed() argument 355 assert(ht->key_hash_function == NULL || hash == ht->key_hash_function(key)); in _mesa_hash_table_search_pre_hashed() 356 return hash_table_search(ht, hash, key); in _mesa_hash_table_search_pre_hashed() 360 hash_table_insert(struct hash_table *ht, uint32_t hash, 364 hash_table_insert_rehash(struct hash_table *ht, uint32_t hash, in hash_table_insert_rehash() argument 368 uint32_t start_hash_address = util_fast_urem32(hash, size, ht->size_magic); in hash_table_insert_rehash() [all …]
|
D | set.h | 39 uint32_t hash; member 87 _mesa_set_add_pre_hashed(struct set *set, uint32_t hash, const void *key); 92 _mesa_set_search_or_add_pre_hashed(struct set *set, uint32_t hash, 98 _mesa_set_search_pre_hashed(const struct set *set, uint32_t hash, 104 _mesa_set_search_and_add_pre_hashed(struct set *set, uint32_t hash, 140 …entry->hash = 0, entry->key = (void*)NULL, (set)->entries--, entry = _mesa_set_next_entry_unsafe(s…
|
D | hash_table.h | 41 uint32_t hash; member 94 _mesa_hash_table_insert_pre_hashed(struct hash_table *ht, uint32_t hash, 99 _mesa_hash_table_search_pre_hashed(struct hash_table *ht, uint32_t hash, 151 entry->hash = 0, entry->key = (void*)NULL, entry->data = NULL, \
|
D | u_debug_stack_android.cpp | 44 uint32_t hash = _mesa_hash_string(symbol); in intern_symbol() local 46 _mesa_hash_table_search_pre_hashed(symbol_table, hash, symbol); in intern_symbol() 48 entry = _mesa_hash_table_insert_pre_hashed(symbol_table, hash, symbol, strdup(symbol)); in intern_symbol()
|
D | mesa_cache_db.c | 47 uint64_t hash; member 124 uint64_t hash = 0; in to_mesa_cache_db_hash() local 127 hash |= ((uint64_t)cache_key_160bit[i]) << i * 8; in to_mesa_cache_db_hash() 129 return hash; in to_mesa_cache_db_hash() 239 return entry->size && entry->hash && in mesa_db_index_entry_valid() 281 _mesa_hash_table_u64_insert(db->index_db, index_entry.hash, hash_entry); in mesa_db_update_index() 687 uint64_t hash = to_mesa_cache_db_hash(cache_key_160bit); in mesa_cache_db_read_entry() local 705 hash_entry = _mesa_hash_table_u64_search(db->index_db, hash); in mesa_cache_db_read_entry() 775 uint64_t hash = to_mesa_cache_db_hash(cache_key_160bit); in mesa_cache_db_entry_write() local 801 hash_entry = _mesa_hash_table_u64_search(db->index_db, hash); in mesa_cache_db_entry_write() [all …]
|
D | fossilize_db.c | 72 uint64_t hash = 0; in truncate_hash_to_64bits() local 75 hash |= ((uint64_t)cache_key[i]) << shift * 8; in truncate_hash_to_64bits() 78 return hash; in truncate_hash_to_64bits() 587 uint64_t hash = truncate_hash_to_64bits(cache_key_160bit); in foz_read_entry() local 597 _mesa_hash_table_u64_search(foz_db->index_db, hash); in foz_read_entry() 600 entry = _mesa_hash_table_u64_search(foz_db->index_db, hash); in foz_read_entry() 657 uint64_t hash = truncate_hash_to_64bits(cache_key_160bit); in foz_write_entry() local 678 _mesa_hash_table_u64_search(foz_db->index_db, hash); in foz_write_entry() 741 _mesa_hash_table_u64_insert(foz_db->index_db, hash, entry); in foz_write_entry()
|
/hardware/google/gfxstream/common/vulkan/include/vulkan/ |
D | vulkan_hash.hpp | 20 struct hash<VULKAN_HPP_NAMESPACE::Flags<BitType>> struct 24 return std::hash<typename std::underlying_type<BitType>::type>{}( in operator ()() argument 37 template <> struct hash<VULKAN_HPP_NAMESPACE::Instance> struct 41 return std::hash<VkInstance>{}(static_cast<VkInstance>(instance)); in operator ()() argument 45 template <> struct hash<VULKAN_HPP_NAMESPACE::PhysicalDevice> struct 49 return std::hash<VkPhysicalDevice>{}(static_cast<VkPhysicalDevice>(physicalDevice)); in operator ()() argument 53 template <> struct hash<VULKAN_HPP_NAMESPACE::Device> struct 57 return std::hash<VkDevice>{}(static_cast<VkDevice>(device)); in operator ()() argument 61 template <> struct hash<VULKAN_HPP_NAMESPACE::Queue> struct 65 return std::hash<VkQueue>{}(static_cast<VkQueue>(queue)); in operator ()() argument [all …]
|
D | vulkansc_hash.hpp | 20 struct hash<VULKAN_HPP_NAMESPACE::Flags<BitType>> struct 24 return std::hash<typename std::underlying_type<BitType>::type>{}( in operator ()() argument 37 template <> struct hash<VULKAN_HPP_NAMESPACE::Instance> struct 41 return std::hash<VkInstance>{}(static_cast<VkInstance>(instance)); in operator ()() argument 45 template <> struct hash<VULKAN_HPP_NAMESPACE::PhysicalDevice> struct 49 return std::hash<VkPhysicalDevice>{}(static_cast<VkPhysicalDevice>(physicalDevice)); in operator ()() argument 53 template <> struct hash<VULKAN_HPP_NAMESPACE::Device> struct 57 return std::hash<VkDevice>{}(static_cast<VkDevice>(device)); in operator ()() argument 61 template <> struct hash<VULKAN_HPP_NAMESPACE::Queue> struct 65 return std::hash<VkQueue>{}(static_cast<VkQueue>(queue)); in operator ()() argument [all …]
|
/hardware/libhardware/modules/sensors/dynamic_sensor/ |
D | HidRawDevice.h | 59 std::hash<unsigned int> hash; in operator() local 60 return hash(v.first) ^ hash(v.second); in operator()
|
D | DummyDynamicAccelDaemon.cpp | 114 size_t hash = std::hash<std::string>()(mSensorName); in getUuid() local 116 memcpy(uuid, &hash, sizeof(hash)); in getUuid()
|
/hardware/google/gfxstream/guest/mesa/src/util/tools/ |
D | find_hash_func.c | 70 unsigned hash = ((list[a].value * mul) >> rshift) & mask; in find_perfect_hash_func() local 72 max = hash > max ? hash : max; in find_perfect_hash_func() 76 if (hash == (((list[b].value * mul) >> rshift) & mask)) in find_perfect_hash_func() 114 unsigned hash = (((list[a].value * mul) >> rshift) + add) & mask; in find_translate_func() local 117 if (hash != list[a].result) in find_translate_func()
|
/hardware/google/gfxstream/host/ |
D | VirtioGpuTimelines.h | 41 struct std::hash<VirtioGpuRingGlobal> { 48 struct std::hash<VirtioGpuRingContextSpecific> { 50 std::size_t ctxHash = std::hash<VirtioGpuCtxId>{}(ringContextSpecific.mCtxId); 51 std::size_t ringHash = std::hash<VirtioGpuRingIdx>{}(ringContextSpecific.mRingIdx);
|
D | BlobManager.h | 98 auto h1 = std::hash<T1>{}(p.first); in operator() 99 auto h2 = std::hash<T2>{}(p.second); in operator()
|
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/ |
D | vk_shader_module.c | 45 _mesa_blake3_compute(module->data, module->size, module->hash); in vk_shader_module_init() 81 memcpy(pIdentifier->identifier, module->hash, sizeof(module->hash)); in vk_common_GetShaderModuleIdentifierEXT() 82 pIdentifier->identifierSize = sizeof(module->hash); in vk_common_GetShaderModuleIdentifierEXT()
|
/hardware/google/aemu/base/include/aemu/base/network/ |
D | IpAddress.h | 145 size_t hash() const; 175 struct hash<android::base::IpAddress> { 179 return a.hash();
|
/hardware/interfaces/tests/hash/1.0/default/ |
D | Android.bp | 11 name: "android.hardware.tests.hash@1.0-impl", 26 static_libs: ["android.hardware.tests.hash@1.0"],
|
D | Hash.h | 11 namespace hash { 15 using ::android::hardware::tests::hash::V1_0::IHash;
|
/hardware/google/camera/devices/EmulatedCamera/hwl/utils/ |
D | StreamConfigurationMap.h | 46 std::hash<android_pixel_format_t>{}(std::get<0>(entry)); in operator() 48 hashValue * result + std::hash<uint32_t>{}(std::get<1>(entry).first); in operator() 50 hashValue * result + std::hash<uint32_t>{}(std::get<1>(entry).second); in operator()
|
/hardware/nxp/secure_element/pn8x/ls_client/src/ |
D | LsClient.cpp | 65 static int compareLSHash(uint8_t* hash, uint8_t length); 69 static int compareLSHash(uint8_t* hash, uint8_t length) { in compareLSHash() argument 96 if (0 == memcmp(hash, hashList[i], length)) { in compareLSHash() 301 uint8_t hash[20] = {0}; in performLSDownload_thread() local 304 hash[i / 2] = in performLSDownload_thread() 392 status = LSC_Start(sourcePath.c_str(), outPath.c_str(), (uint8_t*)hash, in performLSDownload_thread() 393 (uint16_t)sizeof(hash), resSW); in performLSDownload_thread()
|
/hardware/interfaces/tests/hash/1.0/ |
D | IHash.hal | 17 package android.hardware.tests.hash@1.0; 21 * This file is FREEZED to ensure its hash doesn't change.
|
/hardware/google/camera/common/hal/utils/ |
D | vendor_tag_utils.h | 96 std::hash<TagString::first_type> h1; in operator() 97 std::hash<TagString::second_type> h2; in operator()
|
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/ |
D | VmsUtils.h | 56 return std::hash<int>()(layer.type) ^ std::hash<int>()(layer.type) ^ in operator() 57 std::hash<int>()(layer.type); in operator()
|