Lines Matching refs:context_
46 IApkSerializer(IAaptContext* context, const Source& source) : context_(context), in IApkSerializer()
57 IAaptContext* context_; member in aapt::IApkSerializer
75 if (!flattener.Consume(context_, xml)) { in SerializeXml()
80 return io::CopyInputStreamToArchive(context_, &input_stream, path, compression_flags, writer); in SerializeXml()
86 if (!table_flattener.Consume(context_, table)) { in SerializeTable()
91 return io::CopyInputStreamToArchive(context_, &input_stream, kApkResourceTablePath, in SerializeTable()
99 context_->GetDiagnostics()->Error(DiagMessage(source_) in SerializeFile()
107 context_->GetDiagnostics()->Error(DiagMessage(source_) in SerializeFile()
115 context_->GetDiagnostics()->Error(DiagMessage(source_) in SerializeFile()
123 context_->GetDiagnostics()->Error(DiagMessage(source_) in SerializeFile()
130 if (!io::CopyFileToArchivePreserveCompression(context_, file->file, *file->path, writer)) { in SerializeFile()
131 context_->GetDiagnostics()->Error(DiagMessage(source_) in SerializeFile()
156 return io::CopyProtoToArchive(context_, &pb_node, path, compression_flags, writer); in SerializeXml()
161 SerializeTableToPb(*table, &pb_table, context_->GetDiagnostics()); in SerializeTable()
162 return io::CopyProtoToArchive(context_, &pb_table, kProtoResourceTablePath, in SerializeTable()
170 context_->GetDiagnostics()->Error(DiagMessage(source_) in SerializeFile()
178 context_->GetDiagnostics()->Error(DiagMessage(source_) << "failed to parse binary XML: " in SerializeFile()
185 context_->GetDiagnostics()->Error(DiagMessage(source_) in SerializeFile()
192 if (!io::CopyFileToArchivePreserveCompression(context_, file->file, *file->path, writer)) { in SerializeFile()
193 context_->GetDiagnostics()->Error(DiagMessage(source_) in SerializeFile()