Home
last modified time | relevance | path

Searched refs:reason (Results 1 – 25 of 789) sorted by relevance

12345678910>>...32

/freebsd/contrib/kyua/engine/
H A Drequirements.cpp285 std::string reason; in check_reqs() local
287 reason = check_required_configs(md.required_configs(), cfg, test_suite); in check_reqs()
288 if (!reason.empty()) in check_reqs()
289 return reason; in check_reqs()
291 reason = check_allowed_architectures(md.allowed_architectures(), cfg); in check_reqs()
292 if (!reason.empty()) in check_reqs()
293 return reason; in check_reqs()
295 reason = check_execenv(md.execenv(), cfg); in check_reqs()
296 if (!reason.empty()) in check_reqs()
297 return reason; in check_reqs()
[all …]
H A Datf_result.cpp136 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/contrib/atf/atf-c/
H A Dtc.c198 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/crypto/heimdal/lib/kadm5/
H A Dcheck-cracklib.pl84 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 Dval_kentry.c60 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 …]
H A Dval_sigcrypt.c559 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 …]
H A Dval_utils.c407 uint8_t* sigalg, char** reason, sldns_ede_code *reason_bogus, in val_verify_rrset() argument
433 sec = dnskeyset_verify_rrset(env, ve, rrset, keys, sigalg, reason, in val_verify_rrset()
467 char** reason, sldns_ede_code *reason_bogus, in val_verify_rrset_entry() argument
482 sec = val_verify_rrset(env, ve, rrset, &dnskey, kd->algo, reason, in val_verify_rrset_entry()
491 struct ub_packed_rrset_key* ds_rrset, size_t ds_idx, char** reason, in verify_dnskeys_with_ds_rr() argument
536 i, reason, reason_bogus, LDNS_SECTION_ANSWER, qstate); in verify_dnskeys_with_ds_rr()
548 reason, "no keys have a DS", reasonbuf, reasonlen); in verify_dnskeys_with_ds_rr()
551 *reason = "DS hash mismatches key"; in verify_dnskeys_with_ds_rr()
552 } else if(!*reason) { in verify_dnskeys_with_ds_rr()
553 *reason = "keyset not secured by DNSKEY that matches DS"; in verify_dnskeys_with_ds_rr()
[all …]
H A Dval_utils.h134 struct key_entry_key* kkey, char** reason, sldns_ede_code *reason_bogus,
159 struct ub_packed_rrset_key* ds_rrset, uint8_t* sigalg, char** reason,
186 struct ub_packed_rrset_key* ta_dnskey, uint8_t* sigalg, char** reason,
220 struct ub_packed_rrset_key* ds_rrset, int downprot, char** reason,
255 char** reason, sldns_ede_code *reason_bogus, struct module_qstate* qstate,
401 int val_has_signed_nsecs(struct reply_info* rep, char** reason);
/freebsd/contrib/pam_modules/pam_passwdqc/
H A Dpasswdqc_check.c283 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/tests/atf_python/
H A Datf_pytest.py117 reason: str
186 def set_report_state(self, test_name: str, state: str, reason: str):
187 self._tests_state_map[test_name] = self.ReportState(state, reason)
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)
[all …]
/freebsd/crypto/openssh/
H A Dauth2-pubkeyfile.c177 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 …]
/freebsd/contrib/wpa/wpa_supplicant/
H A Dmesh_mpm.c31 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/tests/examples/
H A Dtest_examples.py21 @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 Dr92ce_fw.c57 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 D02-test_errstr.t137 my $reason =
139 $reason =~ s|\R$||;
140 $reason = ( split_error($reason) )[3];
142 return match_any($reason, $errcode_hex, @strings);
/freebsd/crypto/openssl/crypto/ec/
H A Deck_prn.c72 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/NetBSD/
H A DNativeThreadNetBSD.cpp83 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/FreeBSD/
H A DNativeThreadFreeBSD.cpp83 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 Dtests.cpp335 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/sys/dev/xen/control/
H A Dcontrol.c334 const struct xctrl_shutdown_reason *reason; in xctrl_on_watch_event() local
350 reason = xctrl_shutdown_reasons; in xctrl_on_watch_event()
351 last_reason = reason + nitems(xctrl_shutdown_reasons); in xctrl_on_watch_event()
352 while (reason < last_reason) { in xctrl_on_watch_event()
353 if (!strcmp(result, reason->name)) { in xctrl_on_watch_event()
354 reason->handler(); in xctrl_on_watch_event()
357 reason++; in xctrl_on_watch_event()
/freebsd/crypto/openssl/include/openssl/
H A Derr.h.in190 * |0| library | reason |
193 * A few of the reason bits are reserved as flags with special meaning:
197 * | rflags| | reason |
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:
209 * ERR_RFLAG_FATAL Flags that the reason code is considered fatal.
211 * is also the code for ERR_R_FATAL (that reason
212 * code served the dual purpose of flag and reason
214 * ERR_RFLAG_COMMON Flags that the reason code is common to all
[all …]
/freebsd/contrib/kyua/model/
H A Dtest_result.cpp101 model::test_result::reason(void) const in reason() function in model::test_result
159 const std::string& reason = object.reason(); in operator <<() local
160 if (reason.empty()) { in operator <<()
165 % text::quote(result_name, '\'') % text::quote(reason, '\''); in operator <<()
/freebsd/sys/x86/acpica/
H A Dmadt.c144 const char *reason; in madt_x2apic_disable_reason() local
149 reason = NULL; in madt_x2apic_disable_reason()
155 reason = "by DMAR table"; in madt_x2apic_disable_reason()
157 if (reason != NULL) in madt_x2apic_disable_reason()
158 return (reason); in madt_x2apic_disable_reason()
185 reason = in madt_x2apic_disable_reason()
192 if (reason != NULL) in madt_x2apic_disable_reason()
193 return (reason); in madt_x2apic_disable_reason()
205 const char *reason; in madt_setup_local() local
210 reason = madt_x2apic_disable_reason(); in madt_setup_local()
[all …]
/freebsd/contrib/netbsd-tests/ipf/
H A Dh_common.sh70 local reason="${1}"; shift
74 atf_expect_fail '${reason}'; \
85 local reason="${1}"; shift
91 atf_expect_fail '${reason}'; \
/freebsd/tools/regression/posixsem/
H A Dtest.c100 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()

12345678910>>...32