Lines Matching defs:null
90 dns_rdata_null_t *null = source;
94 REQUIRE(null->common.rdtype == type);
95 REQUIRE(null->common.rdclass == rdclass);
96 REQUIRE(null->data != NULL || null->length == 0);
101 return (mem_tobuffer(target, null->data, null->length));
106 dns_rdata_null_t *null = target;
112 null->common.rdclass = rdata->rdclass;
113 null->common.rdtype = rdata->type;
114 ISC_LINK_INIT(&null->common, link);
117 null->length = r.length;
118 null->data = mem_maybedup(mctx, r.base, r.length);
119 if (null->data == NULL)
122 null->mctx = mctx;
128 dns_rdata_null_t *null = source;
131 REQUIRE(null->common.rdtype == 10);
133 if (null->mctx == NULL)
136 if (null->data != NULL)
137 isc_mem_free(null->mctx, null->data);
138 null->mctx = NULL;