/freebsd-src/contrib/atf/atf-c/ |
H A D | tc.c | 194 * because the caller needs to clean up the reason object before terminating. 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() 237 errno, "Failed to write results file; result %s, reason %s", result, in write_resfile() 238 reason == NULL ? "null" : atf_dynstr_cstring(reason)); in write_resfile() 243 * The input reason is released in all cases. 250 atf_dynstr_t *reason) in create_resfile() argument 265 err = write_resfile(ctx->resfilefd, result, arg, reason); in create_resfile() [all …]
|
/freebsd-src/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCMachineScheduler.cpp | 38 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-src/contrib/kyua/engine/ |
H A D | requirements.cpp | 278 /// \return A string describing the reason for skipping the test, or empty if in check_reqs() 285 std::string reason; in check_reqs() 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); 296 if (!reason 256 std::string reason; check_reqs() local [all...] |
H A D | atf_result_test.cpp | 62 /// \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 D | atf_result.cpp | 97 /// 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 D | tap_parser_test.cpp | 104 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-src/contrib/unbound/validator/ |
H A D | 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 …]
|
H A D | val_utils.h | 123 * @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, [all...] |
/freebsd-src/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-src/crypto/openssl/test/recipes/ |
H A D | 02-test_errstr.t | 46 # 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-src/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() 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-src/crypto/openssl/doc/man3/ |
H A D | ERR_put_error.pod | 16 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 D | BIO_should_retry.pod | 20 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 D | ERR_new.pod | 14 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
|
H A D | ERR_GET_LIB.pod | 21 number and reason code. ERR_GET_LIB() 27 occurred, the reason code is the information about what went wrong. 30 reason code is unique within each sub-library. Note that different 33 B<ERR_R_...> reason codes such as B<ERR_R_MALLOC_FAILURE> are globally 34 unique. However, when checking for sub-library specific reason codes, 41 The library number, reason code, and whether the error
|
/freebsd-src/contrib/kyua/model/ |
H A D | test_result_test.cpp | 40 /// \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 …]
|
H A D | test_result.cpp | 77 /// \param reason_ The reason explaining the result, if any. It is OK for this in good() 97 /// Returns the reason explaining the result. in operator ==() 99 /// \return A textual reason, possibly empty. in operator ==() 101 model::test_result::reason(void) const 159 const std::string& reason = object.reason(); 160 if (reason.empty()) { 164 output << F("model::test_result{type=%s, reason=%s}") 165 % text::quote(result_name, '\'') % text::quote(reason, '\''); 65 model::test_result::reason(void) const reason() function in model::test_result 133 const std::string& reason = object.reason(); operator <<() local
|
/freebsd-src/contrib/ntp/sntp/tests/ |
H A D | kodDatabase.c | 31 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-src/tests/atf_python/ |
H A D | atf_pytest.py | 117 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-src/crypto/openssl/include/openssl/ |
H A D | err.h.in | 190 * |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 D | err.h | 188 * |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-src/contrib/atf/atf-sh/ |
H A D | atf-sh.3 | 67 .Qq reason 71 .Qq reason 74 .Qq reason 80 .Qq reason 83 .Qq reason 86 .Qq reason 99 .Qq reason 228 way, regardless of the test case's termination reason. 248 .It Nm atf_expect_death Qo reason Qc Qo ... Qc 251 .It Nm atf_expect_exit Qo exitcode Qc Qo reason Qc Qo ... Qc [all …]
|
/freebsd-src/contrib/wpa/wpa_supplicant/ |
H A D | mesh_mpm.c | 31 const u8 *reason; /* Reason Code (conditional, 2 octets) */ 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() 513 reason = WLAN_REASON_MESH_MAX_RETRIES; in plink_timer() 518 if (!reason) 519 reason = WLAN_REASON_MESH_CONFIRM_TIMEOUT; 524 mesh_mpm_send_plink_action(wpa_s, sta, PLINK_CLOSE, reason); in mesh_mpm_plink_open() 30 const u8 *reason; /* Reason Code (conditional, 2 octets) */ global() member 473 u16 reason = 0; plink_timer() local 540 int reason = WLAN_REASON_MESH_PEERING_CANCELLED; mesh_mpm_plink_close() local 932 mesh_mpm_fsm(struct wpa_supplicant * wpa_s,struct sta_info * sta,enum plink_event event,u16 reason) mesh_mpm_fsm() argument 1137 u16 reason = 0; mesh_mpm_action_rx() local [all...] |
/freebsd-src/crypto/openssl/util/ |
H A D | mkerr.pl | 69 -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-src/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | InlineCost.h | 103 const char *Reason = nullptr; 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, CostBenefi 102 const char *Reason = nullptr; global() variable 185 failure(const char * Reason) failure() argument [all...] |