Searched refs:mb_cur_max (Results 1 - 13 of 13) sorted by relevance

/freebsd-11.0-release/lib/libiconv_modules/GBK2K/
H A Dcitrus_gbk2k.c61 int mb_cur_max; member in struct:__anon6789
70 #define _ENCODING_MB_CUR_MAX(_ei_) (_ei_)->mb_cur_max
205 if (ei->mb_cur_max == 4 &&
284 if (ei->mb_cur_max != 4 ||
360 if (ei->mb_cur_max != 4)
391 ei->mb_cur_max = 4;
395 MATCH("2byte", ei->mb_cur_max = 2);
/freebsd-11.0-release/lib/libiconv_modules/EUC/
H A Dcitrus_euc.c95 unsigned mb_cur_max; member in struct:__anon6786
107 #define _ENCODING_MB_CUR_MAX(_ei_) (_ei_)->mb_cur_max
138 ei->mb_cur_max = 1;
144 if (ei->mb_cur_max < ei->count[x])
145 ei->mb_cur_max = ei->count[x];
/freebsd-11.0-release/gnu/usr.bin/grep/
H A Dsearch.c337 int mb_cur_max = MB_CUR_MAX; local
377 if (match_icase && mb_cur_max > 1)
386 if (mb_cur_max > 1 && !using_utf8)
420 if (mb_cur_max > 1 && bytes_left)
427 !(match_icase && mb_cur_max > 1) &&
448 if (mb_cur_max > 1 && !using_utf8)
480 if (mb_cur_max > 1 && bytes_left)
525 if (mb_cur_max > 1)
595 if (mb_cur_max > 1)
679 int mb_cur_max local
897 int mb_cur_max = MB_CUR_MAX; local
[all...]
/freebsd-11.0-release/lib/libiconv_modules/VIQR/
H A Dcitrus_viqr.c206 size_t mb_cur_max; member in struct:__anon6810
220 #define _ENCODING_MB_CUR_MAX(_ei_) (_ei_)->mb_cur_max
440 ei->mb_cur_max = 1;
450 if (ei->mb_cur_max < n)
451 ei->mb_cur_max = n;
465 if (ei->mb_cur_max < n)
466 ei->mb_cur_max = n;
/freebsd-11.0-release/usr.bin/localedef/
H A Dlocaledef.h45 extern int mb_cur_max;
H A Dwide.c185 if (mb_cur_max != 1) {
196 if (mb_cur_max != 1) {
615 mbs = malloc((wcslen(wcs) * mb_cur_max) + 1);
H A Dscanner.c52 int mb_cur_max = 1; variable
201 { T_MB_CUR_MAX, "mb_cur_max" },
472 if (mb_cur_max >= (int)sizeof (mbs)) {
478 if ((mbi == mb_cur_max) || ((c = get_byte()) == EOF)) {
H A Dparser.y192 mb_cur_max = $2;
/freebsd-11.0-release/contrib/libgnuregex/
H A Dregex_internal.c47 if (init_len < dfa->mb_cur_max)
48 init_len = dfa->mb_cur_max;
59 pstr->valid_len = (pstr->mbs_allocated || dfa->mb_cur_max > 1) ? 0 : len;
86 if (dfa->mb_cur_max > 1)
95 if (pstr->bufs_len > pstr->valid_len + dfa->mb_cur_max)
109 if (dfa->mb_cur_max > 1)
134 if (pstr->mb_cur_max > 1)
181 pstr->mb_cur_max = dfa->mb_cur_max;
207 assert (MB_LEN_MAX >= pstr->mb_cur_max);
[all...]
H A Dregex_internal.h372 int mb_cur_max; member in struct:re_string_t
653 int mb_cur_max; member in struct:re_dfa_t
724 if (pstr->mb_cur_max == 1)
736 if (pstr->mb_cur_max == 1)
H A Dregcomp.c308 int icase = (dfa->mb_cur_max == 1 && (bufp->syntax & RE_ICASE));
318 if ((bufp->syntax & RE_ICASE) && dfa->mb_cur_max > 1)
320 unsigned char *buf = alloca (dfa->mb_cur_max), *p;
379 if (dfa->mb_cur_max > 1
407 if ((bufp->syntax & RE_ICASE) && dfa->mb_cur_max > 1)
860 dfa->mb_cur_max = MB_CUR_MAX;
862 if (dfa->mb_cur_max == 6
892 if (dfa->mb_cur_max > 1)
1078 to speed things up, set dfa->mb_cur_max to 1, clear is_utf8 and change
1142 dfa->mb_cur_max
[all...]
H A Dregexec.c732 sb = dfa->mb_cur_max == 1;
3453 if (dest_states[i] != dest_states_word[i] && dfa->mb_cur_max > 1)
3595 if (dfa->mb_cur_max > 1)
3646 if (dfa->mb_cur_max > 1)
3665 if (dfa->mb_cur_max > 1)
4142 if (pstr->mb_cur_max > 1)
4155 if (pstr->mb_cur_max > 1)
/freebsd-11.0-release/lib/libiconv_modules/UES/
H A Dcitrus_ues.c49 size_t mb_cur_max; member in struct:__anon6802
65 #define _ENCODING_MB_CUR_MAX(_ei_) (_ei_)->mb_cur_max
402 ei->mb_cur_max = (ei->mode & MODE_C99) ? 10 : 12;

Completed in 85 milliseconds