Home
last modified time | relevance | path

Searched refs:ZipWriter (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/src/util/zip/
H A Dzip_writer.cpp29 ZipWriter::ZipWriter(const std::string &zipFilePath) : zipFilePath_(zipFilePath), zipFile_(nullptr) in ZipWriter() function in OHOS::HiviewDFX::ZipWriter
34 ZipWriter::~ZipWriter() in ~ZipWriter()
41 bool ZipWriter::Open() in Open()
61 bool ZipWriter::Close() in Close()
100 bool ZipWriter::FlushItems(const ZipTickNotify notify) in FlushItems()
133 bool ZipWriter::SetTimeToZipFileInfo(zip_fileinfo &zipInfo) in SetTimeToZipFileInfo()
151 zipFile ZipWriter::OpenForZipping(const std::string &fileName, int append) in OpenForZipping()
156 bool ZipWriter::ZipOpenNewFileInZip(zipFile zip_file, const std::string &strPath) in ZipOpenNewFileInZip()
173 bool ZipWriter::AddFileContentToZip(zipFile zip_file, std::string &file_path) in AddFileContentToZip()
210 bool ZipWriter::OpenNewFileEntry(zipFile zip_file, std::string &path) in OpenNewFileEntry()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/src/
H A Dzip_writer.cpp116 zipFile ZipWriter::InitZipFileWithFd(PlatformFile zipFilefd) in InitZipFileWithFd()
131 zipFile ZipWriter::InitZipFileWithFile(const FilePath &zip_file_path) in InitZipFileWithFile()
148 ZipWriter::ZipWriter(zipFile zip_file) : zipFile_(zip_file) in ZipWriter() function in OHOS::AppExecFwk::LIBZIP::ZipWriter
151 ZipWriter::~ZipWriter() in ~ZipWriter()
156 bool ZipWriter::WriteEntries(const std::vector<std::pair<FilePath, FilePath>> &paths, const OPTIONS… in WriteEntries()
161 bool ZipWriter::AddEntries(const std::vector<std::pair<FilePath, FilePath>> &paths, const OPTIONS &… in AddEntries()
170 bool ZipWriter::Close(const OPTIONS &options) in Close()
177 bool ZipWriter::FlushEntriesIfNeeded(bool force, const OPTIONS &options) in FlushEntriesIfNeeded()
H A Dzip.cpp166 std::unique_ptr<ZipWriter> zipWriter = nullptr; in Zip()
168 zipWriter = std::make_unique<ZipWriter>(ZipWriter::InitZipFileWithFd(params.DestFd())); in Zip()
170 zipWriter = std::make_unique<ZipWriter>(ZipWriter::InitZipFileWithFile(params.DestFile())); in Zip()
229 std::unique_ptr<ZipWriter> zipWriter = nullptr; in Zips()
231 zipWriter = std::make_unique<ZipWriter>(ZipWriter::InitZipFileWithFd(params.DestFd())); in Zips()
233 zipWriter = std::make_unique<ZipWriter>(ZipWriter::InitZipFileWithFile(params.DestFile())); in Zips()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/include/
H A Dzip_writer.h33 class ZipWriter {
40 ~ZipWriter();
41 explicit ZipWriter(zipFile zip_file);
73 DISALLOW_COPY_AND_ASSIGN(ZipWriter);
/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/include/util/zip/
H A Dzip_writer.h26 class ZipWriter {
28 ZipWriter(const std::string &zipFilePath);
29 ~ZipWriter();
/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/src/util/
H A Dzip_utils.cpp65 ZipWriter zipWriter(dstFile); in ZipFolder()
/ohos5.0/base/hiviewdfx/hidumper/test/unittest/common/
H A Dhidumper_configutils_test.cpp338 auto zipwriter = std::make_shared<ZipWriter>(testzipfile);