Home
last modified time | relevance | path

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

12345678910>>...76

/netbsd-src/external/mpl/bind/dist/bin/tests/system/ednscompliance/
H A Dtests.sh26 ret=0 reason=
30 reason="version"
32 if [ $ret != 0 ]; then echo_i "failed $reason"; fi
36 ret=0 reason=
41 reason="option"
43 if [ $ret != 0 ]; then echo_i "failed $reason"; fi
48 ret=0 reason=
52 reason="flags"
54 if [ $ret != 0 ]; then echo_i "failed $reason"; fi
59 ret=0 reason=
[all …]
/netbsd-src/external/bsd/atf/dist/atf-c/
H A Dtc.c162 const atf_dynstr_t *reason) in write_resfile() argument
171 INV(arg == -1 || reason != NULL); in write_resfile()
177 if (reason != NULL) { in write_resfile()
186 r = atf_dynstr_cstring(reason); in write_resfile()
202 reason == NULL ? "null" : atf_dynstr_cstring(reason)); in write_resfile()
214 atf_dynstr_t *reason) in create_resfile() argument
219 err = write_resfile(STDOUT_FILENO, result, arg, reason); in create_resfile()
221 err = write_resfile(STDERR_FILENO, result, arg, reason); in create_resfile()
229 err = write_resfile(fd, result, arg, reason); in create_resfile()
234 if (reason != NULL) in create_resfile()
[all …]
/netbsd-src/external/bsd/kyua-testers/dist/
H A Datf_result.c271 int* status_arg, char* const reason, const size_t reason_size) in read_atf_result() argument
312 error = read_reason(input, reason_start, reason, reason_size); in read_atf_result()
319 reason[0] = '\0'; in read_atf_result()
339 convert_broken(const char* reason, int status, const char* output, in convert_broken() argument
346 reason, WEXITSTATUS(status)); in convert_broken()
352 reason, WTERMSIG(status), in convert_broken()
368 convert_expected_death(const char* reason, int status, const char* output, in convert_expected_death() argument
379 output, KYUA_RESULT_EXPECTED_FAILURE, "%s", reason); in convert_expected_death()
395 convert_expected_exit(const int status_arg, const char* reason, int status, in convert_expected_exit() argument
402 output, KYUA_RESULT_EXPECTED_FAILURE, "%s", reason); in convert_expected_exit()
[all …]
H A Dresult.c59 const char* reason, ...) in kyua_result_write() argument
61 assert(type == KYUA_RESULT_PASSED || reason != NULL); in kyua_result_write()
62 assert(reason == NULL || type != KYUA_RESULT_PASSED); in kyua_result_write()
68 if (reason != NULL) { in kyua_result_write()
71 va_start(ap, reason); in kyua_result_write()
72 (void)vsnprintf(buffer, sizeof(buffer), reason, ap); in kyua_result_write()
/netbsd-src/crypto/external/bsd/heimdal/dist/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");
/netbsd-src/external/bsd/kyua-cli/dist/engine/
H A Dtest_result.cpp76 std::string type, reason; in parse() local
80 reason = ""; in parse()
83 reason = line.substr(pos + 2); in parse()
89 reason += "<<NEWLINE>>" + line; in parse()
93 reason += "<<NEWLINE>>" + line; in parse()
97 return test_result(broken, reason); in parse()
99 return test_result(expected_failure, reason); in parse()
101 return test_result(failed, reason); in parse()
103 return test_result(passed, reason); in parse()
105 return test_result(skipped, reason); in parse()
[all …]
H A Dmetadata.cpp1083 std::string reason; in check_reqs() local
1085 reason = check_required_configs(md.required_configs(), cfg, test_suite); in check_reqs()
1086 if (!reason.empty()) in check_reqs()
1087 return reason; in check_reqs()
1089 reason = check_allowed_architectures(md.allowed_architectures(), cfg); in check_reqs()
1090 if (!reason.empty()) in check_reqs()
1091 return reason; in check_reqs()
1093 reason = check_allowed_platforms(md.allowed_platforms(), cfg); in check_reqs()
1094 if (!reason.empty()) in check_reqs()
1095 return reason; in check_reqs()
[all …]
/netbsd-src/external/mpl/dhcp/dist/client/scripts/
H A Dopenwrt86 if [ x$reason = xMEDIUM ]; then
91 if [ x$reason = xPREINIT ]; then
104 if [ x$reason = xARPCHECK ] || [ x$reason = xARPSEND ]; then
108 if [ x$reason = xBOUND ] || [ x$reason = xRENEW ] || \
109 [ x$reason = xREBIND ] || [ x$reason = xREBOOT ]; then
132 [ x$reason = xBOUND ] || [ x$reason = xREBOOT ]; then
169 if [ x$reason = xEXPIRE ] || [ x$reason = xFAIL ] || [ x$reason = xRELEASE ] \
170 || [ x$reason = xSTOP ]; then
186 if [ x$reason = xTIMEOUT ]; then
216 if [ x$reason = xPREINIT6 ]; then
[all …]
H A Dbsdos89 if [ x$reason = xMEDIUM ]; then
100 if [ x$reason = xPREINIT ]; then
110 if [ x$reason = xARPCHECK ] || [ x$reason = xARPSEND ]; then
114 if [ x$reason = xBOUND ] || [ x$reason = xRENEW ] || \
115 [ x$reason = xREBIND ] || [ x$reason = xREBOOT ]; then
147 [ x$reason = xBOUND ] || [ x$reason = xREBOOT ]; then
184 if [ x$reason = xEXPIRE ] || [ x$reason = xFAIL ] || [ x$reason = xRELEASE ] \
185 || [ x$reason = xSTOP ]; then
213 if [ x$reason = xTIMEOUT ]; then
262 if [ ${reason} = PREINIT6 ] ; then
[all …]
H A Dopenbsd130 if [ x$reason = xMEDIUM ]; then
141 if [ x$reason = xPREINIT ]; then
151 if [ x$reason = xARPCHECK ] || [ x$reason = xARPSEND ]; then
155 if [ x$reason = xBOUND ] || [ x$reason = xRENEW ] || \
156 [ x$reason = xREBIND ] || [ x$reason = xREBOOT ]; then
188 [ x$reason = xBOUND ] || [ x$reason = xREBOOT ]; then
225 if [ x$reason = xEXPIRE ] || [ x$reason = xFAIL ] || [ x$reason = xRELEASE ] \
226 || [ x$reason = xSTOP ]; then
254 if [ x$reason = xTIMEOUT ]; then
303 if [ ${reason} = PREINIT6 ] ; then
[all …]
H A Dnetbsd134 if [ x$reason = xMEDIUM ]; then
145 if [ x$reason = xPREINIT ]; then
155 if [ x$reason = xARPCHECK ] || [ x$reason = xARPSEND ]; then
159 if [ x$reason = xBOUND ] || [ x$reason = xRENEW ] || \
160 [ x$reason = xREBIND ] || [ x$reason = xREBOOT ]; then
192 [ x$reason = xBOUND ] || [ x$reason = xREBOOT ]; then
229 if [ x$reason = xEXPIRE ] || [ x$reason = xFAIL ] || [ x$reason = xRELEASE ] \
230 || [ x$reason = xSTOP ]; then
258 if [ x$reason = xTIMEOUT ]; then
307 if [ ${reason} = PREINIT6 ] ; then
[all …]
H A Dfreebsd178 if [ x$reason = xMEDIUM ]; then
189 if [ x$reason = xPREINIT ]; then
199 if [ x$reason = xARPCHECK ] || [ x$reason = xARPSEND ]; then
203 if [ x$reason = xBOUND ] || [ x$reason = xRENEW ] || \
204 [ x$reason = xREBIND ] || [ x$reason = xREBOOT ]; then
236 [ x$reason = xBOUND ] || [ x$reason = xREBOOT ]; then
292 if [ x$reason = xEXPIRE ] || [ x$reason = xFAIL ] || [ x$reason = xRELEASE ] \
293 || [ x$reason = xSTOP ]; then
321 if [ x$reason = xTIMEOUT ]; then
377 if [ ${reason} = PREINIT6 ] ; then
[all …]
H A Dnextstep10 if [ x$reason = xPREINIT ]; then
14 if [ x$reason = xBOUND ] || [ x$reason = xRENEW ] || \
15 [ x$reason = xREBIND ] || [ x$reason = xREBOOT ]; then
52 if [ x$reason = xEXPIRE ] || [ x$reason = xFAIL ] || [ x$reason = xRELEASE ] \
53 || [ x$reason = xSTOP ]; then
H A Dsolaris72 if [ x$reason = xMEDIUM ]; then
79 if [ x$reason = xPREINIT ]; then
96 if [ x$reason = xARPCHECK ] || [ x$reason = xARPSEND ]; then
100 if [ x$reason = xBOUND ] || [ x$reason = xRENEW ] || \
101 [ x$reason = xREBIND ] || [ x$reason = xREBOOT ]; then
124 [ x$reason = xBOUND ] || [ x$reason = xREBOOT ]; then
154 if [ x$reason = xEXPIRE ] || [ x$reason = xFAIL ] || [ x$reason = xRELEASE ] \
155 || [ x$reason = xSTOP ]; then
174 if [ x$reason = xTIMEOUT ]; then
/netbsd-src/external/gpl3/gcc/dist/libcpp/
H A Derrors.cc60 enum cpp_warning_reason reason, rich_location *richloc, in cpp_diagnostic_at() argument
67 ret = pfile->cb.diagnostic (pfile, level, reason, richloc, _(msgid), ap); in cpp_diagnostic_at()
77 enum cpp_warning_reason reason, in cpp_diagnostic() argument
82 return cpp_diagnostic_at (pfile, level, reason, &richloc, msgid, ap); in cpp_diagnostic()
105 cpp_warning (cpp_reader * pfile, enum cpp_warning_reason reason, in cpp_warning() argument
113 ret = cpp_diagnostic (pfile, CPP_DL_WARNING, reason, msgid, &ap); in cpp_warning()
122 cpp_pedwarning (cpp_reader * pfile, enum cpp_warning_reason reason, in cpp_pedwarning() argument
130 ret = cpp_diagnostic (pfile, CPP_DL_PEDWARN, reason, msgid, &ap); in cpp_pedwarning()
140 cpp_warning_syshdr (cpp_reader * pfile, enum cpp_warning_reason reason, in cpp_warning_syshdr() argument
148 ret = cpp_diagnostic (pfile, CPP_DL_WARNING_SYSHDR, reason, msgid, &ap); in cpp_warning_syshdr()
[all …]
/netbsd-src/external/bsd/unbound/dist/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 …]
/netbsd-src/external/gpl3/gcc.old/dist/libcpp/
H A Derrors.c35 enum cpp_warning_reason reason, rich_location *richloc, in cpp_diagnostic_at() argument
42 ret = pfile->cb.diagnostic (pfile, level, reason, richloc, _(msgid), ap); in cpp_diagnostic_at()
52 enum cpp_warning_reason reason, in cpp_diagnostic() argument
75 return cpp_diagnostic_at (pfile, level, reason, &richloc, msgid, ap); in cpp_diagnostic()
98 cpp_warning (cpp_reader * pfile, enum cpp_warning_reason reason, in cpp_warning() argument
106 ret = cpp_diagnostic (pfile, CPP_DL_WARNING, reason, msgid, &ap); in cpp_warning()
115 cpp_pedwarning (cpp_reader * pfile, enum cpp_warning_reason reason, in cpp_pedwarning() argument
123 ret = cpp_diagnostic (pfile, CPP_DL_PEDWARN, reason, msgid, &ap); in cpp_pedwarning()
133 cpp_warning_syshdr (cpp_reader * pfile, enum cpp_warning_reason reason, in cpp_warning_syshdr() argument
141 ret = cpp_diagnostic (pfile, CPP_DL_WARNING_SYSHDR, reason, msgid, &ap); in cpp_warning_syshdr()
[all …]
/netbsd-src/external/bsd/dhcpcd/dist/src/
H A Dscript.c225 const char *reason) in make_env() argument
287 if (efprintf(fp, "reason=%s", reason) == -1) in make_env()
301 if (strcmp(reason, "TEST") == 0) { in make_env()
324 else if (strcmp(reason, "STATIC6") == 0) in make_env()
327 else if (reason[strlen(reason) - 1] == '6') in make_env()
330 else if (strcmp(reason, "ROUTERADVERT") == 0) in make_env()
333 else if (strcmp(reason, "PREINIT") == 0 || in make_env()
334 strcmp(reason, "CARRIER") == 0 || in make_env()
335 strcmp(reason, "NOCARRIER") == 0 || in make_env()
336 strcmp(reason, "NOCARRIER_ROAMING") == 0 || in make_env()
[all …]
/netbsd-src/external/bsd/atf/dist/tools/
H A Datf-report.cpp143 write_tp_end(struct timeval* tv, const std::string& reason) in write_tp_end() argument
147 if (!reason.empty()) in write_tp_end()
149 << reason << "\n"; in write_tp_end()
166 const std::string& reason) in write_tc_end() argument
169 if (!reason.empty()) in write_tc_end()
170 str += ", " + reason; in write_tc_end()
235 write_tp_end(struct timeval* tv, const std::string& reason) in write_tp_end() argument
241 if (!reason.empty()) { in write_tp_end()
244 "of `" + reason + "'", in write_tp_end()
266 const std::string& reason) in write_tc_end() argument
[all …]
H A Dtest-program.cpp357 const std::string& reason) in handle_result() argument
361 if (!arg.empty() || !reason.empty()) in handle_result()
365 return impl::test_case_result(state, -1, reason); in handle_result()
370 const std::string& reason) in handle_result_with_reason() argument
375 if (!arg.empty() || reason.empty()) in handle_result_with_reason()
379 return impl::test_case_result(state, -1, reason); in handle_result_with_reason()
385 const std::string& reason) in handle_result_with_reason_and_arg() argument
389 if (reason.empty()) in handle_result_with_reason_and_arg()
405 return impl::test_case_result(state, value, reason); in handle_result_with_reason_and_arg()
543 std::string state, arg, reason; in parse_test_case_result() local
[all …]
/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dauth2-pubkeyfile.c187 const char *reason = NULL; in auth_check_principals_line() local
210 if ((opts = sshauthopt_parse(line_opts, &reason)) == NULL) { in auth_check_principals_line()
211 debug("%s: bad principals options: %s", loc, reason); in auth_check_principals_line()
212 auth_debug_add("%s: bad principals options: %s", loc, reason); in auth_check_principals_line()
282 const char *reason = NULL; in auth_check_authkey_line() local
300 reason = "invalid key option string"; in auth_check_authkey_line()
311 if ((keyopts = sshauthopt_parse(key_options, &reason)) == NULL) { in auth_check_authkey_line()
312 debug("%s: bad key options: %s", loc, reason); in auth_check_authkey_line()
313 auth_debug_add("%s: bad key options: %s", loc, reason); in auth_check_authkey_line()
338 reason = "Refused by key options"; in auth_check_authkey_line()
[all …]
/netbsd-src/external/bsd/unbound/dist/testcode/
H A Dunitzonemd.c72 char* reason = NULL; in zonemd_generate_test() local
96 &reason); in zonemd_generate_test()
97 if(reason) printf("zonemd failure reason: %s\n", reason); in zonemd_generate_test()
189 char* reason = NULL; in zonemd_check_test() local
220 hash, hashlen, region, buf, &reason); in zonemd_check_test()
221 unit_assert(result && reason == NULL); in zonemd_check_test()
223 hash, hashlen, region, buf, &reason); in zonemd_check_test()
224 unit_assert(result && strcmp(reason, "unsupported scheme")==0); in zonemd_check_test()
226 hash, hashlen, region, buf, &reason); in zonemd_check_test()
227 unit_assert(result && strcmp(reason, "unsupported algorithm")==0); in zonemd_check_test()
[all …]
/netbsd-src/sys/arch/alpha/stand/common/
H A Dbootxx.c88 const char *reason; in main() local
97 reason = "Can't open boot device."; in main()
103 reason = "Can't open /boot."; in main()
108 reason = "/boot too large."; in main()
113 reason = "/boot load failed."; in main()
120 reason = "Secondary boot returned!"; in main()
124 putstr(reason); in main()
/netbsd-src/sys/arch/sbmips/stand/common/
H A Dbootxx.c84 const char *reason; in main() local
94 reason = "Can't open boot device."; in main()
100 reason = "Can't open /boot."; in main()
105 reason = "/boot too large."; in main()
110 reason = "/boot load failed."; in main()
119 reason = "Secondary boot returned!"; in main()
123 putstr(reason); in main()
/netbsd-src/sys/arch/evbmips/stand/sbmips/common/
H A Dbootxx.c84 const char *reason; in main() local
94 reason = "Can't open boot device."; in main()
100 reason = "Can't open /boot."; in main()
105 reason = "/boot too large."; in main()
110 reason = "/boot load failed."; in main()
119 reason = "Secondary boot returned!"; in main()
123 putstr(reason); in main()

12345678910>>...76