Home
last modified time | relevance | path

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

123456789

/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 …]
Ddebug.h66 void Trace(LogSeverity severity, const char *message);
79 LogMessage(const char *file, const char *function, int line, LogSeverity severity);
142 bool ShouldCreatePlatformLogMessage(LogSeverity severity);
229 #define ANGLE_LOG_IS_ON(severity) (::gl::priv::ShouldCreatePlatformLogMessage(::gl::LOG_##severity)) argument
244 #define ANGLE_LOG_STREAM(severity) COMPACT_ANGLE_LOG_##severity.stream() argument
246 #define ANGLE_LOG(severity) ANGLE_LAZY_STREAM(ANGLE_LOG_STREAM(severity), ANGLE_LOG_IS_ON(severity)) argument
/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/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/rust/crates/codespan/codespan-reporting/src/term/
Drenderer.rs141 severity: Severity, in render_header()
160 self.set_color(self.styles().header(severity))?; in render_header()
161 match severity { in render_header()
234 severity: Severity, in render_snippet_source()
262 self.label_multi_top_left(severity, *label_style)?; in render_snippet_source()
266 self.label_multi_left(severity, *label_style, None)?; in render_snippet_source()
295 self.set_color(self.styles().label(severity, LabelStyle::Primary))?; in render_snippet_source()
405 self.inner_gutter(severity, num_multi_labels, multi_labels)?; in render_snippet_source()
437 self.set_color(self.styles().label(severity, label_style))?; in render_snippet_source()
463 self.set_color(self.styles().label(severity, *label_style))?; in render_snippet_source()
[all …]
/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/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 …]
DDebug.h54 GLenum severity,
61 GLenum severity,
68 GLenum severity,
87 void insertPerfWarning(GLenum severity, const char *message, uint32_t *repeatCount) const;
90 bool isMessageEnabled(GLenum source, GLenum type, GLuint id, GLenum severity) const;
99 GLenum severity; member
111 GLenum severity; member
172 #define ANGLE_PERF_WARNING(debug, severity, message) \ argument
176 (debug).insertPerfWarning(severity, message, &sRepeatCount); \
/third_party/mesa3d/src/mesa/main/
Ddebug_output.c79 enum mesa_debug_severity severity; member
216 enum mesa_debug_severity severity, in debug_message_store() argument
235 msg->severity = severity; in debug_message_store()
246 msg->severity = MESA_DEBUG_SEVERITY_HIGH; in debug_message_store()
341 enum mesa_debug_severity severity, in debug_namespace_set_all() argument
347 if (severity == MESA_DEBUG_SEVERITY_COUNT) { in debug_namespace_set_all()
348 ns->DefaultState = (enabled) ? ((1 << severity) - 1) : 0; in debug_namespace_set_all()
354 mask = 1 << severity; in debug_namespace_set_all()
374 enum mesa_debug_severity severity) in debug_namespace_get() argument
386 return (state & (1 << severity)); in debug_namespace_get()
[all …]
Derrors.c236 enum mesa_debug_severity severity, in _mesa_gl_vdebugf() argument
250 _mesa_log_msg(ctx, source, type, *id, severity, len, s); in _mesa_gl_vdebugf()
259 enum mesa_debug_severity severity, in _mesa_gl_debugf() argument
264 _mesa_gl_vdebugf(ctx, id, source, type, severity, fmtString, args); in _mesa_gl_debugf()
273 enum mesa_debug_severity severity, in _mesa_gl_debug() argument
280 _mesa_log_msg(ctx, source, type, *id, severity, len, msg); in _mesa_gl_debug()
289 _mesa_log_msg(ctx, source, type, *id, severity, len, s); in _mesa_gl_debug()
436 enum mesa_debug_severity severity = MESA_DEBUG_SEVERITY_HIGH; in _mesa_shader_debug() local
447 _mesa_log_msg(ctx, source, type, *id, severity, len, msg); in _mesa_shader_debug()
/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/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()
/third_party/skia/third_party/externals/dawn/src/common/
DLog.cpp30 const char* SeverityName(LogSeverity severity) { in SeverityName() argument
31 switch (severity) { in SeverityName()
47 android_LogPriority AndroidLogPriority(LogSeverity severity) { in AndroidLogPriority() argument
48 switch (severity) { in AndroidLogPriority()
66 LogMessage::LogMessage(LogSeverity severity) : mSeverity(severity) { in LogMessage() argument
/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/
Dvuln.js40 this.severity = null
114 severity: this.severity,
147 this.severity = null
166 const sev = severities.get(advisory.severity)
169 if (sev > severities.get(this.severity)) {
170 this.severity = advisory.severity
/third_party/skia/third_party/externals/tint/src/diagnostic/
Ddiagnostic.h58 Severity severity = Severity::Error;
106 if (diag.severity >= Severity::Error) { in add()
128 note.severity = diag::Severity::Note; in add_note()
143 warning.severity = diag::Severity::Warning; in add_warning()
155 error.severity = diag::Severity::Error; in add_error()
167 error.severity = diag::Severity::Error; in add_error()
186 error.severity = diag::Severity::Error; in add_error()
201 ice.severity = diag::Severity::InternalCompilerError; in add_ice()
/third_party/mesa3d/src/vulkan/runtime/
Dvk_debug_utils.c38 VkDebugUtilsMessageSeverityFlagBitsEXT severity, in vk_debug_message() argument
46 if ((messenger->severity & severity) && in vk_debug_message()
48 messenger->callback(severity, types, pCallbackData, messenger->data); in vk_debug_message()
61 VkDebugUtilsMessageSeverityFlagBitsEXT severity, in vk_debug_message_instance() argument
79 if ((messenger->severity & severity) && in vk_debug_message_instance()
81 messenger->callback(severity, types, &cbData, messenger->data); in vk_debug_message_instance()
110 messenger->severity = pCreateInfo->messageSeverity; in vk_common_CreateDebugUtilsMessengerEXT()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DErrorMessages.cpp22 GLenum severity; member
42 GLenum severity, in Callback() argument
47 Message m{source, type, id, severity, std::string(message, length), userParam}; in Callback()
86 constexpr GLenum severity = GL_DEBUG_SEVERITY_HIGH; in TEST_P() local
102 expectedMessage.severity = severity; in TEST_P()
DDebugTest.cpp197 GLenum severity; member
205 GLenum severity, in Callback() argument
210 Message m{source, type, id, severity, std::string(message, length), userParam}; in Callback()
251 const GLenum severity = GL_DEBUG_SEVERITY_NOTIFICATION; in TEST_P() local
254 glDebugMessageInsertKHR(source, type, id, severity, -1, message.c_str()); in TEST_P()
277 EXPECT_EQ(severity, severityBuf); in TEST_P()
295 const GLenum severity = GL_DEBUG_SEVERITY_NOTIFICATION; in TEST_P() local
302 glDebugMessageInsertKHR(source, type, startID + static_cast<GLuint>(i), severity, -1, in TEST_P()
334 EXPECT_EQ(severity, severityBuf); in TEST_P()
358 const GLenum severity = GL_DEBUG_SEVERITY_NOTIFICATION; in TEST_P() local
[all …]
/third_party/openGLES/extensions/AMD/
DAMD_debug_output.txt58 functionality warnings. Each message is also assigned a severity level
61 error would have a higher severity than a performance warning due to
76 on category or severity.
96 enum severity,
102 enum severity,
125 GLenum severity,
143 for <severity>:
188 Each message also has a severity level that roughly describes its
189 significance across all categories. The severity level of a message is
191 can be disabled across all categories by severity level, this feature can
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/AMD/
DAMD_debug_output.txt58 functionality warnings. Each message is also assigned a severity level
61 error would have a higher severity than a performance warning due to
76 on category or severity.
96 enum severity,
102 enum severity,
125 GLenum severity,
143 for <severity>:
188 Each message also has a severity level that roughly describes its
189 significance across all categories. The severity level of a message is
191 can be disabled across all categories by severity level, this feature can
[all …]
/third_party/vulkan-loader/loader/
Dlog.c107 VkDebugUtilsMessageSeverityFlagBitsEXT severity = 0; in loader_log() local
113 severity = VK_DEBUG_UTILS_MESSAGE_SEVERITY_INFO_BIT_EXT; in loader_log()
115 severity = VK_DEBUG_UTILS_MESSAGE_SEVERITY_WARNING_BIT_EXT; in loader_log()
117 severity = VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT; in loader_log()
119 severity = VK_DEBUG_UTILS_MESSAGE_SEVERITY_VERBOSE_BIT_EXT; in loader_log()
122 severity = VK_DEBUG_UTILS_MESSAGE_SEVERITY_INFO_BIT_EXT; in loader_log()
153 util_SubmitDebugUtilsMessageEXT(inst, severity, type, &callback_data); in loader_log()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fDebugTests.cpp200 const GLenum severity = s_debugSeverities[severityNdx]; in emitMessages() local
202 + " and severity " + glu::getDebugMessageSeverityName(severity); in emitMessages()
205 ctx.glDebugMessageInsert(source, type, severity, severity, -1, msg.c_str()); in emitMessages()
306 GLenum severity; member
309 MessageData (void) : id(MessageID()), severity(GL_NONE) {} in MessageData()
310 …MessageData (const MessageID& id_, GLenum severity_, const string& message_) : id(id_) , severity(… in MessageData()
341 …virtual void callback (GLenum source, GLenum type, GLuint id, GLenum severity, const std::str…
344 …VerificationResult verifyMessageCount (const MessageID& id, GLenum severity, int refCount, int r…
347 …erifyMessage (const MessageData& message, GLenum source, GLenum type, GLuint id, GLenum severity);
359 void BaseCase::callbackHandle (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei leng… in callbackHandle() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DDiagnostics.cpp39 void TDiagnostics::writeInfo(Severity severity, in writeInfo() argument
46 switch(severity) in writeInfo()
61 UNREACHABLE(severity); in writeInfo()
84 writeInfo(severity(id), loc, message(id), text, ""); in print()

123456789