Lines Matching refs:atma
204 dns_rdata_in_atma_t *atma = source;
208 REQUIRE(atma != NULL);
209 REQUIRE(atma->common.rdtype == type);
210 REQUIRE(atma->common.rdclass == rdclass);
211 REQUIRE(atma->atma != NULL || atma->atma_len == 0);
216 RETERR(mem_tobuffer(target, &atma->format, 1));
217 return (mem_tobuffer(target, atma->atma, atma->atma_len));
222 dns_rdata_in_atma_t *atma = target;
227 REQUIRE(atma != NULL);
230 atma->common.rdclass = rdata->rdclass;
231 atma->common.rdtype = rdata->type;
232 ISC_LINK_INIT(&atma->common, link);
235 atma->format = r.base[0];
237 atma->atma_len = r.length;
238 atma->atma = mem_maybedup(mctx, r.base, r.length);
239 if (atma->atma == NULL) {
243 atma->mctx = mctx;
249 dns_rdata_in_atma_t *atma = source;
251 REQUIRE(atma != NULL);
252 REQUIRE(atma->common.rdclass == dns_rdataclass_in);
253 REQUIRE(atma->common.rdtype == dns_rdatatype_atma);
255 if (atma->mctx == NULL) {
259 if (atma->atma != NULL) {
260 isc_mem_free(atma->mctx, atma->atma);
262 atma->mctx = NULL;