Home
last modified time | relevance | path

Searched refs:mblen_buf (Results 1 – 2 of 2) sorted by relevance

/freebsd-11-stable/gnu/usr.bin/grep/
HDdfa.c349 static unsigned char *mblen_buf;/* Correspond to the input buffer in dfaexec(). variable
2329 && mblen_buf[p - buf_begin] > 0 \
2334 free(mblen_buf); \
2429 mbclen = (mblen_buf[index] == 0)? 1 : mblen_buf[index]; in match_anychar()
2502 match_len = (mblen_buf[index] == 0)? 1 : mblen_buf[index]; in match_mb_charset()
2619 *mbclen = (mblen_buf[*pp - buf_begin] == 0)? 1 in transit_state_consume_1char()
2620 : mblen_buf[*pp - buf_begin]; in transit_state_consume_1char()
2790 MALLOC(mblen_buf, unsigned char, end - (unsigned char const *)begin + 2); in dfaexec()
2805 mblen_buf[i] = 0; in dfaexec()
2809 mblen_buf[i] = remain_bytes; in dfaexec()
[all …]
HDChangeLog147 * dfa.c (mblen_buf) : New variable contains the amount of remain
149 (SKIP_REMAIN_MB_IF_INITIAL_STATE) : Use mblen_buf.
150 (match_anychar) : Use mblen_buf.
151 (match_mb_charset) : Use mblen_buf.
152 (transit_state_consume_1char) : Use mblen_buf.
154 (dfaexec) : Add initialization of mblen_buf.