Lines Matching defs:bs

151 #define BITSET_SET_BIT_CHKDUP(bs, pos) do { \
152 if (BITSET_AT(bs, pos)) CC_DUP_WARN(env); \
153 BS_ROOM(bs, pos) |= BS_BIT(pos); \
156 #define BITSET_IS_EMPTY(bs,empty) do {\
160 if ((bs)[i] != 0) {\
167 bitset_set_range(ScanEnv *env, BitSetRef bs, int from, int to)
171 BITSET_SET_BIT_CHKDUP(bs, i);
177 bitset_set_all(BitSetRef bs)
180 for (i = 0; i < BITSET_SIZE; i++) { bs[i] = ~((Bits )0); }
185 bitset_invert(BitSetRef bs)
188 for (i = 0; i < BITSET_SIZE; i++) { bs[i] = ~(bs[i]); }
199 bitset_and(BitSetRef dest, BitSetRef bs)
202 for (i = 0; i < BITSET_SIZE; i++) { dest[i] &= bs[i]; }
206 bitset_or(BitSetRef dest, BitSetRef bs)
209 for (i = 0; i < BITSET_SIZE; i++) { dest[i] |= bs[i]; }
213 bitset_copy(BitSetRef dest, BitSetRef bs)
216 for (i = 0; i < BITSET_SIZE; i++) { dest[i] = bs[i]; }
1150 BITSET_CLEAR(cc->bs);
1181 BITSET_CLEAR(cc->bs);
1189 BITSET_SET_BIT(cc->bs, j);
2050 bsr1 = dest->bs;
2053 bsr2 = cc->bs;
2065 if (bsr1 != dest->bs) {
2066 bitset_copy(dest->bs, bsr1);
2067 bsr1 = dest->bs;
2070 bitset_invert(dest->bs);
2108 bsr1 = dest->bs;
2111 bsr2 = cc->bs;
2123 if (bsr1 != dest->bs) {
2124 bitset_copy(dest->bs, bsr1);
2125 bsr1 = dest->bs;
2128 bitset_invert(dest->bs);
4061 BITSET_SET_BIT_CHKDUP(cc->bs, j);
4082 BITSET_SET_BIT_CHKDUP(cc->bs, j);
4087 BITSET_SET_BIT_CHKDUP(cc->bs, j);
4140 bitset_set_range(env, ccascii.bs, 0x00, 0x7F);
4177 BITSET_SET_BIT_CHKDUP(cc->bs, c);
4184 BITSET_SET_BIT_CHKDUP(cc->bs, c);
4195 BITSET_SET_BIT_CHKDUP(cc->bs, c);
4203 BITSET_SET_BIT_CHKDUP(cc->bs, c);
4213 if (ONIGENC_IS_CODE_WORD(enc, c)) BITSET_SET_BIT_CHKDUP(cc->bs, c);
4222 BITSET_SET_BIT_CHKDUP(cc->bs, c);
4391 BITSET_SET_BIT_CHKDUP(cc->bs, (int )(*vs));
4414 BITSET_SET_BIT_CHKDUP(cc->bs, (int )(*vs));
4433 bitset_set_range(env, cc->bs, (int )*vs, (int )v);
4450 bitset_set_range(env, cc->bs, (int )*vs, (int )(v < 0xff ? v : 0xff));
4805 BITSET_IS_EMPTY(cc->bs, is_empty);
4812 BITSET_SET_BIT_CHKDUP(cc->bs, NEWLINE_CODE);
5438 bitset_invert(cc->bs);
5469 BitSetRef bs;
5474 bs = cc->bs;
5485 BITSET_SET_BIT(bs, *to);
5496 BITSET_CLEAR_BIT(bs, *to);
5499 BITSET_SET_BIT(bs, *to);
5570 bitset_set_range(env, cc->bs, 0x0A, 0x0D);
5711 if (((c < SINGLE_BYTE_SIZE) && BITSET_AT(cc->bs, c))) {
5723 Bits b1 = cc->bs[i];