Home
last modified time | relevance | path

Searched refs:zipFile (Results 1 - 17 of 17) sorted by relevance

/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/include/
H A Dzip_internal.h58 zipFile OpenForZipping(const std::string &fileNameUtf8, int appendFlag);
62 zipFile OpenFdForZipping(PlatformFile zipFd, int appendFlag);
65 zipFile zipFile, const std::string &strPath, const OPTIONS &options, const struct tm *lastModifiedTime);
H A Dzip_writer.h38 static zipFile InitZipFileWithFd(PlatformFile zipFilefd);
39 static zipFile InitZipFileWithFile(const FilePath &zip_file_path);
41 explicit ZipWriter(zipFile zip_file);
71 zipFile zipFile_;
/foundation/graphic/graphic_2d/frameworks/bootanimation/src/
H A Dutil.cpp197 unzFile zipFile = unzOpen2(srcFilePath.c_str(), nullptr); in ReadZipFile() local
198 if (zipFile == nullptr) { in ReadZipFile()
199 LOGE("Open zipFile fail: %{public}s", srcFilePath.c_str()); in ReadZipFile()
204 if (unzGetGlobalInfo(zipFile, &globalInfo) != UNZ_OK) { in ReadZipFile()
206 return CloseZipFile(zipFile, false); in ReadZipFile()
213 if (unzGetCurrentFileInfo(zipFile, &fileInfo, filename, MAX_FILE_NAME, nullptr, 0, nullptr, 0) != UNZ_OK) { in ReadZipFile()
214 return CloseZipFile(zipFile, false); in ReadZipFile()
218 return CloseZipFile(zipFile, false); in ReadZipFile()
221 if (unzOpenCurrentFile(zipFile) != UNZ_OK) { in ReadZipFile()
222 return CloseZipFile(zipFile, fals in ReadZipFile()
245 CloseZipFile(const unzFile zipFile, bool ret) CloseZipFile() argument
262 ReadImageFile(const unzFile zipFile, const std::string& fileName, ImageStructVec& imgVec, FrameRateConfig& frameConfig, unsigned long fileSize) ReadImageFile() argument
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/src/
H A Dzip_writer.cpp37 bool AddFileContentToZip(zipFile zip_file, FilePath &file_path) in AddFileContentToZip()
76 zipFile zip_file, FilePath &path, bool isDirectory, struct tm *lastModified, const OPTIONS &options) in OpenNewFileEntry()
87 bool CloseNewFileEntry(zipFile zip_file) in CloseNewFileEntry()
92 bool AddFileEntryToZip(zipFile zip_file, FilePath &relativePath, FilePath &absolutePath, const OPTIONS &options) in AddFileEntryToZip()
109 bool AddDirectoryEntryToZip(zipFile zip_file, FilePath &path, struct tm *lastModified, const OPTIONS &options) in AddDirectoryEntryToZip()
116 zipFile ZipWriter::InitZipFileWithFd(PlatformFile zipFilefd) in InitZipFileWithFd()
123 zipFile zip_file = OpenFdForZipping(zipFilefd, APPEND_STATUS_CREATE); in InitZipFileWithFd()
131 zipFile ZipWriter::InitZipFileWithFile(const FilePath &zip_file_path) in InitZipFileWithFile()
140 zipFile zip_file = OpenForZipping(zipFilePath.Value(), APPEND_STATUS_CREATE); in InitZipFileWithFile()
148 ZipWriter::ZipWriter(zipFile zip_fil
[all...]
H A Dzip_internal.cpp254 zipFile OpenForZipping(const std::string &fileNameUtf8, int appendFlag) in OpenForZipping()
263 zipFile OpenFdForZipping(PlatformFile zipFd, int appendFlag) in OpenFdForZipping()
272 zipFile zipFile, const std::string &strPath, const OPTIONS &options, const struct tm *lastModifiedTime) in ZipOpenNewFileInZip()
278 if (ZIP_OK != zipOpenNewFileInZip4(zipFile, // file in ZipOpenNewFileInZip()
271 ZipOpenNewFileInZip( zipFile zipFile, const std::string &strPath, const OPTIONS &options, const struct tm *lastModifiedTime) ZipOpenNewFileInZip() argument
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/
H A Dzip_util.h31 EXPORT static zipFile CreateZipFile(const std::string& zipPath, int32_t zipMode = APPEND_STATUS_CREATE);
32 EXPORT static void CloseZipFile(zipFile& zipfile);
34 zipFile& zipfile, const std::string& srcFile, int keepParentPathStatus, const std::string& dstFileName = "");
/foundation/filemanagement/app_file_service/utils/include/b_hiaudit/
H A Dzip_util.h30 static zipFile CreateZipFile(const std::string &zipPath, int32_t zipMode = APPEND_STATUS_CREATE);
31 static void CloseZipFile(zipFile &zipfile);
32 static int AddFileInZip(zipFile &zipfile, const std::string &srcFile, int keepParentPathStatus,
/foundation/filemanagement/storage_service/services/storage_daemon/include/utils/
H A Dzip_util.h30 static zipFile CreateZipFile(const std::string& zipPath, int32_t zipMode = APPEND_STATUS_CREATE);
31 static void CloseZipFile(zipFile& zipfile);
33 zipFile& zipfile, const std::string& srcFile, int keepParentPathStatus, const std::string& dstFileName = "");
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/log_storage_test/src/
H A Dzip_util_test.cpp40 zipFile compressZip = ZipUtil::CreateZipFile(filePath, 0); in HWTEST_F()
54 zipFile compressZip = ZipUtil::CreateZipFile(zipFilePath); in HWTEST_F()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dzip_util.cpp32 zipFile ZipUtil::CreateZipFile(const std::string& zipPath, int32_t zipMode) in CreateZipFile()
37 void ZipUtil::CloseZipFile(zipFile& zipfile) in CloseZipFile()
43 zipFile& zipfile, const std::string& srcFile, int keepParentPathStatus, const std::string& destFileName) in AddFileInZip()
H A Dhi_audit.cpp195 zipFile compressZip = Media::ZipUtil::CreateZipFile(zipFileName + ".zip"); in ZipAuditLog()
/foundation/filemanagement/app_file_service/utils/src/b_hiaudit/
H A Dzip_util.cpp31 zipFile ZipUtil::CreateZipFile(const std::string &zipPath, int32_t zipMode) in CreateZipFile()
36 void ZipUtil::CloseZipFile(zipFile &zipfile) in CloseZipFile()
41 int ZipUtil::AddFileInZip(zipFile &zipfile, const std::string &srcFile, int keepParentPathStatus, in AddFileInZip()
H A Dhi_audit.cpp211 zipFile compressZip = ZipUtil::CreateZipFile(zipFileName + ".zip"); in ZipAuditLog()
/foundation/filemanagement/storage_service/services/storage_daemon/utils/
H A Dzip_util.cpp32 zipFile ZipUtil::CreateZipFile(const std::string& zipPath, int32_t zipMode) in CreateZipFile()
37 void ZipUtil::CloseZipFile(zipFile& zipfile) in CloseZipFile()
43 zipFile& zipfile, const std::string& srcFile, int keepParentPathStatus, const std::string& destFileName) in AddFileInZip()
H A Dhi_audit.cpp201 zipFile compressZip = StorageDaemon::ZipUtil::CreateZipFile(zipFileName + ".zip"); in ZipAuditLog()
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/network/softbus/
H A Dsoftbus_handler_asset.cpp409 zipFile outputFile = zipOpen64(zipFileName.c_str(), APPEND_STATUS_CREATE); in CompressFile()
463 unzFile zipFile = unzOpen64(unZipFileName.c_str()); in DecompressFile() local
464 if (!zipFile) { in DecompressFile()
470 if (unzGetGlobalInfo64(zipFile, &globalInfo) != UNZ_OK) { in DecompressFile()
471 unzClose(zipFile); in DecompressFile()
479 std::string filePath = ExtractFile(zipFile, relativePath.c_str()); in DecompressFile()
483 unzCloseCurrentFile(zipFile); in DecompressFile()
484 unzGoToNextFile(zipFile); in DecompressFile()
486 unzClose(zipFile); in DecompressFile()
/foundation/graphic/graphic_2d/frameworks/bootanimation/include/
H A Dutil.h149 bool ReadImageFile(const unzFile zipFile, const std::string& fileName, ImageStructVec& imgVec,
157 bool CloseZipFile(const unzFile zipFile, bool ret);

Completed in 11 milliseconds