Home
last modified time | relevance | path

Searched refs:wchar (Results 1 – 25 of 70) sorted by relevance

123

/titanic_41/usr/src/lib/libbc/libc/gen/common/
H A Deuc.multibyte.c48 _mbtowc_euc(wchar_t *wchar, char *s, size_t n) in _mbtowc_euc() argument
63 if(wchar) in _mbtowc_euc()
64 *wchar = c; in _mbtowc_euc()
70 if(wchar) in _mbtowc_euc()
71 *wchar = c; in _mbtowc_euc()
77 if(wchar) in _mbtowc_euc()
78 *wchar = c; in _mbtowc_euc()
84 if(wchar) in _mbtowc_euc()
85 *wchar = c; in _mbtowc_euc()
99 if(wchar) in _mbtowc_euc()
[all …]
/titanic_41/usr/src/test/libc-tests/cfg/symbols/
H A Dwchar_h.cfg17 # 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 SUSv4+
57 wchar.h | -ALL SUSv4+
63 wchar.h | ALL
[all …]
/titanic_41/usr/src/lib/libcurses/screen/
H A Dwctomb.c41 _curs_wctomb(char *s, wchar_t wchar) in _curs_wctomb() argument
48 if (wchar <= 0177 || (wchar <= 0377 && (iscntrl((int)wchar) != 0))) { in _curs_wctomb()
50 *s++ = (char)wchar; in _curs_wctomb()
53 switch (wchar & EUCMASK) { in _curs_wctomb()
78 d = wchar | 0200; in _curs_wctomb()
79 wchar >>= 7; in _curs_wctomb()
H A Dmbtowc.c38 _curs_mbtowc(wchar_t *wchar, const char *s, size_t n) in _curs_mbtowc() argument
51 if (wchar) in _curs_mbtowc()
52 *wchar = c; in _curs_mbtowc()
69 if (wchar) in _curs_mbtowc()
70 *wchar = c; in _curs_mbtowc()
84 if (wchar) in _curs_mbtowc()
85 *wchar = intcode | mask; in _curs_mbtowc()
H A Dwinwch.c44 wchar_t wchar; in winwch() local
49 (void) _curs_mbtowc(&wchar, wmbinch(win, win->_cury, win->_curx), in winwch()
51 return (a | wchar); in winwch()
H A Dtgetwch.c50 wchar_t wchar; in tgetwch() local
72 (void) _curs_mbtowc(&wchar, buf, n); in tgetwch()
73 return (wchar); in tgetwch()
H A Dwgetwch.c47 wchar_t wchar; in wgetwch() local
70 if ((_curs_mbtowc(&wchar, buf, n)) < 0) in wgetwch()
72 return ((int)wchar); in wgetwch()
H A Dmbtranslate.c135 wchar_t wchar; in _strbyte2code() local
143 (void) _curs_mbtowc(&wchar, byte, width); in _strbyte2code()
144 *bufp++ = wchar; in _strbyte2code()
/titanic_41/usr/src/common/smbsrv/
H A Dsmb_utf8.c178 smb_wctomb(char *mbchar, smb_wchar_t wchar) in smb_wctomb() argument
180 if ((wchar & ~0x7f) == 0) { in smb_wctomb()
181 *mbchar = (char)wchar; in smb_wctomb()
185 if ((wchar & ~0x7ff) == 0) { in smb_wctomb()
186 *mbchar++ = (wchar >> 6) | 0xc0; in smb_wctomb()
187 *mbchar = (wchar & 0x3f) | 0x80; in smb_wctomb()
191 *mbchar++ = (wchar >> 12) | 0xe0; in smb_wctomb()
192 *mbchar++ = ((wchar >> 6) & 0x3f) | 0x80; in smb_wctomb()
193 *mbchar = (wchar & 0x3f) | 0x80; in smb_wctomb()
/titanic_41/usr/src/lib/libc/port/locale/
H A Dwctomb.c37 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()
/titanic_41/usr/src/lib/libc/i386/gen/
H A Dwschr.s44 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
/titanic_41/usr/src/cmd/vi/port/
H A Dex_subr.c566 wchar_t wchar; in qcolumn() local
576 length = mbtowc(&wchar, (char *)lim, MULTI_BYTE_MAX); in qcolumn()
587 if ((col = wcwidth(wchar)) < 0) in qcolumn()
593 length = mbtowc(&wchar, (char *)gp, MULTI_BYTE_MAX); in qcolumn()
599 putchar(wchar); in qcolumn()
612 wchar_t wchar; in nqcolumn() local
622 length = mbtowc(&wchar, (char *)lim, MULTI_BYTE_MAX); in nqcolumn()
633 length = mbtowc(&wchar, (char *)gp, MULTI_BYTE_MAX); in nqcolumn()
639 putchar(wchar); in nqcolumn()
853 wchar_t wchar; local
[all …]
H A Dex_vput.c342 wchar_t wchar; in vshowmode() local
357 length = mbtowc(&wchar, (char *)p, MULTI_BYTE_MAX); in vshowmode()
371 (void) vputchar(wchar); in vshowmode()
618 wchar_t *tp, wchar; in vinschar() local
735 wchar = *tp++; in vinschar()
736 if ((wchar & QUOTE) == 0) in vinschar()
738 if ((wchar & TRIM) == 0) in vinschar()
878 wchar_t *up, wchar; in vishft() local
891 if((wchar = *up++) != FILLER) in vishft()
892 (void) vputchar(wchar); in vishft()
[all …]
H A Dex_vops2.c956 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 Dex_put.c204 wchar_t wchar; in normline() local
210 if((n = mbtowc(&wchar, (char *)cp, MULTI_BYTE_MAX)) < 0) { in normline()
216 putchar(wchar); in normline()
791 wchar_t wchar; in plod() local
796 (wchar=vtube[outline][outcol]) < ' ') in plod()
797 wchar = ' '; in plod()
798 if((int)(wchar & QUOTE)) /* no sign extension on 3B */ in plod()
799 wchar = ' '; in plod()
800 length = wctomb((char *)multic, wchar); in plod()
801 if ((scrlength = wcwidth(wchar)) < 0) in plod()
[all …]
H A Dex_voper.c464 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()
1009 wchar_t wchar; in find() local
1018 if ((length = mbtowc(&wchar, (char *)wcursor, in find()
1019 MULTI_BYTE_MAX)) > 0 && wchar == c) in find()
1034 wchar_t wchar; in word() local
1041 length = mbtowc(&wchar, (char *)wcursor, in word()
H A Dprintf.c373 wchar_t wchar; in _p_emit() local
395 length = mbtowc(&wchar, (char *)s, MB_LEN_MAX); in _p_emit()
401 putchar(wchar); in _p_emit()
H A Dex_vmain.c189 wchar_t wchar; local
192 (void)_mbftowc(multic, &wchar, getkey, &Peekkey);
615 wchar_t wchar; local
631 length = mbtowc(&wchar, (char *)ccursor, MULTI_BYTE_MAX);
712 wchar_t wchar; local
713 int length = mbtowc(&wchar, (char *)cursor, MULTI_BYTE_MAX);
720 putchar(wchar);
/titanic_41/usr/src/lib/libc/port/regex/
H A Dregcmp.c83 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 …]
/titanic_41/usr/src/lib/libc/amd64/gen/
H A Dwschr.s45 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
/titanic_41/usr/src/lib/libast/amd64/src/lib/libast/FEATURE/
H A Dwchar3 …e/gisburn/ksh93/ast_ksh_20100309/build_i386_64bit/src/lib/libast/features/wchar by iffe version 20…
68 #define _hdr_wchar 1 /* #include <wchar.h> ok */
82 #define _nxt_wchar <../include/wchar.h> /* include path for the native <wchar.h> */
83 #define _nxt_wchar_str "../include/wchar.h" /* include string for the native <wchar.h> */
89 #include <../include/wchar.h> /* the native wchar.h */
/titanic_41/usr/src/lib/libast/i386/src/lib/libast/FEATURE/
H A Dwchar3 …e/gisburn/ksh93/ast_ksh_20100309/build_i386_32bit/src/lib/libast/features/wchar by iffe version 20…
68 #define _hdr_wchar 1 /* #include <wchar.h> ok */
82 #define _nxt_wchar <../include/wchar.h> /* include path for the native <wchar.h> */
83 #define _nxt_wchar_str "../include/wchar.h" /* include string for the native <wchar.h> */
89 #include <../include/wchar.h> /* the native wchar.h */
/titanic_41/usr/src/lib/libast/sparcv9/src/lib/libast/FEATURE/
H A Dwchar3 …/gisburn/ksh93/ast_ksh_20100309/build_sparc_64bit/src/lib/libast/features/wchar by iffe version 20…
68 #define _hdr_wchar 1 /* #include <wchar.h> ok */
82 #define _nxt_wchar <../include/wchar.h> /* include path for the native <wchar.h> */
83 #define _nxt_wchar_str "../include/wchar.h" /* include string for the native <wchar.h> */
89 #include <../include/wchar.h> /* the native wchar.h */
/titanic_41/usr/src/lib/libast/sparc/src/lib/libast/FEATURE/
H A Dwchar3 …/gisburn/ksh93/ast_ksh_20100309/build_sparc_32bit/src/lib/libast/features/wchar by iffe version 20…
68 #define _hdr_wchar 1 /* #include <wchar.h> ok */
82 #define _nxt_wchar <../include/wchar.h> /* include path for the native <wchar.h> */
83 #define _nxt_wchar_str "../include/wchar.h" /* include string for the native <wchar.h> */
89 #include <../include/wchar.h> /* the native wchar.h */
/titanic_41/usr/src/lib/libast/common/features/
H A Dwchar2 lib mbstowcs,wctomb,wcrtomb,wcslen,wcstombs,wcwidth stdlib.h stdio.h wchar.h
3 lib towlower,towupper stdlib.h stdio.h wchar.h
4 typ mbstate_t stdlib.h stdio.h wchar.h
5 nxt wchar
14 #include $_nxt_wchar /* the native wchar.h */

123