Home
last modified time | relevance | path

Searched refs:hash (Results 1 – 11 of 11) sorted by relevance

/drivers/hdf_core/framework/utils/src/
Dhdf_map.c19 uint32_t hash; member
45 static uint32_t MapHashIdx(const Map *map, uint32_t hash) in MapHashIdx() argument
47 return (hash & (map->bucketSize - 1)); in MapHashIdx()
52 uint32_t idx = MapHashIdx(map, node->hash); in MapAddNode()
94 static struct MapNode *MapCreateNode(const char *key, uint32_t hash, in MapCreateNode() argument
103 node->hash = hash; in MapCreateNode()
135 uint32_t hash; in MapSet() local
141 hash = MapHash(key); in MapSet()
143 uint32_t idx = MapHashIdx(map, hash); in MapSet()
146 if (node->hash != hash || node->key == NULL || strcmp(node->key, key) != 0) { in MapSet()
[all …]
/drivers/external_device_manager/services/native/driver_extension/src/
Ddriver_extension_context.cpp25 const size_t DriverExtensionContext::CONTEXT_TYPE_ID(std::hash<const char*> {} ("DriverExtensionCon…
/drivers/peripheral/usb/ddk_service/src/
Dusb_ddk_hash.cpp36 hashVal = static_cast<uint64_t>(std::hash<uint64_t> {}(info.addr)); in UsbDdkHash()
/drivers/hdf_core/framework/tools/hdi-gen/
DMakefileLinux35 HASH_SOURCE_DIR := $(PWD)/hash
37 HASH_OBJS_DIR := $(BUILD_DIR)/hash
DMakefileWin35 HASH_SOURCE_DIR := $(PWD)\hash
37 HASH_OBJS_DIR := $(BUILD_DIR)\hash
/drivers/hdf_core/framework/tools/hdi-gen/hash/
Dhash.cpp92 hashKey = std::hash<std::string>()(buffer.str()); in GenFileHashKey()
/drivers/hdf_core/framework/tools/hdi-gen/util/
Dfile.cpp340 return std::hash<std::string>()(fileStr.ToString()); in CreateParentDir()
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/
Dast.js304 SetHash(hash) { argument
305 this.hash_ = hash;
/drivers/hdf_core/framework/tools/hc-gen/src/
Dast.h101 void SetHash(uint32_t hash);
Dast.cpp351 void AstObject::SetHash(uint32_t hash) in SetHash() argument
353 hash_ = hash; in SetHash()
/drivers/peripheral/distributed_camera/hdi_service/src/dcamera_device/
Ddmetadata_processor.cpp38 std::hash<std::string> h; in InitDCameraAbility()