Searched refs:zip_file (Results 1 - 6 of 6) sorted by relevance
/base/hiviewdfx/hidumper/frameworks/native/include/util/zip/ |
H A D | zip_writer.h | 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 &absolutePath);
|
/base/hiviewdfx/hidumper/frameworks/native/src/util/zip/ |
H A D | zip_writer.cpp | 156 bool ZipWriter::ZipOpenNewFileInZip(zipFile zip_file, const std::string &strPath) in ZipOpenNewFileInZip() argument 163 int res = zipOpenNewFileInZip4(zip_file, strPath.c_str(), &fileInfo, in ZipOpenNewFileInZip() 173 bool ZipWriter::AddFileContentToZip(zipFile zip_file, std::string &file_path) in AddFileContentToZip() argument 196 if (zipWriteInFileInZip(zip_file, buf, readSum) != ZIP_OK) { in AddFileContentToZip() 210 bool ZipWriter::OpenNewFileEntry(zipFile zip_file, std::string &path) in OpenNewFileEntry() argument 214 bool ret = ZipOpenNewFileInZip(zip_file, path); in OpenNewFileEntry() 220 bool ZipWriter::CloseNewFileEntry(zipFile zip_file) in CloseNewFileEntry() argument 224 int res = zipCloseFileInZip(zip_file); in CloseNewFileEntry() 231 bool ZipWriter::AddFileEntryToZip(zipFile zip_file, std::string &relativePath, std::string &absolutePath) in AddFileEntryToZip() argument 236 if (!OpenNewFileEntry(zip_file, relativePat in AddFileEntryToZip() [all...] |
/base/update/packaging_tools/ |
H A D | update_package.py | 345 zip_file = zipfile.ZipFile(file_obj.name, 'w', zipfile.ZIP_DEFLATED)
350 zip_file.write(key, value)
359 zip_file.write(update_exe_path, UPDATE_EXE_FILE_NAME)
363 zip_file.write(total_script_file_obj.name, TOTAL_SCRIPT_FILE_NAME)
366 zip_file.write(register_script_file_obj.name, REGISTER_SCRIPT_FILE_NAME)
369 if create_hsd_for_build_tools(zip_file, files_to_sign) is False:
370 zip_file.close()
372 zip_file.close()
408 zip_file = zipfile.ZipFile(OPTIONS_MANAGER.update_package_file_path,
412 if callable(do_add_files) and do_add_files(zip_file) i [all...] |
H A D | build_hmp.py | 163 zip_file = zipfile.ZipFile(out_package_path, 'w', zipfile.ZIP_DEFLATED, allowZip64=True) 165 zip_file.write(module_file, os.path.basename(module_file)) 166 zip_file.write(pack_info, os.path.basename(pack_info)) 167 zip_file.close()
|
H A D | build_module_package.py | 393 zip_file = zipfile.ZipFile(unsigned_package, 'w') 397 zip_file.write(img_file_path, "module.img") 400 zip_file.write(module_file_path, "config.json") 404 zip_file.write(pub_key_file_path, 'pub_key.pem') 405 zip_file.close()
|
H A D | patch_package_process.py | 547 def package_block_patch(self, zip_file):
552 zip_file.write(self.new_dat_file_obj.name, self.partition_new_dat_file_name)
554 zip_file.write(self.patch_dat_file_obj.name, self.partition_patch_dat_file_name)
556 zip_file.write(self.transfer_list_file_obj.name, self.partition_transfer_file_name)
|
Completed in 3 milliseconds