Searched refs:crcResult (Results 1 – 2 of 2) sorted by relevance
/base/update/updater/test/unittest/package/ |
D | pkg_algo_unittest.cpp | 51 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/ |
D | pkg_algo_deflate.cpp | 71 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()
|