Home
last modified time | relevance | path

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

/external/zlib/google/
Dzip_writer.cc19 bool ZipWriter::ShouldContinue() { in ShouldContinue()
35 bool ZipWriter::AddFileContent(const base::FilePath& path, base::File file) { in AddFileContent()
62 bool ZipWriter::OpenNewFileEntry(const base::FilePath& path, in OpenNewFileEntry()
83 bool ZipWriter::CloseNewFileEntry() { in CloseNewFileEntry()
87 bool ZipWriter::AddFileEntry(const base::FilePath& path, base::File file) { in AddFileEntry()
102 bool ZipWriter::AddDirectoryEntry(const base::FilePath& path) { in AddDirectoryEntry()
128 std::unique_ptr<ZipWriter> ZipWriter::CreateWithFd( in CreateWithFd()
140 return std::unique_ptr<ZipWriter>(new ZipWriter(zip_file, file_accessor)); in CreateWithFd()
145 std::unique_ptr<ZipWriter> ZipWriter::Create( in Create()
157 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(const ZipWriter&) = delete;
48 ZipWriter& operator=(const ZipWriter&) = delete;
50 ~ZipWriter();
88 ZipWriter(zipFile zip_file, FileAccessor* file_accessor);
Dzip.cc128 std::unique_ptr<internal::ZipWriter> zip_writer; in Zip()
134 internal::ZipWriter::CreateWithFd(params.dest_fd, file_accessor); in Zip()
141 zip_writer = internal::ZipWriter::Create(params.dest_file, file_accessor); in Zip()
/external/angle/third_party/zlib/google/
Dzip_writer.cc19 bool ZipWriter::ShouldContinue() { in ShouldContinue()
35 bool ZipWriter::AddFileContent(const base::FilePath& path, base::File file) { in AddFileContent()
62 bool ZipWriter::OpenNewFileEntry(const base::FilePath& path, in OpenNewFileEntry()
83 bool ZipWriter::CloseNewFileEntry() { in CloseNewFileEntry()
87 bool ZipWriter::AddFileEntry(const base::FilePath& path, base::File file) { in AddFileEntry()
102 bool ZipWriter::AddDirectoryEntry(const base::FilePath& path) { in AddDirectoryEntry()
128 std::unique_ptr<ZipWriter> ZipWriter::CreateWithFd( in CreateWithFd()
140 return std::unique_ptr<ZipWriter>(new ZipWriter(zip_file, file_accessor)); in CreateWithFd()
145 std::unique_ptr<ZipWriter> ZipWriter::Create( in Create()
157 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(const ZipWriter&) = delete;
48 ZipWriter& operator=(const ZipWriter&) = delete;
50 ~ZipWriter();
88 ZipWriter(zipFile zip_file, FileAccessor* file_accessor);
Dzip.cc128 std::unique_ptr<internal::ZipWriter> zip_writer; in Zip()
134 internal::ZipWriter::CreateWithFd(params.dest_fd, file_accessor); in Zip()
141 zip_writer = internal::ZipWriter::Create(params.dest_file, file_accessor); 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.rs76 pub struct ZipWriter<W: Write + io::Seek> { struct
87 pub use zip_writer::ZipWriter; argument
202 impl<W: Write + io::Seek> Write for ZipWriter<W> { implementation
256 impl<A: Read + Write + io::Seek> ZipWriter<A> { implementation
258 pub fn new_append(mut readwriter: A) -> ZipResult<ZipWriter<A>> { in new_append()
285 Ok(ZipWriter { in new_append()
298 impl<W: Write + io::Seek> ZipWriter<W> { implementation
302 pub fn new(inner: W) -> ZipWriter<W> { in new()
303 ZipWriter { in new()
805 impl<W: Write + io::Seek> Drop for ZipWriter<W> { implementation
[all …]
Dlib.rs30 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.rs36 let mut zip = zip::ZipWriter::new(&mut tgt_file); in copy()
72 let mut zip = zip::ZipWriter::new_append(&mut file).unwrap(); in append()
93 let mut zip = zip::ZipWriter::new(file); in write_test_archive()
/external/rust/crates/zip/examples/
Dwrite_sample.rs28 let mut zip = zip::ZipWriter::new(file); in doit()
Dwrite_dir.rs74 let mut zip = zip::ZipWriter::new(writer); in zip_dir()