| /NextBSD/contrib/ncurses/ncurses/widechar/ |
| HD | lib_inwstr.c | 45 winnwstr(WINDOW *win, wchar_t *wstr, int n) in NCURSES_EXPORT() 53 T((T_CALLED("winnwstr(%p,%p,%d)"), (void *) win, (void *) wstr, n)); in NCURSES_EXPORT() 54 if (wstr != 0) { in NCURSES_EXPORT() 70 wstr[count++] = wch; in NCURSES_EXPORT() 80 wstr[count] = '\0'; in NCURSES_EXPORT() 81 T(("winnwstr returns %s", _nc_viswbuf(wstr))); in NCURSES_EXPORT() 93 winwstr(WINDOW *win, wchar_t *wstr) in winwstr() argument 97 T((T_CALLED("winwstr(%p,%p)"), (void *) win, (void *) wstr)); in winwstr() 100 } else if (winnwstr(win, wstr, in winwstr()
|
| HD | lib_ins_wch.c | 105 wins_nwstr(WINDOW *win, const wchar_t *wstr, int n) in wins_nwstr() argument 113 (void *) win, _nc_viswbufn(wstr, n), n)); in wins_nwstr() 116 && wstr != 0) { in wins_nwstr() 118 n = (int) wcslen(wstr); in wins_nwstr() 125 for (cp = wstr; *cp && ((cp - wstr) < n); cp++) { in wins_nwstr()
|
| /NextBSD/usr.bin/sort/ |
| HD | bwstring.c | 147 fprintf(f, "%s%S%s", prefix, bws->data.wstr, suffix); in bwsprintf() 179 bws->data.wstr[newlen] = L'\0'; in bws_setlen() 201 ret->data.wstr[ret->len] = L'\0'; in bwsalloc() 222 memcpy(ret->data.wstr, s->data.wstr, in bwsdup() 247 memcpy(ret->data.wstr, str, SIZEOF_WCHAR_STRING(len)); in bwssbdup() 289 ret->data.wstr[chars++] = in bwscsbdup() 294 n = mbrtowc(ret->data.wstr + (chars++), in bwscsbdup() 304 ret->data.wstr[ret->len] = L'\0'; in bwscsbdup() 339 memcpy(dst->data.wstr, src->data.wstr, in bwscpy() 341 dst->data.wstr[dst->len] = L'\0'; in bwscpy() [all …]
|
| HD | bwstring.h | 54 wchar_t wstr[0]; member 112 (bwstring_iterator) (bws->data.wstr + bws->len)); in bws_end() 138 #define BWS_GET(bws, pos) ((MB_CUR_MAX == 1) ? ((bws)->data.cstr[(pos)]) : (bws)->data.wstr[(pos)])
|
| /NextBSD/contrib/ncurses/include/ |
| HD | curses.wide | 236 #define addnwstr(wstr,n) waddnwstr(stdscr,(wstr),(n)) 237 #define addwstr(wstr) waddwstr(stdscr,(wstr)) 258 #define waddwstr(win,wstr) waddnwstr((win),(wstr),-1) 270 #define mvaddnwstr(y,x,wstr,n) mvwaddnwstr(stdscr,(y),(x),(wstr),(n)) 271 #define mvaddwstr(y,x,wstr) mvwaddwstr(stdscr,(y),(x),(wstr)) 289 #define mvwaddnwstr(win,y,x,wstr,n) (wmove(win,(y),(x)) == ERR ? ERR : waddnwstr((win),(wstr),(n))) 290 #define mvwaddwstr(win,y,x,wstr) (wmove(win,(y),(x)) == ERR ? ERR : waddwstr((win),(wstr)))
|
| /NextBSD/usr.bin/grep/regex/ |
| HD | tre-compile.c | 37 tre_char_t *wstr = wregex; in tre_convert_pattern() local 40 *(wstr++) = *(str++); in tre_convert_pattern()
|
| /NextBSD/contrib/mdocml/ |
| HD | term.c | 619 term_setwidth(struct termp *p, const char *wstr) in term_setwidth() argument 627 if (NULL != wstr) { in term_setwidth() 628 switch (*wstr) { in term_setwidth() 631 wstr++; in term_setwidth() 635 wstr++; in term_setwidth() 640 if (a2roffsu(wstr, &su, SCALE_MAX)) in term_setwidth()
|
| /NextBSD/lib/libedit/TEST/ |
| HD | wtc1.c | 40 my_wcstombs(const wchar_t *wstr) in my_wcstombs() argument 47 int needed = wcstombs(0, wstr, 0) + 1; in my_wcstombs() 52 wcstombs(buf.str, wstr, needed); in my_wcstombs()
|
| /NextBSD/contrib/gdb/gdb/ |
| HD | wince.c | 1566 LPWSTR wstr; in upload_to_device() local 1600 wstr = towide (dir, NULL); in upload_to_device() 1601 (void) CeCreateDirectory (wstr, NULL); in upload_to_device() 1604 wstr = towide (remotefile, NULL); in upload_to_device() 1605 h = CeCreateFile (wstr, GENERIC_READ | GENERIC_WRITE, 0, NULL, in upload_to_device()
|
| /NextBSD/crypto/openssl/engines/ |
| HD | e_capi.c | 1033 static char *wide_to_asc(LPCWSTR wstr) in wide_to_asc() argument 1038 if (!wstr) in wide_to_asc() 1040 len_0 = (int)wcslen(wstr) + 1; /* WideCharToMultiByte expects int */ in wide_to_asc() 1041 sz = WideCharToMultiByte(CP_ACP, 0, wstr, len_0, NULL, 0, NULL, NULL); in wide_to_asc() 1051 if (!WideCharToMultiByte(CP_ACP, 0, wstr, len_0, str, sz, NULL, NULL)) { in wide_to_asc()
|
| /NextBSD/contrib/ncurses/ncurses/ |
| HD | llib-lncursesw | 3199 const wchar_t *wstr, 3208 wchar_t *wstr, 3215 wchar_t *wstr)
|
| HD | llib-lncursestw | 3208 const wchar_t *wstr, 3217 wchar_t *wstr, 3224 wchar_t *wstr)
|
| /NextBSD/contrib/libc++/include/ |
| D | locale | 111 byte_string to_bytes(const wide_string& wstr);
|