/bind-9.11.3/lib/isccc/ |
H A D | base64.c | 42 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 D | cdnskey_60.c | 47 isc_region_t sr; local 54 dns_rdata_toregion(rdata, &sr); 55 return (mem_tobuffer(target, sr.base, sr.length));
|
H A D | dlv_32769.c | 53 isc_region_t sr; local 60 dns_rdata_toregion(rdata, &sr); 61 return (mem_tobuffer(target, sr.base, sr.length));
|
H A D | dnskey_48.c | 53 isc_region_t sr; local 61 dns_rdata_toregion(rdata, &sr); 62 return (mem_tobuffer(target, sr.base, sr.length));
|
H A D | null_10.c | 42 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 D | openpgpkey_61.c | 33 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 D | rkey_57.c | 43 isc_region_t sr; local 51 dns_rdata_toregion(rdata, &sr); 52 return (mem_tobuffer(target, sr.base, sr.length));
|
H A D | smimea_53.c | 42 isc_region_t sr; local 49 dns_rdata_toregion(rdata, &sr); 50 return (mem_tobuffer(target, sr.base, sr.length));
|
H A D | ta_32768.c | 44 isc_region_t sr; local 51 dns_rdata_toregion(rdata, &sr); 52 return (mem_tobuffer(target, sr.base, sr.length));
|
H A D | unspec_103.c | 42 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 D | caa_257.c | 116 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 D | cds_59.c | 51 isc_region_t sr; local 58 dns_rdata_toregion(rdata, &sr); 59 return (mem_tobuffer(target, sr.base, sr.length));
|
H A D | cert_37.c | 64 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 D | csync_62.c | 48 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 D | sink_40.c | 54 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 D | sshfp_44.c | 56 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 D | uri_256.c | 199 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 D | x25_19.c | 59 isc_region_t sr; local 68 isc_buffer_activeregion(source, &sr); 69 if (sr.length < 5)
|
H A D | afsdb_18.c | 90 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 D | ds_43.c | 99 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 D | key_25.c | 73 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 D | keydata_65533.c | 89 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 D | dhcid_49.c | 35 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 D | nsap_22.c | 23 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 D | tsig_250.c | 126 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...] |