Home
last modified time | relevance | path

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

12345

/titanic_51/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()
155 _wctomb_euc(char * s,wchar_t wchar) _wctomb_euc() argument
[all...]
/titanic_51/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
[all...]
/titanic_51/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()
/titanic_51/usr/src/contrib/ast/src/lib/libast/features/
H A Dwchar11 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
[all...]
/titanic_51/usr/src/common/smbsrv/
H A Dsmb_utf8.c171 * The wctomb() function converts a wide character wchar into a multibyte
178 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 in smb_wctomb()
[all...]
H A Dsmb_msgbuf.c224 smb_wchar_t wchar; in buf_decode() local
338 wchar = *mb->scan++; in buf_decode()
340 if (wchar == 0) in buf_decode()
342 ival = smb_wctomb(cvalp, wchar); in buf_decode()
365 while ((wchar = LE_IN16(tmp_scan)) != 0) { in buf_decode()
385 wchar = LE_IN16(mb->scan); in buf_decode()
388 if (wchar == 0) in buf_decode()
390 ival = smb_wctomb(cvalp, wchar); in buf_decode()
469 smb_wchar_t wchar; in buf_encode() local
586 count = smb_mbtowc(&wchar, cval in buf_encode()
[all...]
/titanic_51/usr/src/lib/libc/port/locale/
H A Dwctomb.c31 #include <wchar.h>
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()
/titanic_51/usr/src/cmd/ast/libast/sparcv9/FEATURE/
H A Dwchar3 /* : : 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
[all...]
/titanic_51/usr/src/cmd/ast/libast/amd64/FEATURE/
H A Dwchar3 /* : : 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
[all...]
/titanic_51/usr/src/cmd/ast/libast/i386/FEATURE/
H A Dwchar3 /* : : 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
[all...]
/titanic_51/usr/src/cmd/ast/libast/sparc/FEATURE/
H A Dwchar3 /* : : 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
[all...]
/titanic_51/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_51/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
1146 wchar_t wchar; global() local
1157 wchar_t wchar; global() 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()
929 wchar_t wchar; vishft() local
1079 wchar_t wchar; viin() local
[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...]
/titanic_51/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_51/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_51/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_51/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_51/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_51/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 */

12345