Searched refs:result (Results 1 - 25 of 599) sorted by relevance

1234567891011>>

/bind-9.11.3/contrib/idn/idnkit-1.0-src/lib/
H A Dresult.c2 static char *rcsid = "$Id: result.c,v 1.1 2003/06/04 00:26:12 marka Exp $";
48 #include <idn/result.h>
71 idn_result_tostring(idn_result_t result) { argument
72 if (result < 0 || result > idn_failure)
73 return ("unknown result code");
75 return (result_string[result]);
/bind-9.11.3/contrib/dlz/drivers/
H A Ddlz_drivers.c23 #include <isc/result.h>
71 isc_result_t result = ISC_R_SUCCESS; local
74 result = dlz_stub_init();
75 if (result != ISC_R_SUCCESS)
76 return (result);
80 result = dlz_postgres_init();
81 if (result != ISC_R_SUCCESS)
82 return (result);
86 result = dlz_mysql_init();
87 if (result !
[all...]
/bind-9.11.3/doc/misc/
H A Dsort-options.pl32 my $result = "";
34 $result = ${result}.${i};
35 $result = $result."\n" if ($i =~ /^[a-z]/i);
38 $result = ${result}.${fin};
39 return ($result);
/bind-9.11.3/lib/dns/tests/
H A Dpeer_test.c30 isc_result_t result; local
36 result = dns_test_begin(NULL, ISC_TRUE);
37 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
44 result = dns_peer_new(mctx, &netaddr, &peer);
45 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
52 result = dns_peer_getquerydscp(peer, &dscp);
53 ATF_REQUIRE_EQ(result, ISC_R_NOTFOUND);
56 result = dns_peer_getnotifydscp(peer, &dscp);
57 ATF_REQUIRE_EQ(result, ISC_R_NOTFOUND);
60 result
[all...]
H A Dacl_test.c38 isc_result_t result; local
80 result = dns_test_begin(NULL, ISC_FALSE);
81 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
83 result = dns_acl_any(mctx, &any);
84 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
86 result = dns_acl_none(mctx, &none);
87 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
89 result = dns_acl_create(mctx, 1, &notnone);
90 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
92 result
[all...]
H A Dmaster_test.c63 isc_result_t result; local
68 result = dns_rdataset_totext(dataset, owner, ISC_FALSE, ISC_FALSE,
70 return(result);
84 isc_result_t result; local
98 result = dns_name_fromtext(&dns_origin, &source, dns_rootname,
100 if (result != ISC_R_SUCCESS)
101 return(result);
112 return (result);
120 isc_result_t result; local
122 result
149 isc_result_t result; local
172 isc_result_t result; local
195 isc_result_t result; local
219 isc_result_t result; local
242 isc_result_t result; local
263 isc_result_t result; local
285 isc_result_t result; local
306 isc_result_t result; local
328 isc_result_t result; local
349 isc_result_t result; local
370 isc_result_t result; local
403 isc_result_t result; local
425 isc_result_t result; local
446 isc_result_t result; local
465 isc_result_t result; local
509 isc_result_t result; local
548 isc_result_t result; local
639 isc_result_t result; local
[all...]
H A Ddispatch_test.c34 isc_result_t result; local
39 result = dns_dispatchmgr_create(mctx, NULL, &dispatchmgr);
40 if (result != ISC_R_SUCCESS)
41 return (result);
45 result = dns_dispatch_getudp(dispatchmgr, socketmgr, taskmgr,
48 if (result != ISC_R_SUCCESS)
49 return (result);
51 result = dns_dispatchset_create(mctx, socketmgr, taskmgr, disp,
55 return (result);
74 isc_result_t result; local
97 isc_result_t result; local
152 isc_result_t result; local
204 isc_result_t result; local
226 isc_result_t result; local
242 isc_result_t result; local
[all...]
/bind-9.11.3/lib/isc/
H A Dmutexblock.c20 isc_result_t result; local
24 result = isc_mutex_init(&block[i]);
25 if (result != ISC_R_SUCCESS) {
30 return (result);
39 isc_result_t result; local
43 result = isc_mutex_destroy(&block[i]);
44 if (result != ISC_R_SUCCESS)
45 return (result);
/bind-9.11.3/lib/isc/tests/
H A Dcounter_test.c15 #include <isc/result.h>
24 isc_result_t result; local
28 result = isc_test_begin(NULL, ISC_TRUE);
29 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
31 result = isc_counter_create(mctx, 0, &counter);
32 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
35 result = isc_counter_increment(counter);
36 ATF_CHECK_EQ(result, ISC_R_SUCCESS);
43 result = isc_counter_increment(counter);
44 if (result !
[all...]
H A Dparse_test.c34 isc_result_t result; local
38 result = isc_test_begin(NULL, ISC_TRUE);
39 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
41 result = isc_parse_uint32(&output, "1234567890", 10);
42 ATF_CHECK_EQ(ISC_R_SUCCESS, result);
45 result = isc_parse_uint32(&output, "123456789012345", 10);
46 ATF_CHECK_EQ(ISC_R_RANGE, result);
48 result = isc_parse_uint32(&output, "12345678901234567890", 10);
49 ATF_CHECK_EQ(ISC_R_RANGE, result);
H A Dlex_test.c29 isc_result_t result; local
38 result = isc_mem_create(0, 0, &mctx);
39 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
41 result = isc_lex_create(mctx, 1024, &lex);
42 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
47 result = isc_lex_openbuffer(lex, &death_buf);
48 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
50 result = isc_lex_gettoken(lex, 0, &token);
51 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
60 isc_result_t result; local
[all...]
H A Dbuffer_test.c19 #include <isc/result.h>
27 isc_result_t result; local
30 result = isc_test_begin(NULL, ISC_TRUE);
31 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
34 result = isc_buffer_allocate(mctx, &b, 1024);
35 ATF_CHECK_EQ(result, ISC_R_SUCCESS);
42 result = isc_buffer_reserve(&b, 1024);
43 ATF_CHECK_EQ(result, ISC_R_SUCCESS);
52 result = isc_buffer_reserve(&b, 1025);
53 ATF_CHECK_EQ(result, ISC_R_SUCCES
101 isc_result_t result; local
136 isc_result_t result; local
[all...]
H A Dsocket_test.c35 isc_result_t result; member in struct:__anon283
52 completion->result = nevent->result;
54 if (completion->result == ISC_R_SUCCESS)
68 completion->result = dev->result;
146 isc_result_t result; local
157 result = isc_test_begin(NULL, ISC_TRUE);
158 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
164 result
221 isc_result_t result; local
322 isc_result_t result; local
426 isc_result_t result; local
533 isc_result_t result; local
632 isc_result_t result; local
[all...]
/bind-9.11.3/lib/isccc/
H A Dresult.c32 #include <isccc/result.h>
59 isc_result_t result; local
61 result = isc_result_register(ISC_RESULTCLASS_ISCCC, ISCCC_R_NRESULTS,
64 if (result != ISC_R_SUCCESS)
66 "isc_result_register() failed: %u", result);
68 result = isc_result_registerids(ISC_RESULTCLASS_ISCCC, ISCCC_R_NRESULTS,
71 if (result != ISC_R_SUCCESS)
73 "isc_result_registerids() failed: %u", result);
83 isccc_result_totext(isc_result_t result) { argument
86 return (isc_result_totext(result));
[all...]
/bind-9.11.3/lib/dns/
H A Ddst_result.c19 #include <dst/result.h>
80 isc_result_t result; local
82 result = isc_result_register(ISC_RESULTCLASS_DST, DST_R_NRESULTS,
84 if (result != ISC_R_SUCCESS)
86 "isc_result_register() failed: %u", result);
87 result = isc_result_registerids(ISC_RESULTCLASS_DST, DST_R_NRESULTS,
89 if (result != ISC_R_SUCCESS)
91 "isc_result_registerids() failed: %u", result);
101 dst_result_totext(isc_result_t result) { argument
104 return (isc_result_totext(result));
[all...]
H A Dresult.c16 #include <dns/result.h>
341 isc_result_t result; local
343 result = isc_result_register(ISC_RESULTCLASS_DNS, DNS_R_NRESULTS,
345 if (result == ISC_R_SUCCESS)
346 result = isc_result_register(ISC_RESULTCLASS_DNSRCODE,
350 if (result != ISC_R_SUCCESS)
352 "isc_result_register() failed: %u", result);
354 result = isc_result_registerids(ISC_RESULTCLASS_DNS, DNS_R_NRESULTS,
356 if (result == ISC_R_SUCCESS)
357 result
373 dns_result_totext(isc_result_t result) argument
385 dns_result_torcode(isc_result_t result) argument
[all...]
H A Drriterator.c27 #include <dns/result.h>
38 isc_result_t result; local
45 result = dns_db_createiterator(it->db, 0, &it->dbit);
46 if (result != ISC_R_SUCCESS)
47 return (result);
53 it->result = ISC_R_SUCCESS;
54 return (it->result);
67 it->result = dns_dbiterator_first(it->dbit);
73 while (it->result == ISC_R_SUCCESS) {
74 it->result
[all...]
/bind-9.11.3/bin/named/
H A Dlog.c15 #include <isc/result.h>
64 isc_result_t result; local
73 result = isc_log_create(ns_g_mctx, &ns_g_lctx, &lcfg);
74 if (result != ISC_R_SUCCESS)
75 return (result);
88 result = ns_log_setsafechannels(lcfg);
90 result = ns_log_setdefaultchannels(lcfg);
91 if (result != ISC_R_SUCCESS)
94 result = ns_log_setdefaultcategory(lcfg);
95 if (result !
110 isc_result_t result; local
171 isc_result_t result; local
224 isc_result_t result = ISC_R_SUCCESS; local
248 isc_result_t result; local
[all...]
H A Dcontrol.c24 #include <dns/result.h>
28 #include <isccc/result.h>
41 isc_result_t result; local
46 result = isc_lex_gettoken(lex, ISC_LEXOPT_EOF, &token);
47 if (result != ISC_R_SUCCESS)
48 return (result);
76 isc_result_t result; local
92 result = isccc_cc_lookupstring(data, "type", &cmdline);
93 if (result != ISC_R_SUCCESS) {
97 return (result);
[all...]
/bind-9.11.3/unit/atf-src/test-programs/
H A Dexpect_test.sh36 atf_check -s eq:0 -e ignore "${h}" -r result expect_pass_and_pass
37 check_result result "passed"
39 atf_check -s eq:1 -e ignore "${h}" -r result \
41 check_result result "failed: Some reason"
48 "${h}" -r result expect_pass_but_fail_check
49 check_result result "failed: 1 checks failed"
56 atf_check -s eq:0 "${h}" -r result expect_fail_and_fail_requirement
57 check_result result "expected_failure: Fail reason: The failure"
60 -e not-match:"And fail again" "${h}" -r result expect_fail_but_pass
61 check_result result "faile
[all...]
/bind-9.11.3/bin/tests/
H A Dnsecify.c25 #include <dns/result.h>
36 check_result(isc_result_t result, const char *message) { argument
37 if (result != ISC_R_SUCCESS) {
39 isc_result_totext(result));
48 isc_result_t result; local
53 result = dns_db_allrdatasets(db, node, version, 0, &rdsiter);
54 check_result(result, "dns_db_allrdatasets()");
55 result = dns_rdatasetiter_first(rdsiter);
56 while (result == ISC_R_SUCCESS) {
62 result
88 isc_result_t result; local
108 isc_result_t result; local
191 isc_result_t result; local
[all...]
H A Dwire_test.c22 #include <dns/result.h>
36 CHECKRESULT(isc_result_t result, const char *msg) { argument
37 if (result != ISC_R_SUCCESS) {
38 printf("%s: %s\n", msg, dns_result_totext(result));
76 isc_result_t result = ISC_R_SUCCESS; local
81 result = ISC_R_NOMEMORY;
86 result = dns_message_totext(msg, &dns_master_style_debug,
88 if (result == ISC_R_NOSPACE) {
91 } else if (result == ISC_R_SUCCESS)
93 } while (result
107 isc_result_t result; local
260 isc_result_t result; local
[all...]
/bind-9.11.3/contrib/idn/idnkit-1.0-src/tools/idnconv/
H A Dselectiveencode.h54 #include <idn/result.h>
/bind-9.11.3/bin/tests/master/
H A Dt_master.c26 #include <dns/result.h>
43 isc_result_t result; local
48 result = dns_rdataset_totext(dataset, owner, ISC_FALSE, ISC_FALSE,
50 if (result != ISC_R_SUCCESS)
51 t_info("dns_rdataset_totext: %s\n", dns_result_totext(result));
53 return(result);
60 int result; local
117 result = T_PASS;
122 result = T_FAIL;
124 return(result);
133 int result; local
178 int result; local
190 int result; local
201 int result; local
213 int result; local
224 int result; local
238 int result; local
252 int result; local
265 int result; local
278 int result; local
291 int result; local
304 int result; local
[all...]
/bind-9.11.3/contrib/sdb/time/
H A Dtimedb.c23 #include <isc/result.h>
52 isc_result_t result; local
74 result = dns_sdb_putrr(lookup, "txt", 1, buf);
75 if (result != ISC_R_SUCCESS)
78 result = dns_sdb_putrr(lookup, "cname", 1, "time");
79 if (result != ISC_R_SUCCESS)
82 result = dns_sdb_putrr(lookup, "dname", 1, "@");
83 if (result != ISC_R_SUCCESS)
96 isc_result_t result; local
101 result
[all...]

Completed in 103 milliseconds

1234567891011>>