Home
last modified time | relevance | path

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

/system/libziparchive/include/ziparchive/
Dzip_writer.h55 class ZipWriter {
98 explicit ZipWriter(FILE* f);
101 ZipWriter(ZipWriter&& zipWriter) noexcept;
104 ZipWriter& operator=(ZipWriter&& zipWriter) noexcept;
168 DISALLOW_COPY_AND_ASSIGN(ZipWriter);
/system/libziparchive/
Dzip_writer.cc75 const char* ZipWriter::ErrorCodeString(int32_t error_code) { in ErrorCodeString()
87 ZipWriter::ZipWriter(FILE* f) in ZipWriter() function in ZipWriter
102 ZipWriter::ZipWriter(ZipWriter&& writer) noexcept in ZipWriter() function in ZipWriter
114 ZipWriter& ZipWriter::operator=(ZipWriter&& writer) noexcept { in operator =()
127 int32_t ZipWriter::HandleError(int32_t error_code) { in HandleError()
133 int32_t ZipWriter::StartEntry(std::string_view path, size_t flags) { in StartEntry()
142 int32_t ZipWriter::StartAlignedEntry(std::string_view path, size_t flags, uint32_t alignment) { in StartAlignedEntry()
146 int32_t ZipWriter::StartEntryWithTime(std::string_view path, size_t flags, time_t time) { in StartEntryWithTime()
176 static void CopyFromFileEntry(const ZipWriter::FileEntry& src, bool use_data_descriptor, in CopyFromFileEntry()
201 int32_t ZipWriter::StartAlignedEntryWithTime(std::string_view path, size_t flags, time_t time, in StartAlignedEntryWithTime()
[all …]
Dzip_writer_test.cc49 ZipWriter writer(file_); in TEST_F()
74 ZipWriter writer(file_); in TEST_F()
78 ASSERT_EQ(0, writer.StartEntry("file.txt", ZipWriter::kCompress)); in TEST_F()
98 ZipWriter writer(file_); in TEST_F()
125 ZipWriter writer(file_); in TEST_F()
168 ZipWriter writer(file_); in TEST_F()
170 ASSERT_EQ(0, writer.StartEntry("align.txt", ZipWriter::kAlign32)); in TEST_F()
200 ZipWriter writer(file_); in TEST_F()
204 ASSERT_EQ(0, writer.StartEntryWithTime("align.txt", ZipWriter::kAlign32, time)); in TEST_F()
230 ZipWriter writer(file_); in TEST_F()
[all …]
Dzip_archive_benchmark.cpp36 ZipWriter writer(fp); in CreateZip()
44 writer.StartEntry(name.c_str(), compress ? ZipWriter::kCompress : 0); in CreateZip()
108 ZipWriter writer(fp); in StartAlignedEntry()
Dlibziparchive_writer_fuzzer.cpp19 ZipWriter writer(fp.get()); in LLVMFuzzerTestOneInput()
/system/extras/profcollectd/libprofcollectd/
Dreport.rs31 use zip::ZipWriter;
62 let mut zip = ZipWriter::new(report_file); in pack_report()
/system/extras/simpleperf/
Dcmd_api.cpp239 ZipWriter zip_writer(fp.get()); in CollectRecordingData()
246 int result = zip_writer.StartEntry(name.c_str(), ZipWriter::kCompress); in CollectRecordingData()