Lines Matching refs:sr
167 isc_region_t sr;
178 dns_rdata_toregion(rdata, &sr);
179 RETERR(inet_totext(AF_INET, &sr, target));
180 isc_region_consume(&sr, 4);
182 proto = uint8_fromregion(&sr);
186 isc_region_consume(&sr, 1);
188 INSIST(sr.length <= 8*1024);
189 for (i = 0; i < sr.length; i++) {
190 if (sr.base[i] != 0)
192 if ((sr.base[i] & (0x80 >> j)) != 0) {
204 isc_region_t sr;
215 isc_buffer_activeregion(source, &sr);
218 if (sr.length < 5)
220 if (sr.length > 8 * 1024 + 5)
222 if (tr.length < sr.length)
225 memmove(tr.base, sr.base, sr.length);
226 isc_buffer_add(target, sr.length);
227 isc_buffer_forward(source, sr.length);
234 isc_region_t sr;
242 dns_rdata_toregion(rdata, &sr);
243 return (mem_tobuffer(target, sr.base, sr.length));