Lines Matching defs:txt
127 dns_rdata_spf_t *txt = source;
133 REQUIRE(txt->common.rdtype == type);
134 REQUIRE(txt->common.rdclass == rdclass);
135 REQUIRE(txt->txt != NULL && txt->txt_len != 0);
140 region.base = txt->txt;
141 region.length = txt->txt_len;
150 return (mem_tobuffer(target, txt->txt, txt->txt_len));
155 dns_rdata_spf_t *txt = target;
161 txt->common.rdclass = rdata->rdclass;
162 txt->common.rdtype = rdata->type;
163 ISC_LINK_INIT(&txt->common, link);
166 txt->txt_len = r.length;
167 txt->txt = mem_maybedup(mctx, r.base, r.length);
168 if (txt->txt == NULL)
171 txt->offset = 0;
172 txt->mctx = mctx;
178 dns_rdata_spf_t *txt = source;
181 REQUIRE(txt->common.rdtype == 99);
183 if (txt->mctx == NULL)
186 if (txt->txt != NULL)
187 isc_mem_free(txt->mctx, txt->txt);
188 txt->mctx = NULL;