/third_party/skia/third_party/externals/angle2/src/common/ |
H A D | debug.cpp | 51 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 ! in ShouldCreatePlatformLogMessage() 170 LogMessage(const char *file, const char *function, int line, LogSeverity severity) LogMessage() argument 211 Trace(LogSeverity severity, const char *message) Trace() argument [all...] |
H A D | debug.h | 66 void Trace(LogSeverity severity, const char *message); 78 // Used for ANGLE_LOG(severity). 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)) 244 #define ANGLE_LOG_STREAM(severity) COMPACT_ANGLE_LOG_##severity.stream() 246 #define ANGLE_LOG(severity) ANGLE_LAZY_STREAM(ANGLE_LOG_STREAM(severity), ANGLE_LOG_IS_O [all...] |
/third_party/gn/src/base/mac/ |
H A D | mac_logging.h | 37 LogSeverity severity, 50 #define OSSTATUS_LOG_STREAM(severity, status) \ 51 COMPACT_GOOGLE_LOG_EX_##severity(OSStatusLogMessage, status).stream() 53 #define OSSTATUS_LOG(severity, status) \ 54 LAZY_STREAM(OSSTATUS_LOG_STREAM(severity, status), LOG_IS_ON(severity)) 55 #define OSSTATUS_LOG_IF(severity, condition, status) \ 56 LAZY_STREAM(OSSTATUS_LOG_STREAM(severity, status), \ 57 LOG_IS_ON(severity) && (condition)) 63 #define OSSTATUS_DLOG(severity, statu [all...] |
/third_party/rust/crates/codespan/codespan-reporting/src/term/ |
H A D | renderer.rs | 133 /// Diagnostic header, with severity, code, and message. in chars() 141 severity: Severity, in chars() 155 // Write severity name in chars() 160 self.set_color(self.styles().header(severity))?; in chars() 161 match severity { in chars() 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_label in render_snippet_source() [all...] |
H A D | views.rs | 268 self.diagnostic.severity, 302 self.diagnostic.severity, 319 self.diagnostic.severity, 347 self.diagnostic.severity, 362 self.diagnostic.severity, 381 self.diagnostic.severity, 401 /// Output a short diagnostic, with a line number, severity, and message. 444 self.diagnostic.severity, in render() 458 self.diagnostic.severity, in render()
|
/third_party/gn/src/base/ |
H A D | logging.h | 50 // things to LOG(<a particular severity level>). E.g., 93 // The supported severity levels for macros that allow you to specify one 94 // are (in increasing order of severity) INFO, WARNING, ERROR, and FATAL. 96 // Very important: logging a message at the FATAL severity level causes 99 // There is the special severity of DFATAL, which logs FATAL in debug mode, 114 bool ShouldCreateLogMessage(int severity); 206 #define LOG_IS_ON(severity) \ 207 (::logging::ShouldCreateLogMessage(::logging::LOG_##severity)) 222 #define LOG_STREAM(severity) COMPACT_GOOGLE_LOG_##severity 768 LogSeverity severity() { return severity_; } severity() function in logging::LogMessage [all...] |
H A D | logging.cc | 67 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() 161 LogMessage(const char* file, int line, LogSeverity severity, std::string* result) LogMessage() argument 268 Win32ErrorLogMessage(const char* file, int line, LogSeverity severity, SystemErrorCode err) Win32ErrorLogMessage() argument 278 ErrnoLogMessage(const char* file, int line, LogSeverity severity, SystemErrorCode err) ErrnoLogMessage() argument [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/ |
H A D | raw_logging.h | 32 // This is similar to LOG(severity) << format..., but 44 #define ABSL_RAW_LOG(severity, ...) \ 49 ::absl::raw_logging_internal::RawLog(ABSL_RAW_LOGGING_INTERNAL_##severity, \ 75 #define ABSL_INTERNAL_LOG(severity, message) \ 79 ABSL_RAW_LOGGING_INTERNAL_##severity, \ 81 if (ABSL_RAW_LOGGING_INTERNAL_##severity == ::absl::LogSeverity::kFatal) \ 98 #define ABSL_RAW_LOGGING_INTERNAL_LEVEL(severity) \ 99 ::absl::NormalizeLogSeverity(severity) 106 // Logs format... at "severity" level, reporting it 109 void RawLog(absl::LogSeverity severity, cons [all...] |
H A D | raw_logging.cc | 133 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, fil in RawLog() [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | debug_output.c | 53 /* at which severity levels (mesa_debug_severity) is the message enabled */ 79 enum mesa_debug_severity severity; member 216 enum mesa_debug_severity severity, in debug_message_store() 235 msg->severity = severity; in debug_message_store() 246 msg->severity = MESA_DEBUG_SEVERITY_HIGH; in debug_message_store() 255 /* Enable all the messages with severity HIGH or MEDIUM by default */ in debug_namespace_init() 335 * Set the default state of the namespace for \p severity. When \p severity 341 enum mesa_debug_severity severity, in debug_namespace_set_all() 213 debug_message_store(struct gl_debug_message *msg, enum mesa_debug_source source, enum mesa_debug_type type, GLuint id, enum mesa_debug_severity severity, GLsizei len, const char *buf) debug_message_store() argument 340 debug_namespace_set_all(struct gl_debug_namespace *ns, enum mesa_debug_severity severity, bool enabled) debug_namespace_set_all() argument 373 debug_namespace_get(const struct gl_debug_namespace *ns, GLuint id, enum mesa_debug_severity severity) debug_namespace_get() argument 559 debug_set_message_enable_all(struct gl_debug_state *debug, enum mesa_debug_source source, enum mesa_debug_type type, enum mesa_debug_severity severity, GLboolean enabled) debug_set_message_enable_all() argument 597 _mesa_debug_is_message_enabled(const struct gl_debug_state *debug, enum mesa_debug_source source, enum mesa_debug_type type, GLuint id, enum mesa_debug_severity severity) _mesa_debug_is_message_enabled() argument 620 debug_log_message(struct gl_debug_state *debug, enum mesa_debug_source source, enum mesa_debug_type type, GLuint id, enum mesa_debug_severity severity, GLsizei len, const char *buf) debug_log_message() argument 697 enum mesa_debug_severity severity; _debug_message() local 903 log_msg_locked_and_unlock(struct gl_context *ctx, enum mesa_debug_source source, enum mesa_debug_type type, GLuint id, enum mesa_debug_severity severity, GLint len, const char *buf) log_msg_locked_and_unlock() argument 943 _mesa_log_msg(struct gl_context *ctx, enum mesa_debug_source source, enum mesa_debug_type type, GLuint id, enum mesa_debug_severity severity, GLint len, const char *buf) _mesa_log_msg() argument 963 validate_params(struct gl_context *ctx, unsigned caller, const char *callerstr, GLenum source, GLenum type, GLenum severity) validate_params() argument 1065 _mesa_DebugMessageInsert(GLenum source, GLenum type, GLuint id, GLenum severity, GLint length, const GLchar *buf) _mesa_DebugMessageInsert() argument 1177 enum mesa_debug_severity severity = gl_enum_to_debug_severity(gl_severity); _mesa_DebugMessageControl() local [all...] |
H A D | errors.c | 236 enum mesa_debug_severity severity, in _mesa_gl_vdebugf() 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() 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() 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() 232 _mesa_gl_vdebugf(struct gl_context *ctx, GLuint *id, enum mesa_debug_source source, enum mesa_debug_type type, enum mesa_debug_severity severity, const char *fmtString, va_list args) _mesa_gl_vdebugf() argument 255 _mesa_gl_debugf(struct gl_context *ctx, GLuint *id, enum mesa_debug_source source, enum mesa_debug_type type, enum mesa_debug_severity severity, const char *fmtString, ...) _mesa_gl_debugf() argument 269 _mesa_gl_debug(struct gl_context *ctx, GLuint *id, enum mesa_debug_source source, enum mesa_debug_type type, enum mesa_debug_severity severity, const char *msg) _mesa_gl_debug() argument
|
/third_party/python/Doc/tools/ |
H A D | rstlint.py | 143 checker_props = {'severity': 1, 'falsepositives': False} 157 @checker('.py', severity=4) 171 @checker('.rst', severity=2) 206 @checker('.rst', severity=0) 220 @checker('.html', severity=2, falsepositives=True) 283 @checker(".rst", severity=2) 311 -s sev only show problems with severity >= sev 321 severity = 1 330 severity = int(val) 387 csev = checker.severity [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Debug.cpp | 18 const char *GLSeverityToString(GLenum severity) in GLSeverityToString() argument 20 switch (severity) in GLSeverityToString() 150 GLenum severity, in insertMessage() 156 insertMessage(source, type, id, severity, std::move(messageCopy), logSeverity, entryPoint); in insertMessage() 162 GLenum severity, in insertMessage() 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() 147 insertMessage(GLenum source, GLenum type, GLuint id, GLenum severity, const std::string &message, gl::LogSeverity logSeverity, angle::EntryPoint entryPoint) const insertMessage() argument 159 insertMessage(GLenum source, GLenum type, GLuint id, GLenum severity, std::string &&message, gl::LogSeverity logSeverity, angle::EntryPoint entryPoint) const insertMessage() argument 301 setMessageControl(GLenum source, GLenum type, GLenum severity, std::vector<GLuint> &&ids, bool enabled) setMessageControl() argument 347 insertPerfWarning(GLenum severity, const char *message, uint32_t *repeatCount) const insertPerfWarning() argument [all...] |
H A D | Debug.h | 54 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) \ 176 (debug).insertPerfWarning(severity, message, &sRepeatCount); \
|
/third_party/musl/src/misc/ |
H A D | fmtmsg.c | 24 int fmtmsg(long classification, const char *label, int severity, in fmtmsg() argument 30 "label", "severity", "text", "action", "tag", NULL in fmtmsg() 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/angle2/src/tests/gl_tests/ |
H A D | ErrorMessages.cpp | 22 GLenum severity; member 42 GLenum severity, in Callback() 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() 39 Callback(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *message, const void *userParam) Callback() argument
|
H A D | DebugTest.cpp | 197 GLenum severity; member 205 GLenum severity, in Callback() 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 in TEST_P() local 202 Callback(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *message, const void *userParam) Callback() argument [all...] |
/third_party/skia/third_party/externals/dawn/src/common/ |
H A D | Log.cpp | 30 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/skia/third_party/externals/tint/src/diagnostic/ |
H A D | diagnostic.h | 30 /// @return true iff `a` is more than, or of equal severity to `b` 57 /// severity is the severity of the diagnostic message. 58 Severity severity = Severity::Error; member in tint::diag::Diagnostic 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 in add_error() [all...] |
/third_party/mesa3d/src/vulkan/runtime/ |
H A D | vk_debug_utils.c | 38 VkDebugUtilsMessageSeverityFlagBitsEXT severity, in vk_debug_message() 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() 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() 37 vk_debug_message(struct vk_instance *instance, VkDebugUtilsMessageSeverityFlagBitsEXT severity, VkDebugUtilsMessageTypeFlagsEXT types, const VkDebugUtilsMessengerCallbackDataEXT *pCallbackData) vk_debug_message() argument 60 vk_debug_message_instance(struct vk_instance *instance, VkDebugUtilsMessageSeverityFlagBitsEXT severity, VkDebugUtilsMessageTypeFlagsEXT types, const char *pMessageIdName, int32_t messageIdNumber, const char *pMessage) vk_debug_message_instance() argument
|
H A D | vk_debug_utils.h | 39 VkDebugUtilsMessageSeverityFlagsEXT severity; member 51 VkDebugUtilsMessageSeverityFlagBitsEXT severity, 57 VkDebugUtilsMessageSeverityFlagBitsEXT severity,
|
/third_party/vulkan-loader/loader/ |
H A D | log.c | 107 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() 144 util_SubmitDebugUtilsMessageEXT(inst, severity, type, &callback_data); in loader_log()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fDebugTests.cpp | 200 const GLenum severity = s_debugSeverities[severityNdx]; in emitMessages() local 202 + " and severity " + glu::getDebugMessageSeverityName(severity); in emitMessages() 204 // Use severity as ID, guaranteed unique 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(severity_) , message(message_) {} in MessageData() 341 virtual void callback (GLenum source, GLenum type, GLuint id, GLenum severity, cons 359 callbackHandle(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const char* message, const void* userParam) callbackHandle() argument 383 callback(GLenum source, GLenum type, GLuint id, GLenum severity, const string& message) callback() argument 392 verifyMessageCount(const MessageID& id, GLenum severity, int refCount, int resCount, bool messageEnabled) const verifyMessageCount() argument 600 verifyMessage(const MessageData& message, GLenum source, GLenum type, GLuint id, GLenum severity) verifyMessage() argument 696 callback(GLenum source, GLenum type, GLuint id, GLenum severity, const string& message) callback() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
H A D | Diagnostics.cpp | 39 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()
|
/third_party/googletest/googlemock/src/ |
H A D | gmock-internal-utils.cc | 129 // Returns true if and only if a log with the given severity is visible 131 GTEST_API_ bool LogIsVisible(LogSeverity severity) { in LogIsVisible() argument 141 return severity == kWarning; in LogIsVisible() 145 // Prints the given message to stdout if and only if 'severity' >= the level 152 GTEST_API_ void Log(LogSeverity severity, const std::string& message, in Log() argument 154 if (!LogIsVisible(severity)) return; in Log() 159 if (severity == kWarning) { in Log()
|