Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/lib/libc/port/locale/
H A Dwcwidth.c50 #undef wcwidth
70 wcwidth(wchar_t wc) in wcwidth() function
85 int v = wcwidth(wc); in scrwidth()
H A Dwscol.c35 l += wcwidth(*s); in wscol()
/illumos-gate/usr/src/lib/libadm/common/
H A Dputtext.c102 wlen = wcwidth(*wp); in puttext()
165 wlen = wcwidth(*wp); in puttext()
190 wlen = wcwidth(*wp); in puttext()
221 wlen = wcwidth(*wp); in puttext()
244 wlen = wcwidth(*wp); in puttext()
/illumos-gate/usr/src/cmd/fold/
H A Dfold.c232 ncol = col + wcwidth(c); in putch()
327 col += wcwidth(c); in putch()
/illumos-gate/usr/src/head/
H A Dwchar.h143 extern int wcwidth(wchar_t);
164 using std::wcwidth;
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dm_cc.c307 else if ((width = wcwidth(wc)) < 0) in __m_mbs_cc()
349 if ((width = wcwidth(*wcs)) < 0) in __m_wcs_cc()
408 j = wcwidth(cc->_wc[i]);
445 return wcwidth(cc->_wc[0]);
H A Dwgetn_ws.c212 width = wcwidth(fld_buffer[--fld_index]); in fld_erase()
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dwins_nws.c62 if ((wcwidth(*wcs) <= 0) && !iswcntrl(*wcs)) in wins_nwstr()
H A Dprivate.h148 #define __m_cc_width(cc) wcwidth((cc)->_wc[0])
H A Dm_cc.c312 width = wcwidth(wc); in __m_mbs_cc()
354 if (wcwidth(*wcs) > 0) { in __m_wcs_cc()
428 j = wcwidth(cc->_wc[i]); in __m_cc_sort()
H A Dwgetn_ws.c235 width = wcwidth(fld_buffer[--fld_index]); in fld_erase()
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_vput.c438 if ((col = wcwidth(c)) < 0) in vgoto()
694 if ((inssiz = wcwidth(c)) < 0) in vinschar()
1119 int width = wcwidth(c); in viin()
1225 if ((length = wcwidth(c)) < 0)
1252 if ((length = wcwidth(c)) < 0)
H A Dex_subr.c594 if ((col = wcwidth(wchar)) < 0) in qcolumn()
669 if ((cols = wcwidth(c)) > 0)
672 if ((cols = wcwidth(c)) < 0)
H A Dex_put.c362 if ((length = wcwidth(c)) < 0) in flush1()
800 if ((scrlength = wcwidth(wchar)) < 0) in plod()
/illumos-gate/usr/src/lib/libxcurses/h/
H A Dm_wchar.h265 #undef wcwidth
284 #define wcwidth(c) 1 macro
/illumos-gate/usr/src/cmd/expand/
H A Dunexpand.c218 if ((p_col = wcwidth(*cp)) < 0) in tabify()
H A Dexpand.c218 if ((p_col = wcwidth(wc)) < 0)
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dsetlocale.c48 #undef wcwidth
50 #define wcwidth 0 macro
2272 if ((locales[cp->internal]->flags & LC_local) || !(ast.mb_width = wcwidth)) in set_ctype()
2287 if (!(ast.mb_width = wcwidth)) in set_ctype()
2558 …idth" : ast.mb_width == utf8_wcwidth ? " utf8_wcwidth" : ast.mb_width == wcwidth ? " wcwidth" : as… in single()
/illumos-gate/usr/src/cmd/lp/lib/oam/
H A Dfmtmsg.c158 tmpcol += wcwidth(*pw); in wrap()
/illumos-gate/usr/src/cmd/pg/
H A Dpg.c889 if ((width = wcwidth(wchar)) <= 0) in ttyin()
911 if ((width = wcwidth(ch)) <= 0) in ttyin()
1435 if ((width = wcwidth(c)) < 0) in getaline()
1688 if ((n = wcwidth(wc)) > 0) in sopr()
/illumos-gate/usr/src/cmd/pr/
H A Dpr.c911 Inpos += wcwidth(wc); in nexbuf()
1062 chars += wcwidth(**s); in readbuf()
1139 Inpos += wcwidth(wc); in get()
1242 move = wcwidth(wc); in put()
/illumos-gate/usr/src/cmd/sdiff/
H A Dsdiff.c467 if ((d_col = wcwidth(wc)) <= 0) in putline()
571 if ((d_col = wcwidth(wc)) <= 0) in getlen()
/illumos-gate/usr/src/lib/libw/common/
H A Dmapfile-vers63 wcwidth { TYPE = FUNCTION };
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dwchar11 lib mbstowcs,wctomb,wcrtomb,wcslen,wcstombs,wcwidth stdlib.h stdio.h wchar.h
/illumos-gate/usr/src/cmd/mandoc/
H A Dterm_ascii.c382 rc = wcwidth(c); in locale_width()

12