Home
last modified time | relevance | path

Searched full:reason (Results 1 – 25 of 2417) sorted by relevance

12345678910>>...97

/freebsd/contrib/atf/atf-c/
H A Dtc.c201 * because the caller needs to clean up the reason object before terminating.
205 const atf_dynstr_t *reason) in write_resfile() argument
214 INV(arg == -1 || reason != NULL); in write_resfile()
220 if (reason != NULL) { in write_resfile()
229 r = atf_dynstr_cstring(reason); in write_resfile()
244 errno, "Failed to write results file; result %s, reason %s", result, in write_resfile()
245 reason == NULL ? "null" : atf_dynstr_cstring(reason)); in write_resfile()
250 * The input reason is released in all cases.
257 atf_dynstr_t *reason) in create_resfile() argument
272 err = write_resfile(ctx->resfilefd, result, arg, reason); in create_resfile()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCMachineScheduler.cpp38 TryCand.Reason = Stall; in biasAddiLoadCandidate()
42 TryCand.Reason = NoCand; in biasAddiLoadCandidate()
56 TryCand.Reason = NodeOrder; in tryCandidate()
63 return TryCand.Reason != NoCand; in tryCandidate()
69 return TryCand.Reason != NoCand; in tryCandidate()
75 return TryCand.Reason != NoCand; in tryCandidate()
89 return TryCand.Reason != NoCand; in tryCandidate()
94 return TryCand.Reason != NoCand; in tryCandidate()
109 return TryCand.Reason != NoCand; in tryCandidate()
115 return TryCand.Reason != NoCand; in tryCandidate()
[all …]
/freebsd/contrib/kyua/engine/
H A Drequirements.cpp302 /// \return A string describing the reason for skipping the test, or empty if
309 std::string reason; in check_reqs() local
311 reason = check_required_configs(md.required_configs(), cfg, test_suite); in check_reqs()
312 if (!reason.empty()) in check_reqs()
313 return reason; in check_reqs()
315 reason = check_allowed_architectures(md.allowed_architectures(), cfg); in check_reqs()
316 if (!reason.empty()) in check_reqs()
317 return reason; in check_reqs()
319 reason = check_execenv(md.execenv(), cfg); in check_reqs()
320 if (!reason.empty()) in check_reqs()
[all …]
H A Datf_result_test.cpp62 /// \param exp_reason The expected reason describing the result, if any.
74 ATF_REQUIRE(actual.reason()); in parse_ok_test()
75 ATF_REQUIRE_EQ(exp_reason, actual.reason().get()); in parse_ok_test()
77 ATF_REQUIRE(!actual.reason()); in parse_ok_test()
88 /// \param exp_reason The expected reason describing the result, if any.
100 /// \param reason_regexp The reason to match against the broken reason.
115 /// \param reason_regexp The reason to match against the broken reason.
150 "failed.*followed by.*reason",
153 "failed.*followed by.*reason",
156 "failed.*followed by.*reason",
[all …]
H A Datf_result.cpp97 /// Parses a test result that does not accept a reason.
111 throw engine::format_error(F("%s cannot have a reason") % status); in parse_without_reason()
117 /// Parses a test result that needs a reason.
134 throw engine::format_error(F("%s must be followed by ': <reason>'") % in parse_with_reason()
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()
[all …]
H A Dtap_parser_test.cpp104 engine::tap_summary::new_all_skipped("Reason 1"); in ATF_TEST_CASE_BODY()
126 engine::tap_summary::new_all_skipped("Reason 2"); in ATF_TEST_CASE_BODY()
204 "not ok 4 # SKIP Some reason\n" in ATF_TEST_CASE_BODY()
205 "not ok 5 # TODO Another reason\n" in ATF_TEST_CASE_BODY()
240 "not ok - 1 # SKIP Some reason\n" in ATF_TEST_CASE_BODY()
241 "not ok - 2 # skip Some reason\n" in ATF_TEST_CASE_BODY()
242 "not ok - 3 # Skipped Some reason\n" in ATF_TEST_CASE_BODY()
243 "not ok - 4 # skipped Some reason\n" in ATF_TEST_CASE_BODY()
244 "not ok - 5 # Skipped: Some reason\n" in ATF_TEST_CASE_BODY()
245 "not ok - 6 # skipped: Some reason\n" in ATF_TEST_CASE_BODY()
[all …]
/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_utils.h123 * @param reason: reason of failure. Fixed string or alloced in scratch.
124 * @param reason_bogus: EDE (RFC8914) code paired with the reason of failure.
128 * @param reasonbuf: buffer to use for fail reason string print.
134 struct key_entry_key* kkey, char** reason, sldns_ede_code *reason_bogus,
148 * @param reason: reason of failure. Fixed string or alloced in scratch.
149 * @param reason_bogus: EDE (RFC8914) code paired with the reason of failure.
151 * @param reasonbuf: buffer to use for fail reason string print.
159 struct ub_packed_rrset_key* ds_rrset, uint8_t* sigalg, char** reason,
174 * @param reason: reason of failure. Fixed string or alloced in scratch.
175 * @param reason_bogus: EDE (RFC8914) code paired with the reason of failure.
[all …]
/freebsd/crypto/krb5/doc/kadm5/
H A Dadb-unit-test.tex29 \newcommand{\Reason}[1]{\item[Reason:] #1}
36 %\newcommand{\Reason}[1]{}
64 \Reason{A shared lock can be acquired.}
69 \Reason{An exclusive lock can be acquired and released.}
74 \Reason{A permanent lock can be acquired and released.}
79 \Reason{Attempting to release a lock when none is held fails with
85 \Reason{Two processes can both acquire a shared lock.}
90 \Reason{An attempt to acquire a shared lock while another process holds an
96 \Reason{An attempt to acquire an exclusive lock while another process holds a
102 \Reason{An attempt to open the database while a process holds a
[all …]
/freebsd/crypto/openssl/test/recipes/
H A D02-test_errstr.t46 # it was outside the range that ERR looks at, ERR gives the reason string
47 # "reason(nnn)", where nnn is the errno number.
50 +1 # Checking that error 128 gives 'reason(128)'
83 "reason(256)"));
84 # Reason code 0 of any library gives the library name as reason
91 # For an error string "error:xxxxxxxx:lib:func:reason", this returns
94 # ( "xxxxxxxx", "lib", "func", "reason" )
96 # Limit to 5 items, in case the reason contains a colon
137 my $reason =
139 $reason =~ s|\R$||;
[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/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/crypto/openssl/doc/man3/
H A DERR_put_error.pod16 void ERR_raise(int lib, int reason);
17 void ERR_raise_data(int lib, int reason, const char *fmt, ...);
28 void ERR_put_error(int lib, int func, int reason, const char *file, int line);
33 error occurred in the library B<lib> for the reason given by the
34 B<reason> code. Furthermore, the name of the file, the line, and name
43 signals that the error of reason code B<reason> occurred in function
75 of reason codes B<XXX_R_...>. These are both passed in combination to
80 OpenSSL's libraries. OpenSSL reason codes normally consist of textual error
93 this case, the reason code given to ERR_raise() and ERR_raise_data() I<must>
122 Reason codes for each such "library" are determined or generated by the
[all …]
H A DBIO_should_retry.pod20 BIO *BIO_get_retry_BIO(BIO *bio, int *reason);
22 void BIO_set_retry_reason(BIO *bio, int reason);
44 reason other than reading or writing is the cause of the condition.
51 BIO_get_retry_BIO() determines the precise reason for the special
53 B<reason> is not NULL it contains the reason code. The meaning of
54 the reason code and the action that should be taken depends on
57 BIO_get_retry_reason() returns the reason for a special condition if
60 BIO_set_retry_reason() sets the retry reason for a special condition for a given
127 BIO_get_retry_reason() returns the reason for a special condition.
H A DERR_new.pod14 void ERR_set_error(int lib, int reason, const char *fmt, ...);
15 void ERR_vset_error(int lib, int reason, const char *fmt, va_list args);
35 number I<lib> and the reason code I<reason>, and additional data as a
56 Reason codes are unique within each library, and may have an
57 associated set of strings as a short description of the reason.
58 For dynamically allocated library numbers, reason strings are recorded
/freebsd/contrib/kyua/model/
H A Dtest_result_test.cpp40 /// \param expected_reason The expected reason for the result.
47 ATF_REQUIRE_EQ(expected_reason, result.reason()); \
83 "The reason",
84 model::test_result(model::test_result_broken, "The reason"));
88 "The reason",
89 model::test_result(model::test_result_expected_failure, "The reason"));
93 "The reason",
94 model::test_result(model::test_result_failed, "The reason"));
103 "The reason",
104 model::test_result(model::test_result_skipped, "The reason"));
[all …]
/freebsd/contrib/ntp/sntp/tests/
H A DkodDatabase.c31 const char REASON[] = "DENY"; in test_SingleEntryHandling() local
33 add_entry(HOST, REASON); in test_SingleEntryHandling()
39 TEST_ASSERT_EQUAL_STRING(REASON, result->type); in test_SingleEntryHandling()
80 const char REASON[] = "DENY"; in test_NoMatchInSearch() local
82 add_entry(HOST_ADD, REASON); in test_NoMatchInSearch()
123 const char REASON[] = "DENY"; in test_DeleteEntry() local
125 add_entry(HOST1, REASON); in test_DeleteEntry()
126 add_entry(HOST2, REASON); in test_DeleteEntry()
127 add_entry(HOST3, REASON); in test_DeleteEntry()
134 delete_entry(HOST2, REASON); in test_DeleteEntry()
/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 …]
H A Derr.h188 * |0| library | reason |
191 * A few of the reason bits are reserved as flags with special meaning:
195 * | rflags| | reason |
201 * The reason flags are part of the overall reason code for practical
203 * reason codes in different numeric ranges.
205 * The currently known reason flags are:
207 * ERR_RFLAG_FATAL Flags that the reason code is considered fatal.
209 * is also the code for ERR_R_FATAL (that reason
210 * code served the dual purpose of flag and reason
212 * ERR_RFLAG_COMMON Flags that the reason code is common to all
[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/contrib/wpa/wpa_supplicant/
H A Dmesh_mpm.c31 const u8 *reason; /* Reason Code (conditional, 2 octets) */ member
98 /* close reason is always present at end for close */ in mesh_mpm_parse_peer_mgmt()
102 mpm_ie->reason = ie + len - 2; in mesh_mpm_parse_peer_mgmt()
342 ie_len += 2; /* reason code */ in mesh_mpm_send_plink_action()
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
[all …]
/freebsd/contrib/atf/atf-sh/
H A Datf-sh.368 .Qq reason
72 .Qq reason
75 .Qq reason
81 .Qq reason
84 .Qq reason
87 .Qq reason
102 .Qq reason
239 way, regardless of the test case's termination reason.
259 .It Nm atf_expect_death Qo reason Qc Qo ... Qc
262 .It Nm atf_expect_exit Qo exitcode Qc Qo reason Qc Qo ... Qc
[all …]
/freebsd/crypto/openssh/
H A Dsrclimit.c58 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/crypto/openssl/util/
H A Dmkerr.pl69 -unref List all unreferenced function and reason codes on stderr;
134 my %rmax; # lib -> max assigned reason code
135 my %rassigned; # lib -> colon-separated list of assigned reason codes
136 my %rnew; # lib -> count of new reason codes
137 my %rextra; # "extra" reason code -> lib
138 my %rcodes; # reason-name -> value
139 my $statefile; # state file with assigned reason and function codes
189 # Scan function and reason codes and store them: keep a note of the
220 die "$lib reason code $code collision at $name\n"
237 print STDERR "Reason codes for ${lib}:\n";
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInlineCost.h103 const char *Reason = nullptr; variable
110 const char *Reason = nullptr,
113 StaticBonusApplied(StaticBonusApplied), Reason(Reason), in Cost()
115 assert((isVariable() || Reason) && in Cost()
116 "Reason must be provided for Never or Always"); in Cost()
126 getAlways(const char *Reason,
128 return InlineCost(AlwaysInlineCost, 0, 0, Reason, CostBenefit);
131 getNever(const char *Reason,
133 return InlineCost(NeverInlineCost, 0, 0, Reason, CostBenefit);
165 /// Get the reason of Always or Never.
[all …]

12345678910>>...97