Lines Matching refs:sr
88 isc_region_t sr;
99 dns_rdata_toregion(rdata, &sr);
100 dns_name_fromregion(&name, &sr);
101 isc_region_consume(&sr, name_length(&name));
105 for (i = 0; i < sr.length; i += len) {
106 INSIST(i + 2 <= sr.length);
107 window = sr.base[i];
108 len = sr.base[i + 1];
111 INSIST(i + len <= sr.length);
114 if (sr.base[i + j] == 0)
117 if ((sr.base[i + j] & (0x80 >> k)) == 0)
136 isc_region_t sr;
153 isc_buffer_activeregion(source, &sr);
154 for (i = 0; i < sr.length; i += len) {
158 if (i + 2 > sr.length)
160 window = sr.base[i];
161 len = sr.base[i + 1];
176 if (i + len > sr.length)
181 if (sr.base[i + len - 1] == 0)
186 if (i != sr.length)
190 RETERR(mem_tobuffer(target, sr.base, sr.length));
191 isc_buffer_forward(source, sr.length);
197 isc_region_t sr;
206 dns_rdata_toregion(rdata, &sr);
207 dns_name_fromregion(&name, &sr);
208 isc_region_consume(&sr, name_length(&name));
211 return (mem_tobuffer(target, sr.base, sr.length));