Home | History | Annotate | Download | only in lib

Lines Matching refs:SRC2

162 #define BITSET_CHECK3_(DST, SRC1, SRC2) \
164 || !BITSET_COMPATIBLE_ (DST, SRC2)) abort ();
166 #define BITSET_CHECK4_(DST, SRC1, SRC2, SRC3) \
167 if (!BITSET_COMPATIBLE_ (DST, SRC1) || !BITSET_COMPATIBLE_ (DST, SRC2) \
227 /* DST = SRC1 & SRC2. */
228 #define BITSET_AND_(DST, SRC1, SRC2) (SRC1)->b.vtable->and_ (DST, SRC1, SRC2)
229 #define BITSET_AND_CMP_(DST, SRC1, SRC2) (SRC1)->b.vtable->and_cmp (DST, SRC1, SRC2)
231 /* DST = SRC1 & ~SRC2. */
232 #define BITSET_ANDN_(DST, SRC1, SRC2) (SRC1)->b.vtable->andn (DST, SRC1, SRC2)
233 #define BITSET_ANDN_CMP_(DST, SRC1, SRC2) (SRC1)->b.vtable->andn_cmp (DST, SRC1, SRC2)
235 /* DST = SRC1 | SRC2. */
236 #define BITSET_OR_(DST, SRC1, SRC2) (SRC1)->b.vtable->or_ (DST, SRC1, SRC2)
237 #define BITSET_OR_CMP_(DST, SRC1, SRC2) (SRC1)->b.vtable->or_cmp (DST, SRC1, SRC2)
239 /* DST = SRC1 ^ SRC2. */
240 #define BITSET_XOR_(DST, SRC1, SRC2) (SRC1)->b.vtable->xor_ (DST, SRC1, SRC2)
241 #define BITSET_XOR_CMP_(DST, SRC1, SRC2) (SRC1)->b.vtable->xor_cmp (DST, SRC1, SRC2)
245 /* DST = (SRC1 & SRC2) | SRC3. Return non-zero if
246 DST != (SRC1 & SRC2) | SRC3. */
247 #define BITSET_AND_OR_(DST, SRC1, SRC2, SRC3) \
248 (SRC1)->b.vtable->and_or (DST, SRC1, SRC2, SRC3)
249 #define BITSET_AND_OR_CMP_(DST, SRC1, SRC2, SRC3) \
250 (SRC1)->b.vtable->and_or_cmp (DST, SRC1, SRC2, SRC3)
252 /* DST = (SRC1 & ~SRC2) | SRC3. Return non-zero if
253 DST != (SRC1 & ~SRC2) | SRC3. */
254 #define BITSET_ANDN_OR_(DST, SRC1, SRC2, SRC3) \
255 (SRC1)->b.vtable->andn_or (DST, SRC1, SRC2, SRC3)
256 #define BITSET_ANDN_OR_CMP_(DST, SRC1, SRC2, SRC3) \
257 (SRC1)->b.vtable->andn_or_cmp (DST, SRC1, SRC2, SRC3)
259 /* DST = (SRC1 | SRC2) & SRC3. Return non-zero if
260 DST != (SRC1 | SRC2) & SRC3. */
261 #define BITSET_OR_AND_(DST, SRC1, SRC2, SRC3) \
262 (SRC1)->b.vtable->or_and (DST, SRC1, SRC2, SRC3)
263 #define BITSET_OR_AND_CMP_(DST, SRC1, SRC2, SRC3) \
264 (SRC1)->b.vtable->or_and_cmp (DST, SRC1, SRC2, SRC3)