Home
last modified time | relevance | path

Searched refs:ZipFileInfo (Results 1 – 18 of 18) 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()
Dpkg_manager_unittest.cpp476 std::vector<std::pair<std::string, ZipFileInfo>> files; in TestZipPackageInvalidFile()
478 ZipFileInfo file; in TestZipPackageInvalidFile()
482 files.push_back(std::pair<std::string, ZipFileInfo>("55555555555", file)); in TestZipPackageInvalidFile()
575 void TestDecompressGzipInitFile(hpackage::ZipFileInfo &zipInfo, size_t &offset, in TestDecompressGzipInitFile()
612 int TestDecompressGzip(hpackage::ZipFileInfo &zipInfo, std::vector<uint8_t> &uncompressedData, in TestDecompressGzip()
712 hpackage::ZipFileInfo zipInfo;
Dpackage_unittest.cpp401 std::vector<std::pair<std::string, ZipFileInfo>> files; in TestGZipPkgCompress()
402 ZipFileInfo file; in TestGZipPkgCompress()
407 files.push_back(std::pair<std::string, ZipFileInfo>(fileName, file)); in TestGZipPkgCompress()
Dpkg_algo_unittest.cpp264 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.cpp126 const ZipFileInfo *info = (ZipFileInfo *)config; in GetAlgorithm()
/base/update/updater/interfaces/kits/packages/
Dpackage.cpp75 std::vector<std::pair<std::string, ZipFileInfo>> &files, in GetZipPkgInfo()
86 ZipFileInfo* info = &files[i].second; in GetZipPkgInfo()
143 std::vector<std::pair<std::string, ZipFileInfo>> files; in CreatePackage()
/base/update/updater/services/
Dupdater_utils.cpp44 std::vector<std::pair<std::string, ZipFileInfo>> files; in CompressLogs()
50 ZipFileInfo file; in CompressLogs()
55 files.push_back(std::pair<std::string, ZipFileInfo>(fileName, file)); in CompressLogs()
/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/services/package/pkg_package/
Dpkg_zipfile.h154 ZipFileInfo fileInfo_ {};
Dpkg_zipfile.cpp572 ZipFileInfo* info = (ZipFileInfo*)fileInfo; in Init()
/base/update/updater/services/diffpatch/patch/
Dimage_patch.cpp180 hpackage::ZipFileInfo *fileInfo = new ZipFileInfo; in GetFileInfo()
/base/update/updater/services/package/pkg_manager/
Dpkg_manager_impl.h35 std::vector<std::pair<std::string, ZipFileInfo>> &files) override;
Dpkg_managerImpl.cpp97 std::vector<std::pair<std::string, ZipFileInfo>> &files) in CreatePackage()
103 PkgFilePtr pkgFile = CreatePackage<ZipFileInfo>(path, header, files, offset); in CreatePackage()
/base/update/updater/services/diffpatch/diff/
Dimage_diff.cpp370 ZipFileInfo *info = (ZipFileInfo *)fileInfo; in TestAndSetConfig()
380 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