Home
last modified time | relevance | path

Searched refs:Severity (Results 1 – 25 of 173) sorted by relevance

1234567

/external/llvm/include/llvm/IR/
DDiagnosticInfo.h91 const DiagnosticSeverity Severity; variable
94 DiagnosticInfo(/* DiagnosticKind */ int Kind, DiagnosticSeverity Severity) in DiagnosticInfo() argument
95 : Kind(Kind), Severity(Severity) {} in DiagnosticInfo()
100 DiagnosticSeverity getSeverity() const { return Severity; } in getSeverity()
129 DiagnosticSeverity Severity = DS_Error)
130 : DiagnosticInfo(DK_InlineAsm, Severity), LocCookie(0), MsgStr(MsgStr), in DiagnosticInfo() argument
138 DiagnosticSeverity Severity = DS_Error)
139 : DiagnosticInfo(DK_InlineAsm, Severity), LocCookie(LocCookie), in DiagnosticInfo() argument
148 DiagnosticSeverity Severity = DS_Error);
184 DiagnosticSeverity Severity = DS_Warning,
[all …]
/external/rust/crates/codespan-reporting/src/
Ddiagnostic.rs21 pub enum Severity { enum
34 impl Severity { impl
38 Severity::Bug => 5, in to_cmp_int()
39 Severity::Error => 4, in to_cmp_int()
40 Severity::Warning => 3, in to_cmp_int()
41 Severity::Note => 2, in to_cmp_int()
42 Severity::Help => 1, in to_cmp_int()
47 impl PartialOrd for Severity { implementation
48 fn partial_cmp(&self, other: &Severity) -> Option<std::cmp::Ordering> { in partial_cmp()
121 pub severity: Severity,
[all …]
/external/webrtc/rtc_base/java/src/org/webrtc/
DLogging.java46 private static Severity loggableSeverity;
54 static void injectLoggable(Loggable injectedLoggable, Severity severity) { in injectLoggable()
91 public enum Severity { LS_VERBOSE, LS_INFO, LS_WARNING, LS_ERROR, LS_NONE } enum in Logging
110 public static synchronized void enableLogToDebugOutput(Severity severity) { in enableLogToDebugOutput()
120 public static void log(Severity severity, String tag, String message) { in log()
159 log(Severity.LS_INFO, tag, message); in d()
163 log(Severity.LS_ERROR, tag, message); in e()
167 log(Severity.LS_WARNING, tag, message); in w()
171 log(Severity.LS_ERROR, tag, message); in e()
172 log(Severity.LS_ERROR, tag, e.toString()); in e()
[all …]
/external/llvm-project/clang/include/clang/Basic/
DDiagnosticIDs.h80 enum class Severity { enum
100 unsigned Severity : 3; variable
108 static DiagnosticMapping Make(diag::Severity Severity, bool IsUser, in Make() argument
111 Result.Severity = (unsigned)Severity; in Make()
120 diag::Severity getSeverity() const { return (diag::Severity)Severity; } in getSeverity()
121 void setSeverity(diag::Severity Value) { Severity = (unsigned)Value; } in setSeverity()
127 return getSeverity() == diag::Severity::Error || in isErrorOrFatal()
128 getSeverity() == diag::Severity::Fatal; in isErrorOrFatal()
146 (HasNoErrorAsFatal << 4) | (WasUpgradedFromWarning << 3) | Severity; in serialize()
156 Result.Severity = Bits & 0x7; in deserialize()
[all …]
DDiagnostic.td17 class Severity<string N> {
20 def SEV_Ignored : Severity<"Ignored">;
21 def SEV_Remark : Severity<"Remark">;
22 def SEV_Warning : Severity<"Warning">;
23 def SEV_Error : Severity<"Error">;
24 def SEV_Fatal : Severity<"Fatal">;
78 class Diagnostic<string text, DiagClass DC, Severity defaultmapping> {
88 Severity DefaultSeverity = defaultmapping;
140 class DefaultIgnore { Severity DefaultSeverity = SEV_Ignored; }
141 class DefaultWarn { Severity DefaultSeverity = SEV_Warning; }
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDiagnosticInfo.h103 const DiagnosticSeverity Severity; variable
107 DiagnosticInfo(/* DiagnosticKind */ int Kind, DiagnosticSeverity Severity) in DiagnosticInfo() argument
108 : Kind(Kind), Severity(Severity) {} in DiagnosticInfo()
113 DiagnosticSeverity getSeverity() const { return Severity; } in getSeverity()
142 DiagnosticSeverity Severity = DS_Error)
143 : DiagnosticInfo(DK_InlineAsm, Severity), MsgStr(MsgStr) {} in DiagnosticInfo() argument
150 DiagnosticSeverity Severity = DS_Error)
151 : DiagnosticInfo(DK_InlineAsm, Severity), LocCookie(LocCookie), in DiagnosticInfo() argument
160 DiagnosticSeverity Severity = DS_Error);
195 DiagnosticSeverity Severity = DS_Warning,
[all …]
/external/llvm-project/llvm/include/llvm/IR/
DDiagnosticInfo.h104 const DiagnosticSeverity Severity; variable
108 DiagnosticInfo(/* DiagnosticKind */ int Kind, DiagnosticSeverity Severity) in DiagnosticInfo() argument
109 : Kind(Kind), Severity(Severity) {} in DiagnosticInfo()
114 DiagnosticSeverity getSeverity() const { return Severity; } in getSeverity()
143 DiagnosticSeverity Severity = DS_Error)
144 : DiagnosticInfo(DK_InlineAsm, Severity), MsgStr(MsgStr) {} in DiagnosticInfo() argument
151 DiagnosticSeverity Severity = DS_Error)
152 : DiagnosticInfo(DK_InlineAsm, Severity), LocCookie(LocCookie), in DiagnosticInfo() argument
161 DiagnosticSeverity Severity = DS_Error);
196 DiagnosticSeverity Severity = DS_Warning,
[all …]
/external/clang/include/clang/Basic/
DDiagnosticIDs.h62 enum class Severity { enum
82 unsigned Severity : 3; variable
89 static DiagnosticMapping Make(diag::Severity Severity, bool IsUser, in Make() argument
92 Result.Severity = (unsigned)Severity; in Make()
100 diag::Severity getSeverity() const { return (diag::Severity)Severity; } in getSeverity()
101 void setSeverity(diag::Severity Value) { Severity = (unsigned)Value; } in setSeverity()
264 diag::Severity
DDiagnostic.td16 class Severity<string N> {
19 def SEV_Ignored : Severity<"Ignored">;
20 def SEV_Remark : Severity<"Remark">;
21 def SEV_Warning : Severity<"Warning">;
22 def SEV_Error : Severity<"Error">;
23 def SEV_Fatal : Severity<"Fatal">;
64 class Diagnostic<string text, DiagClass DC, Severity defaultmapping> {
73 Severity DefaultSeverity = defaultmapping;
107 class DefaultIgnore { Severity DefaultSeverity = SEV_Ignored; }
108 class DefaultWarn { Severity DefaultSeverity = SEV_Warning; }
[all …]
/external/clang/lib/Basic/
DWarnings.cpp67 Diags.setExtensionHandlingBehavior(diag::Severity::Error); in ProcessWarningOptions()
69 Diags.setExtensionHandlingBehavior(diag::Severity::Warning); in ProcessWarningOptions()
71 Diags.setExtensionHandlingBehavior(diag::Severity::Ignored); in ProcessWarningOptions()
107 diag::Severity Mapping = in ProcessWarningOptions()
108 isPositive ? diag::Severity::Warning : diag::Severity::Ignored; in ProcessWarningOptions()
126 Diags.setSeverityForAll(Flavor, diag::Severity::Ignored); in ProcessWarningOptions()
207 auto Severity = IsPositive ? diag::Severity::Remark in ProcessWarningOptions() local
208 : diag::Severity::Ignored; in ProcessWarningOptions()
215 Diags.setSeverityForAll(Flavor, Severity); in ProcessWarningOptions()
225 IsPositive ? diag::Severity::Remark in ProcessWarningOptions()
[all …]
DDiagnosticIDs.cpp159 diag::Severity::Fatal, /*IsUser=*/false, /*IsPragma=*/false); in GetDefaultDiagMapping()
162 Info.setSeverity((diag::Severity)StaticInfo->DefaultSeverity); in GetDefaultDiagMapping()
165 assert(Info.getSeverity() == diag::Severity::Warning && in GetDefaultDiagMapping()
346 GetDefaultDiagMapping(DiagID).getSeverity() != diag::Severity::Ignored; in isBuiltinExtensionDiag()
354 return GetDefaultDiagMapping(DiagID).getSeverity() >= diag::Severity::Error; in isDefaultMappingAsError()
366 static DiagnosticIDs::Level toLevel(diag::Severity SV) { in toLevel()
368 case diag::Severity::Ignored: in toLevel()
370 case diag::Severity::Remark: in toLevel()
372 case diag::Severity::Warning: in toLevel()
374 case diag::Severity::Error: in toLevel()
[all …]
/external/llvm-project/clang/lib/Basic/
DWarnings.cpp67 Diags.setExtensionHandlingBehavior(diag::Severity::Error); in ProcessWarningOptions()
69 Diags.setExtensionHandlingBehavior(diag::Severity::Warning); in ProcessWarningOptions()
71 Diags.setExtensionHandlingBehavior(diag::Severity::Ignored); in ProcessWarningOptions()
107 diag::Severity Mapping = in ProcessWarningOptions()
108 isPositive ? diag::Severity::Warning : diag::Severity::Ignored; in ProcessWarningOptions()
126 Diags.setSeverityForAll(Flavor, diag::Severity::Ignored); in ProcessWarningOptions()
210 auto Severity = IsPositive ? diag::Severity::Remark in ProcessWarningOptions() local
211 : diag::Severity::Ignored; in ProcessWarningOptions()
218 Diags.setSeverityForAll(Flavor, Severity); in ProcessWarningOptions()
228 IsPositive ? diag::Severity::Remark in ProcessWarningOptions()
[all …]
DDiagnosticIDs.cpp258 diag::Severity::Fatal, /*IsUser=*/false, /*IsPragma=*/false); in GetDefaultDiagMapping()
261 Info.setSeverity((diag::Severity)StaticInfo->DefaultSeverity); in GetDefaultDiagMapping()
264 assert(Info.getSeverity() == diag::Severity::Warning && in GetDefaultDiagMapping()
449 GetDefaultDiagMapping(DiagID).getSeverity() != diag::Severity::Ignored; in isBuiltinExtensionDiag()
457 return GetDefaultDiagMapping(DiagID).getSeverity() >= diag::Severity::Error; in isDefaultMappingAsError()
469 static DiagnosticIDs::Level toLevel(diag::Severity SV) { in toLevel()
471 case diag::Severity::Ignored: in toLevel()
473 case diag::Severity::Remark: in toLevel()
475 case diag::Severity::Warning: in toLevel()
477 case diag::Severity::Error: in toLevel()
[all …]
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/
DLoggableTest.java23 import org.webrtc.Logging.Severity;
33 private ArrayList<Severity> sevs = new ArrayList<>();
37 public void onLogMessage(String message, Severity sev, String tag) { in onLogMessage()
52 public boolean isMessageReceived(String message, Severity sev, String tag) { in isMessageReceived()
69 .setInjectableLogger(mockLoggable, Severity.LS_INFO) in testLoggableSetWithoutError()
79 .setInjectableLogger(mockLoggable, Severity.LS_INFO) in testMessageIsLoggedCorrectly()
84 assertTrue(mockLoggable.isMessageReceived(msg, Severity.LS_INFO, TAG)); in testMessageIsLoggedCorrectly()
93 .setInjectableLogger(mockLoggable, Severity.LS_WARNING) in testLowSeverityIsFiltered()
106 .setInjectableLogger(mockLoggable, Severity.LS_INFO) in testLoggableDoesNotReceiveMessagesAfterUnsetting()
124 .setInjectableLogger(mockLoggable, Severity.LS_INFO) in testNativeMessageIsLoggedCorrectly()
[all …]
/external/rust/crates/codespan-reporting/src/term/
Dconfig.rs3 use crate::diagnostic::{LabelStyle, Severity};
139 pub fn header(&self, severity: Severity) -> &ColorSpec { in header()
141 Severity::Bug => &self.header_bug, in header()
142 Severity::Error => &self.header_error, in header()
143 Severity::Warning => &self.header_warning, in header()
144 Severity::Note => &self.header_note, in header()
145 Severity::Help => &self.header_help, in header()
150 pub fn label(&self, severity: Severity, label_style: LabelStyle) -> &ColorSpec { in label() argument
152 (LabelStyle::Primary, Severity::Bug) => &self.primary_label_bug, in label()
153 (LabelStyle::Primary, Severity::Error) => &self.primary_label_error, in label()
[all …]
Drenderer.rs5 use crate::diagnostic::{LabelStyle, Severity};
141 severity: Severity, in render_header() argument
162 Severity::Bug => write!(self, "bug")?, in render_header()
163 Severity::Error => write!(self, "error")?, in render_header()
164 Severity::Warning => write!(self, "warning")?, in render_header()
165 Severity::Help => write!(self, "help")?, in render_header()
166 Severity::Note => write!(self, "note")?, in render_header()
233 severity: Severity, in render_snippet_source() argument
604 severity: Severity, in render_snippet_empty() argument
623 severity: Severity, in render_snippet_break() argument
[all …]
/external/tensorflow/tensorflow/compiler/tf2tensorrt/utils/
Dtrt_logger.cc27 void Logger::log(Severity severity, const char* msg) { in log()
31 case Severity::kVERBOSE: in log()
33 case Severity::kINFO: { // Mark TRT info messages as debug! in log()
37 case Severity::kWARNING: { in log()
41 case Severity::kERROR: { in log()
45 case Severity::kINTERNAL_ERROR: { in log()
/external/grpc-grpc/src/core/lib/channel/
Dchannel_trace.h43 enum Severity { enum
55 void AddTraceEvent(Severity severity, grpc_slice data);
65 void AddTraceEventWithReference(Severity severity, grpc_slice data,
78 TraceEvent(Severity severity, grpc_slice data,
83 TraceEvent(Severity severity, grpc_slice data);
96 Severity severity_;
Dchannel_trace.cc44 ChannelTrace::TraceEvent::TraceEvent(Severity severity, grpc_slice data, in TraceEvent()
53 ChannelTrace::TraceEvent::TraceEvent(Severity severity, grpc_slice data) in TraceEvent()
106 void ChannelTrace::AddTraceEvent(Severity severity, grpc_slice data) { in AddTraceEvent()
112 Severity severity, grpc_slice data, in AddTraceEventWithReference()
122 const char* severity_string(ChannelTrace::Severity severity) { in severity_string()
124 case ChannelTrace::Severity::Info: in severity_string()
126 case ChannelTrace::Severity::Warning: in severity_string()
128 case ChannelTrace::Severity::Error: in severity_string()
/external/llvm-project/clang/test/TableGen/
DDiagnosticBase.inc17 class Severity<string N> {
20 def SEV_Ignored : Severity<"Ignored">;
21 def SEV_Remark : Severity<"Remark">;
22 def SEV_Warning : Severity<"Warning">;
23 def SEV_Error : Severity<"Error">;
24 def SEV_Fatal : Severity<"Fatal">;
70 class Diagnostic<string text, DiagClass DC, Severity defaultmapping> {
80 Severity DefaultSeverity = defaultmapping;
132 class DefaultIgnore { Severity DefaultSeverity = SEV_Ignored; }
133 class DefaultWarn { Severity DefaultSeverity = SEV_Warning; }
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/lib/channel/
Dchannel_trace.h47 enum Severity { enum
65 void AddTraceEvent(Severity severity, const grpc_slice& data);
75 void AddTraceEventWithReference(Severity severity, const grpc_slice& data,
90 TraceEvent(Severity severity, const grpc_slice& data,
95 TraceEvent(Severity severity, const grpc_slice& data);
110 Severity severity_;
Dchannel_trace.cc44 ChannelTrace::TraceEvent::TraceEvent(Severity severity, const grpc_slice& data, in TraceEvent()
54 ChannelTrace::TraceEvent::TraceEvent(Severity severity, const grpc_slice& data) in TraceEvent()
112 void ChannelTrace::AddTraceEvent(Severity severity, const grpc_slice& data) { in AddTraceEvent()
121 Severity severity, const grpc_slice& data, in AddTraceEventWithReference()
134 const char* severity_string(ChannelTrace::Severity severity) { in severity_string()
136 case ChannelTrace::Severity::Info: in severity_string()
138 case ChannelTrace::Severity::Warning: in severity_string()
140 case ChannelTrace::Severity::Error: in severity_string()
/external/grpc-grpc/test/core/channel/
Dchannel_trace_test.cc92 tracer->AddTraceEvent(ChannelTrace::Severity::Info, in AddSimpleTrace()
144 tracer.AddTraceEvent(ChannelTrace::Severity::Info, in TEST_P()
146 tracer.AddTraceEvent(ChannelTrace::Severity::Error, in TEST_P()
172 ChannelTrace::Severity::Info, in TEST_P()
190 ChannelTrace::Severity::Info, in TEST_P()
193 ChannelTrace::Severity::Warning, in TEST_P()
220 ChannelTrace::Severity::Info, in TEST_P()
230 ChannelTrace::Severity::Info, in TEST_P()
242 ChannelTrace::Severity::Info, in TEST_P()
247 ChannelTrace::Severity::Warning, in TEST_P()
/external/tcpdump/tests/
Dsyslog-v.out3 Facility kernel (0), Severity notice (5)
7 Facility user (1), Severity alert (1)
11 Facility user (1), Severity notice (5)
15 Facility user (1), Severity alert (1)
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DChannelTracerTest.java23 import io.grpc.InternalChannelz.ChannelTrace.Event.Severity;
52 .setDescription("e1").setSeverity(Severity.CT_ERROR).setTimestampNanos(1001).build(); in reportEvents()
54 .setDescription("e2").setSeverity(Severity.CT_INFO).setTimestampNanos(1002).build(); in reportEvents()
56 .setDescription("e3").setSeverity(Severity.CT_WARNING).setTimestampNanos(1003).build(); in reportEvents()
58 .setDescription("e4").setSeverity(Severity.CT_UNKNOWN).setTimestampNanos(1004).build(); in reportEvents()

1234567