Lines Matching defs:sr
54 isc_region_t sr;
61 dns_rdata_toregion(rdata, &sr);
64 meaning = uint8_fromregion(&sr);
65 isc_region_consume(&sr, 1);
66 coding = uint8_fromregion(&sr);
67 isc_region_consume(&sr, 1);
68 subcoding = uint8_fromregion(&sr);
69 isc_region_consume(&sr, 1);
73 if (sr.length == 0U)
83 RETERR(isc_base64_totext(&sr, 60, "", target));
85 RETERR(isc_base64_totext(&sr, tctx->width - 2,
96 isc_region_t sr;
105 isc_buffer_activeregion(source, &sr);
106 if (sr.length < 3)
109 RETERR(mem_tobuffer(target, sr.base, sr.length));
110 isc_buffer_forward(source, sr.length);
169 isc_region_t sr;
179 dns_rdata_toregion(rdata, &sr);
182 if (sr.length < 1)
184 sink->meaning = uint8_fromregion(&sr);
185 isc_region_consume(&sr, 1);
188 if (sr.length < 1)
190 sink->coding = uint8_fromregion(&sr);
191 isc_region_consume(&sr, 1);
194 if (sr.length < 1)
196 sink->subcoding = uint8_fromregion(&sr);
197 isc_region_consume(&sr, 1);
200 sink->datalen = sr.length;
201 sink->data = mem_maybedup(mctx, sr.base, sink->datalen);