Home
last modified time | relevance | path

Searched refs:srcHash (Results 1 – 5 of 5) sorted by relevance

/base/update/updater/services/updater_binary/
Dupdate_image_patch.h30 std::string srcHash {};
53 std::string srcHash {};
Dupdate_image_patch.cpp61 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/
Dcommand_process.cpp116 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()
Dblock_set.cpp307 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/
Dblock_set.h89 std::string &srcHash);