Lines Matching refs:bs

143 #define BITSET_IS_EMPTY(bs,empty) do {\  argument
147 if ((bs)[i] != 0) {\
154 bitset_set_range(BitSetRef bs, int from, int to) in bitset_set_range() argument
158 BITSET_SET_BIT(bs, i); in bitset_set_range()
164 bitset_set_all(BitSetRef bs)
167 for (i = 0; i < BITSET_SIZE; i++) { bs[i] = ~((Bits )0); }
172 bitset_invert(BitSetRef bs) in bitset_invert() argument
175 for (i = 0; i < (int )BITSET_SIZE; i++) { bs[i] = ~(bs[i]); } in bitset_invert()
186 bitset_and(BitSetRef dest, BitSetRef bs) in bitset_and() argument
189 for (i = 0; i < (int )BITSET_SIZE; i++) { dest[i] &= bs[i]; } in bitset_and()
193 bitset_or(BitSetRef dest, BitSetRef bs) in bitset_or() argument
196 for (i = 0; i < (int )BITSET_SIZE; i++) { dest[i] |= bs[i]; } in bitset_or()
200 bitset_copy(BitSetRef dest, BitSetRef bs) in bitset_copy() argument
203 for (i = 0; i < (int )BITSET_SIZE; i++) { dest[i] = bs[i]; } in bitset_copy()
1121 BITSET_CLEAR(cc->bs); in initialize_cclass()
1152 BITSET_CLEAR(cc->bs); in node_new_cclass_by_codepoint_range()
1160 BITSET_SET_BIT(cc->bs, j); in node_new_cclass_by_codepoint_range()
1981 bsr1 = dest->bs; in and_cclass()
1984 bsr2 = cc->bs; in and_cclass()
1996 if (bsr1 != dest->bs) { in and_cclass()
1997 bitset_copy(dest->bs, bsr1); in and_cclass()
1998 bsr1 = dest->bs; in and_cclass()
2001 bitset_invert(dest->bs); in and_cclass()
2039 bsr1 = dest->bs; in or_cclass()
2042 bsr2 = cc->bs; in or_cclass()
2054 if (bsr1 != dest->bs) { in or_cclass()
2055 bitset_copy(dest->bs, bsr1); in or_cclass()
2056 bsr1 = dest->bs; in or_cclass()
2059 bitset_invert(dest->bs); in or_cclass()
3775 BITSET_SET_BIT(cc->bs, j); in add_ctype_to_cc_by_range()
3796 BITSET_SET_BIT(cc->bs, j); in add_ctype_to_cc_by_range()
3801 BITSET_SET_BIT(cc->bs, j); in add_ctype_to_cc_by_range()
3856 BITSET_SET_BIT(cc->bs, c); in add_ctype_to_cc()
3863 BITSET_SET_BIT(cc->bs, c); in add_ctype_to_cc()
3873 BITSET_SET_BIT(cc->bs, c); in add_ctype_to_cc()
3879 BITSET_SET_BIT(cc->bs, c); in add_ctype_to_cc()
3888 if (IS_CODE_SB_WORD(enc, c)) BITSET_SET_BIT(cc->bs, c); in add_ctype_to_cc()
3896 BITSET_SET_BIT(cc->bs, c); in add_ctype_to_cc()
4061 BITSET_SET_BIT(cc->bs, (int )(*vs)); in next_state_class()
4084 BITSET_SET_BIT(cc->bs, (int )(*vs)); in next_state_val()
4103 bitset_set_range(cc->bs, (int )*vs, (int )v); in next_state_val()
4120 bitset_set_range(cc->bs, (int )*vs, (int )(v < 0xff ? v : 0xff)); in next_state_val()
4476 BITSET_IS_EMPTY(cc->bs, is_empty); in parse_char_class()
4483 BITSET_SET_BIT(cc->bs, NEWLINE_CODE); in parse_char_class()
4930 bitset_invert(cc->bs); in clear_not_flag_cclass()
4961 BitSetRef bs; in i_apply_case_fold() local
4966 bs = cc->bs; in i_apply_case_fold()
4977 BITSET_SET_BIT(bs, *to); in i_apply_case_fold()
4988 BITSET_CLEAR_BIT(bs, *to); in i_apply_case_fold()
4991 BITSET_SET_BIT(bs, *to); in i_apply_case_fold()