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 {
92 explicit ZipWriter(FILE* f);
95 ZipWriter(ZipWriter&& zipWriter) noexcept;
98 ZipWriter& operator=(ZipWriter&& zipWriter) noexcept;
162 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()
76 ZipWriter writer(file_); in TEST_F()
119 ZipWriter writer(file_); in TEST_F()
121 ASSERT_EQ(0, writer.StartEntry("align.txt", ZipWriter::kAlign32)); in TEST_F()
151 ZipWriter writer(file_); in TEST_F()
155 ASSERT_EQ(0, writer.StartEntryWithTime("align.txt", ZipWriter::kAlign32, time)); in TEST_F()
181 ZipWriter writer(file_); in TEST_F()
201 ZipWriter writer(file_); in TEST_F()
231 ZipWriter writer(file_); in TEST_F()
233 ASSERT_EQ(0, writer.StartEntry("file.txt", ZipWriter::kCompress)); in TEST_F()
[all …]
Dzip_archive_benchmark.cpp34 ZipWriter writer(fp); in CreateZip()
39 writer.StartEntry(lastName.c_str(), ZipWriter::kCompress); in CreateZip()
93 ZipWriter writer(fp); in StartAlignedEntry()
Dlibziparchive_writer_fuzzer.cpp20 ZipWriter writer(fp.get()); in LLVMFuzzerTestOneInput()
/system/extras/profcollectd/libprofcollectd/
Dreport.rs31 use zip::ZipWriter;
55 let mut zip = ZipWriter::new(report_file); in pack_report()
/system/extras/simpleperf/
Dcmd_api.cpp156 ZipWriter zip_writer(fp.get()); in CollectRecordingData()
163 int result = zip_writer.StartEntry(name.c_str(), ZipWriter::kCompress); in CollectRecordingData()