HomeSort by relevance Sort by last modified time
    Searched refs:ZipWriter (Results 1 - 13 of 13) sorted by null

  /external/protobuf/src/google/protobuf/compiler/
zip_writer.h 71 class ZipWriter {
73 ZipWriter(io::ZeroCopyOutputStream* raw_output);
74 ~ZipWriter();
zip_writer.cc 135 ZipWriter::ZipWriter(io::ZeroCopyOutputStream* raw_output)
137 ZipWriter::~ZipWriter() {}
139 bool ZipWriter::Write(const string& filename, const string& contents) {
169 bool ZipWriter::WriteDirectory() {
command_line_interface.cc 516 // Create the ZipWriter
518 ZipWriter zip_writer(&stream);
    [all...]
  /system/core/include/ziparchive/
zip_writer.h 38 * ZipWriter writer(file);
40 * writer.StartEntry("test.txt", ZipWriter::kCompress | ZipWriter::kAlign);
52 class ZipWriter {
85 * Create a ZipWriter that will write into a FILE stream. The file should be opened with
86 * open mode of "wb" or "w+b". ZipWriter does not take ownership of the file stream. The
89 explicit ZipWriter(FILE* f);
92 ZipWriter(ZipWriter&& zipWriter);
    [all...]
  /system/core/libziparchive/
zip_writer.cc 51 // The ZipWriter is in a bad state.
76 const char* ZipWriter::ErrorCodeString(int32_t error_code) {
88 ZipWriter::ZipWriter(FILE* f) : file_(f), seekable_(false), current_offset_(0),
99 ZipWriter::ZipWriter(ZipWriter&& writer) : file_(writer.file_),
110 ZipWriter& ZipWriter::operator=(ZipWriter&& writer)
    [all...]
zip_writer_test.cc 30 struct zipwriter : public ::testing::Test { struct in inherits:::testing::Test
48 TEST_F(zipwriter, WriteUncompressedZipWithOneFile) {
49 ZipWriter writer(file_);
75 TEST_F(zipwriter, WriteUncompressedZipWithMultipleFiles) {
76 ZipWriter writer(file_);
118 TEST_F(zipwriter, WriteUncompressedZipFileWithAlignedFlag) {
119 ZipWriter writer(file_);
121 ASSERT_EQ(0, writer.StartEntry("align.txt", ZipWriter::kAlign32));
161 TEST_F(zipwriter, WriteUncompressedZipFileWithAlignedFlagAndTime) {
162 ZipWriter writer(file_)
    [all...]
  /bionic/tests/libs/
bionic_tests_zipalign.cpp 76 ZipWriter writer(zip_dst);
85 flags |= ZipWriter::kCompress;
90 fprintf(stderr, "StartAlignedEntry failed: %s\n", ZipWriter::ErrorCodeString(error));
99 fprintf(stderr, "WriteBytes failed: %s\n", ZipWriter::ErrorCodeString(error));
109 fprintf(stderr, "FinishEntry failed: %s\n", ZipWriter::ErrorCodeString(error));
115 fprintf(stderr, "Finish failed: %s\n", ZipWriter::ErrorCodeString(error));
  /frameworks/base/tools/aapt2/flatten/
Archive.cpp 129 writer_ = util::make_unique<ZipWriter>(file_.get());
140 zip_flags |= ZipWriter::kCompress;
144 zip_flags |= ZipWriter::kAlign32;
149 error_ = ZipWriter::ErrorCodeString(result);
158 error_ = ZipWriter::ErrorCodeString(result);
167 error_ = ZipWriter::ErrorCodeString(result);
197 ZipWriter::FileEntry last_entry;
210 error_ = ZipWriter::ErrorCodeString(result);
236 std::unique_ptr<ZipWriter> writer_;
  /bootable/recovery/tests/component/
install_test.cpp 38 ZipWriter writer(zip_file);
55 ZipWriter writer(zip_file);
71 ZipWriter compatibility_zip_writer(compatibility_zip);
81 ZipWriter writer(zip_file);
116 ZipWriter compatibility_zip_writer(compatibility_zip);
126 ZipWriter writer(zip_file);
153 ZipWriter writer(zip_file);
197 ZipWriter writer(zip_file);
imgdiff_test.cpp 138 ZipWriter src_writer(src_file_ptr);
148 ZipWriter tgt_writer(tgt_file_ptr);
191 ZipWriter src_writer(src_file_ptr);
192 ASSERT_EQ(0, src_writer.StartEntry("file1.txt", ZipWriter::kCompress));
201 ZipWriter tgt_writer(tgt_file_ptr);
202 ASSERT_EQ(0, tgt_writer.StartEntry("file1.txt", ZipWriter::kCompress));
244 ZipWriter src_writer(src_file_ptr);
245 ASSERT_EQ(0, src_writer.StartEntry("file1.txt", ZipWriter::kCompress));
254 ZipWriter tgt_writer(tgt_file_ptr);
255 ASSERT_EQ(0, tgt_writer.StartEntry("file1.txt", ZipWriter::kCompress))
    [all...]
updater_test.cpp 518 ZipWriter zip_writer(zip_file_ptr);
  /frameworks/native/cmds/dumpstate/
dumpstate.cpp 713 int32_t err = zip_writer_->StartEntryWithTime(valid_name.c_str(), ZipWriter::kCompress,
717 ZipWriter::ErrorCodeString(err));
732 MYLOGE("zip_writer_->WriteBytes(): %s\n", ZipWriter::ErrorCodeString(err));
739 MYLOGE("zip_writer_->FinishEntry(): %s\n", ZipWriter::ErrorCodeString(err));
779 int32_t err = zip_writer_->StartEntryWithTime(entry_name.c_str(), ZipWriter::kCompress, ds.now_);
782 ZipWriter::ErrorCodeString(err));
789 ZipWriter::ErrorCodeString(err));
795 MYLOGE("zip_writer_->FinishEntry(): %s\n", ZipWriter::ErrorCodeString(err));
    [all...]
dumpstate.h 330 std::unique_ptr<ZipWriter> zip_writer_;

Completed in 1273 milliseconds