Home
last modified time | relevance | path

Searched refs:wcwidth (Results 1 – 25 of 58) sorted by relevance

123

/freebsd-14.2/lib/libc/locale/
H A Dwcwidth.c49 #undef wcwidth
52 wcwidth(wchar_t wc) in wcwidth() function
H A DMakefile.inc22 wcwidth.c\
48 wctrans.3 wctype.3 wcwidth.3 \
H A DSymbol.map97 wcwidth;
/freebsd-14.2/contrib/ncurses/include/
H A Dnc_mingw.h78 #undef wcwidth
79 #define wcwidth(ucs) _nc_wcwidth((wchar_t)(ucs)) macro
H A Dnc_win32.h88 #undef wcwidth
89 #define wcwidth(ucs) _nc_wcwidth((wchar_t)(ucs)) macro
/freebsd-14.2/bin/ls/
H A Dutil.c83 n += wcwidth(wc); in prn_normal()
120 n += wcwidth(wc); in prn_printable()
186 len += wcwidth(wc); in prn_octal()
/freebsd-14.2/contrib/tcsh/
H A Dtc.nls.c43 return wcwidth ((wchar_t) wchar); in xwcwidth()
54 #define xwcwidth wcwidth
/freebsd-14.2/contrib/netbsd-tests/lib/libc/locale/
H A Dt_mbstowcs.c184 wcwidth(wbuf[i]) == t->widths[i]) in ATF_TC_BODY()
191 wcwidth(wbuf[i])); in ATF_TC_BODY()
/freebsd-14.2/contrib/bsddialog/lib/
H A Dformbox.c121 width = wcwidth(item->pubwbuf[item->pos]); in fieldctl()
133 if (wcwidth(item->pubwbuf[item->xposdraw - 1]) + in fieldctl()
139 wcwidth(item->pubwbuf[item->xposdraw]); in fieldctl()
164 oldwidth = wcwidth(item->pubwbuf[item->pos]); in fieldctl()
169 nextwidth = wcwidth(item->pubwbuf[item->pos]); in fieldctl()
175 cols += wcwidth(item->pubwbuf[item->xposdraw - 1]); in fieldctl()
182 item->xcursor += wcwidth(item->pubwbuf[i]); in fieldctl()
215 cols = wcwidth(item->pubwbuf[item->xposdraw]); in drawitem()
219 cols += wcwidth(item->pubwbuf[item->xposdraw + n]); in drawitem()
H A Dlib_util.c108 w = (wch == L'\t') ? TABSIZE : wcwidth(wch); in str_props()
138 w = (wch == L'\t') ? TABSIZE : wcwidth(wch); in strcols()
438 reallen += wcwidth(str[i]); in print_string()
458 } else if (j + wcwidth(str[i]) > cols) { in print_string()
464 wc = wcwidth(str[i]);; in print_string()
634 tp->wletters[l] = wcwidth(wtext[i]); in text_properties()
/freebsd-14.2/contrib/mandoc/
H A Dtest-wchar.c46 if ((width = wcwidth(L' ')) != 1) { in main()
/freebsd-14.2/contrib/libxo/
H A Dconfigure.ac308 AC_MSG_CHECKING([whether to build with local wcwidth implementation])
309 AC_ARG_ENABLE([wcwidth], optenable
310 [ --disable-wcwidth Disable local wcwidth implementation],
315 AC_DEFINE([LIBXO_WCWIDTH], [1], [Enable local wcwidth implementation])
498 local wcwidth: ${LIBXO_WCWIDTH:-no}
/freebsd-14.2/contrib/dialog/
H A Dtrace.c143 || wcwidth(uc[0]) <= 0) { in dlg_trace_win()
152 k += wcwidth(uc[0]) - 1; in dlg_trace_win()
/freebsd-14.2/contrib/xz/src/common/
H A Dtuklib_mbstr_width.c50 const int wc_width = wcwidth(wc); in tuklib_mbstr_width()
/freebsd-14.2/usr.bin/fmt/
H A Dfmt.c609 width += (cwidth = wcwidth(*p)) > 0 ? cwidth : 1; in output_word()
702 width += (cwidth = wcwidth(*p)) > 0 ? cwidth : 1; in center_stream()
759 col += (cwidth = wcwidth(ch)) > 0 ? cwidth : 1; in get_line()
/freebsd-14.2/contrib/ncurses/ncurses/widechar/
H A Dlib_wacs.c128 int wide = wcwidth((wchar_t) table[n].value[active]); in _nc_init_wacs()
/freebsd-14.2/usr.bin/colrm/
H A Dcolrm.c116 if ((width = wcwidth(ch)) > 0) in main()
/freebsd-14.2/include/
H A Dwchar.h213 int wcwidth(wchar_t);
214 #define wcwidth(_c) __wcwidth(_c) macro
/freebsd-14.2/contrib/libxo/tests/core/
H A Dtest_05.c22 #define xo_wcwidth(_x) wcwidth(_x)
/freebsd-14.2/usr.bin/expand/
H A Dexpand.c148 if ((width = wcwidth(wc)) > 0) in main()
/freebsd-14.2/contrib/libedit/
H A Dliteral.c85 w = wcwidth(end[1]); /* column width of the visible char */ in literal_add()
H A Drefresh.c196 int i, w = wcwidth(c); in re_putc()
289 int w = wcwidth(*cp); in re_refresh()
1062 w = wcwidth(*cp); in re_refresh_cursor()
1078 if (cp < el->el_line.lastchar && (w = wcwidth(*cp)) > 1) in re_refresh_cursor()
1100 w = wcwidth(c); in re_fastputc()
/freebsd-14.2/usr.bin/col/
H A Dcol.c247 if ((width = wcwidth(ch)) > 0) in main()
327 c->c_width = wcwidth(ch); in main()
/freebsd-14.2/usr.bin/fold/
H A Dfold.c229 if ((w = wcwidth(ch)) > 0) in newpos()
/freebsd-14.2/usr.bin/hexdump/
H A Dconv.c145 width = wcwidth(wc); in conv_c()

123