Lines Matching refs:sr
92 isc_region_t sr;
103 dns_rdata_toregion(rdata, &sr);
104 dns_name_fromregion(&name, &sr);
105 isc_region_consume(&sr, name_length(&name));
109 for (i = 0; i < sr.length; i++) {
110 if (sr.base[i] != 0)
112 if ((sr.base[i] & (0x80 >> j)) != 0) {
131 isc_region_t sr;
144 isc_buffer_activeregion(source, &sr);
145 if (sr.length > 0 && (sr.base[0] & 0x80) == 0 &&
146 ((sr.length > 16) || sr.base[sr.length - 1] == 0))
148 RETERR(mem_tobuffer(target, sr.base, sr.length));
149 isc_buffer_forward(source, sr.length);
155 isc_region_t sr;
164 dns_rdata_toregion(rdata, &sr);
165 dns_name_fromregion(&name, &sr);
166 isc_region_consume(&sr, name_length(&name));
169 return (mem_tobuffer(target, sr.base, sr.length));