/bind-9.11.3/lib/isc/ |
H A D | region.c | 22 isc_region_compare(isc_region_t *r1, isc_region_t *r2) { argument 26 REQUIRE(r1 != NULL); 29 l = (r1->length < r2->length) ? r1->length : r2->length; 31 if ((result = memcmp(r1->base, r2->base, l)) != 0) 34 return ((r1->length == r2->length) ? 0 : 35 (r1->length < r2->length) ? -1 : 1);
|
/bind-9.11.3/bin/tests/dst/ |
H A D | dst_test.c | 100 isc_region_t r1, r2; local 123 isc_buffer_usedregion(&buf1, &r1); 125 match = ISC_TF(r1.length == r2.length && 126 memcmp(r1.base, r2.base, r1.length) == 0); 155 isc_region_t r1, r2; local 190 isc_buffer_usedregion(&b1, &r1); 193 if (r1.length != r2.length || memcmp(r1.base, r2.base, r1 [all...] |
/bind-9.11.3/lib/dns/rdata/generic/ |
H A D | proforma.c | 66 isc_region_t r1; local 76 dns_rdata_toregion(rdata1, &r1); 78 return (isc_region_compare(&r1, &r2)); 166 isc_region_t r1; local 176 dns_rdata_toregion(rdata1, &r1); 178 return (isc_region_compare(&r1, &r2));
|
H A D | uri_256.c | 133 isc_region_t r1; local 143 dns_rdata_toregion(rdata1, &r1); 149 order = memcmp(r1.base, r2.base, 2); 152 isc_region_consume(&r1, 2); 158 order = memcmp(r1.base, r2.base, 2); 161 isc_region_consume(&r1, 2); 164 return (isc_region_compare(&r1, &r2));
|
H A D | avc_258.c | 65 isc_region_t r1; local 72 dns_rdata_toregion(rdata1, &r1); 74 return (isc_region_compare(&r1, &r2));
|
H A D | smimea_53.c | 55 isc_region_t r1; local 64 dns_rdata_toregion(rdata1, &r1); 66 return (isc_region_compare(&r1, &r2));
|
H A D | spf_99.c | 69 isc_region_t r1; local 76 dns_rdata_toregion(rdata1, &r1); 78 return (isc_region_compare(&r1, &r2));
|
H A D | openpgpkey_61.c | 97 isc_region_t r1; local 106 dns_rdata_toregion(rdata1, &r1); 108 return (isc_region_compare(&r1, &r2)); 224 isc_region_t r1; local 233 dns_rdata_toregion(rdata1, &r1); 236 return (isc_region_compare(&r1, &r2));
|
H A D | hip_55.c | 446 isc_region_t r1; local 460 dns_rdata_toregion(rdata1, &r1); 463 INSIST(r1.length > 4); 465 order = memcmp(r1.base, r2.base, 4); 469 hit_len = uint8_fromregion(&r1); 470 isc_region_consume(&r1, 2); /* hit length + algorithm */ 471 key_len = uint16_fromregion(&r1); 472 isc_region_consume(&r1, 2); /* key length */ 475 INSIST(r1.length >= (unsigned) (hit_len + key_len)); 477 order = memcmp(r1 [all...] |
H A D | sig_24.c | 313 isc_region_t r1; local 325 dns_rdata_toregion(rdata1, &r1); 328 INSIST(r1.length > 18); 330 r1.length = 18; 332 order = isc_region_compare(&r1, &r2); 338 dns_rdata_toregion(rdata1, &r1); 340 isc_region_consume(&r1, 18); 342 dns_name_fromregion(&name1, &r1); 348 isc_region_consume(&r1, name_length(&name1)); 351 return (isc_region_compare(&r1, [all...] |
H A D | rrsig_46.c | 339 isc_region_t r1; local 348 dns_rdata_toregion(rdata1, &r1); 350 return (isc_region_compare(&r1, &r2)); 573 isc_region_t r1; local 585 dns_rdata_toregion(rdata1, &r1); 588 INSIST(r1.length > 18); 590 r1.length = 18; 592 order = isc_region_compare(&r1, &r2); 598 dns_rdata_toregion(rdata1, &r1); 600 isc_region_consume(&r1, 1 [all...] |
H A D | cdnskey_60.c | 60 isc_region_t r1; local 71 dns_rdata_toregion(rdata1, &r1); 73 return (isc_region_compare(&r1, &r2));
|
H A D | cds_59.c | 64 isc_region_t r1; local 73 dns_rdata_toregion(rdata1, &r1); 75 return (isc_region_compare(&r1, &r2));
|
H A D | dlv_32769.c | 66 isc_region_t r1; local 75 dns_rdata_toregion(rdata1, &r1); 77 return (isc_region_compare(&r1, &r2));
|
H A D | dnskey_48.c | 67 isc_region_t r1; local 78 dns_rdata_toregion(rdata1, &r1); 80 return (isc_region_compare(&r1, &r2));
|
H A D | ninfo_56.c | 65 isc_region_t r1; local 72 dns_rdata_toregion(rdata1, &r1); 74 return (isc_region_compare(&r1, &r2));
|
H A D | null_10.c | 67 isc_region_t r1; local 74 dns_rdata_toregion(rdata1, &r1); 76 return (isc_region_compare(&r1, &r2));
|
H A D | rkey_57.c | 57 isc_region_t r1; local 68 dns_rdata_toregion(rdata1, &r1); 70 return (isc_region_compare(&r1, &r2));
|
H A D | ta_32768.c | 57 isc_region_t r1; local 66 dns_rdata_toregion(rdata1, &r1); 68 return (isc_region_compare(&r1, &r2));
|
H A D | unspec_103.c | 68 isc_region_t r1; local 75 dns_rdata_toregion(rdata1, &r1); 77 return (isc_region_compare(&r1, &r2));
|
H A D | afsdb_18.c | 251 isc_region_t r1, r2; local 256 dns_rdata_toregion(rdata, &r1); 257 r2 = r1; 259 r1.length = 2; 260 RETERR((digest)(arg, &r1));
|
H A D | mx_15.c | 285 isc_region_t r1, r2; local 290 dns_rdata_toregion(rdata, &r1); 291 r2 = r1; 293 r1.length = 2; 294 RETERR((digest)(arg, &r1));
|
H A D | rt_21.c | 251 isc_region_t r1, r2; local 257 dns_rdata_toregion(rdata, &r1); 258 r2 = r1; 260 r1.length = 2; 261 result = (digest)(arg, &r1);
|
/bind-9.11.3/lib/isc/include/isc/ |
H A D | region.h | 79 isc_region_compare(isc_region_t *r1, isc_region_t *r2); 84 *\li 'r1' is a valid region 88 *\li < 0 if r1 is lexicographically less than r2 89 *\li = 0 if r1 is lexicographically identical to r2 90 *\li > 0 if r1 is lexicographically greater than r2
|
/bind-9.11.3/lib/dns/rdata/in_1/ |
H A D | kx_36.c | 237 isc_region_t r1, r2; local 243 dns_rdata_toregion(rdata, &r1); 244 r2 = r1; 246 r1.length = 2; 247 RETERR((digest)(arg, &r1));
|