Searched refs:srcHash (Results 1 – 5 of 5) sorted by relevance
/base/update/updater/services/updater_binary/ |
D | update_image_patch.h | 30 std::string srcHash {}; 53 std::string srcHash {};
|
D | update_image_patch.cpp | 61 ret |= static_cast<uint32_t>(context.GetParam(index++, para.srcHash)); in GetParam() 154 if (access(srcFile.c_str(), F_OK) == 0 && GetFileHash(srcFile) != para.srcHash) { in GetSourceFile() 224 ret |= static_cast<uint32_t>(context.GetParam(index++, para.srcHash)); in GetParam() 252 if (resultSha != para.srcHash) { in CheckHash() 253 LOG(ERROR) << "resultSha:" << resultSha << " srcHash:" << para.srcHash; in CheckHash()
|
/base/update/updater/services/applypatch/ |
D | command_process.cpp | 116 std::string srcHash = cmdTmp; in Execute() local 117 std::string tgtHash = srcHash; in Execute() 133 auto ret = targetBlock.LoadTargetBuffer(params, buffer, tgtBlockSize, pos, srcHash); in Execute()
|
D | block_set.cpp | 307 size_t pos, std::string &srcHash) in LoadTargetBuffer() argument 315 std::string storePath = storeBase + "/" + srcHash; in LoadTargetBuffer() 318 if (VerifySha256(buffer, blockSize, srcHash) == 0) { in LoadTargetBuffer() 320 ret = Store::WriteDataToStore(storeBase, srcHash, buffer, blockSize * H_BLOCK_SIZE); in LoadTargetBuffer() 328 if (Store::LoadDataFromStore(storeBase, srcHash, buffer) == 0) { in LoadTargetBuffer()
|
/base/update/updater/services/include/applypatch/ |
D | block_set.h | 89 std::string &srcHash);
|