Home | History | Annotate | Download | only in lib

Lines Matching full:src2

164 #define BITSET_CHECK3_(DST, SRC1, SRC2) \
166 || !BITSET_COMPATIBLE_ (DST, SRC2)) abort ();
168 #define BITSET_CHECK4_(DST, SRC1, SRC2, SRC3) \
169 if (!BITSET_COMPATIBLE_ (DST, SRC1) || !BITSET_COMPATIBLE_ (DST, SRC2) \
229 /* DST = SRC1 & SRC2. */
230 #define BITSET_AND_(DST, SRC1, SRC2) (SRC1)->b.vtable->and_ (DST, SRC1, SRC2)
231 #define BITSET_AND_CMP_(DST, SRC1, SRC2) (SRC1)->b.vtable->and_cmp (DST, SRC1, SRC2)
233 /* DST = SRC1 & ~SRC2. */
234 #define BITSET_ANDN_(DST, SRC1, SRC2) (SRC1)->b.vtable->andn (DST, SRC1, SRC2)
235 #define BITSET_ANDN_CMP_(DST, SRC1, SRC2) (SRC1)->b.vtable->andn_cmp (DST, SRC1, SRC2)
237 /* DST = SRC1 | SRC2. */
238 #define BITSET_OR_(DST, SRC1, SRC2) (SRC1)->b.vtable->or_ (DST, SRC1, SRC2)
239 #define BITSET_OR_CMP_(DST, SRC1, SRC2) (SRC1)->b.vtable->or_cmp (DST, SRC1, SRC2)
241 /* DST = SRC1 ^ SRC2. */
242 #define BITSET_XOR_(DST, SRC1, SRC2) (SRC1)->b.vtable->xor_ (DST, SRC1, SRC2)
243 #define BITSET_XOR_CMP_(DST, SRC1, SRC2) (SRC1)->b.vtable->xor_cmp (DST, SRC1, SRC2)
247 /* DST = (SRC1 & SRC2) | SRC3. Return non-zero if
248 DST != (SRC1 & SRC2) | SRC3. */
249 #define BITSET_AND_OR_(DST, SRC1, SRC2, SRC3) \
250 (SRC1)->b.vtable->and_or (DST, SRC1, SRC2, SRC3)
251 #define BITSET_AND_OR_CMP_(DST, SRC1, SRC2, SRC3) \
252 (SRC1)->b.vtable->and_or_cmp (DST, SRC1, SRC2, SRC3)
254 /* DST = (SRC1 & ~SRC2) | SRC3. Return non-zero if
255 DST != (SRC1 & ~SRC2) | SRC3. */
256 #define BITSET_ANDN_OR_(DST, SRC1, SRC2, SRC3) \
257 (SRC1)->b.vtable->andn_or (DST, SRC1, SRC2, SRC3)
258 #define BITSET_ANDN_OR_CMP_(DST, SRC1, SRC2, SRC3) \
259 (SRC1)->b.vtable->andn_or_cmp (DST, SRC1, SRC2, SRC3)
261 /* DST = (SRC1 | SRC2) & SRC3. Return non-zero if
262 DST != (SRC1 | SRC2) & SRC3. */
263 #define BITSET_OR_AND_(DST, SRC1, SRC2, SRC3) \
264 (SRC1)->b.vtable->or_and (DST, SRC1, SRC2, SRC3)
265 #define BITSET_OR_AND_CMP_(DST, SRC1, SRC2, SRC3) \
266 (SRC1)->b.vtable->or_and_cmp (DST, SRC1, SRC2, SRC3)