| /freebsd-13-stable/contrib/kyua/engine/ |
| HD | requirements.cpp | 256 std::string reason; in check_reqs() local 258 reason = check_required_configs(md.required_configs(), cfg, test_suite); in check_reqs() 259 if (!reason.empty()) in check_reqs() 260 return reason; in check_reqs() 262 reason = check_allowed_architectures(md.allowed_architectures(), cfg); in check_reqs() 263 if (!reason.empty()) in check_reqs() 264 return reason; in check_reqs() 266 reason = check_allowed_platforms(md.allowed_platforms(), cfg); in check_reqs() 267 if (!reason.empty()) in check_reqs() 268 return reason; in check_reqs() [all …]
|
| HD | 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() 146 return atf_result(atf_result::expected_timeout, 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 211 return atf_result(atf_result::expected_exit, arg, reason); in parse_with_reason_and_arg() [all …]
|
| /freebsd-13-stable/contrib/atf/atf-c/ |
| HD | tc.c | 198 const atf_dynstr_t *reason) in write_resfile() argument 207 INV(arg == -1 || reason != NULL); in write_resfile() 213 if (reason != NULL) { in write_resfile() 222 r = atf_dynstr_cstring(reason); in write_resfile() 238 reason == NULL ? "null" : atf_dynstr_cstring(reason)); in write_resfile() 250 atf_dynstr_t *reason) in create_resfile() argument 265 err = write_resfile(ctx->resfilefd, result, arg, reason); in create_resfile() 267 if (reason != NULL) in create_resfile() 268 atf_dynstr_fini(reason); in create_resfile() 277 atf_dynstr_t reason; in error_in_expect() local [all …]
|
| /freebsd-13-stable/crypto/heimdal/lib/kadm5/ |
| HD | 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-13-stable/contrib/apr-util/ldap/ |
| HD | apr_ldap_option.c | 71 result->reason = apr_pstrdup(pool, "LDAP: Could not get an option"); in apr_ldap_get_option() 114 result->reason = "LDAP: Verify certificate not yet supported by APR on the " in apr_ldap_set_option() 140 result->reason = "LDAP: SSL/TLS not yet supported by APR on this " in apr_ldap_set_option() 150 result->reason = "LDAP: Could not set verify mode"; in apr_ldap_set_option() 163 result->reason = "Unable to set LDAP_OPT_REFERRALS."; in apr_ldap_set_option() 187 result->reason = "Unable to set LDAP_OPT_REFHOPLIMIT."; in apr_ldap_set_option() 199 result->reason = "LDAP: Could not set an option"; in apr_ldap_set_option() 243 result->reason = "LDAP: Could not switch SSL on for this " in option_set_tls() 248 result->reason = "LDAP: STARTTLS is not supported by the " in option_set_tls() 253 result->reason = "LDAP: STOPTLS is not supported by the " in option_set_tls() [all …]
|
| HD | apr_ldap_url.c | 276 result->reason = "Either the LDAP URL, or the URL structure was NULL. Oops."; in apr_ldap_url_parse_ext() 285 result->reason = "The scheme was not recognised as a valid LDAP URL scheme."; in apr_ldap_url_parse_ext() 293 result->reason = "Out of memory parsing LDAP URL."; in apr_ldap_url_parse_ext() 302 result->reason = "Bad enclosure error while parsing LDAP URL."; in apr_ldap_url_parse_ext() 313 result->reason = "Out of memory parsing LDAP URL."; in apr_ldap_url_parse_ext() 330 result->reason = "Out of memory parsing LDAP URL."; in apr_ldap_url_parse_ext() 351 result->reason = "Bad LDAP URL while parsing IPV6 syntax."; in apr_ldap_url_parse_ext() 365 result->reason = "Bad LDAP URL while parsing."; in apr_ldap_url_parse_ext() 378 result->reason = "Out of memory parsing LDAP URL."; in apr_ldap_url_parse_ext() 406 result->reason = "Out of memory parsing LDAP URL."; in apr_ldap_url_parse_ext() [all …]
|
| /freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zdb/ |
| HD | zdb_objset_id.ksh | 80 reason="($TESTPOOL/$TESTFS not in zdb output)" 83 "zdb -dddddd $TESTPOOL/$id $obj failed $reason" 84 reason="(file1 not in zdb output)" 87 "zdb -dddddd $TESTPOOL/$id $obj failed $reason" 92 reason="($TESTPOOL/$TESTFS not in zdb output)" 95 "zdb -NNNNNN $TESTPOOL/$id $obj failed $reason" 96 reason="(file1 not in zdb output)" 99 "zdb -NNNNNN $TESTPOOL/$id $obj failed $reason" 108 reason="(name $name_from_proc from proc not in zdb output)" 113 "zdb -dddddd $TESTPOOL/$objset_hex failed $reason" [all …]
|
| /freebsd-13-stable/contrib/unbound/validator/ |
| HD | val_kentry.c | 60 if(kd->reason) in key_entry_sizefunc() 61 s += strlen(kd->reason)+1; 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() 195 if(!newd->reason) { in key_entry_copy() 203 newd->reason = NULL; in key_entry_copy() [all …]
|
| HD | val_sigcrypt.c | 559 char** reason, sldns_ede_code *reason_bogus, in dnskeyset_verify_rrset_sig() argument 590 sig_idx, sortree, &buf_canon, reason, reason_bogus, in dnskeyset_verify_rrset_sig() 597 *reason = "too many RRSIG validations"; in dnskeyset_verify_rrset_sig() 605 *reason = "signatures from unknown keys"; in dnskeyset_verify_rrset_sig() 612 *reason = "unsupported algorithm by crypto library"; in dnskeyset_verify_rrset_sig() 625 uint8_t* sigalg, char** reason, sldns_ede_code *reason_bogus, in dnskeyset_verify_rrset() argument 641 *reason = "no signatures"; in dnskeyset_verify_rrset() 651 *reason = "zone has no known algorithms"; in dnskeyset_verify_rrset() 659 dnskey, i, &sortree, reason, reason_bogus, in dnskeyset_verify_rrset() 674 *reason = "too many RRSIG validations"; in dnskeyset_verify_rrset() [all …]
|
| /freebsd-13-stable/contrib/pam_modules/pam_passwdqc/ |
| HD | passwdqc_check.c | 283 const char *reason; in _passwdqc_check() local 291 reason = NULL; in _passwdqc_check() 294 reason = REASON_SAME; in _passwdqc_check() 298 if (!reason && length < params->min[4]) in _passwdqc_check() 299 reason = REASON_SHORT; in _passwdqc_check() 301 if (!reason && length > params->max) { in _passwdqc_check() 307 reason = REASON_SAME; in _passwdqc_check() 309 reason = REASON_LONG; in _passwdqc_check() 312 if (!reason && is_simple(params, newpass)) { in _passwdqc_check() 314 reason = REASON_SIMPLESHORT; in _passwdqc_check() [all …]
|
| /freebsd-13-stable/tests/atf_python/ |
| HD | atf_pytest.py | 118 reason: str 171 def set_report_state(self, test_name: str, state: str, reason: str): 172 self._tests_state_map[test_name] = self.ReportState(state, reason) 180 reason = data[2] 182 if reason.startswith(prefix): 183 reason = reason[len(prefix):] 184 return reason 226 reason = self._extract_report_reason(report) 234 self.set_report_state(test_name, state, reason) 242 self.set_report_state(test_name, state, reason) [all …]
|
| /freebsd-13-stable/contrib/apr/misc/unix/ |
| HD | otherchild.c | 56 void (*maintenance) (int reason, void *, int status), in apr_proc_other_child_register() 104 int reason, in apr_proc_other_child_alert() argument 115 (*ocr->maintenance) (reason, ocr->data, status); in apr_proc_other_child_alert() 122 int reason) in apr_proc_other_child_refresh() argument 147 (*ocr->maintenance) (reason, ocr->data, -1); in apr_proc_other_child_refresh() 169 (*ocr->maintenance) (reason, ocr->data, -1); in apr_proc_other_child_refresh() 179 APR_DECLARE(void) apr_proc_other_child_refresh_all(int reason) in apr_proc_other_child_refresh_all() argument 185 apr_proc_other_child_refresh(ocr, reason); in apr_proc_other_child_refresh_all() 192 void (*maintenance) (int reason, void *, int status), in apr_proc_other_child_register() 204 int reason, in apr_proc_other_child_alert() argument [all …]
|
| /freebsd-13-stable/crypto/openssh/ |
| HD | auth2-pubkeyfile.c | 177 const char *reason = NULL; in auth_check_principals_line() local 200 if ((opts = sshauthopt_parse(line_opts, &reason)) == NULL) { in auth_check_principals_line() 201 debug("%s: bad principals options: %s", loc, reason); in auth_check_principals_line() 202 auth_debug_add("%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() 301 if ((keyopts = sshauthopt_parse(key_options, &reason)) == NULL) { in auth_check_authkey_line() 302 debug("%s: bad key options: %s", loc, reason); in auth_check_authkey_line() 303 auth_debug_add("%s: bad key options: %s", loc, reason); in auth_check_authkey_line() 328 reason = "Refused by key options"; in auth_check_authkey_line() [all …]
|
| HD | srclimit.c | 58 const char *reason; member 259 srclimit_penalty_check_allow(int sock, const char **reason) in srclimit_penalty_check_allow() argument 291 *reason = "too many penalised addresses"; in srclimit_penalty_check_allow() 306 *reason = penalty->reason; in srclimit_penalty_check_allow() 353 const char *reason = NULL, *t; in srclimit_penalise() local 374 reason = "penalty: caused crash"; in srclimit_penalise() 378 reason = "penalty: failed authentication"; in srclimit_penalise() 382 reason = "penalty: connections without attempting authentication"; in srclimit_penalise() 386 reason = "penalty: connection prohibited by RefuseConnection"; in srclimit_penalise() 390 reason = "penalty: exceeded LoginGraceTime"; in srclimit_penalise() [all …]
|
| /freebsd-13-stable/tests/examples/ |
| HD | 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-13-stable/contrib/wpa/wpa_supplicant/ |
| HD | mesh_mpm.c | 31 const u8 *reason; /* Reason Code (conditional, 2 octets) */ member 102 mpm_ie->reason = ie + len - 2; in mesh_mpm_parse_peer_mgmt() 496 u16 reason = 0; in plink_timer() local 513 reason = WLAN_REASON_MESH_MAX_RETRIES; in plink_timer() 518 if (!reason) in plink_timer() 519 reason = WLAN_REASON_MESH_CONFIRM_TIMEOUT; in plink_timer() 524 mesh_mpm_send_plink_action(wpa_s, sta, PLINK_CLOSE, reason); in plink_timer() 563 int reason = WLAN_REASON_MESH_PEERING_CANCELLED; in mesh_mpm_plink_close() local 572 mesh_mpm_send_plink_action(wpa_s, sta, PLINK_CLOSE, reason); in mesh_mpm_plink_close() 967 enum plink_event event, u16 reason) in mesh_mpm_fsm() argument [all …]
|
| /freebsd-13-stable/sys/dev/rtwn/rtl8192c/pci/ |
| HD | 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-13-stable/contrib/kyua/model/ |
| HD | 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-13-stable/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/ |
| HD | 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-13-stable/contrib/llvm-project/lldb/source/Plugins/Process/NetBSD/ |
| HD | 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-13-stable/crypto/openssl/crypto/ec/ |
| HD | eck_prn.c | 69 int ret = 0, reason = ERR_R_BIO_LIB; in ECPKParameters_print() local 82 reason = ERR_R_PASSED_NULL_PARAMETER; in ECPKParameters_print() 88 reason = ERR_R_MALLOC_FAILURE; in ECPKParameters_print() 125 reason = ERR_R_MALLOC_FAILURE; in ECPKParameters_print() 130 reason = ERR_R_EC_LIB; in ECPKParameters_print() 135 reason = ERR_R_EC_LIB; in ECPKParameters_print() 141 reason = ERR_R_EC_LIB; in ECPKParameters_print() 148 reason = ERR_R_EC_LIB; in ECPKParameters_print() 214 ECerr(EC_F_ECPKPARAMETERS_PRINT, reason); in ECPKParameters_print()
|
| /freebsd-13-stable/contrib/atf/atf-c++/ |
| 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() 379 impl::tc::expect_exit(const int exitcode, const std::string& reason) in expect_exit() argument 381 atf_tc_expect_exit(exitcode, "%s", reason.c_str()); in expect_exit() [all …]
|
| /freebsd-13-stable/sys/dev/xen/control/ |
| HD | control.c | 354 const struct xctrl_shutdown_reason *reason; in xctrl_on_watch_event() local 370 reason = xctrl_shutdown_reasons; in xctrl_on_watch_event() 371 last_reason = reason + nitems(xctrl_shutdown_reasons); in xctrl_on_watch_event() 372 while (reason < last_reason) { in xctrl_on_watch_event() 373 if (!strcmp(result, reason->name)) { in xctrl_on_watch_event() 374 reason->handler(); in xctrl_on_watch_event() 377 reason++; in xctrl_on_watch_event()
|
| /freebsd-13-stable/contrib/netbsd-tests/ipf/ |
| HD | h_common.sh | 70 local reason="${1}"; shift 74 atf_expect_fail '${reason}'; \ 85 local reason="${1}"; shift 91 atf_expect_fail '${reason}'; \
|
| /freebsd-13-stable/sys/x86/acpica/ |
| HD | madt.c | 145 const char *reason; in madt_x2apic_disable_reason() local 150 reason = NULL; in madt_x2apic_disable_reason() 156 reason = "by DMAR table"; in madt_x2apic_disable_reason() 158 if (reason != NULL) in madt_x2apic_disable_reason() 159 return (reason); in madt_x2apic_disable_reason() 188 reason = in madt_x2apic_disable_reason() 195 if (reason != NULL) in madt_x2apic_disable_reason() 196 return (reason); in madt_x2apic_disable_reason() 208 const char *reason; in madt_setup_local() local 213 reason = madt_x2apic_disable_reason(); in madt_setup_local() [all …]
|