Lines Matching defs:txt
129 dns_rdata_spf_t *txt = source;
135 REQUIRE(txt->common.rdtype == type);
136 REQUIRE(txt->common.rdclass == rdclass);
137 REQUIRE(txt->txt != NULL && txt->txt_len != 0);
142 region.base = txt->txt;
143 region.length = txt->txt_len;
152 return (mem_tobuffer(target, txt->txt, txt->txt_len));
157 dns_rdata_spf_t *txt = target;
163 txt->common.rdclass = rdata->rdclass;
164 txt->common.rdtype = rdata->type;
165 ISC_LINK_INIT(&txt->common, link);
168 txt->txt_len = r.length;
169 txt->txt = mem_maybedup(mctx, r.base, r.length);
170 if (txt->txt == NULL)
173 txt->offset = 0;
174 txt->mctx = mctx;
180 dns_rdata_spf_t *txt = source;
183 REQUIRE(txt->common.rdtype == 99);
185 if (txt->mctx == NULL)
188 if (txt->txt != NULL)
189 isc_mem_free(txt->mctx, txt->txt);
190 txt->mctx = NULL;