Home | History | Annotate | Download | only in lib

Lines Matching refs:DST

161 #define BITSET_CHECK2_(DST, SRC) \
162 if (!BITSET_COMPATIBLE_ (DST, SRC)) abort ();
164 #define BITSET_CHECK3_(DST, SRC1, SRC2) \
165 if (!BITSET_COMPATIBLE_ (DST, SRC1) \
166 || !BITSET_COMPATIBLE_ (DST, SRC2)) abort ();
168 #define BITSET_CHECK4_(DST, SRC1, SRC2, SRC3) \
169 if (!BITSET_COMPATIBLE_ (DST, SRC1) || !BITSET_COMPATIBLE_ (DST, SRC2) \
170 || !BITSET_COMPATIBLE_ (DST, SRC3)) abort ();
173 /* Redefine number of bits in bitset DST. */
174 #define BITSET_RESIZE_(DST, SIZE) (DST)->b.vtable->resize (DST, SIZE)
183 #define BITSET_TYPE_(DST) (DST)->b.vtable->type
185 /* Set bit BITNO in bitset DST. */
186 #define BITSET_SET_(DST, BITNO) (DST)->b.vtable->set (DST, BITNO)
188 /* Reset bit BITNO in bitset DST. */
189 #define BITSET_RESET_(DST, BITNO) (DST)->b.vtable->reset (DST, BITNO)
191 /* Toggle bit BITNO in bitset DST. */
192 #define BITSET_TOGGLE_(DST, BITNO) (DST)->b.vtable->toggle (DST, BITNO)
205 /* DST = ~0. */
206 #define BITSET_ONES_(DST) (DST)->b.vtable->ones (DST)
208 /* DST = 0. */
209 #define BITSET_ZERO_(DST) (DST)->b.vtable->zero (DST)
213 /* DST = SRC. */
214 #define BITSET_COPY_(DST, SRC) (SRC)->b.vtable->copy (DST, SRC)
216 /* Return DST & SRC == 0. */
217 #define BITSET_DISJOINT_P_(DST, SRC) (SRC)->b.vtable->disjoint_p (DST, SRC)
219 /* Return DST == SRC. */
220 #define BITSET_EQUAL_P_(DST, SRC) (SRC)->b.vtable->equal_p (DST, SRC)
222 /* DST = ~SRC. */
223 #define BITSET_NOT_(DST, SRC) (SRC)->b.vtable->not_ (DST, SRC)
225 /* Return DST == DST | SRC. */
226 #define BITSET_SUBSET_P_(DST, SRC) (SRC)->b.vtable->subset_p (DST, SRC)
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)