Searched defs:sregion (Results 1 - 19 of 19) sorted by relevance

/bind-9.11.3/lib/dns/rdata/generic/
H A Dl32_105.c75 isc_region_t sregion; local
84 isc_buffer_activeregion(source, &sregion);
85 if (sregion.length != 6)
87 isc_buffer_forward(source, sregion.length);
88 return (mem_tobuffer(target, sregion.base, sregion.length));
H A Dl64_106.c74 isc_region_t sregion; local
83 isc_buffer_activeregion(source, &sregion);
84 if (sregion.length != 10)
86 isc_buffer_forward(source, sregion.length);
87 return (mem_tobuffer(target, sregion.base, sregion.length));
H A Dnid_104.c74 isc_region_t sregion; local
83 isc_buffer_activeregion(source, &sregion);
84 if (sregion.length != 10)
86 isc_buffer_forward(source, sregion.length);
87 return (mem_tobuffer(target, sregion.base, sregion.length));
H A Deui48_108.c65 isc_region_t sregion; local
74 isc_buffer_activeregion(source, &sregion);
75 if (sregion.length != 6)
77 isc_buffer_forward(source, sregion.length);
78 return (mem_tobuffer(target, sregion.base, sregion.length));
H A Deui64_109.c70 isc_region_t sregion; local
79 isc_buffer_activeregion(source, &sregion);
80 if (sregion.length != 8)
82 isc_buffer_forward(source, sregion.length);
83 return (mem_tobuffer(target, sregion.base, sregion.length));
H A Dlp_107.c77 isc_region_t sregion; local
88 isc_buffer_activeregion(source, &sregion);
89 if (sregion.length < 2)
91 RETERR(mem_tobuffer(target, sregion.base, 2));
H A Dopt_41.c87 isc_region_t sregion; local
100 isc_buffer_activeregion(source, &sregion);
101 if (sregion.length == 0)
104 while (sregion.length != 0) {
105 if (sregion.length < 4)
107 opt = uint16_fromregion(&sregion);
108 isc_region_consume(&sregion, 2);
109 length = uint16_fromregion(&sregion);
110 isc_region_consume(&sregion, 2);
112 if (sregion
[all...]
H A Drt_21.c86 isc_region_t sregion; local
98 isc_buffer_activeregion(source, &sregion);
102 if (sregion.length < 2)
104 memmove(tregion.base, sregion.base, 2);
H A Dtalink_58.c97 isc_region_t sregion; local
111 dns_rdata_toregion(rdata, &sregion);
113 dns_name_fromregion(&prev, &sregion);
114 isc_region_consume(&sregion, name_length(&prev));
117 dns_name_fromregion(&next, &sregion);
118 isc_region_consume(&sregion, name_length(&next));
H A Dmx_15.c117 isc_region_t sregion; local
128 isc_buffer_activeregion(source, &sregion);
129 if (sregion.length < 2)
131 RETERR(mem_tobuffer(target, sregion.base, 2));
H A Dsoa_6.c157 isc_region_t sregion; local
173 isc_buffer_activeregion(source, &sregion);
176 if (sregion.length < 20)
181 memmove(tregion.base, sregion.base, 20);
190 isc_region_t sregion; local
205 dns_rdata_toregion(rdata, &sregion);
207 dns_name_fromregion(&mname, &sregion);
208 isc_region_consume(&sregion, name_length(&mname));
211 dns_name_fromregion(&rname, &sregion);
212 isc_region_consume(&sregion, name_lengt
[all...]
/bind-9.11.3/lib/dns/rdata/hs_4/
H A Da_1.c63 isc_region_t sregion; local
74 isc_buffer_activeregion(source, &sregion);
76 if (sregion.length < 4)
81 memmove(tregion.base, sregion.base, 4);
/bind-9.11.3/lib/dns/rdata/in_1/
H A Da_1.c65 isc_region_t sregion; local
76 isc_buffer_activeregion(source, &sregion);
78 if (sregion.length < 4)
83 memmove(tregion.base, sregion.base, 4);
H A Daaaa_28.c66 isc_region_t sregion; local
77 isc_buffer_activeregion(source, &sregion);
79 if (sregion.length < 16)
84 memmove(tregion.base, sregion.base, 16);
H A Dkx_36.c81 isc_region_t sregion; local
93 isc_buffer_activeregion(source, &sregion);
94 if (sregion.length < 2)
96 RETERR(mem_tobuffer(target, sregion.base, 2));
H A Dpx_26.c111 isc_region_t sregion; local
126 isc_buffer_activeregion(source, &sregion);
127 if (sregion.length < 2)
129 RETERR(mem_tobuffer(target, sregion.base, 2));
/bind-9.11.3/lib/dns/rdata/ch_3/
H A Da_1.c90 isc_region_t sregion; local
106 isc_buffer_activeregion(source, &sregion);
108 if (sregion.length < 2)
113 memmove(tregion.base, sregion.base, 2);
124 isc_region_t sregion; local
135 dns_rdata_toregion(rdata, &sregion);
137 dns_name_fromregion(&name, &sregion);
138 isc_region_consume(&sregion, name_length(&name));
145 memmove(tregion.base, sregion.base, 2);
/bind-9.11.3/bin/named/
H A Dzoneconf.c382 isc_region_t region, sregion; local
444 dns_name_toregion(dns_zone_getorigin(zone), &sregion); local
445 rdata = isc_mem_get(mctx, sizeof(*rdata) + sregion.length);
453 region.length = sregion.length;
455 memmove(region.base, sregion.base, region.length);
477 isc_region_t sregion, region; local
513 dns_name_toregion(nsname, &sregion);
514 rdata = isc_mem_get(mctx, sizeof(*rdata) + sregion.length);
517 region.length = sregion.length;
519 memmove(region.base, sregion
[all...]
/bind-9.11.3/lib/dns/
H A Drdata.c1534 isc_region_t sregion; local
1537 isc_buffer_activeregion(source, &sregion);
1538 if (sregion.length == 0)
1540 n = *sregion.base + 1;
1541 if (n > sregion.length)
1548 if (tregion.base != sregion.base)
1549 memmove(tregion.base, sregion.base, n);

Completed in 46 milliseconds