Lines Matching defs:result

30 	isc_result_t result;
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 = dns_peer_gettransferdscp(peer, &dscp);
61 ATF_REQUIRE_EQ(result, ISC_R_NOTFOUND);
70 result = dns_peer_setquerydscp(peer, 1);
71 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
73 result = dns_peer_getnotifydscp(peer, &dscp);
74 ATF_REQUIRE_EQ(result, ISC_R_NOTFOUND);
77 result = dns_peer_gettransferdscp(peer, &dscp);
78 ATF_REQUIRE_EQ(result, ISC_R_NOTFOUND);
81 result = dns_peer_getquerydscp(peer, &dscp);
82 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
92 result = dns_peer_setnotifydscp(peer, 2);
93 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
95 result = dns_peer_gettransferdscp(peer, &dscp);
96 ATF_REQUIRE_EQ(result, ISC_R_NOTFOUND);
99 result = dns_peer_getquerydscp(peer, &dscp);
100 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
103 result = dns_peer_getnotifydscp(peer, &dscp);
104 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
112 result = dns_peer_settransferdscp(peer, 3);
113 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
115 result = dns_peer_getquerydscp(peer, &dscp);
116 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
119 result = dns_peer_getnotifydscp(peer, &dscp);
120 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
123 result = dns_peer_gettransferdscp(peer, &dscp);
124 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);