/base/update/updater/services/package/pkg_verify/ |
D | pkg_verify_util.cpp | 54 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()
|
D | zip_pkg_parse.cpp | 54 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()
|
D | hash_data_verifier.cpp | 136 …int32_t ret = CalcSha256Digest(PkgStreamImpl::ConvertPkgStream(stream), stream->GetFileLength(), h… in VerifyHashData()
|
/base/update/updater/services/package/pkg_package/ |
D | pkg_pkgfile.cpp | 155 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()
|
D | pkg_lz4file.cpp | 124 fileInfo_.fileInfo.unpackedSize = pkgFile_->GetPkgStream()->GetFileLength(); in DecodeHeader() 125 fileInfo_.fileInfo.packedSize = pkgFile_->GetPkgStream()->GetFileLength(); in DecodeHeader()
|
D | pkg_upgradefile.cpp | 211 …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()
|
D | pkg_zipfile.cpp | 121 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()
|
D | pkg_zipfile.h | 191 int32_t GetFileLength(size_t &fileLen);
|
D | pkg_gzipfile.cpp | 294 size_t blockOffset = inStream->GetFileLength() - BLOCK_SIZE; in DecodeHeader()
|
/base/update/updater/services/package/pkg_manager/ |
D | pkg_stream.h | 104 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
|
D | pkg_stream.cpp | 94 if (start > GetFileLength()) { in Read() 135 size_t FileStream::GetFileLength() in GetFileLength() function in Hpackage::FileStream 223 size_t copyLen = GetFileLength() - start; in Read()
|
D | pkg_managerImpl.cpp | 766 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/ |
D | bin_process.h | 44 size_t GetFileLength();
|
D | bin_process.cpp | 141 size_t writeOffset = flowStream->GetFileLength() - stashDataSize_; in UnCompressDataProducer() 262 processor->SetPkgFileSize(stream->GetReadOffset(), stream->GetFileLength()); in ComponentProcess()
|
/base/update/sys_installer/test/fuzztest/ |
D | sys_installer_fuzzer.cpp | 54 size_t fileLen = stream->GetFileLength(); in BuildFileDigest()
|
/base/update/updater/test/fuzztest/UpdaterStartUpdaterProc_fuzzer/ |
D | UpdaterStartUpdaterProc_fuzzer.cpp | 61 size_t fileLen = stream->GetFileLength(); in BuildFileDigest()
|
/base/update/updater/test/unittest/updater_binary/ |
D | updater_binary_unittest.cpp | 84 size_t fileLen = stream->GetFileLength(); in BuildFileDigest()
|
/base/update/updater/test/unittest/package/ |
D | pkg_test.h | 78 size_t fileLen = stream->GetFileLength(); in BuildFileDigest()
|
D | pkg_manager_unittest.cpp | 79 size_t GetFileLength() override in GetFileLength() function in UpdaterUt::TestPkgStream
|
/base/update/updater/services/diffpatch/patch/ |
D | blocks_patch.cpp | 245 size_t oldLength = stream_->GetFileLength(); in RestoreDiffData()
|
/base/update/updater/test/fuzztest/extractandexecutescript_fuzzer/ |
D | extractandexecutescript_fuzzer.cpp | 190 size_t fileLen = stream->GetFileLength(); in BuildFileDigest()
|
/base/update/updater/services/include/package/ |
D | pkg_manager.h | 79 virtual size_t GetFileLength() = 0;
|
/base/update/updater/test/unittest/test_data/applypatch/ |
D | TestDecompressGzip.new.gz |
|