/freebsd/contrib/kyua/engine/ |
H A D | requirements.cpp | 256 std::string reason; in check_reqs() local 259 if (!reason.empty()) in check_reqs() 260 return reason; in check_reqs() 264 return reason; in check_reqs() 268 return reason; in check_reqs() 272 return reason; in check_reqs() 276 return reason; in check_reqs() 280 return reason; in check_reqs() 284 return reason; in check_reqs() 289 return reason; in check_reqs() [all …]
|
H A D | atf_result.cpp | 136 const std::string reason = rest.substr(2); in parse_with_reason() local 137 INV(!reason.empty()); in parse_with_reason() 140 return atf_result(atf_result::broken, reason); in parse_with_reason() 142 return atf_result(atf_result::expected_death, reason); in parse_with_reason() 144 return atf_result(atf_result::expected_failure, reason); in parse_with_reason() 148 return atf_result(atf_result::failed, reason); in parse_with_reason() 150 return atf_result(atf_result::skipped, reason); in parse_with_reason() 208 const std::string reason = rest.substr(delim + 2); in parse_with_reason_and_arg() local 371 engine::atf_result::reason(void) const in reason() function in engine::atf_result 594 const optional< std::string >& reason = object.reason(); in operator <<() local [all …]
|
/freebsd/contrib/atf/atf-c/ |
H A D | tc.c | 213 if (reason != NULL) { in write_resfile() 238 reason == NULL ? "null" : atf_dynstr_cstring(reason)); in write_resfile() 267 if (reason != NULL) in create_resfile() 277 atf_dynstr_t reason; in error_in_expect() local 433 va_start(ap, reason); in format_reason_fmt() 852 atf_dynstr_t reason; in _atf_tc_fail() local 866 atf_dynstr_t reason; in _atf_tc_fail_nonfatal() local 880 atf_dynstr_t reason; in _atf_tc_fail_check() local 894 atf_dynstr_t reason; in _atf_tc_fail_requirement() local 920 atf_dynstr_t reason; in _atf_tc_skip() local [all …]
|
/freebsd/crypto/heimdal/lib/kadm5/ |
H A D | check-cracklib.pl | 84 my $reason = shift; 85 print "$reason\n"; 100 my $reason; 102 $reason = check_basic($params{'principal'}, $params{'new-password'}); 103 badpassword($reason) if ($reason ne "ok"); 105 $reason = fascist_check($params{'new-password'}, $database); 106 badpassword($reason) if ($reason ne "ok"); 108 $reason = check_repeat($params{'principal'}, $params{'new-password'}); 109 badpassword($reason) if ($reason ne "ok");
|
/freebsd/contrib/unbound/validator/ |
H A D | val_kentry.c | 60 if(kd->reason) in key_entry_sizefunc() 95 free(kd->reason); in key_entry_deldatafunc() 138 if(d->reason) { in key_entry_copy_toregion() 139 newd->reason = regional_strdup(region, d->reason); in key_entry_copy_toregion() 140 if(!newd->reason) in key_entry_copy_toregion() 193 if(copy_reason && d->reason && *d->reason != 0) { in key_entry_copy() 194 newd->reason = strdup(d->reason); in key_entry_copy() 246 return d->reason; in key_entry_get_reason() 292 d->reason = (!reason || *reason == 0) in key_entry_create_null() 317 d->reason = (!reason || *reason == 0) in key_entry_create_rrset() [all …]
|
H A D | val_sigcrypt.c | 597 *reason = "too many RRSIG validations"; in dnskeyset_verify_rrset_sig() 640 *reason = "no signatures"; in dnskeyset_verify_rrset() 700 if(!*reason) in algo_needs_reason() 701 *reason = s; in algo_needs_reason() 722 *reason = "no signatures"; in dnskey_verify_rrset() 1473 *reason = "signature expired"; in check_dates() 1558 *reason = "signature too short"; in dnskey_verify_rrset_sig() 1566 *reason = "dnskey without ZSK flag"; in dnskey_verify_rrset_sig() 1586 *reason = "signer name malformed"; in dnskey_verify_rrset_sig() 1593 *reason = "signer name off-tree"; in dnskey_verify_rrset_sig() [all …]
|
H A D | val_utils.h | 132 struct key_entry_key* kkey, char** reason, sldns_ede_code *reason_bogus, 155 struct ub_packed_rrset_key* ds_rrset, uint8_t* sigalg, char** reason, 179 struct ub_packed_rrset_key* ta_dnskey, uint8_t* sigalg, char** reason, 210 struct ub_packed_rrset_key* ds_rrset, int downprot, char** reason, 242 char** reason, sldns_ede_code *reason_bogus, struct module_qstate* qstate); 387 int val_has_signed_nsecs(struct reply_info* rep, char** reason);
|
/freebsd/contrib/pam_modules/pam_passwdqc/ |
H A D | passwdqc_check.c | 283 const char *reason; in _passwdqc_check() local 291 reason = NULL; in _passwdqc_check() 294 reason = REASON_SAME; in _passwdqc_check() 299 reason = REASON_SHORT; in _passwdqc_check() 307 reason = REASON_SAME; in _passwdqc_check() 309 reason = REASON_LONG; in _passwdqc_check() 319 if (!reason) { in _passwdqc_check() 334 reason = REASON_ERROR; in _passwdqc_check() 342 if (!reason && pw && in _passwdqc_check() 352 reason = REASON_WORD; in _passwdqc_check() [all …]
|
/freebsd/tests/atf_python/ |
H A D | atf_pytest.py | 117 reason: str 195 reason = data[2] 197 if reason.startswith(prefix): 198 reason = reason[len(prefix):] 199 return reason 241 reason = self._extract_report_reason(report) 249 self.set_report_state(test_name, state, reason) 257 self.set_report_state(test_name, state, reason) 259 if hasattr(reason, "wasxfail"): 265 self.set_report_state(test_name, state, reason) [all …]
|
/freebsd/crypto/openssh/ |
H A D | auth2-pubkeyfile.c | 177 const char *reason = NULL; in auth_check_principals_line() local 201 debug("%s: bad principals options: %s", loc, reason); in auth_check_principals_line() 272 const char *reason = NULL; in auth_check_authkey_line() local 290 reason = "invalid key option string"; in auth_check_authkey_line() 302 debug("%s: bad key options: %s", loc, reason); in auth_check_authkey_line() 328 reason = "Refused by key options"; in auth_check_authkey_line() 346 reason = "Invalid certificate options"; in auth_check_authkey_line() 351 reason = "Refused by certificate options"; in auth_check_authkey_line() 369 &reason) != 0) in auth_check_authkey_line() 390 error("%s", reason); in auth_check_authkey_line() [all …]
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | mesh_mpm.c | 473 u16 reason = 0; in plink_timer() local 495 if (!reason) in plink_timer() 964 if (!reason) in mesh_mpm_fsm() 969 if (!reason) in mesh_mpm_fsm() 1000 if (!reason) in mesh_mpm_fsm() 1005 if (!reason) in mesh_mpm_fsm() 1032 if (!reason) in mesh_mpm_fsm() 1037 if (!reason) in mesh_mpm_fsm() 1064 if (!reason) in mesh_mpm_fsm() 1082 reason); in mesh_mpm_fsm() [all …]
|
/freebsd/tests/examples/ |
H A D | test_examples.py | 21 @pytest.mark.skip(reason="comment me to run the test") 31 @pytest.mark.skip(reason="comment me to run the test") 39 @pytest.mark.skip(reason="comment me to run the test") 52 @pytest.mark.skip(reason="comment me to run the test") 62 @pytest.mark.skip(reason="comment me to run the test") 70 @pytest.mark.skip(reason="comment me to run the test") 128 @pytest.mark.skip(reason="comment me to run the test") 134 @pytest.mark.skip(reason="comment me to run the test") 187 @pytest.mark.skip(reason="comment me to run the test")
|
/freebsd/sys/dev/rtwn/rtl8192c/pci/ |
H A D | r92ce_fw.c | 57 r92ce_fw_reset(struct rtwn_softc *sc, int reason) in r92ce_fw_reset() argument 60 if (reason == RTWN_FW_RESET_CHECKSUM) in r92ce_fw_reset() 63 r92c_fw_reset(sc, reason); in r92ce_fw_reset() 69 if (reason == RTWN_FW_RESET_DOWNLOAD) in r92ce_fw_reset()
|
/freebsd/crypto/openssl/test/recipes/ |
H A D | 02-test_errstr.t | 137 my $reason = 139 $reason =~ s|\R$||; 140 $reason = ( split_error($reason) )[3]; 142 return match_any($reason, $errcode_hex, @strings);
|
/freebsd/contrib/kyua/model/ |
H A D | test_result.cpp | 65 model::test_result::reason(void) const in reason() function in model::test_result 133 const std::string& reason = object.reason(); in operator <<() local 134 if (reason.empty()) { in operator <<() 139 % text::quote(result_name, '\'') % text::quote(reason, '\''); in operator <<()
|
/freebsd/crypto/openssl/crypto/ec/ |
H A D | eck_prn.c | 72 int ret = 0, reason = ERR_R_BIO_LIB; in ECPKParameters_print() local 86 reason = ERR_R_PASSED_NULL_PARAMETER; in ECPKParameters_print() 92 reason = ERR_R_MALLOC_FAILURE; in ECPKParameters_print() 130 reason = ERR_R_MALLOC_FAILURE; in ECPKParameters_print() 135 reason = ERR_R_EC_LIB; in ECPKParameters_print() 140 reason = ERR_R_EC_LIB; in ECPKParameters_print() 146 reason = ERR_R_EC_LIB; in ECPKParameters_print() 154 reason = ERR_R_EC_LIB; in ECPKParameters_print() 216 ERR_raise(ERR_LIB_EC, reason); in ECPKParameters_print()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/ |
H A D | NativeThreadFreeBSD.cpp | 83 m_stop_info.reason = StopReason::eStopReasonSignal; in SetStoppedBySignal() 101 m_stop_info.reason = StopReason::eStopReasonBreakpoint; in SetStoppedByBreakpoint() 107 m_stop_info.reason = StopReason::eStopReasonTrace; in SetStoppedByTrace() 113 m_stop_info.reason = StopReason::eStopReasonExec; in SetStoppedByExec() 128 m_stop_info.reason = StopReason::eStopReasonWatchpoint; in SetStoppedByWatchpoint() 136 m_stop_info.reason = StopReason::eStopReasonFork; in SetStoppedByFork() 146 m_stop_info.reason = StopReason::eStopReasonVFork; in SetStoppedByVFork() 155 m_stop_info.reason = StopReason::eStopReasonVForkDone; in SetStoppedByVForkDone() 162 m_stop_info.reason = StopReason::eStopReasonNone; in SetStoppedWithNoReason() 174 m_stop_info.reason = StopReason::eStopReasonNone; in SetRunning() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/NetBSD/ |
H A D | NativeThreadNetBSD.cpp | 83 m_stop_info.reason = StopReason::eStopReasonSignal; in SetStoppedBySignal() 101 m_stop_info.reason = StopReason::eStopReasonBreakpoint; in SetStoppedByBreakpoint() 107 m_stop_info.reason = StopReason::eStopReasonTrace; in SetStoppedByTrace() 113 m_stop_info.reason = StopReason::eStopReasonExec; in SetStoppedByExec() 128 m_stop_info.reason = StopReason::eStopReasonWatchpoint; in SetStoppedByWatchpoint() 136 m_stop_info.reason = StopReason::eStopReasonFork; in SetStoppedByFork() 146 m_stop_info.reason = StopReason::eStopReasonVFork; in SetStoppedByVFork() 155 m_stop_info.reason = StopReason::eStopReasonVForkDone; in SetStoppedByVForkDone() 162 m_stop_info.reason = StopReason::eStopReasonNone; in SetStoppedWithNoReason() 174 m_stop_info.reason = StopReason::eStopReasonNone; in SetRunning() [all …]
|
/freebsd/contrib/atf/atf-c++/ |
H A D | tests.cpp | 335 impl::tc::fail(const std::string& reason) in fail() argument 337 atf_tc_fail("%s", reason.c_str()); in fail() 341 impl::tc::fail_nonfatal(const std::string& reason) in fail_nonfatal() argument 343 atf_tc_fail_nonfatal("%s", reason.c_str()); in fail_nonfatal() 347 impl::tc::skip(const std::string& reason) in skip() argument 349 atf_tc_skip("%s", reason.c_str()); in skip() 373 impl::tc::expect_fail(const std::string& reason) in expect_fail() argument 375 atf_tc_expect_fail("%s", reason.c_str()); in expect_fail() 391 impl::tc::expect_death(const std::string& reason) in expect_death() argument 393 atf_tc_expect_death("%s", reason.c_str()); in expect_death() [all …]
|
/freebsd/sys/dev/xen/control/ |
H A D | control.c | 367 const struct xctrl_shutdown_reason *reason; in xctrl_on_watch_event() local 383 reason = xctrl_shutdown_reasons; in xctrl_on_watch_event() 384 last_reason = reason + nitems(xctrl_shutdown_reasons); in xctrl_on_watch_event() 385 while (reason < last_reason) { in xctrl_on_watch_event() 386 if (!strcmp(result, reason->name)) { in xctrl_on_watch_event() 387 reason->handler(); in xctrl_on_watch_event() 390 reason++; in xctrl_on_watch_event()
|
/freebsd/contrib/netbsd-tests/ipf/ |
H A D | h_common.sh | 70 local reason="${1}"; shift 74 atf_expect_fail '${reason}'; \ 85 local reason="${1}"; shift 91 atf_expect_fail '${reason}'; \
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | err.h.in | 203 * The reason flags are part of the overall reason code for practical 205 * reason codes in different numeric ranges. 207 * The currently known reason flags are: 226 * ERR_R_FATAL to use ERR_RFLAG_FATAL as its reason code. 277 * ERR_PACK takes reason flags and reason code combined in |reason|. 282 (((unsigned long)(reason) & ERR_REASON_MASK)) ) 316 /* "we came from here" global reason codes, range 1..255 */ 386 void ERR_set_error(int lib, int reason, const char *fmt, ...); 390 # define ERR_raise(lib, reason) ERR_raise_data((lib),(reason),NULL) argument 398 # define ERR_put_error(lib, func, reason, file, line) \ argument [all …]
|
/freebsd/sys/x86/acpica/ |
H A D | madt.c | 144 const char *reason; in madt_x2apic_disable_reason() local 149 reason = NULL; in madt_x2apic_disable_reason() 157 if (reason != NULL) in madt_x2apic_disable_reason() 158 return (reason); in madt_x2apic_disable_reason() 184 reason = in madt_x2apic_disable_reason() 191 if (reason != NULL) in madt_x2apic_disable_reason() 192 return (reason); in madt_x2apic_disable_reason() 204 const char *reason; in madt_setup_local() local 215 reason); in madt_setup_local() 216 reason = NULL; in madt_setup_local() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | ErrorHandling.h | 25 const char *reason, 71 [[noreturn]] void report_fatal_error(const char *reason, 73 [[noreturn]] void report_fatal_error(StringRef reason, 75 [[noreturn]] void report_fatal_error(const Twine &reason,
|
/freebsd/tools/regression/posixsem/ |
H A D | test.c | 100 skip(const char *reason) in skip() argument 103 print_status("ok", "skip %s", reason); in skip() 107 todo(const char *reason) in todo() argument 110 print_status("not ok", "TODO %s", reason); in todo()
|