Lines Matching refs:bs

139 #define BITSET_IS_EMPTY(bs,empty) do {\  argument
143 if ((bs)[i] != 0) {\
150 bitset_set_range(BitSetRef bs, int from, int to) in bitset_set_range() argument
154 BITSET_SET_BIT(bs, i); in bitset_set_range()
160 bitset_set_all(BitSetRef bs)
164 bs[i] = ~((Bits )0);
170 bitset_invert(BitSetRef bs) in bitset_invert() argument
174 bs[i] = ~(bs[i]); in bitset_invert()
188 bitset_and(BitSetRef dest, BitSetRef bs) in bitset_and() argument
192 dest[i] &= bs[i]; in bitset_and()
197 bitset_or(BitSetRef dest, BitSetRef bs) in bitset_or() argument
201 dest[i] |= bs[i]; in bitset_or()
206 bitset_copy(BitSetRef dest, BitSetRef bs) in bitset_copy() argument
210 dest[i] = bs[i]; in bitset_copy()
1130 BITSET_CLEAR(cc->bs); in initialize_cclass()
1161 BITSET_CLEAR(cc->bs); in node_new_cclass_by_codepoint_range()
1167 BITSET_SET_BIT(cc->bs, j); in node_new_cclass_by_codepoint_range()
1956 bsr1 = dest->bs; in and_cclass()
1959 bsr2 = cc->bs; in and_cclass()
1971 if (bsr1 != dest->bs) { in and_cclass()
1972 bitset_copy(dest->bs, bsr1); in and_cclass()
1973 bsr1 = dest->bs; in and_cclass()
1976 bitset_invert(dest->bs); in and_cclass()
2014 bsr1 = dest->bs; in or_cclass()
2017 bsr2 = cc->bs; in or_cclass()
2029 if (bsr1 != dest->bs) { in or_cclass()
2030 bitset_copy(dest->bs, bsr1); in or_cclass()
2031 bsr1 = dest->bs; in or_cclass()
2034 bitset_invert(dest->bs); in or_cclass()
3569 BITSET_SET_BIT(cc->bs, j); in add_ctype_to_cc_by_range()
3587 BITSET_SET_BIT(cc->bs, j); in add_ctype_to_cc_by_range()
3593 BITSET_SET_BIT(cc->bs, j); in add_ctype_to_cc_by_range()
3648 BITSET_SET_BIT(cc->bs, c); in add_ctype_to_cc()
3655 BITSET_SET_BIT(cc->bs, c); in add_ctype_to_cc()
3665 BITSET_SET_BIT(cc->bs, c); in add_ctype_to_cc()
3671 BITSET_SET_BIT(cc->bs, c); in add_ctype_to_cc()
3680 if (ONIGENC_IS_CODE_SB_WORD(enc, c)) BITSET_SET_BIT(cc->bs, c); in add_ctype_to_cc()
3688 BITSET_SET_BIT(cc->bs, c); in add_ctype_to_cc()
3950 BITSET_SET_BIT(cc->bs, (int )(*vs)); in next_state_class()
3973 BITSET_SET_BIT(cc->bs, (int )(*vs)); in next_state_val()
3992 bitset_set_range(cc->bs, (int )*vs, (int )v); in next_state_val()
4009 bitset_set_range(cc->bs, (int )*vs, (int )(v < 0xff ? v : 0xff)); in next_state_val()
4364 BITSET_IS_EMPTY(cc->bs, is_empty); in parse_char_class()
4371 BITSET_SET_BIT(cc->bs, NEWLINE_CODE); in parse_char_class()
5027 BitSetRef bs = cc->bs; in parse_exp() local
5045 if (BITSET_AT(bs, ccs[i].from)) { in parse_exp()
5047 BITSET_SET_BIT(bs, ccs[i].to); in parse_exp()
5049 if (BITSET_AT(bs, ccs[i].to)) { in parse_exp()
5050 BITSET_SET_BIT(bs, ccs[i].from); in parse_exp()