Lines Matching refs:GetDiagnostics

152       context->GetDiagnostics()->Error(DiagMessage(path_data.source)  in CompileTable()
168 ResourceParser res_parser(context->GetDiagnostics(), &table, path_data.source, path_data.config, in CompileTable()
199 context->GetDiagnostics()->Error(DiagMessage(output_path) << "failed to open"); in CompileTable()
210 SerializeTableToPb(table, &pb_table, context->GetDiagnostics()); in CompileTable()
212 context->GetDiagnostics()->Error(DiagMessage(output_path) << "failed to write"); in CompileTable()
218 context->GetDiagnostics()->Error(DiagMessage(output_path) << "failed to finish entry"); in CompileTable()
226 context->GetDiagnostics()->Error(DiagMessage() in CompileTable()
342 context->GetDiagnostics()->Error(DiagMessage(input_path) in IsValidFile()
345 context->GetDiagnostics()->Error(DiagMessage(input_path) << "file not found"); in IsValidFile()
347 context->GetDiagnostics()->Error(DiagMessage(input_path) in IsValidFile()
360 context->GetDiagnostics()->Note(DiagMessage(path_data.source) << "compiling XML"); in CompileXml()
367 context->GetDiagnostics()->Error(DiagMessage(path_data.source) in CompileXml()
372 xmlres = xml::Inflate(fin.get(), context->GetDiagnostics(), path_data.source); in CompileXml()
397 context->GetDiagnostics()->Error(DiagMessage(output_path) << "failed to open file"); in CompileXml()
411 context->GetDiagnostics())) { in CompileXml()
417 context->GetDiagnostics())) { in CompileXml()
424 context->GetDiagnostics()->Error(DiagMessage(output_path) << "failed to finish writing data"); in CompileXml()
432 context->GetDiagnostics()->Error(DiagMessage() in CompileXml()
460 context->GetDiagnostics()->Note(DiagMessage(path_data.source) << "compiling PNG"); in CompilePng()
473 context->GetDiagnostics()->Error(DiagMessage(path_data.source) << "failed to open file "); in CompilePng()
494 context->GetDiagnostics()->Error(DiagMessage() << err); in CompilePng()
511 context->GetDiagnostics()->Note(DiagMessage(path_data.source) << "9-patch: " in CompilePng()
530 context->GetDiagnostics()->Note(DiagMessage(path_data.source) in CompilePng()
547 Png png(context->GetDiagnostics()); in CompilePng()
552 context->GetDiagnostics()->Note(DiagMessage(path_data.source) in CompilePng()
560 context->GetDiagnostics()); in CompilePng()
568 context->GetDiagnostics()->Note(DiagMessage(path_data.source) << "compiling file"); in CompileFile()
579 context->GetDiagnostics()->Error(DiagMessage(path_data.source) << "failed to open file "); in CompileFile()
584 context->GetDiagnostics()); in CompileFile()
605 IDiagnostics* GetDiagnostics() override { in GetDiagnostics() function in aapt::CompileContext
666 context->GetDiagnostics()->Error(DiagMessage(file->GetSource()) << err_str); in Compile()
689 context->GetDiagnostics()->Error(DiagMessage() in Compile()
700 context->GetDiagnostics()->Error(DiagMessage(file->GetSource()) in Compile()
708 context->GetDiagnostics()->Error(DiagMessage(file->GetSource()) << "file failed to compile"); in Compile()
729 context.GetDiagnostics()->Error( in Action()
741 context.GetDiagnostics()->Error(DiagMessage() in Action()
746 context.GetDiagnostics()->Error(DiagMessage() << "files given but --dir specified"); in Action()
755 context.GetDiagnostics()->Error(DiagMessage(options_.res_dir.value()) << err); in Action()
759 archive_writer = CreateZipFileArchiveWriter(context.GetDiagnostics(), options_.output_path); in Action()
762 context.GetDiagnostics()->Error(DiagMessage() << "files given but --zip specified"); in Action()
771 context.GetDiagnostics()->Error(DiagMessage(options_.res_zip.value()) << err); in Action()
775 archive_writer = CreateZipFileArchiveWriter(context.GetDiagnostics(), options_.output_path); in Action()
788 archive_writer = CreateDirectoryArchiveWriter(context.GetDiagnostics(), options_.output_path); in Action()