Lines Matching refs:bs2
286 bitset_and(bitset_t *bs1, bitset_t *bs2, bitset_t *res)
290 ASSERT(bs1->bs_fanout == bs2->bs_fanout);
294 if ((res->bs_set[i] = (bs1->bs_set[i] & bs2->bs_set[i])) != 0)
301 bitset_or(bitset_t *bs1, bitset_t *bs2, bitset_t *res)
305 ASSERT(bs1->bs_fanout == bs2->bs_fanout);
309 if ((res->bs_set[i] = (bs1->bs_set[i] | bs2->bs_set[i])) != 0)
316 bitset_xor(bitset_t *bs1, bitset_t *bs2, bitset_t *res)
320 ASSERT(bs1->bs_fanout == bs2->bs_fanout);
324 if ((res->bs_set[i] = (bs1->bs_set[i] ^ bs2->bs_set[i])) != 0)
334 bitset_match(bitset_t *bs1, bitset_t *bs2)
338 if (bs1->bs_words != bs2->bs_words)
342 if (bs1->bs_set[i] != bs2->bs_set[i])