Searched refs:sr (Results 1 - 25 of 48) sorted by relevance

12

/bind-9.11.3/lib/dns/rdata/generic/
H A Dsig_24.c121 isc_region_t sr; local
135 dns_rdata_toregion(rdata, &sr);
140 covered = uint16_fromregion(&sr);
141 isc_region_consume(&sr, 2);
157 snprintf(buf, sizeof(buf), "%u", sr.base[0]);
158 isc_region_consume(&sr, 1);
165 snprintf(buf, sizeof(buf), "%u", sr.base[0]);
166 isc_region_consume(&sr, 1);
173 ttl = uint32_fromregion(&sr);
174 isc_region_consume(&sr,
234 isc_region_t sr; local
276 isc_region_t sr; local
415 isc_region_t sr; local
[all...]
H A Dsink_40.c54 isc_region_t sr; local
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, 6
96 isc_region_t sr; local
169 isc_region_t sr; local
[all...]
H A Dds_43.c99 isc_region_t sr; local
107 dns_rdata_toregion(rdata, &sr);
112 n = uint16_fromregion(&sr);
113 isc_region_consume(&sr, 2);
120 n = uint8_fromregion(&sr);
121 isc_region_consume(&sr, 1);
128 n = uint8_fromregion(&sr);
129 isc_region_consume(&sr, 1);
141 RETERR(isc_hex_totext(&sr, 0, "", target));
143 RETERR(isc_hex_totext(&sr, tct
162 isc_region_t sr; local
218 isc_region_t sr; local
[all...]
H A Dkeydata_65533.c89 isc_region_t sr; local
102 dns_rdata_toregion(rdata, &sr);
105 refresh = uint32_fromregion(&sr);
106 isc_region_consume(&sr, 4);
111 add = uint32_fromregion(&sr);
112 isc_region_consume(&sr, 4);
117 deltime = uint32_fromregion(&sr);
118 isc_region_consume(&sr, 4);
123 flags = uint16_fromregion(&sr);
124 isc_region_consume(&sr,
237 isc_region_t sr; local
253 isc_region_t sr; local
314 isc_region_t sr; local
[all...]
H A Dtkey_249.c120 isc_region_t sr, dr; local
130 dns_rdata_toregion(rdata, &sr);
137 dns_name_fromregion(&name, &sr);
141 isc_region_consume(&sr, name_length(&name));
146 n = uint32_fromregion(&sr);
147 isc_region_consume(&sr, 4);
154 n = uint32_fromregion(&sr);
155 isc_region_consume(&sr, 4);
162 n = uint16_fromregion(&sr);
163 isc_region_consume(&sr,
238 isc_region_t sr; local
294 isc_region_t sr; local
406 isc_region_t sr; local
[all...]
H A Dnsec3_50.c103 isc_region_t sr; local
113 dns_rdata_toregion(rdata, &sr);
116 hash = uint8_fromregion(&sr);
117 isc_region_consume(&sr, 1);
122 flags = uint8_fromregion(&sr);
123 isc_region_consume(&sr, 1);
128 iterations = uint16_fromregion(&sr);
129 isc_region_consume(&sr, 2);
134 j = uint8_fromregion(&sr);
135 isc_region_consume(&sr,
176 isc_region_t sr, rr; local
217 isc_region_t sr; local
[all...]
H A Dkey_25.c73 isc_region_t sr; local
83 dns_rdata_toregion(rdata, &sr);
86 flags = uint16_fromregion(&sr);
87 isc_region_consume(&sr, 2);
101 snprintf(buf, sizeof(buf), "%u", sr.base[0]);
102 isc_region_consume(&sr, 1);
107 algorithm = sr.base[0];
109 isc_region_consume(&sr, 1);
120 dns_name_fromregion(&name, &sr);
134 RETERR(isc_base64_totext(&sr, 6
174 isc_region_t sr; local
239 isc_region_t sr; local
296 isc_region_t sr; local
[all...]
H A Drrsig_46.c147 isc_region_t sr; local
159 dns_rdata_toregion(rdata, &sr);
164 covered = uint16_fromregion(&sr);
165 isc_region_consume(&sr, 2);
181 snprintf(buf, sizeof(buf), "%u", sr.base[0]);
182 isc_region_consume(&sr, 1);
189 snprintf(buf, sizeof(buf), "%u", sr.base[0]);
190 isc_region_consume(&sr, 1);
197 ttl = uint32_fromregion(&sr);
198 isc_region_consume(&sr,
260 isc_region_t sr; local
302 isc_region_t sr; local
414 isc_region_t sr; local
[all...]
H A Dnsec3param_51.c89 isc_region_t sr; local
101 dns_rdata_toregion(rdata, &sr);
103 hash = uint8_fromregion(&sr);
104 isc_region_consume(&sr, 1);
106 flags = uint8_fromregion(&sr);
107 isc_region_consume(&sr, 1);
109 iterations = uint16_fromregion(&sr);
110 isc_region_consume(&sr, 2);
121 j = uint8_fromregion(&sr);
122 isc_region_consume(&sr,
138 isc_region_t sr, rr; local
167 isc_region_t sr; local
[all...]
H A Dcert_37.c64 isc_region_t sr; local
73 dns_rdata_toregion(rdata, &sr);
78 n = uint16_fromregion(&sr);
79 isc_region_consume(&sr, 2);
86 n = uint16_fromregion(&sr);
87 isc_region_consume(&sr, 2);
94 RETERR(dns_secalg_totext(sr.base[0], target));
95 isc_region_consume(&sr, 1);
104 RETERR(isc_base64_totext(&sr, 60, "", target));
106 RETERR(isc_base64_totext(&sr, tct
115 isc_region_t sr; local
134 isc_region_t sr; local
[all...]
H A Dcaa_257.c116 isc_region_t sr; local
129 isc_buffer_activeregion(source, &sr);
130 if (sr.length < 2)
136 RETERR(mem_tobuffer(target, sr.base, 2));
137 len = sr.base[1];
138 isc_region_consume(&sr, 2);
144 if (sr.length < len || len == 0)
149 if (!alphanumeric[sr.base[i]])
154 isc_buffer_forward(source, sr.length);
155 return (mem_tobuffer(target, sr
236 isc_region_t sr; local
[all...]
H A Dopenpgpkey_61.c33 isc_region_t sr; local
38 dns_rdata_toregion(rdata, &sr);
48 RETERR(isc_base64_totext(&sr, 60, "", target));
50 RETERR(isc_base64_totext(&sr, tctx->width - 2,
63 isc_region_t sr; local
75 isc_buffer_activeregion(source, &sr);
76 if (sr.length < 1)
78 isc_buffer_forward(source, sr.length);
79 return (mem_tobuffer(target, sr.base, sr
84 isc_region_t sr; local
132 isc_region_t sr; local
[all...]
H A Dsshfp_44.c56 isc_region_t sr; local
65 dns_rdata_toregion(rdata, &sr);
70 n = uint8_fromregion(&sr);
71 isc_region_consume(&sr, 1);
78 n = uint8_fromregion(&sr);
79 isc_region_consume(&sr, 1);
90 RETERR(isc_hex_totext(&sr, 0, "", target));
92 RETERR(isc_hex_totext(&sr, tctx->width - 2,
101 isc_region_t sr; local
110 isc_buffer_activeregion(source, &sr);
120 isc_region_t sr; local
[all...]
H A Dnxt_30.c84 isc_region_t sr; local
95 dns_rdata_toregion(rdata, &sr);
96 dns_name_fromregion(&name, &sr);
97 isc_region_consume(&sr, name_length(&name));
101 for (i = 0; i < sr.length; i++) {
102 if (sr.base[i] != 0)
104 if ((sr.base[i] & (0x80 >> j)) != 0) {
124 isc_region_t sr; local
137 isc_buffer_activeregion(source, &sr);
138 if (sr
148 isc_region_t sr; local
[all...]
H A Dcsync_62.c48 isc_region_t sr; local
55 dns_rdata_toregion(rdata, &sr);
57 num = uint32_fromregion(&sr);
58 isc_region_consume(&sr, 4);
64 num = uint16_fromregion(&sr);
65 isc_region_consume(&sr, 2);
69 return (typemap_totext(&sr, NULL, target));
74 isc_region_t sr; local
86 isc_buffer_activeregion(source, &sr);
87 if (sr
[all...]
H A Dtlsa_52.c61 isc_region_t sr; local
69 dns_rdata_toregion(rdata, &sr);
74 n = uint8_fromregion(&sr);
75 isc_region_consume(&sr, 1);
82 n = uint8_fromregion(&sr);
83 isc_region_consume(&sr, 1);
90 n = uint8_fromregion(&sr);
91 isc_region_consume(&sr, 1);
102 RETERR(isc_hex_totext(&sr, 0, "", target));
104 RETERR(isc_hex_totext(&sr, tct
113 isc_region_t sr; local
157 isc_region_t sr; local
[all...]
H A Dnsec_47.c52 isc_region_t sr; local
61 dns_rdata_toregion(rdata, &sr);
62 dns_name_fromregion(&name, &sr);
63 isc_region_consume(&sr, name_length(&name));
65 return (typemap_totext(&sr, NULL, target));
70 isc_region_t sr; local
83 isc_buffer_activeregion(source, &sr);
84 RETERR(typemap_test(&sr, ISC_FALSE));
85 RETERR(mem_tobuffer(target, sr.base, sr
92 isc_region_t sr; local
[all...]
H A Dnaptr_35.c245 isc_region_t sr; local
260 isc_buffer_activeregion(source, &sr);
261 if (sr.length < 4)
263 RETERR(mem_tobuffer(target, sr.base, 4));
293 isc_region_t sr; local
302 dns_rdata_toregion(rdata, &sr);
303 RETERR(mem_tobuffer(target, sr.base, 4));
304 isc_region_consume(&sr, 4);
309 RETERR(mem_tobuffer(target, sr.base, sr
522 isc_region_t sr; local
[all...]
/bind-9.11.3/lib/dns/rdata/any_255/
H A Dtsig_250.c126 isc_region_t sr; local
140 dns_rdata_toregion(rdata, &sr);
146 dns_name_fromregion(&name, &sr);
150 isc_region_consume(&sr, name_length(&name));
155 sigtime = ((isc_uint64_t)sr.base[0] << 40) |
156 ((isc_uint64_t)sr.base[1] << 32) |
157 ((isc_uint64_t)sr.base[2] << 24) |
158 ((isc_uint64_t)sr.base[3] << 16) |
159 ((isc_uint64_t)sr.base[4] << 8) |
160 (isc_uint64_t)sr
242 isc_region_t sr; local
305 isc_region_t sr; local
426 isc_region_t sr; local
[all...]
/bind-9.11.3/lib/dns/rdata/in_1/
H A Dapl_42.c103 isc_region_t sr; local
119 dns_rdata_toregion(rdata, &sr);
123 while (sr.length > 0) {
124 INSIST(sr.length >= 4);
125 afi = uint16_fromregion(&sr);
126 isc_region_consume(&sr, 2);
127 prefix = *sr.base;
128 isc_region_consume(&sr, 1);
129 len = (*sr.base & 0x7f);
130 neg = ISC_TF((*sr
168 isc_region_t sr, sr2; local
[all...]
H A Ddhcid_49.c35 isc_region_t sr, sr2; local
43 dns_rdata_toregion(rdata, &sr);
44 sr2 = sr;
49 RETERR(isc_base64_totext(&sr, 60, "", target));
51 RETERR(isc_base64_totext(&sr, tctx->width - 2,
68 isc_region_t sr; local
78 isc_buffer_activeregion(source, &sr);
79 if (sr.length == 0)
82 isc_buffer_forward(source, sr.length);
83 return (mem_tobuffer(target, sr
88 isc_region_t sr; local
[all...]
H A Dwks_11.c186 isc_region_t sr; local
197 dns_rdata_toregion(rdata, &sr);
198 RETERR(inet_totext(AF_INET, &sr, target));
199 isc_region_consume(&sr, 4);
201 proto = uint8_fromregion(&sr);
205 isc_region_consume(&sr, 1);
207 INSIST(sr.length <= 8*1024);
208 for (i = 0; i < sr.length; i++) {
209 if (sr.base[i] != 0)
211 if ((sr
224 isc_region_t sr; local
254 isc_region_t sr; local
[all...]
H A Dnsap_22.c23 isc_textregion_t *sr; local
41 sr = &token.value.as_textregion;
42 if (sr->length < 2)
44 if (sr->base[0] != '0' || (sr->base[1] != 'x' && sr->base[1] != 'X'))
46 isc_textregion_consume(sr, 2);
47 while (sr->length > 0) {
48 if (sr->base[0] == '.') {
49 isc_textregion_consume(sr,
[all...]
H A Da6_38.c92 isc_region_t sr, ar; local
106 dns_rdata_toregion(rdata, &sr);
107 prefixlen = sr.base[0];
109 isc_region_consume(&sr, 1);
117 memmove(&addr[octets], sr.base, 16 - octets);
123 isc_region_consume(&sr, 16 - octets);
132 dns_name_fromregion(&name, &sr);
139 isc_region_t sr; local
153 isc_buffer_activeregion(source, &sr);
157 if (sr
188 isc_region_t sr; local
[all...]
/bind-9.11.3/lib/isccc/
H A Dbase64.c42 isc_region_t sr; local
46 sr.base = source->rstart;
47 sr.length = (unsigned int)(source->rend - source->rstart);
51 result = isc_base64_totext(&sr, wordlength, wordbreak, &tb);

Completed in 29 milliseconds

12