Lines Matching refs:bs

187 #define BITSET_IS_EMPTY(bs,empty) do {\  argument
191 if ((bs)[i] != 0) {\
198 bitset_set_range(BitSetRef bs, int from, int to) in bitset_set_range() argument
202 BITSET_SET_BIT(bs, i); in bitset_set_range()
208 bitset_set_all(BitSetRef bs)
211 for (i = 0; i < BITSET_SIZE; i++) { bs[i] = ~((Bits )0); }
216 bitset_invert(BitSetRef bs) in bitset_invert() argument
219 for (i = 0; i < (int )BITSET_SIZE; i++) { bs[i] = ~(bs[i]); } in bitset_invert()
230 bitset_and(BitSetRef dest, BitSetRef bs) in bitset_and() argument
233 for (i = 0; i < (int )BITSET_SIZE; i++) { dest[i] &= bs[i]; } in bitset_and()
237 bitset_or(BitSetRef dest, BitSetRef bs) in bitset_or() argument
240 for (i = 0; i < (int )BITSET_SIZE; i++) { dest[i] |= bs[i]; } in bitset_or()
244 bitset_copy(BitSetRef dest, BitSetRef bs) in bitset_copy() argument
247 for (i = 0; i < (int )BITSET_SIZE; i++) { dest[i] = bs[i]; } in bitset_copy()
1128 BITSET_CLEAR(cc->bs); in initialize_cclass()
1940 bsr1 = dest->bs; in and_cclass()
1943 bsr2 = cc->bs; in and_cclass()
1955 if (bsr1 != dest->bs) { in and_cclass()
1956 bitset_copy(dest->bs, bsr1); in and_cclass()
1957 bsr1 = dest->bs; in and_cclass()
1960 bitset_invert(dest->bs); in and_cclass()
1998 bsr1 = dest->bs; in or_cclass()
2001 bsr2 = cc->bs; in or_cclass()
2013 if (bsr1 != dest->bs) { in or_cclass()
2014 bitset_copy(dest->bs, bsr1); in or_cclass()
2015 bsr1 = dest->bs; in or_cclass()
2018 bitset_invert(dest->bs); in or_cclass()
3798 BITSET_SET_BIT(cc->bs, j); in add_ctype_to_cc_by_range()
3818 BITSET_SET_BIT(cc->bs, j); in add_ctype_to_cc_by_range()
3823 BITSET_SET_BIT(cc->bs, j); in add_ctype_to_cc_by_range()
3878 BITSET_SET_BIT(cc->bs, c); in add_ctype_to_cc()
3885 BITSET_SET_BIT(cc->bs, c); in add_ctype_to_cc()
3895 BITSET_SET_BIT(cc->bs, c); in add_ctype_to_cc()
3901 BITSET_SET_BIT(cc->bs, c); in add_ctype_to_cc()
3910 if (IS_CODE_SB_WORD(enc, c)) BITSET_SET_BIT(cc->bs, c); in add_ctype_to_cc()
3918 BITSET_SET_BIT(cc->bs, c); in add_ctype_to_cc()
4081 BITSET_SET_BIT(cc->bs, (int )(*vs)); in next_state_class()
4109 BITSET_SET_BIT(cc->bs, (int )(*from)); in next_state_val()
4129 bitset_set_range(cc->bs, (int )*from, (int )to); in next_state_val()
4143 bitset_set_range(cc->bs, (int )*from, (int )(to < 0xff ? to : 0xff)); in next_state_val()
4500 BITSET_IS_EMPTY(cc->bs, is_empty); in parse_char_class()
4507 BITSET_SET_BIT(cc->bs, NEWLINE_CODE); in parse_char_class()
4882 bitset_invert(cc->bs); in clear_not_flag_cclass()
4913 BitSetRef bs; in i_apply_case_fold() local
4918 bs = cc->bs; in i_apply_case_fold()
4929 BITSET_SET_BIT(bs, *to); in i_apply_case_fold()
4940 BITSET_CLEAR_BIT(bs, *to); in i_apply_case_fold()
4943 BITSET_SET_BIT(bs, *to); in i_apply_case_fold()