/illumos-gate/usr/src/test/libc-tests/cfg/symbols/ |
H A D | wchar_h.cfg | 17 # Definitions found in wchar.h 23 type | locale_t | wchar.h | -ALL SUSv4+ 24 type | wctype_t | wchar.h | -ALL XPG3+ 29 value | NULL | void * | wchar.h | ALL 37 wchar.h | -ALL SUSv4+ 42 wchar.h | -ALL SUSv4+ 47 wchar.h | -ALL SUSv4+ 52 wchar.h | -ALL SUSv5+ 57 wchar.h | -ALL SUSv5+ 62 wchar.h | -ALL SUSv4+ [all …]
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | wctomb.c | 39 _curs_wctomb(char *s, wchar_t wchar) in _curs_wctomb() argument 46 if (wchar <= 0177 || (wchar <= 0377 && (iscntrl((int)wchar) != 0))) { in _curs_wctomb() 48 *s++ = (char)wchar; in _curs_wctomb() 51 switch (wchar & EUCMASK) { in _curs_wctomb() 76 d = wchar | 0200; in _curs_wctomb() 77 wchar >>= 7; in _curs_wctomb()
|
H A D | mbtowc.c | 36 _curs_mbtowc(wchar_t *wchar, const char *s, size_t n) in _curs_mbtowc() argument 49 if (wchar) in _curs_mbtowc() 50 *wchar = c; in _curs_mbtowc() 67 if (wchar) in _curs_mbtowc() 68 *wchar = c; in _curs_mbtowc() 82 if (wchar) in _curs_mbtowc() 83 *wchar = intcode | mask; in _curs_mbtowc()
|
H A D | winwch.c | 42 wchar_t wchar; in winwch() local 47 (void) _curs_mbtowc(&wchar, wmbinch(win, win->_cury, win->_curx), in winwch() 49 return (a | wchar); in winwch()
|
H A D | tgetwch.c | 48 wchar_t wchar; in tgetwch() local 70 (void) _curs_mbtowc(&wchar, buf, n); in tgetwch() 71 return (wchar); in tgetwch()
|
H A D | wgetwch.c | 45 wchar_t wchar; in wgetwch() local 68 if ((_curs_mbtowc(&wchar, buf, n)) < 0) in wgetwch() 70 return ((int)wchar); in wgetwch()
|
H A D | mbtranslate.c | 133 wchar_t wchar; in _strbyte2code() local 141 (void) _curs_mbtowc(&wchar, byte, width); in _strbyte2code() 142 *bufp++ = wchar; in _strbyte2code()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | wchar | 11 lib mbstowcs,wctomb,wcrtomb,wcslen,wcstombs,wcwidth stdlib.h stdio.h wchar.h 12 lib towlower,towupper stdlib.h stdio.h wchar.h 13 typ mbstate_t stdlib.h stdio.h wchar.h 14 nxt wchar 23 if tst note{ <wchar.h> requires native <stdio.h> }end nocompile{ 27 #include <wchar.h> 30 if tst note{ <stdio.h> defines __va_list for <wchar.h> }end compile{ 36 #include <wchar.h> 44 if hdr - wctype wchar.h 45 if ! npt - iswalpha wchar.h { [all …]
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | wctomb.c | 37 wctomb_l(char *s, wchar_t wchar, locale_t loc) in wctomb_l() argument 46 if ((rval = wcrtomb_l(s, wchar, &mbs, loc)) == (size_t)-1) in wctomb_l() 52 wctomb(char *s, wchar_t wchar) in wctomb() argument 54 return (wctomb_l(s, wchar, uselocale(NULL))); in wctomb()
|
/illumos-gate/usr/src/cmd/ast/libast/amd64/FEATURE/ |
H A D | wchar | 3 /* : : generated from contrib/ast/src/lib/libast/features/wchar by iffe version 2012-07-17 : : */ 69 #define _hdr_wchar 1 /* #include <wchar.h> ok */ 83 #define _nxt_wchar <../include/wchar.h> /* include path for the native <wchar.h> */ 84 #define _nxt_wchar_str "../include/wchar.h" /* include string for the native <wchar.h> */ 91 #include <wctype.h> /* <wchar.h> includes <wctype.h> */ 94 #include <../include/wchar.h> /* the native wchar.h */ 192 /* on some systems <wchar.h> is included multiple times with multiple effects */ 195 #include <../include/wchar.h> /* the native wchar.h */
|
/illumos-gate/usr/src/cmd/ast/libast/i386/FEATURE/ |
H A D | wchar | 3 /* : : generated from contrib/ast/src/lib/libast/features/wchar by iffe version 2012-07-17 : : */ 69 #define _hdr_wchar 1 /* #include <wchar.h> ok */ 83 #define _nxt_wchar <../include/wchar.h> /* include path for the native <wchar.h> */ 84 #define _nxt_wchar_str "../include/wchar.h" /* include string for the native <wchar.h> */ 91 #include <wctype.h> /* <wchar.h> includes <wctype.h> */ 94 #include <../include/wchar.h> /* the native wchar.h */ 192 /* on some systems <wchar.h> is included multiple times with multiple effects */ 195 #include <../include/wchar.h> /* the native wchar.h */
|
/illumos-gate/usr/src/cmd/ast/libast/sparc/FEATURE/ |
H A D | wchar | 3 /* : : generated from contrib/ast/src/lib/libast/features/wchar by iffe version 2012-07-17 : : */ 69 #define _hdr_wchar 1 /* #include <wchar.h> ok */ 83 #define _nxt_wchar <../include/wchar.h> /* include path for the native <wchar.h> */ 84 #define _nxt_wchar_str "../include/wchar.h" /* include string for the native <wchar.h> */ 91 #include <wctype.h> /* <wchar.h> includes <wctype.h> */ 94 #include <../include/wchar.h> /* the native wchar.h */ 192 /* on some systems <wchar.h> is included multiple times with multiple effects */ 195 #include <../include/wchar.h> /* the native wchar.h */
|
/illumos-gate/usr/src/cmd/ast/libast/sparcv9/FEATURE/ |
H A D | wchar | 3 /* : : generated from contrib/ast/src/lib/libast/features/wchar by iffe version 2012-07-17 : : */ 69 #define _hdr_wchar 1 /* #include <wchar.h> ok */ 83 #define _nxt_wchar <../include/wchar.h> /* include path for the native <wchar.h> */ 84 #define _nxt_wchar_str "../include/wchar.h" /* include string for the native <wchar.h> */ 91 #include <wctype.h> /* <wchar.h> includes <wctype.h> */ 94 #include <../include/wchar.h> /* the native wchar.h */ 192 /* on some systems <wchar.h> is included multiple times with multiple effects */ 195 #include <../include/wchar.h> /* the native wchar.h */
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_subr.c | 573 wchar_t wchar; in qcolumn() local 583 length = mbtowc(&wchar, (char *)lim, MULTI_BYTE_MAX); in qcolumn() 594 if ((col = wcwidth(wchar)) < 0) in qcolumn() 600 length = mbtowc(&wchar, (char *)gp, MULTI_BYTE_MAX); in qcolumn() 606 putchar(wchar); in qcolumn() 619 wchar_t wchar; in nqcolumn() local 629 length = mbtowc(&wchar, (char *)lim, MULTI_BYTE_MAX); in nqcolumn() 640 length = mbtowc(&wchar, (char *)gp, MULTI_BYTE_MAX); in nqcolumn() 646 putchar(wchar); in nqcolumn() 860 wchar_t wchar; local [all …]
|
H A D | ex_vput.c | 340 wchar_t wchar; in vshowmode() local 355 length = mbtowc(&wchar, (char *)p, MULTI_BYTE_MAX); in vshowmode() 369 (void) vputchar(wchar); in vshowmode() 616 wchar_t *tp, wchar; in vinschar() local 733 wchar = *tp++; in vinschar() 734 if ((wchar & QUOTE) == 0) in vinschar() 736 if ((wchar & TRIM) == 0) in vinschar() 876 wchar_t *up, wchar; in vishft() local 889 if((wchar = *up++) != FILLER) in vishft() 890 (void) vputchar(wchar); in vishft() [all …]
|
H A D | ex_vops2.c | 956 wchar_t wchar = 0; local 1117 multic[0] = wchar = c; 1146 multic[0] = wchar = c; 1160 if((length = _mbftowc((char *)multic, &wchar, getkey, &Peekkey)) <= 0) { 1174 if ((width = wcwidth(wchar)) <= 0) 1175 width = (wchar <= 0177 ? 1 : 4); 1196 if((length = mbftowc((char *)multic, &wchar, getkey, &Peekkey)) <= 0) { 1198 if((length = _mbftowc((char *)multic, &wchar, getkey, &Peekkey)) <= 0) { 1221 if((bytelength = mbtowc(&wchar, (char *)wp, MULTI_BYTE_MAX)) < 0) { 1225 int curwidth = wcwidth(wchar); [all …]
|
H A D | ex_put.c | 203 wchar_t wchar; in normline() local 209 if((n = mbtowc(&wchar, (char *)cp, MULTI_BYTE_MAX)) < 0) { in normline() 215 putchar(wchar); in normline() 790 wchar_t wchar; in plod() local 795 (wchar=vtube[outline][outcol]) < ' ') in plod() 796 wchar = ' '; in plod() 797 if((int)(wchar & QUOTE)) /* no sign extension on 3B */ in plod() 798 wchar = ' '; in plod() 799 length = wctomb((char *)multic, wchar); in plod() 800 if ((scrlength = wcwidth(wchar)) < 0) in plod() [all …]
|
H A D | ex_voper.c | 464 wchar_t wchar; in operate() local 465 length = _mbftowc(lastcp, &wchar, getesc, &Peekkey); in operate() 466 if (length <= 0 || wchar == 0) { in operate() 470 i = wchar; in operate() 1010 wchar_t wchar; in find() local 1019 if ((length = mbtowc(&wchar, (char *)wcursor, in find() 1020 MULTI_BYTE_MAX)) > 0 && wchar == c) in find() 1035 wchar_t wchar; in word() local 1042 length = mbtowc(&wchar, (char *)wcursor, in word()
|
H A D | printf.c | 367 wchar_t wchar; in _p_emit() local 389 length = mbtowc(&wchar, (char *)s, MB_LEN_MAX); in _p_emit() 395 putchar(wchar); in _p_emit()
|
H A D | ex_vmain.c | 187 wchar_t wchar; local 190 (void)_mbftowc(multic, &wchar, getkey, &Peekkey); 613 wchar_t wchar; local 629 length = mbtowc(&wchar, (char *)ccursor, MULTI_BYTE_MAX); 709 wchar_t wchar; local 710 int length = mbtowc(&wchar, (char *)cursor, MULTI_BYTE_MAX); 717 putchar(wchar);
|
H A D | ex_vops.c | 107 wchar_t wchar; local 191 length = mbtowc(&wchar, (char *)cp, MULTI_BYTE_MAX); 197 putchar(wchar); 400 wchar_t wchar; in vmove() local 403 length = mbtowc(&wchar, (char *)cp, MULTI_BYTE_MAX); in vmove() 412 putchar(wchar); in vmove()
|
/illumos-gate/usr/src/lib/libc/i386/gen/ |
H A D | wschr.S | 44 movl 8(%esp),%ecx / %ecx = wchar sought 46 movl (%eax),%edx / %edx = wchar of string 52 movl 4(%eax),%edx / %edx = wchar of string 58 movl 8(%eax),%edx / %edx = wchar of string 64 movl 12(%eax),%edx / %edx = wchar of string
|
/illumos-gate/usr/src/lib/libc/port/regex/ |
H A D | regcmp.c | 83 static int add_char(char *compilep, wchar_t wchar); 84 static int add_single_char_expr(char *compilep, wchar_t wchar); 96 static int get_wchar(wchar_t *wchar, const char *regexp); 898 add_char(char *compilep, wchar_t wchar) in add_char() argument 902 if ((unsigned int)wchar <= (unsigned int)0x7f) { in add_char() 903 *compilep = (unsigned char)wchar; in add_char() 906 expr_length = wctomb(compilep, wchar); in add_char() 912 add_single_char_expr(char *compilep, wchar_t wchar) in add_single_char_expr() argument 916 if ((unsigned int)wchar <= (unsigned int)0x7f) { in add_single_char_expr() 919 *compilep = (unsigned char)wchar; in add_single_char_expr() [all …]
|
/illumos-gate/usr/src/lib/libc/amd64/gen/ |
H A D | wschr.S | 45 movl (%rax),%edx / %edx = wchar of string 51 movl 4(%rax),%edx / %edx = wchar of string 57 movl 8(%rax),%edx / %edx = wchar of string 63 movl 12(%rax),%edx / %edx = wchar of string
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_mbuf_marshaling.c | 1166 smb_wchar_t wchar; in mbc_marshal_put_unicode_string() local 1220 wchar = LE_IN16(wp); in mbc_marshal_put_unicode_string() 1221 mbc_marshal_store_byte(mbc, wchar); in mbc_marshal_put_unicode_string() 1222 mbc_marshal_store_byte(mbc, wchar >> 8); in mbc_marshal_put_unicode_string() 1223 if (wchar != 0) in mbc_marshal_put_unicode_string() 1635 uint16_t wchar; in mbc_marshal_get_unicode_string() local 1643 if (mbc_marshal_get_short(mbc, &wchar) != 0) { in mbc_marshal_get_unicode_string() 1647 if (wchar == 0) in mbc_marshal_get_unicode_string() 1650 LE_OUT16(wcsbuf + wcslen, wchar); in mbc_marshal_get_unicode_string()
|