Home
last modified time | relevance | path

Searched refs:mb_cur_max (Results 1 – 25 of 40) sorted by relevance

12

/freebsd-12-stable/gnu/usr.bin/grep/
Dsearch.c337 int mb_cur_max = MB_CUR_MAX; in EGexecute() local
377 if (match_icase && mb_cur_max > 1) in EGexecute()
386 if (mb_cur_max > 1 && !using_utf8) in EGexecute()
423 if (mb_cur_max > 1 && bytes_left) in EGexecute()
430 !(match_icase && mb_cur_max > 1) && in EGexecute()
451 if (mb_cur_max > 1 && !using_utf8) in EGexecute()
486 if (mb_cur_max > 1 && bytes_left) in EGexecute()
531 if (mb_cur_max > 1) in EGexecute()
601 if (mb_cur_max > 1) in EGexecute()
685 int mb_cur_max = MB_CUR_MAX; in Fcompile() local
[all …]
/freebsd-12-stable/lib/libiconv_modules/GBK2K/
Dcitrus_gbk2k.c63 int mb_cur_max; member
72 #define _ENCODING_MB_CUR_MAX(_ei_) (_ei_)->mb_cur_max
207 if (ei->mb_cur_max == 4 && in _citrus_GBK2K_mbrtowc_priv()
286 if (ei->mb_cur_max != 4 || in _citrus_GBK2K_wcrtomb_priv()
362 if (ei->mb_cur_max != 4) in _citrus_GBK2K_stdenc_cstowc()
393 ei->mb_cur_max = 4; in _citrus_GBK2K_encoding_module_init()
397 MATCH("2byte", ei->mb_cur_max = 2); in _citrus_GBK2K_encoding_module_init()
/freebsd-12-stable/lib/libiconv_modules/EUC/
Dcitrus_euc.c97 unsigned mb_cur_max; member
109 #define _ENCODING_MB_CUR_MAX(_ei_) (_ei_)->mb_cur_max
140 ei->mb_cur_max = 1; in _citrus_EUC_parse_variable()
146 if (ei->mb_cur_max < ei->count[x]) in _citrus_EUC_parse_variable()
147 ei->mb_cur_max = ei->count[x]; in _citrus_EUC_parse_variable()
/freebsd-12-stable/contrib/libgnuregex/
Dregex_internal.c46 if (init_len < dfa->mb_cur_max) in re_string_allocate()
47 init_len = dfa->mb_cur_max; in re_string_allocate()
58 pstr->valid_len = (pstr->mbs_allocated || dfa->mb_cur_max > 1) ? 0 : len; in re_string_allocate()
85 if (dfa->mb_cur_max > 1) in re_string_construct()
94 if (pstr->bufs_len > pstr->valid_len + dfa->mb_cur_max) in re_string_construct()
108 if (dfa->mb_cur_max > 1) in re_string_construct()
133 if (pstr->mb_cur_max > 1) in re_string_realloc_buffers()
180 pstr->mb_cur_max = dfa->mb_cur_max; in re_string_construct_common()
206 assert (MB_LEN_MAX >= pstr->mb_cur_max); in build_wcs_buffer()
229 for (i = 0; i < pstr->mb_cur_max && i < remain_len; ++i) in build_wcs_buffer()
[all …]
Dregex_internal.h372 int mb_cur_max; member
653 int mb_cur_max; member
723 if (pstr->mb_cur_max == 1) in internal_function()
735 if (pstr->mb_cur_max == 1) in internal_function()
Dregcomp.c306 int icase = (dfa->mb_cur_max == 1 && (bufp->syntax & RE_ICASE)); in re_compile_fastmap_iter()
316 if ((bufp->syntax & RE_ICASE) && dfa->mb_cur_max > 1) in re_compile_fastmap_iter()
318 unsigned char *buf = alloca (dfa->mb_cur_max), *p; in re_compile_fastmap_iter()
377 if (dfa->mb_cur_max > 1 in re_compile_fastmap_iter()
405 if ((bufp->syntax & RE_ICASE) && dfa->mb_cur_max > 1) in re_compile_fastmap_iter()
855 dfa->mb_cur_max = MB_CUR_MAX; in init_dfa()
857 if (dfa->mb_cur_max == 6 in init_dfa()
887 if (dfa->mb_cur_max > 1) in init_dfa()
1136 dfa->mb_cur_max = 1; in optimize_utf8()
1785 if (input->mb_cur_max > 1 && in peek_token()
[all …]
Dregexec.c729 sb = dfa->mb_cur_max == 1;
3449 if (dest_states[i] != dest_states_word[i] && dfa->mb_cur_max > 1) in build_trtable()
3591 if (dfa->mb_cur_max > 1) in group_nodes_into_DFAstates()
3642 if (dfa->mb_cur_max > 1) in group_nodes_into_DFAstates()
3661 if (dfa->mb_cur_max > 1) in group_nodes_into_DFAstates()
4138 if (pstr->mb_cur_max > 1) in extend_buffers()
4151 if (pstr->mb_cur_max > 1) in extend_buffers()
/freebsd-12-stable/lib/libiconv_modules/VIQR/
Dcitrus_viqr.c208 size_t mb_cur_max; member
222 #define _ENCODING_MB_CUR_MAX(_ei_) (_ei_)->mb_cur_max
442 ei->mb_cur_max = 1; in _citrus_VIQR_encoding_module_init()
452 if (ei->mb_cur_max < n) in _citrus_VIQR_encoding_module_init()
453 ei->mb_cur_max = n; in _citrus_VIQR_encoding_module_init()
467 if (ei->mb_cur_max < n) in _citrus_VIQR_encoding_module_init()
468 ei->mb_cur_max = n; in _citrus_VIQR_encoding_module_init()
/freebsd-12-stable/lib/libiconv_modules/UES/
Dcitrus_ues.c51 size_t mb_cur_max; member
67 #define _ENCODING_MB_CUR_MAX(_ei_) (_ei_)->mb_cur_max
404 ei->mb_cur_max = (ei->mode & MODE_C99) ? 10 : 12; in _citrus_UES_encoding_module_init()
/freebsd-12-stable/usr.bin/localedef/
Dwide.c185 if (mb_cur_max != 1) { in towide_none()
196 if (mb_cur_max != 1) { in tomb_none()
615 mbs = malloc((wcslen(wcs) * mb_cur_max) + 1); in to_mb_string()
Dscanner.c52 int mb_cur_max = 1; variable
472 if (mb_cur_max >= (int)sizeof (mbs)) { in get_wide()
478 if ((mbi == mb_cur_max) || ((c = get_byte()) == EOF)) { in get_wide()
Dlocaledef.h46 extern int mb_cur_max;
/freebsd-12-stable/tools/tools/locale/etc/final-maps/
Dmap.US-ASCII3 <mb_cur_max> 1
Dmap.ISCII-DEV3 <mb_cur_max> 1
Dmap.KOI8-U3 <mb_cur_max> 1
Dmap.CP11313 <mb_cur_max> 1
Dmap.PT1543 <mb_cur_max> 1
Dmap.KOI8-R3 <mb_cur_max> 1
Dmap.CP12513 <mb_cur_max> 1
Dmap.CP8663 <mb_cur_max> 1
Dmap.ISO8859-133 <mb_cur_max> 1
Dmap.ISO8859-73 <mb_cur_max> 1
Dmap.ISO8859-13 <mb_cur_max> 1
Dmap.ISO8859-53 <mb_cur_max> 1
Dmap.ISO8859-23 <mb_cur_max> 1

12