Lines Matching refs:writer
30 uint32_t compression_flags, IArchiveWriter* writer) { in CopyInputStreamToArchive() argument
36 if (!writer->WriteFile(out_path, compression_flags, in)) { in CopyInputStreamToArchive()
38 << " to archive: " << writer->GetError()); in CopyInputStreamToArchive()
45 uint32_t compression_flags, IArchiveWriter* writer) { in CopyFileToArchive() argument
52 return CopyInputStreamToArchive(context, data.get(), out_path, compression_flags, writer); in CopyFileToArchive()
56 const std::string& out_path, IArchiveWriter* writer) { in CopyFileToArchivePreserveCompression() argument
58 return CopyFileToArchive(context, file, out_path, compression_flags, writer); in CopyFileToArchivePreserveCompression()
63 IArchiveWriter* writer) { in CopyProtoToArchive() argument
69 if (writer->StartEntry(out_path, compression_flags)) { in CopyProtoToArchive()
73 ::google::protobuf::io::CopyingOutputStreamAdaptor adaptor(writer); in CopyProtoToArchive()
81 if (writer->FinishEntry()) { in CopyProtoToArchive()
86 << " to archive: " << writer->GetError()); in CopyProtoToArchive()