Home
last modified time | relevance | path

Searched refs:GetFileLength (Results 1 – 23 of 23) sorted by relevance

/base/update/updater/services/package/pkg_verify/
Dpkg_verify_util.cpp54 size_t srcDataLen = pkgStream->GetFileLength() - commentTotalLenAll - 2; in VerifyPackageSign()
58 srcDataLen = pkgStream->GetFileLength() - signatureSize - ZIP_EOCD_FIXED_PART_LEN; in VerifyPackageSign()
86 size_t fileLen = pkgStream->GetFileLength(); in GetSignature()
107 signatureStart = pkgStream->GetFileLength() - pkgSignComment.signCommentAppendLen; in ParsePackage()
Dzip_pkg_parse.cpp54 size_t fileLen = pkgStream->GetFileLength(); in DoParseZipPkg()
95 size_t fileLen = pkgStream->GetFileLength(); in ParseZipPkg()
98 PKG_LOGE("file len[%zu] < footerSize.", pkgStream->GetFileLength()); in ParseZipPkg()
Dhash_data_verifier.cpp136 …int32_t ret = CalcSha256Digest(PkgStreamImpl::ConvertPkgStream(stream), stream->GetFileLength(), h… in VerifyHashData()
/base/update/updater/services/package/pkg_package/
Dpkg_pkgfile.cpp155 localFileInfo->unpackedSize = inStream->GetFileLength(); in Init()
158 localFileInfo->packedSize = inStream->GetFileLength(); in Init()
183 …PKG_LOGI("SavePackage success file length: %zu signOffset %zu", pkgStream_->GetFileLength(), signO… in AddSignData()
Dpkg_lz4file.cpp124 fileInfo_.fileInfo.unpackedSize = pkgFile_->GetPkgStream()->GetFileLength(); in DecodeHeader()
125 fileInfo_.fileInfo.packedSize = pkgFile_->GetPkgStream()->GetFileLength(); in DecodeHeader()
Dpkg_upgradefile.cpp211 …PKG_LOGI("SavePackage success file length: %zu signOffset %zu", pkgStream_->GetFileLength(), signO… in WriteBuffer()
441 size_t fileLen = pkgStream_->GetFileLength(); in LoadPackage()
541 while (offset + readBytes < pkgStream_->GetFileLength()) { in Verify()
544 size_t remainBytes = pkgStream_->GetFileLength() - offset; in Verify()
629 size_t fileLen = pkgStream_->GetFileLength(); in ReadComponents()
713 size_t fileLen = pkgStream_->GetFileLength(); in ReadUpgradePkgHeader()
Dpkg_zipfile.cpp121 size_t fileLen = pkgStream_->GetFileLength(); in LoadPackage()
160 int32_t ZipPkgFile::GetFileLength(size_t &fileLen) in GetFileLength() function in Hpackage::ZipPkgFile
167 fileLen = pkgStream_->GetFileLength(); in GetFileLength()
186 PKG_LOGI("LoadPackage %s :%zu", pkgStream_->GetFileName().c_str(), pkgStream_->GetFileLength()); in LoadPackage()
190 int32_t ret = GetFileLength(fileLen); in LoadPackage()
Dpkg_zipfile.h191 int32_t GetFileLength(size_t &fileLen);
Dpkg_gzipfile.cpp294 size_t blockOffset = inStream->GetFileLength() - BLOCK_SIZE; in DecodeHeader()
/base/update/updater/services/package/pkg_manager/
Dpkg_stream.h104 size_t GetFileLength() override;
135 size_t GetFileLength() override in GetFileLength() function
206 size_t GetFileLength() override in GetFileLength() function
253 size_t GetFileLength() override in GetFileLength() function
Dpkg_stream.cpp94 if (start > GetFileLength()) { in Read()
135 size_t FileStream::GetFileLength() in GetFileLength() function in Hpackage::FileStream
223 size_t copyLen = GetFileLength() - start; in Read()
Dpkg_managerImpl.cpp766 size_t fileLen = (hashBufferLen == 0) ? stream->GetFileLength() : hashBufferLen; in DoCreatePkgStream()
990 size_t fileLen = stream->GetFileLength(); in DoCreatePkgStream()
/base/update/updater/services/flow_update/update_bin/
Dbin_process.h44 size_t GetFileLength();
Dbin_process.cpp141 size_t writeOffset = flowStream->GetFileLength() - stashDataSize_; in UnCompressDataProducer()
262 processor->SetPkgFileSize(stream->GetReadOffset(), stream->GetFileLength()); in ComponentProcess()
/base/update/sys_installer/test/fuzztest/
Dsys_installer_fuzzer.cpp54 size_t fileLen = stream->GetFileLength(); in BuildFileDigest()
/base/update/updater/test/fuzztest/UpdaterStartUpdaterProc_fuzzer/
DUpdaterStartUpdaterProc_fuzzer.cpp61 size_t fileLen = stream->GetFileLength(); in BuildFileDigest()
/base/update/updater/test/unittest/updater_binary/
Dupdater_binary_unittest.cpp84 size_t fileLen = stream->GetFileLength(); in BuildFileDigest()
/base/update/updater/test/unittest/package/
Dpkg_test.h78 size_t fileLen = stream->GetFileLength(); in BuildFileDigest()
Dpkg_manager_unittest.cpp79 size_t GetFileLength() override in GetFileLength() function in UpdaterUt::TestPkgStream
/base/update/updater/services/diffpatch/patch/
Dblocks_patch.cpp245 size_t oldLength = stream_->GetFileLength(); in RestoreDiffData()
/base/update/updater/test/fuzztest/extractandexecutescript_fuzzer/
Dextractandexecutescript_fuzzer.cpp190 size_t fileLen = stream->GetFileLength(); in BuildFileDigest()
/base/update/updater/services/include/package/
Dpkg_manager.h79 virtual size_t GetFileLength() = 0;
/base/update/updater/test/unittest/test_data/applypatch/
DTestDecompressGzip.new.gz