Home
last modified time | relevance | path

Searched refs:ZipFileInfo (Results 1 – 19 of 19) sorted by relevance

/base/update/updater/test/unittest/package/
Dpkg_test.h41 using Hpackage::ZipFileInfo;
148 std::vector<std::pair<std::string, ZipFileInfo>> files; in CreateZipPackage()
151 ZipFileInfo file; in CreateZipPackage()
156 files.push_back(std::pair<std::string, ZipFileInfo>(fileName, file)); in CreateZipPackage()
Dpackage_unittest.cpp179 std::vector<std::pair<std::string, ZipFileInfo>> files; in TestGZipPkgCompress()
180 ZipFileInfo file; in TestGZipPkgCompress()
185 files.push_back(std::pair<std::string, ZipFileInfo>(fileName, file)); in TestGZipPkgCompress()
Dpkg_manager_unittest.cpp335 std::vector<std::pair<std::string, ZipFileInfo>> files; in TestZipPackageInvalidFile()
337 ZipFileInfo file; in TestZipPackageInvalidFile()
341 files.push_back(std::pair<std::string, ZipFileInfo>("55555555555", file)); in TestZipPackageInvalidFile()
438 void TestDecompressGzipInitFile(Hpackage::ZipFileInfo &zipInfo, size_t &offset, in TestDecompressGzipInitFile()
475 int TestDecompressGzip(Hpackage::ZipFileInfo &zipInfo, std::vector<uint8_t> &uncompressedData, in TestDecompressGzip()
588 Hpackage::ZipFileInfo zipInfo;
Dpkg_algo_unittest.cpp165 ZipFileInfo info {};
/base/update/updater/services/diffpatch/bzip2/
Dzip_adapter.cpp27 const Hpackage::ZipFileInfo *info = (const Hpackage::ZipFileInfo *)fileInfo; in ZipAdapter()
/base/update/updater/services/package/pkg_algorithm/
Dpkg_algo_deflate.h26 explicit PkgAlgoDeflate(const ZipFileInfo &info) in PkgAlgoDeflate()
Dpkg_algorithm.cpp165 const ZipFileInfo *info = reinterpret_cast<ZipFileInfo *>(config); in GetAlgorithm()
/base/update/updater/interfaces/kits/packages/
Dpackage.cpp78 std::vector<std::pair<std::string, ZipFileInfo>> &files, in GetZipPkgInfo()
89 ZipFileInfo* info = &files[i].second; in GetZipPkgInfo()
147 std::vector<std::pair<std::string, ZipFileInfo>> files; in CreatePackage()
/base/update/updater/services/include/package/
Dpkg_manager.h125 struct ZipFileInfo { struct
241 std::vector<std::pair<std::string, ZipFileInfo>> &files) = 0;
/base/update/updater/test/unittest/script/
Dscript_unittest.h26 std::vector<std::pair<std::string, ZipFileInfo>> &files) override in CreatePackage()
/base/update/updater/utils/
Dutils.cpp355 std::vector<std::pair<std::string, ZipFileInfo>> files; in CompressLogs()
361 ZipFileInfo file; in CompressLogs()
366 files.push_back(std::pair<std::string, ZipFileInfo>(fileName, file)); in CompressLogs()
/base/update/updater/services/package/pkg_package/
Dpkg_zipfile.h155 ZipFileInfo fileInfo_ {};
Dpkg_zipfile.cpp650 ZipFileInfo* info = reinterpret_cast<ZipFileInfo*>(fileInfo); in Init()
/base/update/updater/services/diffpatch/patch/
Dimage_patch.cpp201 Hpackage::ZipFileInfo *fileInfo = new(std::nothrow) ZipFileInfo; in GetFileInfo()
/base/update/updater/services/package/pkg_manager/
Dpkg_manager_impl.h36 std::vector<std::pair<std::string, ZipFileInfo>> &files) override;
Dpkg_managerImpl.cpp103 std::vector<std::pair<std::string, ZipFileInfo>> &files) in CreatePackage()
115 PkgFilePtr pkgFile = CreatePackage<ZipFileInfo>(path, header, files, offset); in CreatePackage()
/base/update/updater/services/diffpatch/diff/
Dimage_diff.cpp411 ZipFileInfo *info = reinterpret_cast<ZipFileInfo *>(const_cast<FileInfo *>(fileInfo)); in TestAndSetConfig()
424 ZipFileInfo zipInfo {}; in TestAndSetConfig()
/base/update/updater/test/unittest/diffpatch/
Dbzip2_unittest.cpp268 ZipFileInfo zipInfo {};
/base/update/updater/test/unittest/test_data/applypatch/
DTestDecompressGzip.new.gz