Lines Matching refs:ZipWriter
75 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()
236 if (flags & ZipWriter::kCompress) { in StartAlignedEntryWithTime()
239 int compression_level = (flags & ZipWriter::kDefaultCompression) ? 6 : 9; in StartAlignedEntryWithTime()
295 int32_t ZipWriter::DiscardLastEntry() { in DiscardLastEntry()
309 int32_t ZipWriter::GetLastEntry(FileEntry* out_entry) { in GetLastEntry()
319 int32_t ZipWriter::PrepareDeflate(int compression_level) { in PrepareDeflate()
347 int32_t ZipWriter::WriteBytes(const void* data, size_t len) { in WriteBytes()
375 int32_t ZipWriter::StoreBytes(FileEntry* file, const void* data, uint32_t len) { in StoreBytes()
386 int32_t ZipWriter::CompressBytes(FileEntry* file, const void* data, uint32_t len) { in CompressBytes()
421 int32_t ZipWriter::FlushCompressedBytes(FileEntry* file) { in FlushCompressedBytes()
459 bool ZipWriter::ShouldUseDataDescriptor() const { in ShouldUseDataDescriptor()
464 int32_t ZipWriter::FinishEntry() { in FinishEntry()
512 int32_t ZipWriter::Finish() { in Finish()