Searched refs:r1 (Results 1 - 25 of 68) sorted by relevance

123

/bind-9.11.3/lib/isc/
H A Dregion.c22 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 Ddst_test.c100 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 Dproforma.c66 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 Duri_256.c133 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 Davc_258.c65 isc_region_t r1; local
72 dns_rdata_toregion(rdata1, &r1);
74 return (isc_region_compare(&r1, &r2));
H A Dsmimea_53.c55 isc_region_t r1; local
64 dns_rdata_toregion(rdata1, &r1);
66 return (isc_region_compare(&r1, &r2));
H A Dspf_99.c69 isc_region_t r1; local
76 dns_rdata_toregion(rdata1, &r1);
78 return (isc_region_compare(&r1, &r2));
H A Dopenpgpkey_61.c97 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 Dhip_55.c446 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 Dsig_24.c313 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 Drrsig_46.c339 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 Dcdnskey_60.c60 isc_region_t r1; local
71 dns_rdata_toregion(rdata1, &r1);
73 return (isc_region_compare(&r1, &r2));
H A Dcds_59.c64 isc_region_t r1; local
73 dns_rdata_toregion(rdata1, &r1);
75 return (isc_region_compare(&r1, &r2));
H A Ddlv_32769.c66 isc_region_t r1; local
75 dns_rdata_toregion(rdata1, &r1);
77 return (isc_region_compare(&r1, &r2));
H A Ddnskey_48.c67 isc_region_t r1; local
78 dns_rdata_toregion(rdata1, &r1);
80 return (isc_region_compare(&r1, &r2));
H A Dninfo_56.c65 isc_region_t r1; local
72 dns_rdata_toregion(rdata1, &r1);
74 return (isc_region_compare(&r1, &r2));
H A Dnull_10.c67 isc_region_t r1; local
74 dns_rdata_toregion(rdata1, &r1);
76 return (isc_region_compare(&r1, &r2));
H A Drkey_57.c57 isc_region_t r1; local
68 dns_rdata_toregion(rdata1, &r1);
70 return (isc_region_compare(&r1, &r2));
H A Dta_32768.c57 isc_region_t r1; local
66 dns_rdata_toregion(rdata1, &r1);
68 return (isc_region_compare(&r1, &r2));
H A Dunspec_103.c68 isc_region_t r1; local
75 dns_rdata_toregion(rdata1, &r1);
77 return (isc_region_compare(&r1, &r2));
H A Dafsdb_18.c251 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 Dmx_15.c285 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 Drt_21.c251 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 Dregion.h79 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 Dkx_36.c237 isc_region_t r1, r2; local
243 dns_rdata_toregion(rdata, &r1);
244 r2 = r1;
246 r1.length = 2;
247 RETERR((digest)(arg, &r1));

Completed in 28 milliseconds

123