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

12

/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);
/bind-9.11.3/lib/dns/rdata/generic/
H A Dcdnskey_60.c47 isc_region_t sr; local
54 dns_rdata_toregion(rdata, &sr);
55 return (mem_tobuffer(target, sr.base, sr.length));
H A Ddlv_32769.c53 isc_region_t sr; local
60 dns_rdata_toregion(rdata, &sr);
61 return (mem_tobuffer(target, sr.base, sr.length));
H A Ddnskey_48.c53 isc_region_t sr; local
61 dns_rdata_toregion(rdata, &sr);
62 return (mem_tobuffer(target, sr.base, sr.length));
H A Dnull_10.c42 isc_region_t sr; local
51 isc_buffer_activeregion(source, &sr);
52 isc_buffer_forward(source, sr.length);
53 return (mem_tobuffer(target, sr.base, sr.length));
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 Drkey_57.c43 isc_region_t sr; local
51 dns_rdata_toregion(rdata, &sr);
52 return (mem_tobuffer(target, sr.base, sr.length));
H A Dsmimea_53.c42 isc_region_t sr; local
49 dns_rdata_toregion(rdata, &sr);
50 return (mem_tobuffer(target, sr.base, sr.length));
H A Dta_32768.c44 isc_region_t sr; local
51 dns_rdata_toregion(rdata, &sr);
52 return (mem_tobuffer(target, sr.base, sr.length));
H A Dunspec_103.c42 isc_region_t sr; local
51 isc_buffer_activeregion(source, &sr);
52 isc_buffer_forward(source, sr.length);
53 return (mem_tobuffer(target, sr.base, sr.length));
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 Dcds_59.c51 isc_region_t sr; local
58 dns_rdata_toregion(rdata, &sr);
59 return (mem_tobuffer(target, sr.base, sr.length));
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 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 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 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 Duri_256.c199 isc_region_t sr; local
209 dns_rdata_toregion(rdata, &sr);
214 if (sr.length < 2)
216 uri->priority = uint16_fromregion(&sr);
217 isc_region_consume(&sr, 2);
222 if (sr.length < 2)
224 uri->weight = uint16_fromregion(&sr);
225 isc_region_consume(&sr, 2);
230 uri->tgt_len = sr.length;
231 uri->target = mem_maybedup(mctx, sr
[all...]
H A Dx25_19.c59 isc_region_t sr; local
68 isc_buffer_activeregion(source, &sr);
69 if (sr.length < 5)
H A Dafsdb_18.c90 isc_region_t sr; local
102 isc_buffer_activeregion(source, &sr);
106 if (sr.length < 2)
108 memmove(tr.base, sr.base, 2);
117 isc_region_t sr; local
126 dns_rdata_toregion(rdata, &sr);
129 memmove(tr.base, sr.base, 2);
130 isc_region_consume(&sr, 2);
134 dns_name_fromregion(&name, &sr);
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 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 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...]
/bind-9.11.3/lib/dns/rdata/in_1/
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 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...]
/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...]

Completed in 31 milliseconds

12