Lines Matching refs:sbcset

91 static reg_errcode_t build_equiv_class (bitset_t sbcset,
96 bitset_t sbcset,
102 static reg_errcode_t build_equiv_class (bitset_t sbcset,
105 bitset_t sbcset,
354 bitset_word_t w = dfa->nodes[node].opr.sbcset[i];
1122 if (dfa->nodes[node].opr.sbcset[i] >> rshift != 0)
2636 bitset_t sbcset,
2643 bitset_t sbcset,
2730 bitset_set (sbcset, wc);
2747 bitset_set (sbcset, ch);
2763 build_collating_symbol (bitset_t sbcset,
2774 bitset_set (sbcset, name[0]);
2908 build_range_exp (sbcset, mbcset, range_alloc, start_elem, end_elem)
2911 bitset_t sbcset;
2978 bitset_set (sbcset, ch);
2991 build_collating_symbol (sbcset, mbcset, coll_sym_alloc, name)
2994 bitset_t sbcset;
3013 bitset_set (sbcset, name[0]);
3044 bitset_set (sbcset, name[0]);
3052 re_bitset_ptr_t sbcset;
3079 sbcset = (re_bitset_ptr_t) calloc (sizeof (bitset_t), 1);
3084 if (BE (sbcset == NULL || mbcset == NULL, 0))
3086 if (BE (sbcset == NULL, 0))
3089 if (sbcset != NULL)
3090 re_free(sbcset);
3112 bitset_set (sbcset, '\n');
3191 *err = build_range_exp (sbcset, mbcset, &range_alloc,
3195 *err = build_range_exp (syntax, sbcset,
3199 *err = build_range_exp (syntax, sbcset, &start_elem, &end_elem);
3210 bitset_set (sbcset, start_elem.opr.ch);
3232 *err = build_equiv_class (sbcset,
3241 *err = build_collating_symbol (sbcset,
3250 *err = build_charclass (regexp->trans, sbcset,
3276 bitset_not (sbcset);
3281 bitset_mask (sbcset, dfa->sb_char);
3297 if (sbcset[sbc_idx])
3299 /* If there are no bits set in sbcset, there is no point
3305 br_token.opr.sbcset = sbcset;
3317 re_free (sbcset);
3330 br_token.opr.sbcset = sbcset;
3340 re_free (sbcset);
3439 build_equiv_class (bitset_t sbcset, re_charset_t *mbcset,
3442 build_equiv_class (bitset_t sbcset, const unsigned char *name)
3497 bitset_set (sbcset, ch);
3522 bitset_set (sbcset, *name);
3535 build_charclass (RE_TRANSLATE_TYPE trans, bitset_t sbcset,
3539 build_charclass (RE_TRANSLATE_TYPE trans, bitset_t sbcset,
3576 bitset_set (sbcset, trans[i]); \
3582 bitset_set (sbcset, i); \
3622 re_bitset_ptr_t sbcset;
3631 sbcset = (re_bitset_ptr_t) calloc (sizeof (bitset_t), 1);
3637 if (BE (sbcset == NULL || mbcset == NULL, 0))
3639 if (BE (sbcset == NULL, 0))
3642 if (sbcset != NULL)
3643 re_free(sbcset);
3660 ret = build_charclass (trans, sbcset,
3668 re_free (sbcset);
3677 bitset_set (sbcset, *extra);
3681 bitset_not (sbcset);
3686 bitset_mask (sbcset, dfa->sb_char);
3691 br_token.opr.sbcset = sbcset;
3722 re_free (sbcset);
3846 re_free (node->opr.sbcset);