Lines Matching refs:ch
299 re_set_fastmap (char *fastmap, bool icase, int ch) in weak_alias()
301 fastmap[ch] = 1; in weak_alias()
303 fastmap[tolower (ch)] = 1; in weak_alias()
349 int i, ch; in re_compile_fastmap_iter() local
350 for (i = 0, ch = 0; i < BITSET_WORDS; ++i) in re_compile_fastmap_iter()
354 for (j = 0; j < BITSET_WORD_BITS; ++j, ++ch) in re_compile_fastmap_iter()
356 re_set_fastmap (fastmap, icase, ch); in re_compile_fastmap_iter()
913 int i, j, ch; in init_dfa() local
920 for (i = 0, ch = 0; i < BITSET_WORDS; ++i) in init_dfa()
921 for (j = 0; j < BITSET_WORD_BITS; ++j, ++ch) in init_dfa()
923 wint_t wch = __btowc (ch); in init_dfa()
927 if (isascii (ch) && wch != ch) in init_dfa()
948 int i, j, ch; in init_word_char() local
950 for (i = 0, ch = 0; i < BITSET_WORDS; ++i) in init_word_char()
951 for (j = 0; j < BITSET_WORD_BITS; ++j, ++ch) in init_word_char()
952 if (isalnum (ch) || ch == '_') in init_word_char()
2643 start_ch = ((start_elem->type == SB_CHAR) ? start_elem->opr.ch in build_range_exp()
2646 end_ch = ((end_elem->type == SB_CHAR) ? end_elem->opr.ch in build_range_exp()
2706 unsigned int ch; in build_range_exp() local
2707 start_ch = ((start_elem->type == SB_CHAR ) ? start_elem->opr.ch in build_range_exp()
2710 end_ch = ((end_elem->type == SB_CHAR ) ? end_elem->opr.ch in build_range_exp()
2716 for (ch = 0; ch < SBC_MAX; ++ch) in build_range_exp()
2717 if (start_ch <= ch && ch <= end_ch) in build_range_exp()
2718 bitset_set (sbcset, ch); in build_range_exp()
2819 return collseqmb[br_elem->opr.ch]; in parse_bracket_exp()
2822 wint_t wc = __btowc (br_elem->opr.ch); in parse_bracket_exp()
2884 unsigned int ch; in parse_bracket_exp() local
2937 for (ch = 0; ch < SBC_MAX; ch++) in parse_bracket_exp()
2944 ch_collseq = collseqmb[ch]; in parse_bracket_exp()
2946 ch_collseq = __collseq_table_lookup (collseqwc, __btowc (ch)); in parse_bracket_exp()
2948 bitset_set (sbcset, ch); in parse_bracket_exp()
3174 bitset_set (sbcset, start_elem.opr.ch); in parse_bracket_exp()
3344 elem->opr.ch = token->opr.c; in parse_bracket_element()
3356 unsigned char ch, delim = token->opr.c; in parse_bracket_symbol() local
3365 ch = re_string_fetch_byte_case (regexp); in parse_bracket_symbol()
3367 ch = re_string_fetch_byte (regexp); in parse_bracket_symbol()
3370 if (ch == delim && re_string_peek_byte (regexp, 0) == ']') in parse_bracket_symbol()
3372 elem->opr.name[i] = ch; in parse_bracket_symbol()
3415 unsigned int ch; in build_equiv_class() local
3436 for (ch = 0; ch < SBC_MAX; ++ch) in build_equiv_class()
3438 char_buf[0] = ch; in build_equiv_class()
3455 bitset_set (sbcset, ch); in build_equiv_class()