Home
last modified time | relevance | path

Searched refs:crcResult (Results 1 – 2 of 2) sorted by relevance

/base/update/updater/test/unittest/package/
Dpkg_algo_unittest.cpp51 PkgBuffer crcResult(reinterpret_cast<uint8_t *>(&crc), sizeof(crc)); in TestCrcDigest() local
52 ret = algo->Final(crcResult); in TestCrcDigest()
56 crcResult = {reinterpret_cast<uint8_t *>(&crc2), sizeof(crc)}; in TestCrcDigest()
57 ret = algo->Calculate(crcResult, crcBuffer, sizeof(buff)); in TestCrcDigest()
/base/update/updater/services/package/pkg_algorithm/
Dpkg_algo_deflate.cpp71 PkgBuffer crcResult((uint8_t *)&crc, sizeof(crc)); in PackCalculate() local
85 algorithm->Calculate(crcResult, inBuffer, readLen); in PackCalculate()
166 PkgBuffer crcResult((uint8_t *)&crc, sizeof(crc)); in UnpackCalculate() local
191 algorithm->Calculate(crcResult, outBuffer, inflateLen); in UnpackCalculate()