Searched refs:mb_cur_max (Results 1 – 25 of 41) sorted by relevance
12
| /freebsd-14-stable/usr.bin/sort/ |
| HD | bwstring.c | 127 if (mb_cur_max == 1) { in initialise_months() 205 if (mb_cur_max == 1) in bwsprintf() 220 return ((mb_cur_max == 1) ? bws->cdata.len : in bwsrawlen() 228 return ((mb_cur_max == 1) ? in bws_memsize() 237 if (mb_cur_max == 1 && bws && newlen != bws->cdata.len && in bws_setlen() 255 if (mb_cur_max == 1) { in bwsalloc() 282 if (mb_cur_max == 1) in bwsdup() 306 if (mb_cur_max == 1) in bwssbdup() 327 if (mb_cur_max == 1) in bwscsbdup() 341 size_t n = mb_cur_max; in bwscsbdup() [all …]
|
| HD | bwstring.h | 71 #define BWSLEN(s) ((mb_cur_max == 1) ? (s)->cdata.len : (s)->wdata.len) 110 return ((mb_cur_max == 1) ? in bws_end() 119 if (mb_cur_max == 1) in bws_iterator_inc() 129 if (mb_cur_max == 1) in bws_get_iter_value() 138 #define BWS_GET(bws, pos) ((mb_cur_max == 1) ? (bws->cdata.str[(pos)]) : bws->wdata.str[(pos)])
|
| HD | sort.h | 126 extern size_t mb_cur_max;
|
| HD | radixsort.c | 258 const size_t wcfact = (mb_cur_max == 1) ? 1 : sizeof(wchar_t); in get_wc_index() 331 const size_t wcfact = (mb_cur_max == 1) ? 1 : sizeof(wchar_t); in run_sort_level_next()
|
| HD | sort.c | 94 size_t mb_cur_max; variable 302 res = mbtowc(wc, c, mb_cur_max); in conv_mbtowc() 319 mb_cur_max = MB_CUR_MAX; in set_locale()
|
| /freebsd-14-stable/lib/libiconv_modules/GBK2K/ |
| HD | citrus_gbk2k.c | 62 int mb_cur_max; member 71 #define _ENCODING_MB_CUR_MAX(_ei_) (_ei_)->mb_cur_max 206 if (ei->mb_cur_max == 4 && in _citrus_GBK2K_mbrtowc_priv() 285 if (ei->mb_cur_max != 4 || in _citrus_GBK2K_wcrtomb_priv() 361 if (ei->mb_cur_max != 4) in _citrus_GBK2K_stdenc_cstowc() 392 ei->mb_cur_max = 4; in _citrus_GBK2K_encoding_module_init() 396 MATCH("2byte", ei->mb_cur_max = 2); in _citrus_GBK2K_encoding_module_init()
|
| /freebsd-14-stable/lib/libiconv_modules/EUC/ |
| HD | citrus_euc.c | 96 unsigned mb_cur_max; member 108 #define _ENCODING_MB_CUR_MAX(_ei_) (_ei_)->mb_cur_max 139 ei->mb_cur_max = 1; in _citrus_EUC_parse_variable() 145 if (ei->mb_cur_max < ei->count[x]) in _citrus_EUC_parse_variable() 146 ei->mb_cur_max = ei->count[x]; in _citrus_EUC_parse_variable()
|
| /freebsd-14-stable/lib/libiconv_modules/VIQR/ |
| HD | citrus_viqr.c | 207 size_t mb_cur_max; member 221 #define _ENCODING_MB_CUR_MAX(_ei_) (_ei_)->mb_cur_max 441 ei->mb_cur_max = 1; in _citrus_VIQR_encoding_module_init() 451 if (ei->mb_cur_max < n) in _citrus_VIQR_encoding_module_init() 452 ei->mb_cur_max = n; in _citrus_VIQR_encoding_module_init() 466 if (ei->mb_cur_max < n) in _citrus_VIQR_encoding_module_init() 467 ei->mb_cur_max = n; in _citrus_VIQR_encoding_module_init()
|
| /freebsd-14-stable/usr.bin/localedef/ |
| HD | wide.c | 183 if (mb_cur_max != 1) { in towide_none() 194 if (mb_cur_max != 1) { in tomb_none() 613 mbs = malloc((wcslen(wcs) * mb_cur_max) + 1); in to_mb_string()
|
| HD | scanner.c | 50 int mb_cur_max = 1; variable 470 if (mb_cur_max >= (int)sizeof (mbs)) { in get_wide() 476 if ((mbi == mb_cur_max) || ((c = get_byte()) == EOF)) { in get_wide()
|
| HD | localedef.h | 44 extern int mb_cur_max;
|
| /freebsd-14-stable/lib/libiconv_modules/UES/ |
| HD | citrus_ues.c | 50 size_t mb_cur_max; member 66 #define _ENCODING_MB_CUR_MAX(_ei_) (_ei_)->mb_cur_max 403 ei->mb_cur_max = (ei->mode & MODE_C99) ? 10 : 12; in _citrus_UES_encoding_module_init()
|
| /freebsd-14-stable/contrib/bsddialog/lib/ |
| HD | lib_util.c | 96 size_t charlen, mb_cur_max; in str_props() local 101 mb_cur_max = MB_CUR_MAX; in str_props() 104 while ((charlen = mbrlen(mbstring, mb_cur_max, &mbs)) != 0 && in str_props() 106 if (mbtowc(&wch, mbstring, mb_cur_max) < 0) in str_props() 127 size_t charlen, mb_cur_max; in strcols() local 131 mb_cur_max = MB_CUR_MAX; in strcols() 134 while ((charlen = mbrlen(mbstring, mb_cur_max, &mbs)) != 0 && in strcols() 136 if (mbtowc(&wch, mbstring, mb_cur_max) < 0) in strcols()
|
| /freebsd-14-stable/tools/tools/locale/etc/final-maps/ |
| HD | map.US-ASCII | 3 <mb_cur_max> 1
|
| HD | map.ISCII-DEV | 3 <mb_cur_max> 1
|
| HD | map.KOI8-U | 3 <mb_cur_max> 1
|
| HD | map.CP1251 | 3 <mb_cur_max> 1
|
| HD | map.PT154 | 3 <mb_cur_max> 1
|
| HD | map.CP866 | 3 <mb_cur_max> 1
|
| HD | map.CP1131 | 3 <mb_cur_max> 1
|
| HD | map.KOI8-R | 3 <mb_cur_max> 1
|
| HD | map.ISO8859-1 | 3 <mb_cur_max> 1
|
| HD | map.ISO8859-15 | 3 <mb_cur_max> 1
|
| HD | map.ARMSCII-8 | 3 <mb_cur_max> 1
|
| HD | map.ISO8859-2 | 3 <mb_cur_max> 1
|
12