Searched refs:Hash (Results 1 – 11 of 11) sorted by relevance
/system/tools/hidl/hashing/ |
D | Hash.cpp | 31 const std::vector<uint8_t> Hash::kEmptyHash = std::vector<uint8_t>(SHA256_DIGEST_LENGTH, 0); 33 Hash& Hash::getMutableHash(const std::string& path) { in getMutableHash() 34 static std::map<std::string, Hash> hashes; in getMutableHash() 39 it = hashes.insert(it, {path, Hash(path)}); in getMutableHash() 45 const Hash& Hash::getHash(const std::string& path) { in getHash() 49 void Hash::clearHash(const std::string& path) { in clearHash() 66 Hash::Hash(const std::string& path) : mPath(path), mHash(sha256File(path)) {} in Hash() function in android::Hash 68 std::string Hash::hexString(const std::vector<uint8_t>& hash) { in hexString() 77 std::string Hash::hexString() const { in hexString() 81 const std::vector<uint8_t>& Hash::raw() const { in raw() [all …]
|
D | Android.bp | 19 srcs: ["Hash.cpp"],
|
/system/tools/hidl/hashing/include/hidl-hash/ |
D | Hash.h | 24 struct Hash { struct 28 static const Hash& getHash(const std::string& path); 45 Hash(const std::string& path); 47 static Hash& getMutableHash(const std::string& path);
|
/system/core/libmemunreachable/ |
D | Allocator.h | 203 template <class Key, class T, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>> 205 std::unordered_map<Key, T, Hash, KeyEqual, Allocator<std::pair<const Key, T>>>; 207 template <class Key, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>> 208 using unordered_set = std::unordered_set<Key, Hash, KeyEqual, Allocator<Key>>;
|
/system/tools/hidl/ |
D | Interface.h | 38 Scope* parent, const Reference<Type>& superType, const Hash* fileHash); 40 const Hash* getFileHash() const; 142 const Hash* mFileHash;
|
D | AST.h | 48 AST(const Coordinator* coordinator, const Hash* fileHash); 64 const Hash* getFileHash() const; 205 const Hash* mFileHash;
|
D | Coordinator.cpp | 263 *ast = new AST(this, &Hash::getHash(path)); in parseOptional() 813 Hash::lookupHash(hashPath, fqName.string(), &error, &fileExists); in checkHash() 824 Hash::clearHash(ast->getFilename()); in checkHash()
|
D | Interface.cpp | 75 Scope* parent, const Reference<Type>& superType, const Hash* fileHash) in Interface() 82 const Hash* Interface::getFileHash() const { in getFileHash()
|
D | AST.cpp | 38 AST::AST(const Coordinator* coordinator, const Hash* fileHash) in AST() 60 const Hash* AST::getFileHash() const { in getFileHash()
|
D | main.cpp | 868 out << Hash::getHash(ast->getFilename()).hexString() << " " << fqName.string() << "\n"; in generateHashOutput()
|
/system/core/logd/ |
D | LogTags.cpp | 470 size_t Hash = key2tag.hash_function()(Key); in nameToTag_locked() local 471 uint32_t Tag = Hash; in nameToTag_locked() 487 Tag = (Hash >> i); in nameToTag_locked() 489 if ((sizeof(Hash) <= 4) || ((Hash & (uint64_t(-1LL) << 32)) == 0)) { in nameToTag_locked() 490 Tag |= Hash << (32 - i); in nameToTag_locked() 493 Tag = Hash + i - 31; in nameToTag_locked()
|