Home
last modified time | relevance | path

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

12

/freebsd-14-stable/usr.bin/sort/
HDbwstring.c127 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 …]
HDbwstring.h71 #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)])
HDsort.h126 extern size_t mb_cur_max;
HDradixsort.c258 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()
HDsort.c94 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/
HDcitrus_gbk2k.c62 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/
HDcitrus_euc.c96 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/
HDcitrus_viqr.c207 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/
HDwide.c183 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()
HDscanner.c50 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()
HDlocaledef.h44 extern int mb_cur_max;
/freebsd-14-stable/lib/libiconv_modules/UES/
HDcitrus_ues.c50 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/
HDlib_util.c96 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/
HDmap.US-ASCII3 <mb_cur_max> 1
HDmap.ISCII-DEV3 <mb_cur_max> 1
HDmap.KOI8-U3 <mb_cur_max> 1
HDmap.CP12513 <mb_cur_max> 1
HDmap.PT1543 <mb_cur_max> 1
HDmap.CP8663 <mb_cur_max> 1
HDmap.CP11313 <mb_cur_max> 1
HDmap.KOI8-R3 <mb_cur_max> 1
HDmap.ISO8859-13 <mb_cur_max> 1
HDmap.ISO8859-153 <mb_cur_max> 1
HDmap.ARMSCII-83 <mb_cur_max> 1
HDmap.ISO8859-23 <mb_cur_max> 1

12