Home
last modified time | relevance | path

Searched refs:hasher (Results 1 – 16 of 16) sorted by relevance

/packages/modules/NeuralNetworks/runtime/
DModelArchHasher.cpp29 bool update(SHA256_CTX* hasher, const void* bytes, size_t length) { in update() argument
30 return SHA256_Update(hasher, bytes, length) != 0; in update()
33 bool updateSubgraph(SHA256_CTX* hasher, const Model::Subgraph& subgraph) { in updateSubgraph() argument
36 success &= update(hasher, static_cast<const void*>(&operand.type), sizeof(operand.type)); in updateSubgraph()
38 hasher, static_cast<const void*>(operand.dimensions.data()), in updateSubgraph()
40 success &= update(hasher, static_cast<const void*>(&operand.scale), sizeof(operand.scale)); in updateSubgraph()
41 success &= update(hasher, static_cast<const void*>(&operand.zeroPoint), in updateSubgraph()
43 success &= update(hasher, static_cast<const void*>(&operand.lifetime), in updateSubgraph()
45 success &= update(hasher, static_cast<const void*>(&operand.extraParams), in updateSubgraph()
51 update(hasher, static_cast<const void*>(&operation.type), sizeof(operation.type)); in updateSubgraph()
[all …]
/packages/modules/Bluetooth/system/gd/hci/
Daddress_unittest.cc212 struct std::hash<bluetooth::hci::Address> hasher; in TEST() local
213 ASSERT_EQ(hasher(addr1), hasher(addr2)); in TEST()
224 struct std::hash<Address> hasher; in TEST() local
225 ASSERT_NE(hasher(addr1), hasher(Address::kEmpty)); in TEST()
230 struct std::hash<Address> hasher; in TEST() local
231 ASSERT_NE(hasher(addr1), hasher(Address::kAny)); in TEST()
235 struct std::hash<Address> hasher; in TEST() local
236 ASSERT_NE(hasher(Address::kEmpty), hasher(Address::kAny)); in TEST()
Daddress_with_type_test.cc43 struct std::hash<bluetooth::hci::AddressWithType> hasher; in TEST() local
44 EXPECT_EQ(hasher(address_with_type_1), hasher(address_with_type_2)); in TEST()
57 struct std::hash<AddressWithType> hasher; in TEST() local
58 …EXPECT_NE(hasher(address_with_type), hasher(AddressWithType(Address::kEmpty, AddressType::PUBLIC_I… in TEST()
68 struct std::hash<bluetooth::hci::AddressWithType> hasher; in TEST() local
69 EXPECT_NE(hasher(address_with_type_1), hasher(address_with_type_2)); in TEST()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/devapi/
DAdSelectionDevOverridesHelper.java73 Hasher hasher = sHashFunction.newHasher(); in calculateAdSelectionConfigId() local
74 hasher.putUnencodedChars(adSelectionConfig.getSeller().toString()) in calculateAdSelectionConfigId()
81 .forEach(hasher::putUnencodedChars); in calculateAdSelectionConfigId()
85 hasher.putUnencodedChars(buyerAndSignals.getKey().toString()) in calculateAdSelectionConfigId()
88 return hasher.hash().toString(); in calculateAdSelectionConfigId()
99 Hasher hasher = sHashFunction.newHasher(); in calculateAdSelectionFromOutcomesConfigId() local
100 hasher.putUnencodedChars(adSelectionFromOutcomesConfig.getSelectionLogicUri().toString()) in calculateAdSelectionFromOutcomesConfigId()
102 return hasher.hash().toString(); in calculateAdSelectionFromOutcomesConfigId()
/packages/modules/Virtualization/libs/apkverify/src/
Dsigutil.rs158 let mut hasher = Hasher::new(self.message_digest)?; in digest() localVariable
159 hasher.update(header)?; in digest()
160 hasher.update(&size.to_le_bytes())?; in digest()
161 hasher.update(data)?; in digest()
162 Ok(hasher.finish()?) in digest()
/packages/modules/Virtualization/microdroid_manager/src/
Dvm_secret.rs139 let mut hasher = sha::Sha256::new(); in get_vm_secret() localVariable
140 hasher.update(dice_artifacts.cdi_seal()); in get_vm_secret()
141 hasher.update(skp_secret); in get_vm_secret()
142 hkdf(key, Md::sha256(), &hasher.finish(), salt, identifier)? in get_vm_secret()
/packages/modules/adb/fastdeploy/deploypatchgenerator/
Ddeploy_patch_generator.cpp211 std::hash<uint64_t> hasher; in BuildIdenticalEntries() local
213 seed ^= hasher(digest.first) + 0x9e3779b9 + (seed << 6) + (seed >> 2); in BuildIdenticalEntries()
214 seed ^= hasher(digest.second) + 0x9e3779b9 + (seed << 6) + (seed >> 2); in BuildIdenticalEntries()
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/TV/libs/m2/
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...