Searched refs:Diagnostic (Results 1 - 17 of 17) sorted by relevance

/frameworks/support/room/compiler/src/main/kotlin/androidx/room/log/
H A DRLog.kt25 import javax.tools.Diagnostic
26 import javax.tools.Diagnostic.Kind.ERROR
27 import javax.tools.Diagnostic.Kind.NOTE
28 import javax.tools.Diagnostic.Kind.WARNING
74 fun printMessage(kind: Diagnostic.Kind, msg: String, element: Element? = null)
78 override fun printMessage(kind: Diagnostic.Kind, msg: String, element: Element?) {
84 private val messages = mutableMapOf<Diagnostic.Kind, MutableList<Pair<String, Element?>>> ()
85 override fun printMessage(kind: Diagnostic.Kind, msg: String, element: Element?) {
91 fun hasErrors() = messages.containsKey(Diagnostic.Kind.ERROR)
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
H A DL.java27 import javax.tools.Diagnostic;
28 import javax.tools.Diagnostic.Kind;
55 printMessage(null, Diagnostic.Kind.NOTE, String.format(msg, args));
61 printMessage(element, Diagnostic.Kind.NOTE, String.format(msg, args));
67 printMessage(null, Diagnostic.Kind.NOTE,
101 printMessage(null, Diagnostic.Kind.ERROR, fullMsg);
107 printMessage(element, Diagnostic.Kind.ERROR, fullMsg);
113 printMessage(null, Diagnostic.Kind.ERROR,
117 private static void printMessage(Element element, Diagnostic.Kind kind, String message) {
127 if (kind == Diagnostic
[all...]
/frameworks/compile/mclinker/lib/LD/
H A DDiagnosticPrinter.cpp26 const Diagnostic& pInfo) {
H A DDiagnostic.cpp1 //===- Diagnostic.cpp -----------------------------------------------------===//
9 #include "mcld/LD/Diagnostic.h"
22 // Diagnostic
23 Diagnostic::Diagnostic(DiagnosticEngine& pEngine) : m_Engine(pEngine) { function in class:mcld::Diagnostic
26 Diagnostic::~Diagnostic() {
31 void Diagnostic::format(std::string& pOutStr) const {
38 const char* Diagnostic::findMatch(char pVal,
70 void Diagnostic
[all...]
H A DDiagnosticInfos.cpp13 #include "mcld/LD/Diagnostic.h"
113 Diagnostic info(pEngine);
H A DTextDiagnosticPrinter.cpp47 const Diagnostic& pInfo) {
/frameworks/compile/mclinker/include/mcld/LD/
H A DDiagnosticPrinter.h12 #include "mcld/LD/Diagnostic.h"
38 const Diagnostic& pInfo);
H A DDiagnostic.h1 //===- Diagnostic.h -------------------------------------------------------===//
19 /** \class Diagnostic
20 * \brief Diagnostic provides current status to DiagnosticPrinters.
22 class Diagnostic { class in namespace:mcld
24 explicit Diagnostic(DiagnosticEngine& pEngine);
26 ~Diagnostic();
H A DTextDiagnosticPrinter.h32 const Diagnostic& pInfo);
H A DDiagnosticEngine.h88 friend class Diagnostic;
/frameworks/compile/slang/
H A Dslang_diagnostic_buffer.h23 #include "clang/Basic/Diagnostic.h"
48 const clang::Diagnostic &Info) override;
H A Dslang_diagnostic_buffer.cpp37 clang::Diagnostic const &Info) {
66 slangAssert(0 && "Diagnostic not handled during diagnostic buffering!");
H A Dslang_rs_ast_replace.h26 class Diagnostic;
H A Dslang.h56 class Diagnostic;
/frameworks/support/lifecycle/compiler/src/main/kotlin/androidx/lifecycle/
H A Dtransformation.kt27 import javax.tools.Diagnostic
42 processingEnv.messager.printMessage(Diagnostic.Kind.ERROR,
105 processingEnv.messager.printMessage(Diagnostic.Kind.WARNING,
H A Dinput_collector.kt36 import javax.tools.Diagnostic
117 processingEnv.messager.printMessage(Diagnostic.Kind.ERROR, msg, elem)
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/annotation/
H A DAnnotationAnalyzer.java36 import javax.tools.Diagnostic;
60 public void printMessage(Diagnostic.Kind kind, String message, Element element) {

Completed in 483 milliseconds