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

12

/freebsd-11-stable/lib/libc/locale/
H A Dwcwidth.c50 #undef wcwidth macro
53 wcwidth(wchar_t wc) function
H A DMakefile.inc23 wcwidth.c\
49 wctrans.3 wctype.3 wcwidth.3 \
/freebsd-11-stable/contrib/ncurses/include/
H A Dnc_mingw.h65 #undef wcwidth macro
66 #define wcwidth(ucs) _nc_wcwidth(ucs) macro
/freebsd-11-stable/contrib/ncurses/ncurses/win32con/
H A Dwcwidth.c30 MODULE_ID("$Id: wcwidth.c,v 1.2 2010/08/07 20:52:43 tom Exp $")
43 #include <wcwidth.h>
/freebsd-11-stable/contrib/mdocml/
H A Dtest-wchar.c19 #define _GNU_SOURCE /* wcwidth() */
50 if ((width = wcwidth(L' ')) != 1) {
51 fprintf(stderr, "wcwidth(L' ') returned %d\n", width);
/freebsd-11-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-11-stable/contrib/ncurses/ncurses/widechar/
H A Dlib_cchar.c63 || ((len = (unsigned) wcslen(wch)) > 1 && wcwidth(wch[0]) < 0)) {
74 if (wcwidth(wch[i]) != 0) {
H A Dlib_ins_wch.c51 int cells = wcwidth(CharOf(CHDEREF(wch)));
126 int len = wcwidth(*cp);
H A Dlib_wacs.c125 int wide = wcwidth((wchar_t) table[n].value[active]);
/freebsd-11-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-11-stable/bin/ls/
H A Dutil.c89 n += wcwidth(wc);
129 n += wcwidth(wc);
198 len += wcwidth(wc);
/freebsd-11-stable/contrib/ncurses/ncurses/base/
H A Dlib_slkset.c92 if (wcwidth(wc) + numcols > limit)
94 numcols += wcwidth(wc);
/freebsd-11-stable/usr.bin/colrm/
H A Dcolrm.c116 if ((width = wcwidth(ch)) > 0)
/freebsd-11-stable/contrib/dialog/
H A Dtrace.c98 || wcwidth(uc[0]) <= 0) {
107 k += wcwidth(uc[0]) - 1;
/freebsd-11-stable/usr.bin/colcrt/
H A Dcolcrt.c159 if ((w = wcwidth(c)) <= 0)
243 if ((w = wcwidth(*cp)) > 0) {
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/locale/
H A Dt_mbstowcs.c184 wcwidth(wbuf[i]) == t->widths[i])
191 wcwidth(wbuf[i]));
/freebsd-11-stable/contrib/libxo/tests/core/
H A Dtest_05.c22 #define xo_wcwidth(_x) wcwidth(_x)
/freebsd-11-stable/usr.bin/expand/
H A Dexpand.c148 if ((width = wcwidth(wc)) > 0)
/freebsd-11-stable/contrib/libreadline/
H A Dmbutil.c118 if (wcwidth (wc) == 0)
131 while (tmp > 0 && wcwidth (wc) == 0)
185 if (wcwidth (wc) != 0)
/freebsd-11-stable/usr.bin/fold/
H A Dfold.c229 if ((w = wcwidth(ch)) > 0)
/freebsd-11-stable/usr.bin/hexdump/
H A Dconv.c145 width = wcwidth(wc);
/freebsd-11-stable/include/
H A Dwchar.h210 int wcwidth(wchar_t);
211 #define wcwidth(_c) __wcwidth(_c) macro
/freebsd-11-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-11-stable/crypto/openssh/openbsd-compat/
H A Dopenbsd-compat.h234 # define wcwidth(x) (((x) >= 0x20 && (x) <= 0x7e) ? 1 : -1) macro
/freebsd-11-stable/usr.bin/unexpand/
H A Dunexpand.c181 if ((width = wcwidth(ch)) > 0)

Completed in 147 milliseconds

12