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

12

/freebsd-13-stable/lib/libc/locale/
H A Dwcwidth.c52 #undef wcwidth macro
55 wcwidth(wchar_t wc) function
H A DMakefile.inc23 wcwidth.c\
49 wctrans.3 wctype.3 wcwidth.3 \
/freebsd-13-stable/contrib/ncurses/include/
H A Dnc_mingw.h66 #undef wcwidth macro
67 #define wcwidth(ucs) _nc_wcwidth((wchar_t)(ucs)) macro
/freebsd-13-stable/contrib/ncurses/ncurses/win32con/
H A Dwcwidth.c31 MODULE_ID("$Id: wcwidth.c,v 1.3 2020/02/02 23:34:34 tom Exp $")
44 #include <wcwidth.h>
/freebsd-13-stable/contrib/mandoc/
H A Dtest-wchar.c46 if ((width = wcwidth(L' ')) != 1) {
47 fprintf(stderr, "wcwidth(L' ') returned %d\n", width);
/freebsd-13-stable/contrib/xz/src/common/
H A Dtuklib_mbstr_width.c41 // and get its width using wcwidth().
50 const int wc_width = wcwidth(wc);
/freebsd-13-stable/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-13-stable/bin/ls/
H A Dutil.c85 n += wcwidth(wc);
122 n += wcwidth(wc);
188 len += wcwidth(wc);
/freebsd-13-stable/usr.bin/colrm/
H A Dcolrm.c118 if ((width = wcwidth(ch)) > 0)
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/locale/
H A Dt_mbstowcs.c184 wcwidth(wbuf[i]) == t->widths[i])
191 wcwidth(wbuf[i]));
/freebsd-13-stable/contrib/libxo/tests/core/
H A Dtest_05.c22 #define xo_wcwidth(_x) wcwidth(_x)
/freebsd-13-stable/usr.bin/expand/
H A Dexpand.c150 if ((width = wcwidth(wc)) > 0)
/freebsd-13-stable/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);
1059 w = wcwidth(*cp);
1075 if (cp < el->el_line.lastchar && (w = wcwidth(*cp)) > 1)
1097 w = wcwidth(c);
H A Dchartype.c267 return wcwidth(c);
/freebsd-13-stable/contrib/ncurses/ncurses/widechar/
H A Dlib_wacs.c128 int wide = wcwidth((wchar_t) table[n].value[active]);
/freebsd-13-stable/usr.bin/fold/
H A Dfold.c231 if ((w = wcwidth(ch)) > 0)
/freebsd-13-stable/usr.bin/hexdump/
H A Dconv.c147 width = wcwidth(wc);
/freebsd-13-stable/include/
H A Dwchar.h212 int wcwidth(wchar_t);
213 #define wcwidth(_c) __wcwidth(_c) macro
/freebsd-13-stable/contrib/dialog/
H A Dtrace.c132 || wcwidth(uc[0]) <= 0) {
141 k += wcwidth(uc[0]) - 1;
/freebsd-13-stable/usr.bin/fmt/
H A Dfmt.c611 width += (cwidth = wcwidth(*p)) > 0 ? cwidth : 1;
704 width += (cwidth = wcwidth(*p)) > 0 ? cwidth : 1;
761 col += (cwidth = wcwidth(ch)) > 0 ? cwidth : 1;
/freebsd-13-stable/crypto/openssh/openbsd-compat/
H A Dopenbsd-compat.h255 # define wcwidth(x) (((x) >= 0x20 && (x) <= 0x7e) ? 1 : -1) macro
/freebsd-13-stable/usr.bin/unexpand/
H A Dunexpand.c183 if ((width = wcwidth(ch)) > 0)
/freebsd-13-stable/usr.bin/col/
H A Dcol.c249 if ((width = wcwidth(ch)) > 0)
329 c->c_width = wcwidth(ch);
/freebsd-13-stable/contrib/nvi/common/
H A Dkey.h25 #define CHAR_WIDTH(sp, ch) wcwidth(ch)

Completed in 367 milliseconds

12