Searched refs:wcwidth (Results 1 - 25 of 43) sorted by relevance

12

/freebsd-current/lib/libc/locale/
H A Dwcwidth.c49 #undef wcwidth macro
52 wcwidth(wchar_t wc) function
H A DMakefile.inc21 wcwidth.c\
47 wctrans.3 wctype.3 wcwidth.3 \
/freebsd-current/contrib/ncurses/include/
H A Dnc_mingw.h79 #undef wcwidth macro
80 #define wcwidth(ucs) _nc_wcwidth((wchar_t)(ucs)) macro
H A Dnc_win32.h86 #undef wcwidth macro
87 #define wcwidth(ucs) _nc_wcwidth((wchar_t)(ucs)) macro
/freebsd-current/contrib/ncurses/ncurses/win32con/
H A Dwcwidth.c31 MODULE_ID("$Id: wcwidth.c,v 1.4 2020/07/11 21:02:10 tom Exp $")
44 #include <wcwidth.h>
/freebsd-current/contrib/mandoc/
H A Dtest-wchar.c46 if ((width = wcwidth(L' ')) != 1) {
47 fprintf(stderr, "wcwidth(L' ') returned %d\n", width);
/freebsd-current/contrib/xz/src/common/
H A Dtuklib_mbstr_width.c40 // and get its width using wcwidth().
49 const int wc_width = wcwidth(wc);
/freebsd-current/contrib/tcsh/
H A Dtc.nls.c43 return wcwidth ((wchar_t) wchar);
44 /* UTF-16 systems can't handle these values directly in calls to wcwidth.
54 #define xwcwidth wcwidth
/freebsd-current/bin/ls/
H A Dutil.c77 n += wcwidth(wc);
114 n += wcwidth(wc);
180 len += wcwidth(wc);
/freebsd-current/usr.bin/colrm/
H A Dcolrm.c103 if ((width = wcwidth(ch)) > 0)
/freebsd-current/contrib/netbsd-tests/lib/libc/locale/
H A Dt_mbstowcs.c184 wcwidth(wbuf[i]) == t->widths[i])
191 wcwidth(wbuf[i]));
/freebsd-current/contrib/libxo/tests/core/
H A Dtest_05.c22 #define xo_wcwidth(_x) wcwidth(_x)
/freebsd-current/usr.bin/expand/
H A Dexpand.c136 if ((width = wcwidth(wc)) > 0)
/freebsd-current/contrib/libedit/
H A Dliteral.c85 w = wcwidth(end[1]); /* column width of the visible char */
H A Drefresh.c196 int i, w = wcwidth(c);
289 int w = wcwidth(*cp);
1062 w = wcwidth(*cp);
1078 if (cp < el->el_line.lastchar && (w = wcwidth(*cp)) > 1)
1100 w = wcwidth(c);
/freebsd-current/contrib/ncurses/ncurses/widechar/
H A Dlib_wacs.c128 int wide = wcwidth((wchar_t) table[n].value[active]);
/freebsd-current/usr.bin/hexdump/
H A Dconv.c141 width = wcwidth(wc);
/freebsd-current/usr.bin/fold/
H A Dfold.c216 if ((w = wcwidth(ch)) > 0)
/freebsd-current/contrib/bsddialog/lib/
H A Dformbox.c244 width = wcwidth(item->pubwbuf[item->pos]);
256 if (wcwidth(item->pubwbuf[item->xposdraw - 1]) +
262 wcwidth(item->pubwbuf[item->xposdraw]);
287 oldwidth = wcwidth(item->pubwbuf[item->pos]);
292 nextwidth = wcwidth(item->pubwbuf[item->pos]);
298 cols += wcwidth(item->pubwbuf[item->xposdraw - 1]);
305 item->xcursor += wcwidth(item->pubwbuf[i]);
484 cols = wcwidth(item->pubwbuf[item->xposdraw]);
488 cols += wcwidth(item->pubwbuf[item->xposdraw + n]);
/freebsd-current/contrib/dialog/
H A Dtrace.c143 || wcwidth(uc[0]) <= 0) {
152 k += wcwidth(uc[0]) - 1;
/freebsd-current/include/
H A Dwchar.h213 int wcwidth(wchar_t);
214 #define wcwidth(_c) __wcwidth(_c) macro
/freebsd-current/usr.bin/fmt/
H A Dfmt.c609 width += (cwidth = wcwidth(*p)) > 0 ? cwidth : 1;
702 width += (cwidth = wcwidth(*p)) > 0 ? cwidth : 1;
759 col += (cwidth = wcwidth(ch)) > 0 ? cwidth : 1;
/freebsd-current/usr.bin/unexpand/
H A Dunexpand.c169 if ((width = wcwidth(ch)) > 0)
/freebsd-current/usr.bin/col/
H A Dcol.c234 if ((width = wcwidth(ch)) > 0)
314 c->c_width = wcwidth(ch);
/freebsd-current/contrib/nvi/common/
H A Dkey.h25 #define XCHAR_WIDTH(sp, ch) wcwidth(ch)

Completed in 302 milliseconds

12