Home
last modified time | relevance | path

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

/external/angle/third_party/zlib/google/
Dzip_writer.cc30 bool ZipWriter::ShouldContinue() { in ShouldContinue()
46 bool ZipWriter::AddFileContent(const base::FilePath& path, base::File file) { in AddFileContent()
73 bool ZipWriter::OpenNewFileEntry(const base::FilePath& path, in OpenNewFileEntry()
86 bool ZipWriter::CloseNewFileEntry() { in CloseNewFileEntry()
90 bool ZipWriter::AddFileEntry(const base::FilePath& path, base::File file) { in AddFileEntry()
105 bool ZipWriter::AddDirectoryEntry(const base::FilePath& path) { in AddDirectoryEntry()
133 std::unique_ptr<ZipWriter> ZipWriter::CreateWithFd( in CreateWithFd()
145 return std::unique_ptr<ZipWriter>(new ZipWriter(zip_file, file_accessor)); in CreateWithFd()
150 std::unique_ptr<ZipWriter> ZipWriter::Create( in Create()
162 return std::unique_ptr<ZipWriter>(new ZipWriter(zip_file, file_accessor)); in Create()
[all …]
Dzip_writer.h34 class ZipWriter {
40 static std::unique_ptr<ZipWriter> CreateWithFd(int zip_file_fd,
44 static std::unique_ptr<ZipWriter> Create(const base::FilePath& zip_file,
47 ~ZipWriter();
80 ZipWriter(zipFile zip_file, FileAccessor* file_accessor);
139 DISALLOW_COPY_AND_ASSIGN(ZipWriter);
Dzip.cc125 std::unique_ptr<internal::ZipWriter> zip_writer; in Zip()
131 internal::ZipWriter::CreateWithFd(params.dest_fd, file_accessor); in Zip()
138 zip_writer = internal::ZipWriter::Create(params.dest_file, file_accessor); in Zip()
/external/zlib/google/
Dzip_writer.cc88 std::unique_ptr<ZipWriter> ZipWriter::CreateWithFd( in CreateWithFd()
99 return std::unique_ptr<ZipWriter>( in CreateWithFd()
100 new ZipWriter(zip_file, root_dir, file_accessor)); in CreateWithFd()
105 std::unique_ptr<ZipWriter> ZipWriter::Create( in Create()
116 return std::unique_ptr<ZipWriter>( in Create()
117 new ZipWriter(zip_file, root_dir, file_accessor)); in Create()
120 ZipWriter::ZipWriter(zipFile zip_file, in ZipWriter() function in zip::internal::ZipWriter
125 ZipWriter::~ZipWriter() { in ~ZipWriter()
129 bool ZipWriter::WriteEntries(const std::vector<base::FilePath>& paths) { in WriteEntries()
133 bool ZipWriter::AddEntries(const std::vector<base::FilePath>& paths) { in AddEntries()
[all …]
Dzip_writer.h31 class ZipWriter {
37 static std::unique_ptr<ZipWriter> CreateWithFd(int zip_file_fd,
41 static std::unique_ptr<ZipWriter> Create(const base::FilePath& zip_file,
44 ~ZipWriter();
53 ZipWriter(zipFile zip_file,
85 DISALLOW_COPY_AND_ASSIGN(ZipWriter);
Dzip.cc156 std::unique_ptr<internal::ZipWriter> zip_writer; in Zip()
160 zip_writer = internal::ZipWriter::CreateWithFd( in Zip()
167 zip_writer = internal::ZipWriter::Create( in Zip()
/external/protobuf/src/google/protobuf/compiler/
Dzip_writer.cc138 ZipWriter::ZipWriter(io::ZeroCopyOutputStream* raw_output) in ZipWriter() function in google::protobuf::compiler::ZipWriter
140 ZipWriter::~ZipWriter() {} in ~ZipWriter()
142 bool ZipWriter::Write(const std::string& filename, in Write()
173 bool ZipWriter::WriteDirectory() { in WriteDirectory()
Dzip_writer.h71 class ZipWriter {
73 ZipWriter(io::ZeroCopyOutputStream* raw_output);
74 ~ZipWriter();
Dcommand_line_interface.cc550 ZipWriter zip_writer(&stream); in WriteAllToZip()
/external/rust/crates/zip/src/
Dwrite.rs66 pub struct ZipWriter<W: Write + io::Seek> { struct
156 impl<W: Write + io::Seek> Write for ZipWriter<W> { implementation
197 impl<W: Write + io::Seek> ZipWriter<W> { impl
201 pub fn new(inner: W) -> ZipWriter<W> { in new()
202 ZipWriter { in new()
498 impl<W: Write + io::Seek> Drop for ZipWriter<W> { implementation
741 use super::{FileOptions, ZipWriter};
749 let mut writer = ZipWriter::new(io::Cursor::new(Vec::new())); in write_empty_zip()
761 let mut writer = ZipWriter::new(io::Cursor::new(Vec::new())); in write_zip_dir()
789 let mut writer = ZipWriter::new(io::Cursor::new(Vec::new())); in write_mimetype_zip()
Dlib.rs11 pub use crate::write::ZipWriter;
/external/rust/crates/zip/benches/
Dread_entry.rs7 use zip::{ZipArchive, ZipWriter};
11 let mut writer = ZipWriter::new(Cursor::new(data)); in generate_random_archive()
/external/rust/crates/zip/tests/
Dend_to_end.rs30 let mut zip = zip::ZipWriter::new(&mut tgt_file); in copy()
50 let mut zip = zip::ZipWriter::new(file); in write_to_zip()
/external/rust/crates/zip/examples/
Dwrite_sample.rs28 let mut zip = zip::ZipWriter::new(file); in doit()
Dwrite_dir.rs69 let mut zip = zip::ZipWriter::new(writer); in zip_dir()