Home
last modified time | relevance | path

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

/netbsd/src/lib/libc/citrus/modules/
Dcitrus_gbk2k.c63 int mb_cur_max; member
90 #define _ENCODING_MB_CUR_MAX(_ei_) (_ei_)->mb_cur_max
226 if (ei->mb_cur_max == 4 && in _citrus_GBK2K_mbrtowc_priv()
309 if (ei->mb_cur_max != 4 || in _citrus_GBK2K_wcrtomb_priv()
393 if (ei->mb_cur_max != 4) in _citrus_GBK2K_stdenc_cstowc()
439 ei->mb_cur_max = 4; in _citrus_GBK2K_encoding_module_init()
443 MATCH("2byte", ei->mb_cur_max = 2); in _citrus_GBK2K_encoding_module_init()
Dcitrus_euc.c98 unsigned mb_cur_max; member
128 #define _ENCODING_MB_CUR_MAX(_ei_) (_ei_)->mb_cur_max
157 ei->mb_cur_max = 1; in _citrus_EUC_parse_variable()
163 if (ei->mb_cur_max < ei->count[x]) in _citrus_EUC_parse_variable()
164 ei->mb_cur_max = ei->count[x]; in _citrus_EUC_parse_variable()
Dcitrus_viqr.c218 size_t mb_cur_max; member
252 #define _ENCODING_MB_CUR_MAX(_ei_) (_ei_)->mb_cur_max
504 ei->mb_cur_max = 1; in _citrus_VIQR_encoding_module_init()
515 if (ei->mb_cur_max < n) in _citrus_VIQR_encoding_module_init()
516 ei->mb_cur_max = n; in _citrus_VIQR_encoding_module_init()
529 if (ei->mb_cur_max < n) in _citrus_VIQR_encoding_module_init()
530 ei->mb_cur_max = n; in _citrus_VIQR_encoding_module_init()
Dcitrus_ues.c54 size_t mb_cur_max; member
86 #define _ENCODING_MB_CUR_MAX(_ei_) (_ei_)->mb_cur_max
453 ei->mb_cur_max = (ei->mode & MODE_C99) ? 10 : 12; in _citrus_UES_encoding_module_init()
/netbsd/src/external/gpl2/xcvs/dist/lib/
Dregex_internal.c49 if (init_len < dfa->mb_cur_max) in re_string_allocate()
50 init_len = dfa->mb_cur_max; in re_string_allocate()
61 pstr->valid_len = (pstr->mbs_allocated || dfa->mb_cur_max > 1) ? 0 : len; in re_string_allocate()
88 if (dfa->mb_cur_max > 1) in re_string_construct()
97 if (pstr->bufs_len > pstr->valid_len + dfa->mb_cur_max) in re_string_construct()
111 if (dfa->mb_cur_max > 1) in re_string_construct()
136 if (pstr->mb_cur_max > 1) in re_string_realloc_buffers()
176 pstr->mb_cur_max = dfa->mb_cur_max; in re_string_construct_common()
202 assert (MB_LEN_MAX >= pstr->mb_cur_max); in build_wcs_buffer()
225 for (i = 0; i < pstr->mb_cur_max && i < remain_len; ++i) in build_wcs_buffer()
[all …]
Dregcomp.c305 bool icase = (dfa->mb_cur_max == 1 && (bufp->re_syntax & REG_IGNORE_CASE)); in re_compile_fastmap_iter()
315 if ((bufp->re_syntax & REG_IGNORE_CASE) && dfa->mb_cur_max > 1) in re_compile_fastmap_iter()
369 if (dfa->mb_cur_max > 1) in re_compile_fastmap_iter()
382 if ((bufp->re_syntax & REG_IGNORE_CASE) && dfa->mb_cur_max > 1) in re_compile_fastmap_iter()
833 dfa->mb_cur_max = MB_CUR_MAX; in init_dfa()
835 if (dfa->mb_cur_max == 6 in init_dfa()
865 if (dfa->mb_cur_max > 1) in init_dfa()
1086 dfa->mb_cur_max = 1; in optimize_utf8()
1742 if (input->mb_cur_max > 1 && in peek_token()
1763 if (input->mb_cur_max > 1) in peek_token()
[all …]
Dregex_internal.h407 int mb_cur_max; member
748 int mb_cur_max; member
864 if (pstr->mb_cur_max == 1) in internal_function()
876 if (pstr->mb_cur_max == 1) in internal_function()
Dregexec.c709 sb = dfa->mb_cur_max == 1; in re_search_internal()
3418 if (dest_states[i] != dest_states_word[i] && dfa->mb_cur_max > 1) in build_trtable()
3558 if (dfa->mb_cur_max > 1) in group_nodes_into_DFAstates()
3612 if (dfa->mb_cur_max > 1) in group_nodes_into_DFAstates()
3631 if (dfa->mb_cur_max > 1) in group_nodes_into_DFAstates()
4098 if (pstr->mb_cur_max > 1) in extend_buffers()
4111 if (pstr->mb_cur_max > 1) in extend_buffers()