/osnet-11/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | wunctrl.c | 89 static wchar_t wcs[M_CCHAR_MAX+1]; local 108 wcs[i] = cc->_wc[i]; 109 wcs[i] = M_MB_L('\0'); 111 return __m_return_pointer("wunctrl", wcs);
|
H A D | getcchar.c | 47 getcchar(const cchar_t *c, wchar_t *wcs, attr_t *at, short *co, void *opts) argument 52 __m_trace("getcchar(%p, %p, %p, %p, %p)", c, wcs, at, co, opts); 55 if (wcs == (wchar_t *) 0) 62 *wcs++ = c->_wc[i]; 63 *wcs = M_MB_L('\0');
|
H A D | setcchar.c | 47 setcchar(cchar_t *cc, const wchar_t *wcs, attr_t at, short co, const void *opts) argument 52 __m_trace("setcchar(%p, %p, %x, %d, %p)", cc, wcs, at, co, opts); 55 i = __m_wcs_cc(wcs, at, co, cc); 57 return __m_return_code("setcchar", i < 0 || wcs[i] != '\0' ? ERR : OK);
|
H A D | slk.c | 280 wchar_t wcs[M_CCHAR_MAX * 8 + 1]; local 286 if (0 < mbstowcs(wcs, label, sizeof wcs)) 287 code = slk_wset(index, wcs, justify); 298 wchar_t wcs[M_CCHAR_MAX * 8 + 1], *wp; local 321 for (wp = wcs, width = 0; label != '\0'; label += i, wp += cc._n) { 333 if (wcstombs(mbs, wcs, sizeof mbs) == (size_t) -1)
|
H A D | m_cc.c | 125 wistowcs(wcs, wis, n) 126 wchar_t *wcs; 135 for (start = wcs; *wis != '\0' && 0 < n; ++wis, ++wcs, --n) { 138 *wcs = (wchar_t) *wis; 140 *wcs = '\0'; 142 return (int) (wcs - start); 340 __m_wcs_cc(const wchar_t *wcs, attr_t at, short co, cchar_t *cc) argument 346 for (start = wcs, have_one = i = 0; *wcs ! 379 wchar_t wcs[2]; local [all...] |
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | waddnws.c | 53 waddnwstr(WINDOW *w, const wchar_t *wcs, int n) argument 68 for (; *wcs != '\0' && 0 < n; wcs++, n--) { 69 if (__m_wc_cc(*wcs, &cc) < 0)
|
H A D | wunctrl.c | 90 static wchar_t wcs[_M_CCHAR_MAX + 1]; local 106 wcs[i] = cc->_wc[i]; 107 wcs[i] = L'\0'; 109 return (wcs);
|
H A D | getcchar.c | 53 getcchar(const cchar_t *c, wchar_t *wcs, attr_t *at, short *co, void *opts) argument 57 if (wcs == NULL) 64 *wcs++ = c->_wc[i]; 65 *wcs = L'\0';
|
H A D | setcchar.c | 53 setcchar(cchar_t *cc, const wchar_t *wcs, attr_t at, argument 58 if ((wcs == NULL) || wcs[0] == (wchar_t)0) { 64 } else if (wcs[1] == (wchar_t)0) { 65 i = __m_wc_cc((wint_t)wcs[0], cc); 71 i = __m_wcs_cc(wcs, at, co, cc); 74 return ((i < 0 || (wcs && wcs[i] != '\0')) ? ERR : OK);
|
H A D | winnwstr.c | 52 winnwstr(WINDOW *w, wchar_t *wcs, int n) argument 70 *wcs++ = cp->_wc[i]; 79 *wcs = '\0';
|
H A D | wins_nws.c | 52 wins_nwstr(WINDOW *w, const wchar_t *wcs, int n) argument 64 if ((wcwidth(*wcs) <= 0) && !iswcntrl(*wcs)) 67 for (; *wcs != '\0' && 0 < n; n -= i, wcs += i) { 68 if ((i = __m_wcs_cc(wcs, w->_bg._at, w->_fg._co, &cc))
|
H A D | addnws.c | 52 addnwstr(const wchar_t *wcs, int n) argument 56 code = waddnwstr(stdscr, wcs, n); 64 mvaddnwstr(int y, int x, const wchar_t *wcs, int n) argument 69 code = waddnwstr(stdscr, wcs, n); 77 mvwaddnwstr(WINDOW *w, int y, int x, const wchar_t *wcs, int n) argument 82 code = waddnwstr(w, wcs, n); 90 addwstr(const wchar_t *wcs) argument 94 code = waddnwstr(stdscr, wcs, -1); 102 mvaddwstr(int y, int x, const wchar_t *wcs) argument 107 code = waddnwstr(stdscr, wcs, 115 mvwaddwstr(WINDOW *w, int y, int x, const wchar_t *wcs) argument 128 waddwstr(WINDOW *w, const wchar_t *wcs) argument [all...] |
H A D | innwstr.c | 54 innwstr(wchar_t *wcs, int n) argument 58 code = winnwstr(stdscr, wcs, n); 66 mvinnwstr(int y, int x, wchar_t *wcs, int n) argument 71 code = winnwstr(stdscr, wcs, n); 79 mvwinnwstr(WINDOW *w, int y, int x, wchar_t *wcs, int n) argument 84 code = winnwstr(w, wcs, n); 92 inwstr(wchar_t *wcs) argument 96 code = winnwstr(stdscr, wcs, -1); 104 mvinwstr(int y, int x, wchar_t *wcs) argument 109 code = winnwstr(stdscr, wcs, 117 mvwinwstr(WINDOW *w, int y, int x, wchar_t *wcs) argument 130 winwstr(WINDOW *w, wchar_t *wcs) argument [all...] |
H A D | ins_nws.c | 52 ins_nwstr(const wchar_t *wcs, int n) argument 56 code = wins_nwstr(stdscr, wcs, n); 64 mvins_nwstr(int y, int x, const wchar_t *wcs, int n) argument 69 code = wins_nwstr(stdscr, wcs, n); 77 mvwins_nwstr(WINDOW *w, int y, int x, const wchar_t *wcs, int n) argument 82 code = wins_nwstr(w, wcs, n); 90 ins_wstr(const wchar_t *wcs) argument 94 code = wins_nwstr(stdscr, wcs, -1); 102 mvins_wstr(int y, int x, const wchar_t *wcs) argument 107 code = wins_nwstr(stdscr, wcs, 115 mvwins_wstr(WINDOW *w, int y, int x, const wchar_t *wcs) argument 128 wins_wstr(WINDOW *w, const wchar_t *wcs) argument [all...] |
H A D | slk.c | 321 wchar_t wcs[_M_CCHAR_MAX * 8 + 1]; local 325 if (mbstowcs(wcs, label, sizeof (wcs)) != (size_t)-1) 326 code = slk_wset(index, wcs, justify); 336 wchar_t wcs[_M_CCHAR_MAX * 8 + 1], *wp; local 352 for (wp = wcs, width = 0; *label != '\0'; label += i, wp += cc._n) { 366 if (wcstombs(tmbs, wcs, sizeof (mbs)) == (size_t) -1)
|
H A D | m_cc.c | 125 wistowcs(wchar_t *wcs, const wint_t *wis, int n) argument 132 for (start = wcs; *wis != '\0' && 0 < n; ++wis, ++wcs, --n) { 135 *wcs = (wchar_t)*wis; 137 *wcs = '\0'; 139 /* (wcs - start) should be enough small to fit in "int" */ 140 return ((int)(wcs - start)); 345 __m_wcs_cc(const wchar_t *wcs, attr_t at, short co, cchar_t *cc) argument 350 for (start = wcs, i = 0; *wcs ! 385 wchar_t wcs[2]; local [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/ |
H A D | fnmatch.c | 211 is_char_class (const wchar_t *wcs) argument 220 if (*wcs < 0x20 || *wcs > 0x7e 221 || *wcs == 0x24 || *wcs == 0x40 || *wcs == 0x60) 224 switch (*wcs) 256 *cp++ = (char) *wcs++; 258 while (*wcs != L'\0');
|
H A D | regex_internal.h | 370 wint_t *wcs; member in struct:re_string_t 446 ((idx) == (pstr)->valid_len || (pstr)->wcs[idx] != WEOF) 448 ((pstr)->wcs[idx] != WEOF && ((pstr)->valid_len == (idx) + 1 \ 449 || (pstr)->wcs[(idx) + 1] != WEOF)) 815 if (pstr->wcs[idx + byte_idx] != WEOF) 826 return (wint_t) pstr->wcs[idx];
|
/osnet-11/usr/src/lib/libndr/common/ |
H A D | ndr_process.c | 2008 ndr_mbstowcs(ndr_stream_t *nds, smb_wchar_t *wcs, const char *mbs, argument 2011 smb_wchar_t *start = wcs; 2015 nbytes = ndr_mbtowc(nds, wcs, mbs, MTS_MB_CHAR_MAX); 2017 *wcs = 0; 2024 ++wcs; 2028 return (wcs - start);
|
/osnet-11/usr/src/lib/libima/common/ |
H A D | ima-lib.c | 83 static void libSwprintf(wchar_t *wcs, const wchar_t *lpszFormat, ...) { argument 88 vswprintf(wcs, lpszFormat, args); 90 vswprintf(wcs, 255, lpszFormat, args);
|
/osnet-11/usr/src/lib/libsun_ima/common/ |
H A D | ima.c | 155 static void libSwprintf(wchar_t *wcs, const wchar_t *lpszFormat, ...) argument 159 (void) vswprintf(wcs, OS_DEVICE_NAME_LEN - 1, lpszFormat, args);
|