Searched refs:reason (Results 1 - 24 of 24) sorted by relevance

/bind-9.11.3/bin/tests/system/ednscompliance/
H A Dtests.sh18 ret=0 reason=
20 grep "EDNS: version: 100," dig.out$n > /dev/null || { ret=1; reason="version"; }
21 if [ $ret != 0 ]; then echo "I:failed $reason"; fi
25 ret=0 reason=
28 grep "; OPT=100" dig.out$n > /dev/null || { ret=1; reason="option"; }
29 if [ $ret != 0 ]; then echo "I:failed $reason"; fi
34 ret=0 reason=
36 grep "MBZ: 0x0080," dig.out$n > /dev/null || { ret=1; reason="flags"; }
37 if [ $ret != 0 ]; then echo "I:failed $reason"; fi
42 ret=0 reason
[all...]
/bind-9.11.3/unit/atf-src/atf-c/
H A Dtc.c150 * because the caller needs to clean up the reason object before terminating.
154 const atf_dynstr_t *reason)
163 INV(arg == -1 || reason != NULL);
169 if (reason != NULL) {
178 r = atf_dynstr_cstring(reason);
193 errno, "Failed to write results file; result %s, reason %s", result,
194 reason == NULL ? "null" : atf_dynstr_cstring(reason));
199 * The input reason is released in all cases.
206 atf_dynstr_t *reason)
153 write_resfile(const int fd, const char *result, const int arg, const atf_dynstr_t *reason) argument
205 create_resfile(const char *resfile, const char *result, const int arg, atf_dynstr_t *reason) argument
236 atf_dynstr_t reason; local
279 expected_failure(struct context *ctx, atf_dynstr_t *reason) argument
288 fail_requirement(struct context *ctx, atf_dynstr_t *reason) argument
303 fail_check(struct context *ctx, atf_dynstr_t *reason) argument
338 skip(struct context *ctx, atf_dynstr_t *reason) argument
363 format_reason_ap(atf_dynstr_t *out_reason, const char *source_file, const size_t source_line, const char *reason, va_list ap) argument
388 format_reason_fmt(atf_dynstr_t *out_reason, const char *source_file, const size_t source_line, const char *reason, ...) argument
409 atf_dynstr_t reason; local
416 atf_dynstr_t reason; local
473 atf_dynstr_t reason; local
506 atf_dynstr_t reason; local
815 atf_dynstr_t reason; local
829 atf_dynstr_t reason; local
843 atf_dynstr_t reason; local
857 atf_dynstr_t reason; local
883 atf_dynstr_t reason; local
919 _atf_tc_expect_fail(struct context *ctx, const char *reason, va_list ap) argument
934 _atf_tc_expect_exit(struct context *ctx, const int exitcode, const char *reason, va_list ap) argument
951 _atf_tc_expect_signal(struct context *ctx, const int signo, const char *reason, va_list ap) argument
968 _atf_tc_expect_death(struct context *ctx, const char *reason, va_list ap) argument
984 _atf_tc_expect_timeout(struct context *ctx, const char *reason, va_list ap) argument
1015 atf_dynstr_t reason; local
1021 atf_dynstr_t reason; local
1162 atf_tc_expect_fail(const char *reason, ...) argument
1174 atf_tc_expect_exit(const int exitcode, const char *reason, ...) argument
1186 atf_tc_expect_signal(const int signo, const char *reason, ...) argument
1198 atf_tc_expect_death(const char *reason, ...) argument
1210 atf_tc_expect_timeout(const char *reason, ...) argument
[all...]
/bind-9.11.3/contrib/idn/idnkit-1.0-src/wsock/wsock11/
H A Ddllmain.c68 DllMain(HMODULE hmod, DWORD reason, LPVOID *resv) { argument
69 switch (reason) {
/bind-9.11.3/contrib/idn/idnkit-1.0-src/wsock/wsock20/
H A Ddllmain.c68 DllMain(HMODULE hmod, DWORD reason, LPVOID *resv) { argument
69 switch (reason) {
/bind-9.11.3/unit/atf-src/tools/
H A Dreader.hpp50 const std::string& reason; member in struct:tools::atf_report::test_case_result
54 reason(p_reason)
H A Datf-report.cpp144 write_tp_end(struct timeval* tv, const std::string& reason) argument
148 if (!reason.empty())
150 << reason << "\n";
167 const std::string& reason)
170 if (!reason.empty())
171 str += ", " + reason;
236 write_tp_end(struct timeval* tv, const std::string& reason) argument
242 if (!reason.empty()) {
245 "of `" + reason + "'",
267 const std::string& reason)
166 write_tc_end(const std::string& state, struct timeval* tv, const std::string& reason) argument
266 write_tc_end(const std::string& state, struct timeval* tv, const std::string& reason) argument
312 const std::string& reason = (*iter).second; local
429 write_tp_end(struct timeval* tv, const std::string& reason) argument
456 write_tc_end(const std::string& state, struct timeval* tv, const std::string& reason) argument
536 got_tp_end(struct timeval* tv, const std::string& reason) argument
568 got_tc_end(const std::string& state, struct timeval* tv, const std::string& reason) argument
[all...]
H A Dtest-program.cpp356 const std::string& reason)
360 if (!arg.empty() || !reason.empty())
362 "be accompanied by a reason nor an expected value");
364 return impl::test_case_result(state, -1, reason);
369 const std::string& reason)
374 if (!arg.empty() || reason.empty())
376 "be accompanied by a reason but not by an expected value");
378 return impl::test_case_result(state, -1, reason);
384 const std::string& reason)
388 if (reason
355 handle_result(const std::string& state, const std::string& arg, const std::string& reason) argument
368 handle_result_with_reason(const std::string& state, const std::string& arg, const std::string& reason) argument
382 handle_result_with_reason_and_arg(const std::string& state, const std::string& arg, const std::string& reason) argument
542 std::string state, arg, reason; local
601 end_tp(const std::string& reason) argument
608 << ", " << reason << "\\n"; local
639 end_tc(const std::string& state, const std::string& reason) argument
779 std::string reason; local
[all...]
H A Dreader.cpp173 const std::string& reason ATF_DEFS_ATTRIBUTE_UNUSED)
199 const std::string& reason ATF_DEFS_ATTRIBUTE_UNUSED)
287 std::string reason; local
289 reason = tools::text::trim(p.rest_of_line());
290 if (reason.empty())
292 "Empty reason for failed test program");
296 ATF_PARSER_CALLBACK(p, got_tp_end(&s3, reason));
382 std::string reason = tools::text::trim(p.rest_of_line()); local
383 if (reason.empty())
384 throw parse_error(t.lineno(), "Empty reason fo
[all...]
H A Dreader_test.cpp67 const std::string& reason)
69 m_calls.push_back("got_tp_end(" + reason + ")");
81 const std::string& reason)
83 const std::string r = state + (reason.empty() ? "" : ", " + reason);
183 "tc-end: 123.567, second-test, skipped, Testing skipped reason\n"
185 "tc-end: 123.789, third.test, failed, Testing failed reason\n"
199 "tc-end: 124.1345, second-test, skipped, Testing skipped reason\n"
205 "tc-end: 124.1567, third.test, failed, Testing failed reason\n"
215 "got_tc_end(skipped, Testing skipped reason)",
66 got_tp_end(struct timeval* tv ATF_DEFS_ATTRIBUTE_UNUSED, const std::string& reason) argument
79 got_tc_end(const std::string& state, struct timeval* tv ATF_DEFS_ATTRIBUTE_UNUSED, const std::string& reason) argument
[all...]
H A Dtest-program.hpp76 reason(void) const function in struct:tools::test_program::test_case_result
H A Dtest_program_test.cpp73 ATF_REQUIRE_EQ(exp_reason, tcr.reason());
668 w.end_tc("failed", "The reason");
669 expss << "tc-end: " << ts_regex << "failtc, failed, The reason\n";
676 w.end_tc("skipped", "The reason");
677 expss << "tc-end: " << ts_regex << "skiptc, skipped, The reason\n";
933 ATF_REQUIRE_EQ("foo bar", tcr.reason());
942 ATF_REQUIRE_EQ("baz bar", tcr.reason());
973 ATF_REQUIRE_EQ("foo<<NEWLINE UNEXPECTED>>bar", tcr.reason());
H A Datf-run.cpp388 const std::string reason = tools::text::join(e, "; ");
390 w.end_tp("Invalid format for test case list: " + reason);
459 w.end_tc(tcr.state(), tcr.reason());
H A Dtests-results.css197 table.tcs-summary td.tcr-reason {
H A Datf-report_test.sh127 tc, #.#, expect_helpers, fail_and_fail_requirement, expected_failure, Fail reason: The failure
131 tc, #.#, expect_helpers, pass_but_fail_requirement, failed, Some reason
154 fail_and_fail_requirement: [#.#s] Expected failure: Fail reason: The failure
158 pass_but_fail_requirement: [#.#s] Failed: Some reason
172 expect_helpers:fail_and_fail_requirement: Fail reason: The failure
/bind-9.11.3/unit/atf-src/atf-c++/
H A Dtests.cpp335 impl::tc::fail(const std::string& reason) argument
337 atf_tc_fail("%s", reason.c_str());
341 impl::tc::fail_nonfatal(const std::string& reason) argument
343 atf_tc_fail_nonfatal("%s", reason.c_str());
347 impl::tc::skip(const std::string& reason) argument
349 atf_tc_skip("%s", reason.c_str());
373 impl::tc::expect_fail(const std::string& reason) argument
375 atf_tc_expect_fail("%s", reason.c_str());
379 impl::tc::expect_exit(const int exitcode, const std::string& reason) argument
381 atf_tc_expect_exit(exitcode, "%s", reason
385 expect_signal(const int signo, const std::string& reason) argument
391 expect_death(const std::string& reason) argument
397 expect_timeout(const std::string& reason) argument
[all...]
H A Dmacros.hpp92 #define ATF_FAIL(reason) atf::tests::tc::fail(reason)
94 #define ATF_SKIP(reason) atf::tests::tc::skip(reason)
/bind-9.11.3/contrib/queryperf/utils/
H A Dgen-data-queryperf.py84 except getopt.error as reason:
85 sys.stderr.write(sys.argv[0] + ": " + str(reason) + "\n")
/bind-9.11.3/lib/isc/
H A Dregex.c17 #define FAIL(x) do { reason = (x); goto error; } while(0)
54 const char *reason = ""; local
360 fprintf(stderr, "%s\n", reason);
/bind-9.11.3/lib/dns/
H A Dopenssl_link.c368 int reason = ERR_GET_REASON(err); local
370 switch (reason) {
382 reason == ECDSA_R_RANDOM_NUMBER_GENERATION_FAILED) {
H A Dresolver.c313 * servers that, for whatever reason, are not giving
339 * The reason to print when logging a successful
342 const char * reason; member in struct:fetchctx
569 isc_result_t reason, badnstype_t badtype);
1403 if (fctx->reason == NULL)
1414 fctx->info, domainbuf, fctx->reason);
1416 fctx->reason = NULL;
1440 fctx->reason = NULL;
2282 fctx->reason = "disabling EDNS";
2287 fctx->reason
2925 add_bad(fetchctx_t *fctx, dns_adbaddrinfo_t *addrinfo, isc_result_t reason, badnstype_t badtype) argument
[all...]
H A Ddnssec.c1900 dns_ttl_t ttl, isc_mem_t *mctx, const char *reason,
1911 reason, dst_key_id(key->key), alg);
1899 remove_key(dns_diff_t *diff, dns_dnsseckey_t *key, dns_name_t *origin, dns_ttl_t ttl, isc_mem_t *mctx, const char *reason, void (*report)(const char *, ...)) argument
H A Drbtdb.c795 isc_boolean_t tree_locked, expire_t reason);
10413 isc_boolean_t tree_locked, expire_t reason)
10437 switch (reason) {
10412 expire_header(dns_rbtdb_t *rbtdb, rdatasetheader_t *header, isc_boolean_t tree_locked, expire_t reason) argument
/bind-9.11.3/contrib/dnsperf-2.1.0.0-1/
H A Ddnsperf.c245 const char *reason; local
248 reason = "interruption";
251 reason = "end of file";
253 reason = "time limit";
255 printf("[Status] Testing complete (%s)\n", reason);
/bind-9.11.3/bin/named/
H A Dclient.c239 static void ns_client_dumpmessage(ns_client_t *client, const char *reason);
3813 ns_client_dumpmessage(ns_client_t *client, const char *reason) { argument
3841 "%s\n%.*s", reason,

Completed in 93 milliseconds