Lines Matching defs:cctx
127 dns_compress_t *cctx, dns_decompress_t *dctx)
138 ATF_REQUIRE_EQ(dns_name_towire(name1, cctx, &source), ISC_R_SUCCESS);
140 ATF_CHECK_EQ(dns_name_towire(name2, cctx, &source), ISC_R_SUCCESS);
141 ATF_CHECK_EQ(dns_name_towire(name2, cctx, &source), ISC_R_SUCCESS);
142 ATF_CHECK_EQ(dns_name_towire(name3, cctx, &source), ISC_R_SUCCESS);
167 dns_compress_t cctx;
198 ATF_REQUIRE_EQ(dns_compress_init(&cctx, -1, mctx), ISC_R_SUCCESS);
199 dns_compress_setmethods(&cctx, allowed);
204 &cctx, &dctx);
206 dns_compress_rollback(&cctx, 0);
207 dns_compress_invalidate(&cctx);
211 ATF_REQUIRE_EQ(dns_compress_init(&cctx, -1, mctx), ISC_R_SUCCESS);
212 dns_compress_setmethods(&cctx, allowed);
217 &cctx, &dctx);
219 dns_compress_rollback(&cctx, 0);
220 dns_compress_invalidate(&cctx);
224 ATF_REQUIRE_EQ(dns_compress_init(&cctx, -1, mctx), ISC_R_SUCCESS);
225 dns_compress_setmethods(&cctx, allowed);
230 &cctx, &dctx);
232 dns_compress_rollback(&cctx, 0);
233 dns_compress_invalidate(&cctx);
237 ATF_REQUIRE_EQ(dns_compress_init(&cctx, -1, mctx), ISC_R_SUCCESS);
238 dns_compress_setmethods(&cctx, allowed);
239 dns_compress_disable(&cctx);
244 &cctx, &dctx);
246 dns_compress_rollback(&cctx, 0);
247 dns_compress_invalidate(&cctx);
251 ATF_REQUIRE_EQ(dns_compress_init(&cctx, -1, mctx), ISC_R_SUCCESS);
252 dns_compress_setmethods(&cctx, allowed);
253 dns_compress_disable(&cctx);
258 &cctx, &dctx);
260 dns_compress_rollback(&cctx, 0);
261 dns_compress_invalidate(&cctx);
265 ATF_REQUIRE_EQ(dns_compress_init(&cctx, -1, mctx), ISC_R_SUCCESS);
266 dns_compress_setmethods(&cctx, allowed);
267 dns_compress_disable(&cctx);
272 &cctx, &dctx);
274 dns_compress_rollback(&cctx, 0);
275 dns_compress_invalidate(&cctx);