/external/angle/src/common/ |
D | debug.cpp | 46 constexpr const char *LogSeverityName(int severity) in LogSeverityName() argument 48 return (severity >= 0 && severity < LOG_NUM_SEVERITIES) ? g_logSeverityNames[severity] in LogSeverityName() 52 bool ShouldCreateLogMessage(LogSeverity severity) in ShouldCreateLogMessage() argument 57 return severity == LOG_FATAL || severity == LOG_ERR || severity == LOG_WARN; in ShouldCreateLogMessage() 68 bool ShouldCreatePlatformLogMessage(LogSeverity severity) in ShouldCreatePlatformLogMessage() argument 73 return severity != LOG_EVENT; in ShouldCreatePlatformLogMessage() 148 LogMessage::LogMessage(const char *function, int line, LogSeverity severity) in LogMessage() argument 149 : mFunction(function), mLine(line), mSeverity(severity) in LogMessage() 188 void Trace(LogSeverity severity, const char *message) in Trace() argument 190 if (!ShouldCreateLogMessage(severity)) in Trace() [all …]
|
/external/ImageMagick/MagickWand/ |
D | wandcli-private.h | 25 #define CLIWandException(severity,tag,option) \ argument 26 (void) CLIThrowException(cli_wand,GetMagickModule(),severity,tag, \ 29 #define CLIWandExceptionArg(severity,tag,option,arg) \ argument 30 (void) CLIThrowException(cli_wand,GetMagickModule(),severity,tag, \ 38 #define CLIWandExceptionFile(severity,tag,context) \ argument 40 (void) CLIThrowException(cli_wand,GetMagickModule(),severity,tag, \ 45 #define CLIWandExceptionBreak(severity,tag,option) \ argument 46 { CLIWandException(severity,tag,option); break; } 48 #define CLIWandExceptionReturn(severity,tag,option) \ argument 49 { CLIWandException(severity,tag,option); return; } [all …]
|
/external/ImageMagick/MagickCore/ |
D | exception.c | 173 exception->severity=UndefinedException; in ClearMagickException() 224 if ((p->severity >= WarningException) && (p->severity < ErrorException)) in CatchException() 225 MagickWarning(p->severity,p->reason,p->description); in CatchException() 226 if ((p->severity >= ErrorException) && (p->severity < FatalErrorException)) in CatchException() 227 MagickError(p->severity,p->reason,p->description); in CatchException() 228 if (p->severity >= FatalErrorException) in CatchException() 229 MagickFatalError(p->severity,p->reason,p->description); in CatchException() 298 static void DefaultErrorHandler(const ExceptionType magick_unused(severity), in DefaultErrorHandler() argument 301 magick_unreferenced(severity); in DefaultErrorHandler() 340 static void DefaultFatalErrorHandler(const ExceptionType severity, in DefaultFatalErrorHandler() argument [all …]
|
D | exception-private.h | 29 #define ThrowBinaryException(severity,tag,context) \ argument 31 (void) ThrowMagickException(exception,GetMagickModule(),severity, \ 35 #define ThrowFatalException(severity,tag) \ argument 45 (void) ThrowMagickException(fatal_exception,GetMagickModule(),severity, \ 51 _exit((int) (severity-FatalErrorException)+1); \ 53 #define ThrowFileException(exception,severity,tag,context) \ argument 59 (void) ThrowMagickException(exception,GetMagickModule(),severity, \ 64 #define ThrowImageException(severity,tag) \ argument 66 (void) ThrowMagickException(exception,GetMagickModule(),severity, \ 70 #define ThrowReaderException(severity,tag) \ argument [all …]
|
/external/libtextclassifier/native/utils/base/ |
D | logging_raw.cc | 24 if (severity != ERROR && severity != FATAL) { \ 40 int GetAndroidLogLevel(LogSeverity severity) { in GetAndroidLogLevel() argument 41 switch (severity) { in GetAndroidLogLevel() 56 void LowLevelLogging(LogSeverity severity, const std::string& tag, in LowLevelLogging() argument 61 const int android_log_level = GetAndroidLogLevel(severity); in LowLevelLogging() 76 const char *LogSeverityToString(LogSeverity severity) { in LogSeverityToString() argument 77 switch (severity) { in LogSeverityToString() 92 void LowLevelLogging(LogSeverity severity, const std::string &tag, in LowLevelLogging() argument 97 fprintf(stderr, "[%s] %s : %s\n", LogSeverityToString(severity), tag.c_str(), in LowLevelLogging()
|
/external/tensorflow/tensorflow/lite/ |
D | minimal_logging.h | 36 static void Log(LogSeverity severity, const char* format, ...); 39 static void LogFormatted(LogSeverity severity, const char* format, 43 static const char* GetSeverityName(LogSeverity severity); 54 #define TFLITE_LOG_PROD(severity, format, ...) \ argument 55 tflite::logging_internal::MinimalLogger::Log(severity, format, ##__VA_ARGS__); 59 #define TFLITE_LOG_PROD_ONCE(severity, format, ...) \ argument 62 TFLITE_LOG_PROD(severity, format, ##__VA_ARGS__) \ 74 #define TFLITE_LOG(severity, format, ...) \ argument 76 TFLITE_LOG_PROD(severity, format, ##__VA_ARGS__); \
|
D | minimal_logging_android.cc | 25 int GetPlatformSeverity(LogSeverity severity) { in GetPlatformSeverity() argument 26 switch (severity) { in GetPlatformSeverity() 40 void MinimalLogger::LogFormatted(LogSeverity severity, const char* format, in LogFormatted() argument 45 __android_log_vprint(GetPlatformSeverity(severity), "tflite", format, in LogFormatted() 50 fprintf(stderr, "%s: ", GetSeverityName(severity)); in LogFormatted()
|
/external/libchrome/base/ |
D | logging.h | 250 BASE_EXPORT bool ShouldCreateLogMessage(int severity); 300 typedef bool (*LogMessageHandlerFunction)(int severity, 395 #define LOG_IS_ON(severity) \ argument 396 (::logging::ShouldCreateLogMessage(::logging::LOG_##severity)) 418 #define LOG_STREAM(severity) COMPACT_GOOGLE_LOG_ ## severity.stream() argument 420 #define LOG(severity) LAZY_STREAM(LOG_STREAM(severity), LOG_IS_ON(severity)) argument 421 #define LOG_IF(severity, condition) \ argument 422 LAZY_STREAM(LOG_STREAM(severity), LOG_IS_ON(severity) && (condition)) 459 #define PLOG_STREAM(severity) \ argument 460 COMPACT_GOOGLE_LOG_EX_ ## severity(Win32ErrorLogMessage, \ [all …]
|
/external/libtextclassifier/native/lang_id/common/lite_base/ |
D | compact-logging-raw.cc | 36 int GetAndroidLogLevel(LogSeverity severity) { in GetAndroidLogLevel() argument 37 switch (severity) { in GetAndroidLogLevel() 52 void LowLevelLogging(LogSeverity severity, const std::string &tag, in LowLevelLogging() argument 54 const int android_log_level = GetAndroidLogLevel(severity); in LowLevelLogging() 77 const char *LogSeverityToString(LogSeverity severity) { in LogSeverityToString() argument 78 switch (severity) { in LogSeverityToString() 93 void LowLevelLogging(LogSeverity severity, const std::string &tag, in LowLevelLogging() argument 95 fprintf(stderr, "[%s] %s : %s\n", LogSeverityToString(severity), tag.c_str(), in LowLevelLogging()
|
/external/python/cpython2/Doc/tools/ |
D | rstlint.py | 65 @checker('.py', severity=4) 79 @checker('.rst', severity=2) 106 @checker('.rst', severity=0) 120 @checker('.html', severity=2, falsepositives=True) 146 severity = 1 155 severity = int(val) 212 csev = checker.severity 213 if csev >= severity: 220 if severity > 1: 221 print 'No problems with severity >= %d found.' % severity [all …]
|
/external/python/cpython3/Doc/tools/ |
D | rstlint.py | 66 @checker('.py', severity=4) 80 @checker('.rst', severity=2) 107 @checker('.rst', severity=0) 121 @checker('.html', severity=2, falsepositives=True) 147 severity = 1 156 severity = int(val) 208 csev = checker.severity 209 if csev >= severity: 216 if severity > 1: 217 print('No problems with severity >= %d found.' % severity) [all …]
|
/external/sonivox/arm-wt-22k/host_src/ |
D | eas_report.c | 144 void EAS_ReportEx (int severity, unsigned long hashCode, int serialNum, ...) in EAS_ReportEx() argument 150 if (severity > severityLevel) in EAS_ReportEx() 176 …printf("Unrecognized error: Severity=%d; HashCode=%lu; SerialNum=%d\n", severity, hashCode, serial… in EAS_ReportEx() 187 void EAS_Report (int severity, const char *fmt, ...) in EAS_Report() argument 192 if (severity > severityLevel) in EAS_Report() 217 void EAS_ReportX (int severity, const char *fmt, ...) in EAS_ReportX() argument 222 if (severity > severityLevel) in EAS_ReportX() 248 void EAS_SetDebugLevel (int severity) in EAS_SetDebugLevel() argument 250 severityLevel = severity; in EAS_SetDebugLevel()
|
/external/google-breakpad/src/processor/ |
D | logging.h | 103 LogStream(std::ostream &stream, Severity severity, 157 #define BPLOG_LOG_IS_ON(severity) \ argument 158 ((google_breakpad::LogStream::SEVERITY_ ## severity) >= \ 162 #define BPLOG(severity) BPLOG_LAZY_STREAM(severity, BPLOG_LOG_IS_ON(severity)) argument 183 #define BPLOG_IF(severity, condition) \ argument 184 BPLOG_LAZY_STREAM(severity, ((condition) && BPLOG_LOG_IS_ON(severity)))
|
/external/grpc-grpc/src/core/lib/gpr/ |
D | log.cc | 35 const char* gpr_log_severity_string(gpr_log_severity severity) { in gpr_log_severity_string() argument 36 switch (severity) { in gpr_log_severity_string() 47 int gpr_should_log(gpr_log_severity severity) { in gpr_should_log() argument 48 return static_cast<gpr_atm>(severity) >= in gpr_should_log() 54 void gpr_log_message(const char* file, int line, gpr_log_severity severity, in gpr_log_message() argument 56 if (gpr_should_log(severity) == 0) { in gpr_log_message() 64 lfargs.severity = severity; in gpr_log_message()
|
D | log_android.cc | 30 static android_LogPriority severity_to_log_priority(gpr_log_severity severity) { in severity_to_log_priority() argument 31 switch (severity) { in severity_to_log_priority() 42 void gpr_log(const char* file, int line, gpr_log_severity severity, in gpr_log() argument 45 if (gpr_should_log(severity) == 0) { in gpr_log() 53 gpr_log_message(file, line, severity, message); in gpr_log() 70 __android_log_write(severity_to_log_priority(args->severity), "GRPC", output); in gpr_default_log()
|
/external/libbrillo/brillo/ |
D | syslog_logging.cc | 37 static bool HandleMessage(int severity, in HandleMessage() argument 42 switch (severity) { in HandleMessage() 44 severity = kSyslogInfo; in HandleMessage() 48 severity = kSyslogWarning; in HandleMessage() 52 severity = kSyslogError; in HandleMessage() 56 severity = kSyslogCritical; in HandleMessage() 60 severity = kSyslogDebug; in HandleMessage() 72 syslog(severity, "%s", str); in HandleMessage() 75 return !s_log_to_stderr && severity != kSyslogCritical; in HandleMessage()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_debug.c | 88 enum mesa_debug_severity severity; in st_debug_message() local 94 severity = MESA_DEBUG_SEVERITY_MEDIUM; in st_debug_message() 99 severity = MESA_DEBUG_SEVERITY_MEDIUM; in st_debug_message() 104 severity = MESA_DEBUG_SEVERITY_NOTIFICATION; in st_debug_message() 109 severity = MESA_DEBUG_SEVERITY_NOTIFICATION; in st_debug_message() 114 severity = MESA_DEBUG_SEVERITY_NOTIFICATION; in st_debug_message() 119 severity = MESA_DEBUG_SEVERITY_NOTIFICATION; in st_debug_message() 124 severity = MESA_DEBUG_SEVERITY_NOTIFICATION; in st_debug_message() 129 _mesa_gl_vdebugf(st->ctx, id, source, type, severity, fmt, args); in st_debug_message()
|
/external/angle/src/libANGLE/ |
D | Debug.cpp | 18 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 …]
|
/external/bsdiff/ |
D | logging.h | 14 #define LOG(severity) LogMessage(__FILE__, __LINE__, #severity).stream() argument 17 #define PLOG(severity) LogMessage(__FILE__, __LINE__, #severity, errno).stream() argument 22 LogMessage(const char* file, unsigned int line, const char* severity); 26 const char* severity,
|
/external/perfetto/test/trace_processor/ |
D | gpu_log.py | 21 trace.add_gpu_log(ts=1, severity=1, tag="tag0", message="message0") 22 trace.add_gpu_log(ts=2, severity=2, tag="tag0", message="message1") 23 trace.add_gpu_log(ts=3, severity=3, tag="tag0", message="message2") 24 trace.add_gpu_log(ts=4, severity=4, tag="tag0", message="message3") 25 trace.add_gpu_log(ts=4, severity=5, tag="tag0", message="message4") 26 trace.add_gpu_log(ts=5, severity=1, tag="tag1", message="message5")
|
/external/grpc-grpc/src/core/lib/channel/ |
D | channel_trace.cc | 44 ChannelTrace::TraceEvent::TraceEvent(Severity severity, grpc_slice data, in TraceEvent() argument 46 : severity_(severity), in TraceEvent() 53 ChannelTrace::TraceEvent::TraceEvent(Severity severity, grpc_slice data) in TraceEvent() argument 54 : severity_(severity), in TraceEvent() 106 void ChannelTrace::AddTraceEvent(Severity severity, grpc_slice data) { in AddTraceEvent() argument 108 AddTraceEventHelper(New<TraceEvent>(severity, data)); in AddTraceEvent() 112 Severity severity, grpc_slice data, in AddTraceEventWithReference() argument 117 New<TraceEvent>(severity, data, std::move(referenced_entity))); in AddTraceEventWithReference() 122 const char* severity_string(ChannelTrace::Severity severity) { in severity_string() argument 123 switch (severity) { in severity_string()
|
/external/webrtc/talk/app/webrtc/objc/public/ |
D | RTCLogging.h | 39 extern "C" void RTCLogEx(RTCLoggingSeverity severity, NSString* logString); 40 extern "C" void RTCSetMinDebugLogLevel(RTCLoggingSeverity severity); 46 extern void RTCLogEx(RTCLoggingSeverity severity, NSString* logString); 50 extern void RTCSetMinDebugLogLevel(RTCLoggingSeverity severity); 66 #define RTCLogFormat(severity, format, ...) \ argument 69 RTCLogEx(severity, logString); \
|
/external/webrtc/webrtc/base/objc/ |
D | RTCLogging.h | 22 extern "C" void RTCLogEx(RTCLoggingSeverity severity, NSString* log_string); 23 extern "C" void RTCSetMinDebugLogLevel(RTCLoggingSeverity severity); 29 extern void RTCLogEx(RTCLoggingSeverity severity, NSString* log_string); 33 extern void RTCSetMinDebugLogLevel(RTCLoggingSeverity severity); 49 #define RTCLogFormat(severity, format, ...) \ argument 52 RTCLogEx(severity, log_string); \
|
/external/mesa3d/src/mesa/main/ |
D | debug_output.c | 77 enum mesa_debug_severity severity; member 213 enum mesa_debug_severity severity, in debug_message_store() argument 232 msg->severity = severity; in debug_message_store() 243 msg->severity = MESA_DEBUG_SEVERITY_HIGH; in debug_message_store() 338 enum mesa_debug_severity severity, in debug_namespace_set_all() argument 344 if (severity == MESA_DEBUG_SEVERITY_COUNT) { in debug_namespace_set_all() 345 ns->DefaultState = (enabled) ? ((1 << severity) - 1) : 0; in debug_namespace_set_all() 351 mask = 1 << severity; in debug_namespace_set_all() 371 enum mesa_debug_severity severity) in debug_namespace_get() argument 383 return (state & (1 << severity)); in debug_namespace_get() [all …]
|
/external/tensorflow/tensorflow/lite/tools/benchmark/ |
D | logging.h | 42 LoggingWrapper(LogSeverity severity) in LoggingWrapper() argument 43 : severity_(severity), should_log_(true) {} in LoggingWrapper() 44 LoggingWrapper(LogSeverity severity, bool log) in LoggingWrapper() argument 45 : severity_(severity), should_log_(log) {} in LoggingWrapper() 76 #define TFLITE_LOG(severity) \ argument 78 tflite::logging::LoggingWrapper::LogSeverity::severity) \
|