Lines Matching refs:rrs1
207 bool knot_rdataset_eq(const knot_rdataset_t *rrs1, const knot_rdataset_t *rrs2) in knot_rdataset_eq() argument
209 if (rrs1 == NULL || rrs2 == NULL || rrs1->count != rrs2->count) { in knot_rdataset_eq()
213 knot_rdata_t *rr1 = rrs1->rdata; in knot_rdataset_eq()
215 for (uint16_t i = 0; i < rrs1->count; ++i) { in knot_rdataset_eq()
250 int knot_rdataset_merge(knot_rdataset_t *rrs1, const knot_rdataset_t *rrs2, in knot_rdataset_merge() argument
253 if (rrs1 == NULL || rrs2 == NULL) { in knot_rdataset_merge()
259 int ret = knot_rdataset_add(rrs1, rr2, mm); in knot_rdataset_merge()
270 int knot_rdataset_intersect(const knot_rdataset_t *rrs1, const knot_rdataset_t *rrs2, in knot_rdataset_intersect() argument
273 if (rrs1 == NULL || rrs2 == NULL || out == NULL) { in knot_rdataset_intersect()
278 knot_rdata_t *rr1 = rrs1->rdata; in knot_rdataset_intersect()
279 for (uint16_t i = 0; i < rrs1->count; ++i) { in knot_rdataset_intersect()