Home
last modified time | relevance | path

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

/base/hiviewdfx/hidumper/frameworks/native/include/util/zip/
Dzip_writer.h39 static zipFile OpenForZipping(const std::string &fileName, int append);
40 static bool ZipOpenNewFileInZip(zipFile zip_file, const std::string &strPath);
41 static bool AddFileContentToZip(zipFile zip_file, std::string &file_path);
42 static bool OpenNewFileEntry(zipFile zip_file, std::string &path);
43 static bool CloseNewFileEntry(zipFile zip_file);
44 …static bool AddFileEntryToZip(zipFile zip_file, std::string &relativePath, std::string &absolutePa…
48 zipFile zipFile_;
/base/global/resource_management_lite/frameworks/resmgr_lite/src/utils/
Dhap_parser.cpp38 void UnzCloseFileAndLog(unzFile uf, const char *zipFile) in UnzCloseFileAndLog() argument
42 HILOG_ERROR("Error %d with zipfile %s in unzCloseCurrentFile", err, zipFile); in UnzCloseFileAndLog()
46 int32_t HapParser::ReadFileFromZip(const char *zipFile, const char *fileName, void **buffer, size_t… in ReadFileFromZip() argument
53 unzFile uf = unzOpen64(zipFile); // open zipfile stream in ReadFileFromZip()
55 errInfo = FormatString("Cannot open %s", zipFile); in ReadFileFromZip()
62 errInfo = FormatString("File %s not found in %s", fileName, zipFile); in ReadFileFromZip()
68 errInfo = FormatString("Error %d with zipfile %s in unzGetCurrentFileInfo.", err, zipFile); in ReadFileFromZip()
82 … errInfo = FormatString("Error %d with zipfile %s in unzOpenCurrentFilePassword.", err, zipFile); in ReadFileFromZip()
89 …HILOG_DEBUG("Extracting: %s from %s, file size: %lu", filenameInzip, zipFile, fileInfo.uncompresse… in ReadFileFromZip()
92 errInfo = FormatString("Error %d with zipfile %s in unzReadCurrentFile", err, zipFile); in ReadFileFromZip()
[all …]
/base/global/resource_management_lite/frameworks/resmgr_lite/include/
Dhap_parser.h40 static int32_t ReadFileFromZip(const char *zipFile, const char *fileName, void **buffer,
51 static int32_t ReadIndexFromFile(const char *zipFile, void **buffer,
/base/hiviewdfx/hidumper/frameworks/native/src/util/zip/
Dzip_writer.cpp150 zipFile ZipWriter::OpenForZipping(const std::string &fileName, int append) in OpenForZipping()
155 bool ZipWriter::ZipOpenNewFileInZip(zipFile zip_file, const std::string &strPath) in ZipOpenNewFileInZip()
172 bool ZipWriter::AddFileContentToZip(zipFile zip_file, std::string &file_path) in AddFileContentToZip()
209 bool ZipWriter::OpenNewFileEntry(zipFile zip_file, std::string &path) in OpenNewFileEntry()
219 bool ZipWriter::CloseNewFileEntry(zipFile zip_file) in CloseNewFileEntry()
230 bool ZipWriter::AddFileEntryToZip(zipFile zip_file, std::string &relativePath, std::string &absolut… in AddFileEntryToZip()
/base/update/packaging_tools/zipalign/src/main/java/com/ohos/
DZipAlign.java105 private static List<String> getEntryNamesFromZip(ZipFile zipFile) { in getEntryNamesFromZip() argument
107 for (Enumeration e = zipFile.entries(); e.hasMoreElements();) { in getEntryNamesFromZip()
/base/global/resource_management/frameworks/resmgr/include/
Dhap_parser.h55 …static int32_t ReadIndexFromFile(const char *zipFile, std::unique_ptr<uint8_t[]> &buffer, size_t &…
/base/global/resource_management/frameworks/resmgr/src/utils/
Dhap_parser.cpp174 int32_t HapParser::ReadIndexFromFile(const char *zipFile, std::unique_ptr<uint8_t[]> &buffer, in ReadIndexFromFile() argument
177 unzFile uf = unzOpen64(zipFile); in ReadIndexFromFile()
179 HILOG_ERROR("Error open %{public}s in ReadIndexFromFile %{public}d", zipFile, errno); in ReadIndexFromFile()