/bind-9.6-ESV-R11/lib/dns/rdata/generic/ |
H A D | tkey_249.c | 128 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 D | rrsig_46.c | 155 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...] |
H A D | sig_24.c | 129 isc_region_t sr; local 143 dns_rdata_toregion(rdata, &sr); 148 covered = uint16_fromregion(&sr); 149 isc_region_consume(&sr, 2); 166 sprintf(buf, "%u", sr.base[0]); 167 isc_region_consume(&sr, 1); 174 sprintf(buf, "%u", sr.base[0]); 175 isc_region_consume(&sr, 1); 182 ttl = uint32_fromregion(&sr); 183 isc_region_consume(&sr, 240 isc_region_t sr; local 282 isc_region_t sr; local 421 isc_region_t sr; local [all...] |
H A D | dlv_32769.c | 88 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 D | ds_43.c | 88 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 D | dnskey_48.c | 84 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 D | key_25.c | 84 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 D | nsec_47.c | 88 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 D | nsec3_50.c | 138 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 D | nsec3param_51.c | 97 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 D | tlsa_52.c | 73 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 D | cert_37.c | 73 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 D | nxt_30.c | 92 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 D | sshfp_44.c | 65 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 D | naptr_35.c | 156 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 D | uri_256.c | 224 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 D | null_10.c | 51 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 D | unspec_103.c | 51 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));
|
/bind-9.6-ESV-R11/lib/dns/rdata/any_255/ |
H A D | tsig_250.c | 134 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...] |
/bind-9.6-ESV-R11/lib/dns/rdata/in_1/ |
H A D | wks_11.c | 167 isc_region_t sr; local 178 dns_rdata_toregion(rdata, &sr); 179 RETERR(inet_totext(AF_INET, &sr, target)); 180 isc_region_consume(&sr, 4); 182 proto = uint8_fromregion(&sr); 186 isc_region_consume(&sr, 1); 188 INSIST(sr.length <= 8*1024); 189 for (i = 0; i < sr.length; i++) { 190 if (sr.base[i] != 0) 192 if ((sr 204 isc_region_t sr; local 234 isc_region_t sr; local [all...] |
H A D | apl_42.c | 112 isc_region_t sr; local 128 dns_rdata_toregion(rdata, &sr); 132 while (sr.length > 0) { 133 INSIST(sr.length >= 4); 134 afi = uint16_fromregion(&sr); 135 isc_region_consume(&sr, 2); 136 prefix = *sr.base; 137 isc_region_consume(&sr, 1); 138 len = (*sr.base & 0x7f); 139 neg = ISC_TF((*sr 177 isc_region_t sr, sr2; local [all...] |
H A D | dhcid_49.c | 43 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 D | nsap_22.c | 32 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 D | a6_38.c | 100 isc_region_t sr, ar; local 114 dns_rdata_toregion(rdata, &sr); 115 prefixlen = sr.base[0]; 117 isc_region_consume(&sr, 1); 125 memmove(&addr[octets], sr.base, 16 - octets); 131 isc_region_consume(&sr, 16 - octets); 140 dns_name_fromregion(&name, &sr); 147 isc_region_t sr; local 161 isc_buffer_activeregion(source, &sr); 165 if (sr 196 isc_region_t sr; local [all...] |
/bind-9.6-ESV-R11/lib/isccc/ |
H A D | base64.c | 51 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);
|