Home
last modified time | relevance | path

Searched refs:severity (Results 1 – 25 of 373) sorted by relevance

12345678910>>...15

/third_party/skia/third_party/externals/angle2/src/common/
Ddebug.cpp51 constexpr const char *LogSeverityName(int severity) in LogSeverityName() argument
53 return (severity >= 0 && severity < LOG_NUM_SEVERITIES) ? g_logSeverityNames[severity] in LogSeverityName()
57 bool ShouldCreateLogMessage(LogSeverity severity) in ShouldCreateLogMessage() argument
62 return severity == LOG_FATAL || severity == LOG_ERR || severity == LOG_WARN; in ShouldCreateLogMessage()
73 bool ShouldCreatePlatformLogMessage(LogSeverity severity) in ShouldCreatePlatformLogMessage() argument
78 return severity != LOG_EVENT; in ShouldCreatePlatformLogMessage()
170 LogMessage::LogMessage(const char *file, const char *function, int line, LogSeverity severity) in LogMessage() argument
171 : mFile(file), mFunction(function), mLine(line), mSeverity(severity) in LogMessage()
211 void Trace(LogSeverity severity, const char *message) in Trace() argument
213 if (!ShouldCreateLogMessage(severity)) in Trace()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/common/
Ddebug.cpp42 constexpr const char *LogSeverityName(int severity) in LogSeverityName() argument
44 return (severity >= 0 && severity < LOG_NUM_SEVERITIES) ? g_logSeverityNames[severity] in LogSeverityName()
48 bool ShouldCreateLogMessage(LogSeverity severity) in ShouldCreateLogMessage() argument
53 return severity != LOG_EVENT; in ShouldCreateLogMessage()
64 bool ShouldCreatePlatformLogMessage(LogSeverity severity) in ShouldCreatePlatformLogMessage() argument
69 return severity != LOG_EVENT; in ShouldCreatePlatformLogMessage()
144 LogMessage::LogMessage(const char *function, int line, LogSeverity severity) in LogMessage() argument
145 : mFunction(function), mLine(line), mSeverity(severity) in LogMessage()
184 void Trace(LogSeverity severity, const char *message) in Trace() argument
186 if (!ShouldCreateLogMessage(severity)) in Trace()
[all …]
/third_party/boost/libs/regex/test/
Dtest_macros.hpp46 inline void report_severity(int severity) in report_severity() argument
48 if(severity == error_on_fail) in report_severity()
50 else if(severity == abort_on_fail) in report_severity()
57 #define BOOST_MP_REPORT_SEVERITY(severity) report_severity(severity) argument
60 void report_unexpected_exception(const E& e, int severity, const char* file, int line, const char* … in report_unexpected_exception() argument
64 BOOST_MP_REPORT_SEVERITY(severity); in report_unexpected_exception()
67 #define BOOST_MP_UNEXPECTED_EXCEPTION_CHECK(severity) \ argument
69 { report_unexpected_exception(__e, severity, __FILE__, __LINE__, BOOST_CURRENT_FUNCTION); }\
71 …T_TEST_OSTREAM << "Exception of unknown type was thrown" << std::endl; report_severity(severity); }
74 #define BOOST_CHECK_IMP(x, severity)\ argument
[all …]
/third_party/gn/src/base/mac/
Dmac_logging.h37 LogSeverity severity,
50 #define OSSTATUS_LOG_STREAM(severity, status) \ argument
51 COMPACT_GOOGLE_LOG_EX_##severity(OSStatusLogMessage, status).stream()
53 #define OSSTATUS_LOG(severity, status) \ argument
54 LAZY_STREAM(OSSTATUS_LOG_STREAM(severity, status), LOG_IS_ON(severity))
55 #define OSSTATUS_LOG_IF(severity, condition, status) \ argument
56 LAZY_STREAM(OSSTATUS_LOG_STREAM(severity, status), \
57 LOG_IS_ON(severity) && (condition))
63 #define OSSTATUS_DLOG(severity, status) \ argument
64 LAZY_STREAM(OSSTATUS_LOG_STREAM(severity, status), DLOG_IS_ON(severity))
[all …]
/third_party/cef/include/base/
Dcef_logging.h243 #define LOG_IS_ON(severity) \ argument
244 ((::cef::logging::LOG_##severity) >= ::cef::logging::GetMinLogLevel())
266 #define LOG_STREAM(severity) COMPACT_GOOGLE_LOG_##severity.stream() argument
268 #define LOG(severity) LAZY_STREAM(LOG_STREAM(severity), LOG_IS_ON(severity)) argument
269 #define LOG_IF(severity, condition) \ argument
270 LAZY_STREAM(LOG_STREAM(severity), LOG_IS_ON(severity) && (condition))
272 #define SYSLOG(severity) LOG(severity) argument
273 #define SYSLOG_IF(severity, condition) LOG_IF(severity, condition) argument
313 #define PLOG_STREAM(severity) \ argument
314 COMPACT_GOOGLE_LOG_EX_##severity(Win32ErrorLogMessage, \
[all …]
/third_party/boost/libs/multiprecision/test/
Dtest.hpp135 inline void report_severity(int severity) in report_severity() argument
137 if (severity == error_on_fail) in report_severity()
139 else if (severity == abort_on_fail) in report_severity()
146 #define BOOST_MP_REPORT_SEVERITY(severity) report_severity(severity) argument
149 void report_unexpected_exception(const E& e, int severity, const char* file, int line, const char* … in report_unexpected_exception() argument
153 BOOST_MP_REPORT_SEVERITY(severity); in report_unexpected_exception()
157 #define BOOST_MP_UNEXPECTED_EXCEPTION_CHECK(severity) \ argument
160 report_unexpected_exception(e, severity, __FILE__, __LINE__, BOOST_CURRENT_FUNCTION); \
165 report_severity(severity); \
169 #define BOOST_MP_UNEXPECTED_EXCEPTION_CHECK(severity) argument
[all …]
/third_party/gn/src/base/
Dlogging.h114 bool ShouldCreateLogMessage(int severity);
206 #define LOG_IS_ON(severity) \ argument
207 (::logging::ShouldCreateLogMessage(::logging::LOG_##severity))
222 #define LOG_STREAM(severity) COMPACT_GOOGLE_LOG_##severity.stream() argument
224 #define LOG(severity) LAZY_STREAM(LOG_STREAM(severity), LOG_IS_ON(severity)) argument
225 #define LOG_IF(severity, condition) \ argument
226 LAZY_STREAM(LOG_STREAM(severity), LOG_IS_ON(severity) && (condition))
233 #define PLOG_STREAM(severity) \ argument
234 COMPACT_GOOGLE_LOG_EX_##severity(Win32ErrorLogMessage, \
238 #define PLOG_STREAM(severity) \ argument
[all …]
Dlogging.cc67 const char* log_severity_name(int severity) { in log_severity_name() argument
68 if (severity >= 0 && severity < LOG_NUM_SEVERITIES) in log_severity_name()
69 return log_severity_names[severity]; in log_severity_name()
100 bool ShouldCreateLogMessage(int severity) { in ShouldCreateLogMessage() argument
101 if (severity < g_min_log_level) in ShouldCreateLogMessage()
107 return severity >= kAlwaysPrintErrorLevel; in ShouldCreateLogMessage()
143 LogMessage::LogMessage(const char* file, int line, LogSeverity severity) in LogMessage() argument
144 : severity_(severity) { in LogMessage()
163 LogSeverity severity, in LogMessage() argument
165 : severity_(severity) { in LogMessage()
[all …]
/third_party/flutter/engine/flutter/fml/
Dlogging.h22 LogMessage(LogSeverity severity,
44 bool ShouldCreateLogMessage(LogSeverity severity);
48 #define FML_LOG_STREAM(severity) \ argument
49 ::fml::LogMessage(::fml::LOG_##severity, __FILE__, __LINE__, nullptr).stream()
60 #define FML_LOG_IS_ON(severity) \ argument
61 (::fml::ShouldCreateLogMessage(::fml::LOG_##severity))
63 #define FML_LOG(severity) \ argument
64 FML_LAZY_STREAM(FML_LOG_STREAM(severity), FML_LOG_IS_ON(severity))
83 #define FML_DLOG(severity) FML_LOG(severity) argument
86 #define FML_DLOG(severity) FML_EAT_STREAM_PARAMETERS(true) argument
Dlogging.cc27 const char* GetNameForLogSeverity(LogSeverity severity) { in GetNameForLogSeverity() argument
28 if (severity >= LOG_INFO && severity < LOG_NUM_SEVERITIES) in GetNameForLogSeverity()
29 return kLogSeverityNames[severity]; in GetNameForLogSeverity()
49 LogMessage::LogMessage(LogSeverity severity, in LogMessage() argument
53 : severity_(severity), file_(file), line_(line) { in LogMessage()
55 if (severity >= LOG_INFO) in LogMessage()
56 stream_ << GetNameForLogSeverity(severity); in LogMessage()
58 stream_ << "VERBOSE" << -severity; in LogMessage()
59 stream_ << ":" << (severity > LOG_INFO ? StripDots(file_) : StripPath(file_)) in LogMessage()
119 bool ShouldCreateLogMessage(LogSeverity severity) { in ShouldCreateLogMessage() argument
[all …]
/third_party/gettext/gettext-tools/src/
Dpo-xerror.c49 xerror (int severity, const char *prefix_tail, in xerror() argument
78 if (severity >= PO_SEVERITY_ERROR) in xerror()
84 if (severity == PO_SEVERITY_FATAL_ERROR) in xerror()
90 (severity == PO_SEVERITY_FATAL_ERROR ? EXIT_FAILURE : 0); in xerror()
112 if (severity < PO_SEVERITY_ERROR) in xerror()
121 textmode_xerror (int severity, in textmode_xerror() argument
127 (severity == PO_SEVERITY_WARNING ? _("warning: ") : ""); in textmode_xerror()
136 xerror (severity, prefix_tail, filename, lineno, column, in textmode_xerror()
141 textmode_xerror2 (int severity, in textmode_xerror2() argument
150 (severity == PO_SEVERITY_FATAL_ERROR ? PO_SEVERITY_ERROR : severity); in textmode_xerror2()
[all …]
/third_party/boost/boost/log/sources/
Dseverity_logger.hpp50 features< severity< LevelT > >
58 explicit severity_logger(LevelT level) : base_type(keywords::severity = level) in severity_logger()
72 features< severity< LevelT > >
80 explicit severity_logger_mt(LevelT level) : base_type(keywords::severity = level) in severity_logger_mt()
98 features< severity< LevelT > >
106 explicit wseverity_logger(LevelT level) : base_type(keywords::severity = level) in wseverity_logger()
120 features< severity< LevelT > >
128 explicit wseverity_logger_mt(LevelT level) : base_type(keywords::severity = level) in wseverity_logger_mt()
150 features< severity< LevelT > >
194 features< severity< LevelT > >
[all …]
Dseverity_channel_logger.hpp52 severity< LevelT >,
70 severity< LevelT >,
92 severity< LevelT >,
110 severity< LevelT >,
136 severity< LevelT >,
177 severity< LevelT >,
218 severity< LevelT >,
259 severity< LevelT >,
298 …AMS((logger), (::boost::log::keywords::channel = (chan))(::boost::log::keywords::severity = (lvl)))
/third_party/grpc/src/core/lib/gpr/
Dlog.cc50 const char* gpr_log_severity_string(gpr_log_severity severity) { in gpr_log_severity_string() argument
51 switch (severity) { in gpr_log_severity_string()
62 int gpr_should_log(gpr_log_severity severity) { in gpr_should_log() argument
63 return static_cast<gpr_atm>(severity) >= in gpr_should_log()
69 int gpr_should_log_stacktrace(gpr_log_severity severity) { in gpr_should_log_stacktrace() argument
70 return static_cast<gpr_atm>(severity) >= in gpr_should_log_stacktrace()
76 void gpr_log_message(const char* file, int line, gpr_log_severity severity, in gpr_log_message() argument
78 if (gpr_should_log(severity) == 0) { in gpr_log_message()
86 lfargs.severity = severity; in gpr_log_message()
Dlog_android.cc32 static LogLevel severity_to_log_priority(gpr_log_severity severity) { in severity_to_log_priority() argument
33 switch (severity) { in severity_to_log_priority()
44 void gpr_log(const char* file, int line, gpr_log_severity severity, in gpr_log() argument
47 if (gpr_should_log(severity) == 0) { in gpr_log()
55 gpr_log_message(file, line, severity, message); in gpr_log()
69 …HiLogPrint(LOG_CORE, severity_to_log_priority(args->severity), DEVELOPTOOLS_GPRC_TAG, "GRPC", "%s:… in gpr_default_log()
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
Draw_logging.h44 #define ABSL_RAW_LOG(severity, ...) \ argument
49 ::absl::raw_logging_internal::RawLog(ABSL_RAW_LOGGING_INTERNAL_##severity, \
75 #define ABSL_INTERNAL_LOG(severity, message) \ argument
79 ABSL_RAW_LOGGING_INTERNAL_##severity, \
81 if (ABSL_RAW_LOGGING_INTERNAL_##severity == ::absl::LogSeverity::kFatal) \
98 #define ABSL_RAW_LOGGING_INTERNAL_LEVEL(severity) \ argument
99 ::absl::NormalizeLogSeverity(severity)
109 void RawLog(absl::LogSeverity severity, const char* file, int line,
154 using LogPrefixHook = bool (*)(absl::LogSeverity severity, const char* file,
173 using InternalLogFunction = void (*)(absl::LogSeverity severity,
Draw_logging.cc133 void RawLogVA(absl::LogSeverity severity, const char* file, int line,
135 void RawLogVA(absl::LogSeverity severity, const char* file, int line, in RawLogVA() argument
147 if (severity < static_cast<absl::LogSeverity>(ABSL_MIN_LOG_LEVEL) && in RawLogVA()
148 severity < absl::LogSeverity::kFatal) { in RawLogVA()
155 enabled = log_prefix_hook_ptr(severity, file, line, &buf, &size); in RawLogVA()
180 if (severity == absl::LogSeverity::kFatal) { in RawLogVA()
190 void DefaultInternalLog(absl::LogSeverity severity, const char* file, int line, in DefaultInternalLog() argument
192 RawLog(severity, file, line, "%.*s", static_cast<int>(message.size()), in DefaultInternalLog()
212 void RawLog(absl::LogSeverity severity, const char* file, int line, in RawLog() argument
216 RawLogVA(severity, file, line, format, ap); in RawLog()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_debug.c81 enum mesa_debug_severity severity; in st_debug_message() local
87 severity = MESA_DEBUG_SEVERITY_MEDIUM; in st_debug_message()
92 severity = MESA_DEBUG_SEVERITY_MEDIUM; in st_debug_message()
97 severity = MESA_DEBUG_SEVERITY_NOTIFICATION; in st_debug_message()
102 severity = MESA_DEBUG_SEVERITY_NOTIFICATION; in st_debug_message()
107 severity = MESA_DEBUG_SEVERITY_NOTIFICATION; in st_debug_message()
112 severity = MESA_DEBUG_SEVERITY_NOTIFICATION; in st_debug_message()
117 severity = MESA_DEBUG_SEVERITY_NOTIFICATION; in st_debug_message()
122 _mesa_gl_vdebugf(st->ctx, id, source, type, severity, fmt, args); in st_debug_message()
/third_party/abseil-cpp/absl/base/internal/
Draw_logging.h44 #define ABSL_RAW_LOG(severity, ...) \ argument
49 ::absl::raw_logging_internal::RawLog(ABSL_RAW_LOGGING_INTERNAL_##severity, \
75 #define ABSL_INTERNAL_LOG(severity, message) \ argument
79 ABSL_RAW_LOGGING_INTERNAL_##severity, \
96 #define ABSL_RAW_LOGGING_INTERNAL_LEVEL(severity) \ argument
97 ::absl::NormalizeLogSeverity(severity)
107 void RawLog(absl::LogSeverity severity, const char* file, int line,
152 using LogPrefixHook = bool (*)(absl::LogSeverity severity, const char* file,
171 using InternalLogFunction = void (*)(absl::LogSeverity severity,
Draw_logging.cc131 void RawLogVA(absl::LogSeverity severity, const char* file, int line,
133 void RawLogVA(absl::LogSeverity severity, const char* file, int line, in RawLogVA() argument
145 if (severity < static_cast<absl::LogSeverity>(ABSL_MIN_LOG_LEVEL) && in RawLogVA()
146 severity < absl::LogSeverity::kFatal) { in RawLogVA()
153 enabled = log_prefix_hook_ptr(severity, file, line, &buf, &size); in RawLogVA()
178 if (severity == absl::LogSeverity::kFatal) { in RawLogVA()
203 void RawLog(absl::LogSeverity severity, const char* file, int line,
205 void RawLog(absl::LogSeverity severity, const char* file, int line, in RawLog() argument
209 RawLogVA(severity, file, line, format, ap); in RawLog()
217 static void DefaultInternalLog(absl::LogSeverity severity, const char* file, in DefaultInternalLog() argument
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DDebug.cpp18 const char *GLSeverityToString(GLenum severity) in GLSeverityToString() argument
20 switch (severity) in GLSeverityToString()
150 GLenum severity, in insertMessage() argument
156 insertMessage(source, type, id, severity, std::move(messageCopy), logSeverity, entryPoint); in insertMessage()
162 GLenum severity, in insertMessage() argument
170 const char *severityString = GLSeverityToString(severity); in insertMessage()
197 if (!isMessageEnabled(source, type, id, severity)) in insertMessage()
206 mCallbackFunction(source, type, id, severity, static_cast<GLsizei>(message.length()), in insertMessage()
221 m.severity = severity; in insertMessage()
275 severities[messageCount] = m.severity; in getMessages()
[all …]
/third_party/python/Doc/tools/
Drstlint.py67 @checker('.py', severity=4)
81 @checker('.rst', severity=2)
108 @checker('.rst', severity=0)
122 @checker('.html', severity=2, falsepositives=True)
185 @checker(".rst", severity=2)
223 severity = 1
232 severity = int(val)
284 csev = checker.severity
285 if csev >= severity:
292 if severity > 1:
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DDebug.cpp18 const char *GLSeverityToString(GLenum severity) in GLSeverityToString() argument
20 switch (severity) in GLSeverityToString()
150 GLenum severity, in insertMessage() argument
155 insertMessage(source, type, id, severity, std::move(messageCopy), logSeverity); in insertMessage()
161 GLenum severity, in insertMessage() argument
168 const char *severityString = GLSeverityToString(severity); in insertMessage()
191 if (!isMessageEnabled(source, type, id, severity)) in insertMessage()
200 mCallbackFunction(source, type, id, severity, static_cast<GLsizei>(message.length()), in insertMessage()
215 m.severity = severity; in insertMessage()
269 severities[messageCount] = m.severity; in getMessages()
[all …]
/third_party/grpc/src/core/lib/channel/
Dchannel_trace.cc44 ChannelTrace::TraceEvent::TraceEvent(Severity severity, const grpc_slice& data, in TraceEvent() argument
46 : severity_(severity), in TraceEvent()
54 ChannelTrace::TraceEvent::TraceEvent(Severity severity, const grpc_slice& data) in TraceEvent() argument
55 : severity_(severity), in TraceEvent()
112 void ChannelTrace::AddTraceEvent(Severity severity, const grpc_slice& data) { in AddTraceEvent() argument
117 AddTraceEventHelper(new TraceEvent(severity, data)); in AddTraceEvent()
121 Severity severity, const grpc_slice& data, in AddTraceEventWithReference() argument
129 new TraceEvent(severity, data, std::move(referenced_entity))); in AddTraceEventWithReference()
134 const char* severity_string(ChannelTrace::Severity severity) { in severity_string() argument
135 switch (severity) { in severity_string()
/third_party/musl/src/misc/
Dfmtmsg.c24 int fmtmsg(long classification, const char *label, int severity, in fmtmsg() argument
36 if (severity == MM_HALT) errstring = "HALT: "; in fmtmsg()
37 else if (severity == MM_ERROR) errstring = "ERROR: "; in fmtmsg()
38 else if (severity == MM_WARNING) errstring = "WARNING: "; in fmtmsg()
39 else if (severity == MM_INFO) errstring = "INFO: "; in fmtmsg()
48 severity?errstring:"", text?text:"", in fmtmsg()
76 (verb&2 && severity) ? errstring : "", in fmtmsg()

12345678910>>...15