Lines Matching refs:ch

284 re_set_fastmap (char *fastmap, bool icase, int ch)  in weak_alias()
286 fastmap[ch] = 1; in weak_alias()
288 fastmap[tolower (ch)] = 1; in weak_alias()
334 int i, ch; in re_compile_fastmap_iter() local
335 for (i = 0, ch = 0; i < BITSET_WORDS; ++i) in re_compile_fastmap_iter()
339 for (j = 0; j < BITSET_WORD_BITS; ++j, ++ch) in re_compile_fastmap_iter()
341 re_set_fastmap (fastmap, icase, ch); in re_compile_fastmap_iter()
896 int i, j, ch; in init_dfa() local
903 for (i = 0, ch = 0; i < BITSET_WORDS; ++i) in init_dfa()
904 for (j = 0; j < BITSET_WORD_BITS; ++j, ++ch) in init_dfa()
906 wint_t wch = __btowc (ch); in init_dfa()
910 if (isascii (ch) && wch != ch) in init_dfa()
932 int ch = 0; in init_word_char() local
959 ch = 128; in init_word_char()
963 memset (&dfa->word_char[i], '\0', (SBC_MAX - ch) / 8); in init_word_char()
970 for (j = 0; j < BITSET_WORD_BITS; ++j, ++ch) in init_word_char()
971 if (isalnum (ch) || ch == '_') in init_word_char()
2724 start_ch = ((start_elem->type == SB_CHAR) ? start_elem->opr.ch in build_range_exp()
2727 end_ch = ((end_elem->type == SB_CHAR) ? end_elem->opr.ch in build_range_exp()
2789 unsigned int ch; in build_range_exp() local
2790 start_ch = ((start_elem->type == SB_CHAR ) ? start_elem->opr.ch in build_range_exp()
2793 end_ch = ((end_elem->type == SB_CHAR ) ? end_elem->opr.ch in build_range_exp()
2799 for (ch = 0; ch < SBC_MAX; ++ch) in build_range_exp()
2800 if (start_ch <= ch && ch <= end_ch) in build_range_exp()
2801 bitset_set (sbcset, ch); in build_range_exp()
2880 return collseqmb[br_elem->opr.ch]; in lookup_collation_sequence_value()
2883 wint_t wc = __btowc (br_elem->opr.ch); in lookup_collation_sequence_value()
2949 unsigned int ch; in build_range_exp() local
3009 for (ch = 0; ch < SBC_MAX; ch++) in build_range_exp()
3014 ch_collseq = collseqmb[ch]; in build_range_exp()
3016 ch_collseq = __collseq_table_lookup (collseqwc, __btowc (ch)); in build_range_exp()
3018 bitset_set (sbcset, ch); in build_range_exp()
3268 bitset_set (sbcset, start_elem.opr.ch); in parse_bracket_exp()
3440 elem->opr.ch = token->opr.c; in parse_bracket_element()
3452 unsigned char ch, delim = token->opr.c; in parse_bracket_symbol() local
3461 ch = re_string_fetch_byte_case (regexp); in parse_bracket_symbol()
3463 ch = re_string_fetch_byte (regexp); in parse_bracket_symbol()
3466 if (ch == delim && re_string_peek_byte (regexp, 0) == ']') in parse_bracket_symbol()
3468 elem->opr.name[i] = ch; in parse_bracket_symbol()
3511 unsigned int ch; in build_equiv_class() local
3529 for (ch = 0; ch < SBC_MAX; ++ch) in build_equiv_class()
3531 char_buf[0] = ch; in build_equiv_class()
3545 bitset_set (sbcset, ch); in build_equiv_class()