Searched defs:sr (Results 1 - 25 of 30) sorted by relevance

12

/bind-9.6-ESV-R11/lib/isccc/
H A Dbase64.c51 isc_region_t sr; local
55 sr.base = source->rstart;
56 sr.length = source->rend - source->rstart;
59 result = isc_base64_totext(&sr, wordlength, wordbreak, &tb);
/bind-9.6-ESV-R11/lib/dns/rdata/generic/
H A Dnull_10.c51 isc_region_t sr; local
60 isc_buffer_activeregion(source, &sr);
61 isc_buffer_forward(source, sr.length);
62 return (mem_tobuffer(target, sr.base, sr.length));
H A Dunspec_103.c51 isc_region_t sr; local
60 isc_buffer_activeregion(source, &sr);
61 isc_buffer_forward(source, sr.length);
62 return (mem_tobuffer(target, sr.base, sr.length));
H A Dcert_37.c73 isc_region_t sr; local
82 dns_rdata_toregion(rdata, &sr);
87 n = uint16_fromregion(&sr);
88 isc_region_consume(&sr, 2);
95 n = uint16_fromregion(&sr);
96 isc_region_consume(&sr, 2);
103 RETERR(dns_secalg_totext(sr.base[0], target));
104 isc_region_consume(&sr, 1);
112 RETERR(isc_base64_totext(&sr, tctx->width - 2,
121 isc_region_t sr; local
140 isc_region_t sr; local
[all...]
H A Ddlv_32769.c88 isc_region_t sr; local
97 dns_rdata_toregion(rdata, &sr);
102 n = uint16_fromregion(&sr);
103 isc_region_consume(&sr, 2);
110 n = uint8_fromregion(&sr);
111 isc_region_consume(&sr, 1);
118 n = uint8_fromregion(&sr);
119 isc_region_consume(&sr, 1);
129 RETERR(isc_hex_totext(&sr, tctx->width - 2, tctx->linebreak, target));
137 isc_region_t sr; local
174 isc_region_t sr; local
[all...]
H A Ddnskey_48.c84 isc_region_t sr; local
92 dns_rdata_toregion(rdata, &sr);
95 flags = uint16_fromregion(&sr);
96 isc_region_consume(&sr, 2);
102 sprintf(buf, "%u", sr.base[0]);
103 isc_region_consume(&sr, 1);
108 algorithm = sr.base[0];
110 isc_region_consume(&sr, 1);
121 RETERR(isc_base64_totext(&sr, tctx->width - 2,
145 isc_region_t sr; local
174 isc_region_t sr; local
229 isc_region_t sr; local
[all...]
H A Dds_43.c88 isc_region_t sr; local
97 dns_rdata_toregion(rdata, &sr);
102 n = uint16_fromregion(&sr);
103 isc_region_consume(&sr, 2);
110 n = uint8_fromregion(&sr);
111 isc_region_consume(&sr, 1);
118 n = uint8_fromregion(&sr);
119 isc_region_consume(&sr, 1);
129 RETERR(isc_hex_totext(&sr, tctx->width - 2, tctx->linebreak, target));
137 isc_region_t sr; local
174 isc_region_t sr; local
[all...]
H A Dkey_25.c84 isc_region_t sr; local
92 dns_rdata_toregion(rdata, &sr);
95 flags = uint16_fromregion(&sr);
96 isc_region_consume(&sr, 2);
102 sprintf(buf, "%u", sr.base[0]);
103 isc_region_consume(&sr, 1);
108 algorithm = sr.base[0];
110 isc_region_consume(&sr, 1);
121 RETERR(isc_base64_totext(&sr, tctx->width - 2,
145 isc_region_t sr; local
174 isc_region_t sr; local
229 isc_region_t sr; local
[all...]
H A Dsshfp_44.c65 isc_region_t sr; local
74 dns_rdata_toregion(rdata, &sr);
79 n = uint8_fromregion(&sr);
80 isc_region_consume(&sr, 1);
87 n = uint8_fromregion(&sr);
88 isc_region_consume(&sr, 1);
98 RETERR(isc_hex_totext(&sr, tctx->width - 2, tctx->linebreak, target));
106 isc_region_t sr; local
115 isc_buffer_activeregion(source, &sr);
116 if (sr
125 isc_region_t sr; local
[all...]
H A Dtlsa_52.c73 isc_region_t sr; local
82 dns_rdata_toregion(rdata, &sr);
87 n = uint8_fromregion(&sr);
88 isc_region_consume(&sr, 1);
95 n = uint8_fromregion(&sr);
96 isc_region_consume(&sr, 1);
103 n = uint8_fromregion(&sr);
104 isc_region_consume(&sr, 1);
115 RETERR(isc_hex_totext(&sr, 0, "", target));
117 RETERR(isc_hex_totext(&sr, tct
126 isc_region_t sr; local
146 isc_region_t sr; local
[all...]
H A Duri_256.c224 isc_region_t sr; local
234 dns_rdata_toregion(rdata, &sr);
239 if (sr.length < 2)
241 uri->priority = uint16_fromregion(&sr);
242 isc_region_consume(&sr, 2);
247 if (sr.length < 2)
249 uri->weight = uint16_fromregion(&sr);
250 isc_region_consume(&sr, 2);
255 uri->tgt_len = sr.length;
256 uri->target = mem_maybedup(mctx, sr
[all...]
H A Dx25_19.c68 isc_region_t sr; local
77 isc_buffer_activeregion(source, &sr);
78 if (sr.length < 5)
H A Dafsdb_18.c98 isc_region_t sr; local
110 isc_buffer_activeregion(source, &sr);
114 if (sr.length < 2)
116 memmove(tr.base, sr.base, 2);
125 isc_region_t sr; local
134 dns_rdata_toregion(rdata, &sr);
137 memmove(tr.base, sr.base, 2);
138 isc_region_consume(&sr, 2);
142 dns_name_fromregion(&name, &sr);
H A Dnsec3param_51.c97 isc_region_t sr; local
109 dns_rdata_toregion(rdata, &sr);
111 hash = uint8_fromregion(&sr);
112 isc_region_consume(&sr, 1);
114 flags = uint8_fromregion(&sr);
115 isc_region_consume(&sr, 1);
117 iterations = uint16_fromregion(&sr);
118 isc_region_consume(&sr, 2);
129 j = uint8_fromregion(&sr);
130 isc_region_consume(&sr,
146 isc_region_t sr, rr; local
175 isc_region_t sr; local
[all...]
H A Dnsec_47.c88 isc_region_t sr; local
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
136 isc_region_t sr; local
197 isc_region_t sr; local
[all...]
H A Dnxt_30.c92 isc_region_t sr; local
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; local
144 isc_buffer_activeregion(source, &sr);
145 if (sr
155 isc_region_t sr; local
[all...]
H A Dtkey_249.c128 isc_region_t sr, dr; local
138 dns_rdata_toregion(rdata, &sr);
145 dns_name_fromregion(&name, &sr);
149 isc_region_consume(&sr, name_length(&name));
154 n = uint32_fromregion(&sr);
155 isc_region_consume(&sr, 4);
162 n = uint32_fromregion(&sr);
163 isc_region_consume(&sr, 4);
170 n = uint16_fromregion(&sr);
171 isc_region_consume(&sr,
240 isc_region_t sr; local
296 isc_region_t sr; local
408 isc_region_t sr; local
[all...]
H A Dloc_29.c466 isc_region_t sr; local
481 dns_rdata_toregion(rdata, &sr);
483 /* version = sr.base[0]; */
484 size = sr.base[1];
490 hp = sr.base[2];
496 vp = sr.base[3];
502 isc_region_consume(&sr, 4);
504 latitude = uint32_fromregion(&sr);
505 isc_region_consume(&sr, 4);
522 longitude = uint32_fromregion(&sr);
561 isc_region_t sr; local
[all...]
H A Dnaptr_35.c156 isc_region_t sr; local
170 isc_buffer_activeregion(source, &sr);
171 if (sr.length < 4)
173 RETERR(mem_tobuffer(target, sr.base, 4));
201 isc_region_t sr; local
210 dns_rdata_toregion(rdata, &sr);
211 RETERR(mem_tobuffer(target, sr.base, 4));
212 isc_region_consume(&sr, 4);
217 RETERR(mem_tobuffer(target, sr.base, sr
430 isc_region_t sr; local
[all...]
H A Dnsec3_50.c138 isc_region_t sr; local
151 dns_rdata_toregion(rdata, &sr);
153 hash = uint8_fromregion(&sr);
154 isc_region_consume(&sr, 1);
156 flags = uint8_fromregion(&sr);
157 isc_region_consume(&sr, 1);
159 iterations = uint16_fromregion(&sr);
160 isc_region_consume(&sr, 2);
171 j = uint8_fromregion(&sr);
172 isc_region_consume(&sr,
224 isc_region_t sr, rr; local
301 isc_region_t sr; local
[all...]
H A Drrsig_46.c155 isc_region_t sr; local
167 dns_rdata_toregion(rdata, &sr);
172 covered = uint16_fromregion(&sr);
173 isc_region_consume(&sr, 2);
190 sprintf(buf, "%u", sr.base[0]);
191 isc_region_consume(&sr, 1);
198 sprintf(buf, "%u", sr.base[0]);
199 isc_region_consume(&sr, 1);
206 ttl = uint32_fromregion(&sr);
207 isc_region_consume(&sr,
262 isc_region_t sr; local
304 isc_region_t sr; local
416 isc_region_t sr; local
[all...]
/bind-9.6-ESV-R11/lib/dns/rdata/in_1/
H A Ddhcid_49.c43 isc_region_t sr; local
51 dns_rdata_toregion(rdata, &sr);
55 RETERR(isc_base64_totext(&sr, tctx->width - 2, tctx->linebreak,
61 sr.base[0] * 256 + sr.base[1],
62 sr.base[2], rdata->length - 3);
72 isc_region_t sr; local
82 isc_buffer_activeregion(source, &sr);
83 if (sr.length == 0)
86 isc_buffer_forward(source, sr
92 isc_region_t sr; local
[all...]
H A Dnsap_22.c32 isc_textregion_t *sr; local
49 sr = &token.value.as_textregion;
50 if (sr->length < 2)
52 if (sr->base[0] != '0' || (sr->base[1] != 'x' && sr->base[1] != 'X'))
54 isc_textregion_consume(sr, 2);
56 while (sr->length > 0) {
57 if (sr->base[0] == '.') {
58 isc_textregion_consume(sr,
[all...]
H A Dsrv_33.c144 isc_region_t sr; local
159 isc_buffer_activeregion(source, &sr);
160 if (sr.length < 6)
162 RETERR(mem_tobuffer(target, sr.base, 6));
175 isc_region_t sr; local
184 dns_rdata_toregion(rdata, &sr);
185 RETERR(mem_tobuffer(target, sr.base, 6));
186 isc_region_consume(&sr, 6);
192 dns_name_fromregion(&name, &sr);
/bind-9.6-ESV-R11/lib/dns/rdata/any_255/
H A Dtsig_250.c134 isc_region_t sr; local
148 dns_rdata_toregion(rdata, &sr);
154 dns_name_fromregion(&name, &sr);
158 isc_region_consume(&sr, name_length(&name));
163 sigtime = ((isc_uint64_t)sr.base[0] << 40) |
164 ((isc_uint64_t)sr.base[1] << 32) |
165 ((isc_uint64_t)sr.base[2] << 24) |
166 ((isc_uint64_t)sr.base[3] << 16) |
167 ((isc_uint64_t)sr.base[4] << 8) |
168 (isc_uint64_t)sr
244 isc_region_t sr; local
307 isc_region_t sr; local
428 isc_region_t sr; local
[all...]

Completed in 29 milliseconds

12