Searched refs:zipFile (Results 1 – 7 of 7) sorted by relevance
/base/hiviewdfx/hidumper/frameworks/native/include/util/zip/ |
D | zip_writer.h | 39 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/ |
D | hap_parser.cpp | 38 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/ |
D | hap_parser.h | 40 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/ |
D | zip_writer.cpp | 150 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/ |
D | ZipAlign.java | 105 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/ |
D | hap_parser.h | 55 …static int32_t ReadIndexFromFile(const char *zipFile, std::unique_ptr<uint8_t[]> &buffer, size_t &…
|
/base/global/resource_management/frameworks/resmgr/src/utils/ |
D | hap_parser.cpp | 174 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()
|