Lines Matching defs:region

36 	isc_region_t region;
87 isc_buffer_availableregion(target, &region);
88 if (region.length < 4)
90 memmove(region.base, &addr, 4);
97 isc_buffer_availableregion(target, &region);
98 if (region.length < 16)
100 memmove(region.base, addr6, 16);
121 isc_region_t region;
141 dns_rdata_toregion(rdata, &region);
142 num = uint8_fromregion(&region);
143 isc_region_consume(&region, 1);
150 gateway = uint8_fromregion(&region);
151 isc_region_consume(&region, 1);
158 num = uint8_fromregion(&region);
159 isc_region_consume(&region, 1);
172 RETERR(inet_totext(AF_INET, &region, target));
173 isc_region_consume(&region, 4);
177 RETERR(inet_totext(AF_INET6, &region, target));
178 isc_region_consume(&region, 16);
182 dns_name_fromregion(&name, &region);
184 isc_region_consume(&region, name_length(&name));
191 if (region.length > 0U) {
193 RETERR(isc_base64_totext(&region, tctx->width - 2,
205 isc_region_t region;
216 isc_buffer_activeregion(source, &region);
217 if (region.length < 3)
220 switch (region.base[1]) {
222 isc_buffer_forward(source, region.length);
223 return (mem_tobuffer(target, region.base, region.length));
226 if (region.length < 7)
228 isc_buffer_forward(source, region.length);
229 return (mem_tobuffer(target, region.base, region.length));
232 if (region.length < 19)
234 isc_buffer_forward(source, region.length);
235 return (mem_tobuffer(target, region.base, region.length));
238 RETERR(mem_tobuffer(target, region.base, 3));
241 isc_buffer_activeregion(source, &region);
242 isc_buffer_forward(source, region.length);
243 return(mem_tobuffer(target, region.base, region.length));
252 isc_region_t region;
259 dns_rdata_toregion(rdata, &region);
260 return (mem_tobuffer(target, region.base, region.length));
283 isc_region_t region;
315 dns_name_toregion(&ipseckey->gateway, &region);
316 RETERR(isc_buffer_copyregion(target, &region));
325 isc_region_t region;
342 dns_rdata_toregion(rdata, &region);
344 ipseckey->precedence = uint8_fromregion(&region);
345 isc_region_consume(&region, 1);
347 ipseckey->gateway_type = uint8_fromregion(&region);
348 isc_region_consume(&region, 1);
350 ipseckey->algorithm = uint8_fromregion(&region);
351 isc_region_consume(&region, 1);
358 n = uint32_fromregion(&region);
360 isc_region_consume(&region, 4);
364 memmove(ipseckey->in6_addr.s6_addr, region.base, 16);
365 isc_region_consume(&region, 16);
370 dns_name_fromregion(&name, &region);
372 isc_region_consume(&region, name_length(&name));
376 ipseckey->keylength = region.length;
378 ipseckey->key = mem_maybedup(mctx, region.base,
426 isc_region_t region;
430 dns_rdata_toregion(rdata, &region);
431 return ((digest)(arg, &region));