Lines Matching refs:writer
50 IArchiveWriter* writer, uint32_t compression_flags) = 0;
51 virtual bool SerializeTable(ResourceTable* table, IArchiveWriter* writer) = 0;
52 virtual bool SerializeFile(FileReference* file, IArchiveWriter* writer) = 0;
71 IArchiveWriter* writer, uint32_t compression_flags) override { in SerializeXml() argument
80 return io::CopyInputStreamToArchive(context_, &input_stream, path, compression_flags, writer); in SerializeXml()
83 bool SerializeTable(ResourceTable* table, IArchiveWriter* writer) override { in SerializeTable() argument
92 ArchiveEntry::kAlign, writer); in SerializeTable()
95 bool SerializeFile(FileReference* file, IArchiveWriter* writer) override { in SerializeFile() argument
121 if (!SerializeXml(xml.get(), *file->path, false /*utf16*/, writer, in SerializeFile()
130 if (!io::CopyFileToArchivePreserveCompression(context_, file->file, *file->path, writer)) { in SerializeFile()
153 IArchiveWriter* writer, uint32_t compression_flags) override { in SerializeXml() argument
156 return io::CopyProtoToArchive(context_, &pb_node, path, compression_flags, writer); in SerializeXml()
159 bool SerializeTable(ResourceTable* table, IArchiveWriter* writer) override { in SerializeTable() argument
163 ArchiveEntry::kCompress, writer); in SerializeTable()
166 bool SerializeFile(FileReference* file, IArchiveWriter* writer) override { in SerializeFile() argument
183 if (!SerializeXml(xml.get(), *file->path, false /*utf16*/, writer, in SerializeFile()
192 if (!io::CopyFileToArchivePreserveCompression(context_, file->file, *file->path, writer)) { in SerializeFile()
371 unique_ptr<IArchiveWriter> writer = CreateZipFileArchiveWriter(context.GetDiagnostics(), in Action() local
373 if (writer == nullptr) { in Action()
388 return Convert(&context, apk.get(), writer.get(), format, table_flattener_options_, in Action()