Home
last modified time | relevance | path

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

1234

/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DDiagnosticInfo.h102 const DiagnosticSeverity Severity; variable
105 DiagnosticInfo(/* DiagnosticKind */ int Kind, DiagnosticSeverity Severity) in DiagnosticInfo() argument
106 : Kind(Kind), Severity(Severity) {} in DiagnosticInfo()
111 DiagnosticSeverity getSeverity() const { return Severity; } in getSeverity()
140 DiagnosticSeverity Severity = DS_Error)
141 : DiagnosticInfo(DK_InlineAsm, Severity), MsgStr(MsgStr) {} in DiagnosticInfo() argument
148 DiagnosticSeverity Severity = DS_Error)
149 : DiagnosticInfo(DK_InlineAsm, Severity), LocCookie(LocCookie), in DiagnosticInfo() argument
158 DiagnosticSeverity Severity = DS_Error);
193 DiagnosticSeverity Severity = DS_Warning,
[all …]
/external/webrtc/webrtc/base/java/src/org/webrtc/
DLogging.java62 public enum Severity { enum in Logging
86 String path, EnumSet<TraceLevel> levels, Severity severity) { in enableTracing()
103 public static void log(Severity severity, String tag, String message) { in log()
129 log(Severity.LS_INFO, tag, message); in d()
133 log(Severity.LS_ERROR, tag, message); in e()
137 log(Severity.LS_WARNING, tag, message); in w()
141 log(Severity.LS_ERROR, tag, message); in e()
142 log(Severity.LS_ERROR, tag, e.toString()); in e()
143 log(Severity.LS_ERROR, tag, getStackTraceString(e)); in e()
147 log(Severity.LS_WARNING, tag, message); in w()
[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 …]
DDiagnostic.h188 diag::Severity ExtBehavior; // Map extensions to warnings or errors?
522 void setExtensionHandlingBehavior(diag::Severity H) { ExtBehavior = H; } in setExtensionHandlingBehavior()
523 diag::Severity getExtensionHandlingBehavior() const { return ExtBehavior; } in getExtensionHandlingBehavior()
541 void setSeverity(diag::kind Diag, diag::Severity Map, SourceLocation Loc);
555 diag::Severity Map,
577 void setSeverityForAll(diag::Flavor Flavor, diag::Severity Map,
654 diag::Severity::Ignored; in isIgnored()
780 DiagnosticMapping makeUserMapping(diag::Severity Map, SourceLocation L) { in makeUserMapping()
/external/clang/lib/Basic/
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 …]
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 …]
DDiagnostic.cpp78 ExtBehavior = diag::Severity::Ignored; in DiagnosticsEngine()
181 void DiagnosticsEngine::setSeverity(diag::kind Diag, diag::Severity Map, in setSeverity()
186 (Map == diag::Severity::Fatal || Map == diag::Severity::Error)) && in setSeverity()
194 if (Map == diag::Severity::Warning) { in setSeverity()
196 if (Info.getSeverity() == diag::Severity::Error || in setSeverity()
197 Info.getSeverity() == diag::Severity::Fatal) in setSeverity()
250 StringRef Group, diag::Severity Map, in setSeverityForGroup()
270 diag::Severity::Error); in setDiagnosticGroupWarningAsError()
285 if (Info.getSeverity() == diag::Severity::Error || in setDiagnosticGroupWarningAsError()
286 Info.getSeverity() == diag::Severity::Fatal) in setDiagnosticGroupWarningAsError()
[all …]
/external/tensorflow/tensorflow/compiler/tf2tensorrt/utils/
Dtrt_logger.cc26 void Logger::log(Severity severity, const char* msg) { in log()
30 case Severity::kVERBOSE: in log()
32 case Severity::kINFO: { // Mark TRT info messages as debug! in log()
36 case Severity::kWARNING: { in log()
40 case Severity::kERROR: { in log()
44 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()
Dchannelz.h150 void AddTraceEvent(ChannelTrace::Severity severity, grpc_slice data) { in AddTraceEvent()
153 void AddTraceEventWithReference(ChannelTrace::Severity severity, in AddTraceEventWithReference()
181 void AddTraceEvent(ChannelTrace::Severity severity, grpc_slice data) { in AddTraceEvent()
184 void AddTraceEventWithReference(ChannelTrace::Severity severity, in AddTraceEventWithReference()
/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()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/
Dtensorrt_test.cc32 void log(nvinfer1::ILogger::Severity severity, const char* msg) override { in log()
34 case Severity::kINFO: in log()
37 case Severity::kWARNING: in log()
40 case Severity::kINTERNAL_ERROR: in log()
41 case Severity::kERROR: in log()
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/channelz/v1/
DChannelTraceEvent.java143 public enum Severity enum in ChannelTraceEvent
194 public static Severity valueOf(int value) { in valueOf()
198 public static Severity forNumber(int value) { in forNumber()
208 public static com.google.protobuf.Internal.EnumLiteMap<Severity>
213 Severity> internalValueMap =
214 new com.google.protobuf.Internal.EnumLiteMap<Severity>() {
215 public Severity findValueByNumber(int number) {
216 return Severity.forNumber(number);
233 private static final Severity[] VALUES = values();
235 public static Severity valueOf( in valueOf()
[all …]
/external/llvm/lib/LTO/
DLTOCodeGenerator.cpp617 lto_codegen_diagnostic_severity_t Severity; in DiagnosticHandler2() local
620 Severity = LTO_DS_ERROR; in DiagnosticHandler2()
623 Severity = LTO_DS_WARNING; in DiagnosticHandler2()
626 Severity = LTO_DS_REMARK; in DiagnosticHandler2()
629 Severity = LTO_DS_NOTE; in DiagnosticHandler2()
642 (*DiagHandler)(Severity, MsgStorage.c_str(), DiagContext); in DiagnosticHandler2()
662 LTODiagnosticInfo(const Twine &DiagMsg, DiagnosticSeverity Severity=DS_Error) in LTODiagnosticInfo() argument
663 : DiagnosticInfo(DK_Linker, Severity), Msg(DiagMsg) {} in LTODiagnosticInfo()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/
DLTOCodeGenerator.cpp613 lto_codegen_diagnostic_severity_t Severity; in DiagnosticHandler() local
616 Severity = LTO_DS_ERROR; in DiagnosticHandler()
619 Severity = LTO_DS_WARNING; in DiagnosticHandler()
622 Severity = LTO_DS_REMARK; in DiagnosticHandler()
625 Severity = LTO_DS_NOTE; in DiagnosticHandler()
638 (*DiagHandler)(Severity, MsgStorage.c_str(), DiagContext); in DiagnosticHandler()
670 LTODiagnosticInfo(const Twine &DiagMsg, DiagnosticSeverity Severity=DS_Error) in LTODiagnosticInfo() argument
671 : DiagnosticInfo(DK_Linker, Severity), Msg(DiagMsg) {} in LTODiagnosticInfo()
/external/swiftshader/src/OpenGL/compiler/preprocessor/
DDiagnosticsBase.h31 enum Severity enum
100 Severity severity(ID id);
/external/clang/lib/CodeGen/
DCodeGenAction.cpp349 #define ComputeDiagID(Severity, GroupName, DiagID) \ argument
351 switch (Severity) { \
367 #define ComputeDiagRemarkID(Severity, GroupName, DiagID) \ argument
369 switch (Severity) { \
580 llvm::DiagnosticSeverity Severity = DI.getSeverity(); in DiagnosticHandlerImpl() local
586 ComputeDiagID(Severity, inline_asm, DiagID); in DiagnosticHandlerImpl()
591 ComputeDiagID(Severity, backend_frame_larger_than, DiagID); in DiagnosticHandlerImpl()
596 if (Severity != DS_Error) in DiagnosticHandlerImpl()
638 ComputeDiagRemarkID(Severity, backend_plugin, DiagID); in DiagnosticHandlerImpl()
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dclient_channel_channelz.h80 void AddTraceEvent(ChannelTrace::Severity severity, grpc_slice data) { in AddTraceEvent()
83 void AddTraceEventWithReference(ChannelTrace::Severity severity, in AddTraceEventWithReference()
/external/clang/lib/Frontend/
DPrintPreprocessedOutput.cpp138 diag::Severity Map, StringRef Str) override;
453 diag::Severity Map, in PragmaDiagnostic()
459 case diag::Severity::Remark: in PragmaDiagnostic()
462 case diag::Severity::Warning: in PragmaDiagnostic()
465 case diag::Severity::Error: in PragmaDiagnostic()
468 case diag::Severity::Ignored: in PragmaDiagnostic()
471 case diag::Severity::Fatal: in PragmaDiagnostic()
/external/google-breakpad/src/processor/
Dlogging.h95 enum Severity { enum
103 LogStream(std::ostream &stream, Severity severity,

1234