Lines Matching refs:ZipWriter
48 // The ZipWriter is in a bad state.
73 const char* ZipWriter::ErrorCodeString(int32_t error_code) {
85 ZipWriter::ZipWriter(FILE* f) : file_(f), current_offset_(0), state_(State::kWritingZip),
89 ZipWriter::ZipWriter(ZipWriter&& writer) : file_(writer.file_),
99 ZipWriter& ZipWriter::operator=(ZipWriter&& writer) {
111 int32_t ZipWriter::HandleError(int32_t error_code) {
117 int32_t ZipWriter::StartEntry(const char* path, size_t flags) {
126 int32_t ZipWriter::StartAlignedEntry(const char* path, size_t flags, uint32_t alignment) {
130 int32_t ZipWriter::StartEntryWithTime(const char* path, size_t flags, time_t time) {
160 int32_t ZipWriter::StartAlignedEntryWithTime(const char* path, size_t flags,
190 if (flags & ZipWriter::kCompress) {
240 int32_t ZipWriter::PrepareDeflate() {
263 int32_t ZipWriter::WriteBytes(const void* data, size_t len) {
285 int32_t ZipWriter::StoreBytes(FileInfo* file, const void* data, size_t len) {
296 int32_t ZipWriter::CompressBytes(FileInfo* file, const void* data, size_t len) {
330 int32_t ZipWriter::FlushCompressedBytes(FileInfo* file) {
367 int32_t ZipWriter::FinishEntry() {
399 int32_t ZipWriter::Finish() {