Lines Matching refs:io
79 io::BigBufferInputStream input_stream(&buffer); in SerializeXml()
80 return io::CopyInputStreamToArchive(context_, &input_stream, path, compression_flags, writer); in SerializeXml()
90 io::BigBufferInputStream input_stream(&buffer); in SerializeTable()
91 return io::CopyInputStreamToArchive(context_, &input_stream, kApkResourceTablePath, in SerializeTable()
97 unique_ptr<io::InputStream> in = file->file->OpenInputStream(); in SerializeFile()
105 io::ProtoInputStreamReader proto_reader(in.get()); in SerializeFile()
130 if (!io::CopyFileToArchivePreserveCompression(context_, file->file, *file->path, writer)) { in SerializeFile()
156 return io::CopyProtoToArchive(context_, &pb_node, path, compression_flags, writer); in SerializeXml()
162 return io::CopyProtoToArchive(context_, &pb_table, kProtoResourceTablePath, in SerializeTable()
168 std::unique_ptr<io::IData> data = file->file->OpenAsData(); in SerializeFile()
192 if (!io::CopyFileToArchivePreserveCompression(context_, file->file, *file->path, writer)) { in SerializeFile()
272 io::IFile* manifest = apk->GetFileCollection()->FindFile(kAndroidManifestPath); in Convert()
323 std::unique_ptr<io::IFileCollectionIterator> iterator = apk->GetFileCollection()->Iterator(); in Convert()
325 io::IFile* file = iterator->Next(); in Convert()
336 if (!io::CopyFileToArchivePreserveCompression(context, file, path, output_writer)) { in Convert()