Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DDiagnosticManager.cpp34 static const char *StringForSeverity(lldb::Severity severity) { in StringForSeverity() argument
35 switch (severity) { in StringForSeverity()
52 llvm::StringRef severity = StringForSeverity(diagnostic->GetSeverity()); in GetString() local
53 stream << severity; in GetString()
57 auto severity_pos = message.find(severity); in GetString()
61 stream << message.drop_front(severity_pos + severity.size()); in GetString()
68 size_t DiagnosticManager::Printf(lldb::Severity severity, const char *format, in Printf() argument
77 AddDiagnostic(ss.GetString(), severity, eDiagnosticOriginLLDB); in Printf()
82 void DiagnosticManager::PutString(lldb::Severity severity, in PutString() argument
86 AddDiagnostic(str, severity, eDiagnosticOriginLLDB); in PutString()
/freebsd/contrib/pf/libevent/
H A Dlog.c66 static void _warn_helper(int severity, int log_errno, const char *fmt,
68 static void event_log(int severity, const char *msg);
164 _warn_helper(int severity, int log_errno, const char *fmt, va_list ap) in _warn_helper() argument
182 event_log(severity, buf); in _warn_helper()
194 event_log(int severity, const char *msg) in event_log() argument
197 log_fn(severity, msg); in event_log()
200 switch (severity) { in event_log()
/freebsd/contrib/tcpdump/
H A Dprint-syslog.c83 uint16_t facility,severity; in syslog_print() local
108 severity = pri & SYSLOG_SEVERITY_MASK; in syslog_print()
113 tok2str(syslog_severity_values, "unknown (%u)", severity), in syslog_print()
122 tok2str(syslog_severity_values, "unknown (%u)", severity), in syslog_print()
123 severity); in syslog_print()
/freebsd/contrib/ntp/sntp/libevent/
H A Dlog.c60 static void event_log(int severity, const char *msg);
187 event_logv_(int severity, const char *errstr, const char *fmt, va_list ap) in event_logv_() argument
192 if (severity == EVENT_LOG_DEBUG && !event_debug_get_logging_mask_()) in event_logv_()
207 event_log(severity, buf); in event_logv_()
219 event_log(int severity, const char *msg) in event_log() argument
222 log_fn(severity, msg); in event_log()
225 switch (severity) { in event_log()
H A Dlog-internal.h75 void event_logv_(int severity, const char *errstr, const char *fmt, va_list ap)
/freebsd/contrib/libevent/
H A Dlog.c60 static void event_log(int severity, const char *msg);
187 event_logv_(int severity, const char *errstr, const char *fmt, va_list ap) in event_logv_() argument
192 if (severity == EVENT_LOG_DEBUG && !event_debug_get_logging_mask_()) in event_logv_()
207 event_log(severity, buf); in event_logv_()
219 event_log(int severity, const char *msg) in event_log() argument
222 log_fn(severity, msg); in event_log()
225 switch (severity) { in event_log()
/freebsd/contrib/tcp_wrappers/
H A Dfakelog.c27 void vsyslog(int severity, char *fmt, va_list ap) in vsyslog() argument
40 void VARARGS(syslog, int, severity) in VARARGS() argument
45 VASTART(ap, int, severity); in VARARGS()
47 vsyslog(severity, fmt, ap); in VARARGS()
H A Dmyvsyslog.c21 myvsyslog(int severity, char *format, va_list ap) in myvsyslog() argument
27 syslog(severity, "%s", obuf); in myvsyslog()
H A Ddiag.c32 static void tcpd_diag(int severity, char *tag, char *format, va_list ap) in tcpd_diag() argument
41 vsyslog(severity, fmt, ap); in tcpd_diag()
/freebsd/lib/libsecureboot/
H A Dverify_file.c410 verify_report(const char *path, int severity, int status, struct stat *stp) in verify_report() argument
413 if (Verbose < VE_VERBOSE_ALL && severity < VE_WANT) in verify_report()
415 if (Verbose >= VE_VERBOSE_UNVERIFIED || severity > VE_TRY || in verify_report()
426 if (severity >= VE_MUST || Verbose >= VE_VERBOSE_ALL) { in verify_report()
517 verify_file(int fd, const char *filename, off_t off, int severity, in verify_file() argument
545 if (severity <= VE_GUESS) in verify_file()
546 severity = severity_guess(filename); in verify_file()
553 ve_pcr_updating_set((severity == VE_MUST)); in verify_file()
562 verify_report(filename, severity, rc, &st); in verify_file()
564 if (severity < VE_MUST) { /* not a kernel or module */ in verify_file()
[all …]
H A Dvectx.c382 vectx_close(struct vectx *ctx, int severity, const char *caller) in vectx_close() argument
396 ve_pcr_updating_set((severity == VE_MUST)); in vectx_close()
405 caller,ctx->vec_path, rc, severity)); in vectx_close()
406 verify_report(ctx->vec_path, severity, rc, NULL); in vectx_close()
410 if (severity > VE_WANT) in vectx_close()
/freebsd/contrib/llvm-project/lldb/include/lldb/Expression/
H A DDiagnosticManager.h52 Diagnostic(llvm::StringRef message, lldb::Severity severity, in Diagnostic() argument
54 : m_message(message), m_severity(severity), m_origin(origin), in Diagnostic()
103 void AddDiagnostic(llvm::StringRef message, lldb::Severity severity,
107 std::make_unique<Diagnostic>(message, severity, origin, compiler_id));
124 size_t Printf(lldb::Severity severity, const char *format, ...)
126 void PutString(lldb::Severity severity, llvm::StringRef str);
/freebsd/lib/libc/tests/gen/
H A Dfmtmsg_test.c39 static char *run_test(long classification, const char *label, int severity,
45 int severity; member
157 run_test(long classification, const char *label, int severity, in run_test() argument
177 if (fmtmsg(classification, label, severity, text, action, tag) in run_test()
232 result = run_test(t->classification, t->label, t->severity, in ATF_TC_BODY()
/freebsd/usr.sbin/pciconf/
H A Derr.c139 uint32_t mask, severity; in list_errors() local
163 severity = read_config(fd, &p->pc_sel, aer + PCIR_AER_UC_SEVERITY, 4); in list_errors()
164 print_bits("Fatal", aer_uc, mask & severity); in list_errors()
165 print_bits("Non-fatal", aer_uc, mask & ~severity); in list_errors()
/freebsd/contrib/googletest/googlemock/src/
H A Dgmock-internal-utils.cc133 GTEST_API_ bool LogIsVisible(LogSeverity severity) { in LogIsVisible() argument
143 return severity == kWarning; in LogIsVisible()
154 GTEST_API_ void Log(LogSeverity severity, const std::string& message, in Log() argument
156 if (!LogIsVisible(severity)) return; in Log()
161 if (severity == kWarning) { in Log()
/freebsd/crypto/heimdal/lib/krb5/
H A Dverify_krb5_conf.c319 char severity[128] = ""; in check_log() local
324 if(strsep_copy(&p, ":", severity, sizeof(severity)) != -1) in check_log()
326 if(*severity == '\0') in check_log()
327 strlcpy(severity, "ERR", sizeof(severity)); in check_log()
330 if(find_value(severity, syslogvals) == -1) { in check_log()
335 if(find_value(severity, syslogvals) == -1) { in check_log()
337 path, severity); in check_log()
H A Dlog.c343 char severity[128] = ""; in krb5_addlog_dest() local
348 if(strsep_copy(&p, ":", severity, sizeof(severity)) != -1) in krb5_addlog_dest()
350 if(*severity == '\0') in krb5_addlog_dest()
351 strlcpy(severity, "ERR", sizeof(severity)); in krb5_addlog_dest()
354 ret = open_syslog(context, f, min, max, severity, facility); in krb5_addlog_dest()
/freebsd/crypto/openssl/doc/man3/
H A DOSSL_CMP_log_open.pod30 /* severity level declarations resemble those from syslog.h */
53 including a string prefix mirroring the severity levels of syslog.h,
70 a severity level, and
74 of auditing may be required. Therefore, the logging facility supports a severity
77 The callback is activated only when the severity level is sufficient according
95 severity level, and log message or error queue message to the given I<bio>.
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangDiagnostic.h32 ClangDiagnostic(llvm::StringRef message, lldb::Severity severity, in ClangDiagnostic() argument
34 : Diagnostic(message, severity, eDiagnosticOriginClang, compiler_id) {} in ClangDiagnostic()
/freebsd/crypto/openssl/doc/internal/man3/
H A Dossl_cmp_print_log.pod48 log callback of the B<ctx> if present and the severity level is sufficient.
50 filename, line number, and severity information to the message being output.
61 ossl_cmp_log4() output a log message with the given severity,
67 the variable pointed to by I<level> with the severity level or -1,
/freebsd/sys/powerpc/powernv/
H A Dopal_hmi.c42 uint8_t severity; member
72 evt.severity, evt.type, evt.hmer); in opal_hmi_event_handler()
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_i18n.cpp39 static void __kmp_msg(kmp_msg_severity_t severity, kmp_msg_t message,
789 void __kmp_msg(kmp_msg_severity_t severity, kmp_msg_t message, va_list args) { in __kmp_msg() argument
794 if (severity != kmp_ms_fatal && __kmp_generate_warnings == kmp_warnings_off) in __kmp_msg()
800 switch (severity) { in __kmp_msg()
857 void __kmp_msg(kmp_msg_severity_t severity, kmp_msg_t message, ...) { in __kmp_msg() argument
860 __kmp_msg(severity, message, args); in __kmp_msg()
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/
H A DDebuggerEvents.h79 DiagnosticEventData(lldb::Severity severity, std::string message, in DiagnosticEventData() argument
81 : m_message(std::move(message)), m_severity(severity), in DiagnosticEventData()
/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DHost.cpp94 void Host::SystemLog(Severity severity, llvm::StringRef message) { in SystemLog() argument
100 switch (severity) { in SystemLog()
114 void Host::SystemLog(Severity severity, llvm::StringRef message) { in SystemLog() argument
115 switch (severity) { in SystemLog()
/freebsd/usr.sbin/rpcbind/
H A Dsecurity.c159 logit(int severity, struct sockaddr *addr, rpcproc_t procnum, rpcprog_t prognum, in logit() argument
220 syslog(severity, "connect from %s to %s(%s)%s", in logit()

1234