/freebsd/contrib/ncurses/ncurses/widechar/ |
H A D | lib_inwstr.c | 46 winnwstr(WINDOW *win, wchar_t *wstr, int n) in NCURSES_EXPORT() 51 T((T_CALLED("winnwstr(%p,%p,%d)"), (void *) win, (void *) wstr, n)); in NCURSES_EXPORT() 52 if (wstr != 0) { in NCURSES_EXPORT() 79 wstr[count++] = wch; in NCURSES_EXPORT() 89 wstr[count] = '\0'; in NCURSES_EXPORT() 90 T(("winnwstr returns %s", _nc_viswbuf(wstr))); in NCURSES_EXPORT() 102 winwstr(WINDOW *win, wchar_t *wstr) in winwstr() argument 106 T((T_CALLED("winwstr(%p,%p)"), (void *) win, (void *) wstr)); in winwstr() 109 } else if (winnwstr(win, wstr, in winwstr()
|
H A D | lib_ins_wch.c | 104 wins_nwstr(WINDOW *win, const wchar_t *wstr, int n) in wins_nwstr() argument 109 (void *) win, _nc_viswbufn(wstr, n), n)); in wins_nwstr() 112 && wstr != 0 in wins_nwstr() 126 for (cp = wstr; ((cp - wstr) < n) && (*cp != L'\0'); cp++) { in wins_nwstr()
|
/freebsd/crypto/openssl/apps/lib/ |
H A D | win32_init.c | 58 static int process_glob(WCHAR *wstr, int wlen) in process_glob() argument 74 if (wstr[i] == L'/' || wstr[i] == L'\\') in process_glob() 80 if (wstr[i] == L'*' || wstr[i] == L'?') in process_glob() 86 saved_char = wstr[wlen]; in process_glob() 87 wstr[wlen] = L'\0'; in process_glob() 88 h = FindFirstFileW(wstr, &data); in process_glob() 89 wstr[wlen] = saved_char; in process_glob() 94 udlen = WideCharToMultiByte(CP_UTF8, 0, wstr, slash, in process_glob() 127 WideCharToMultiByte(CP_UTF8, 0, wstr, slash, in process_glob()
|
/freebsd/contrib/ncurses/include/ |
H A D | curses.wide | 238 #define addnwstr(wstr,n) waddnwstr(stdscr,(wstr),(n)) 239 #define addwstr(wstr) waddwstr(stdscr,(wstr)) 260 #define waddwstr(win,wstr) waddnwstr((win),(wstr),-1) 272 #define mvaddnwstr(y,x,wstr,n) mvwaddnwstr(stdscr,(y),(x),(wstr),(n)) 273 #define mvaddwstr(y,x,wstr) mvwaddwstr(stdscr,(y),(x),(wstr)) 291 #define mvwaddnwstr(win,y,x,wstr,n) (wmove(win,(y),(x)) == ERR ? ERR : waddnwstr((win),(wstr),(n))) 292 #define mvwaddwstr(win,y,x,wstr) (wmove(win,(y),(x)) == ERR ? ERR : waddwstr((win),(wstr)))
|
/freebsd/usr.bin/sort/ |
H A D | bwstring.h | 48 struct wstr { struct 64 struct wstr wdata; argument
|
/freebsd/contrib/libedit/TEST/ |
H A D | wtc1.c | 37 my_wcstombs(const wchar_t *wstr) in my_wcstombs() argument 44 int needed = wcstombs(0, wstr, 0) + 1; in my_wcstombs() 49 wcstombs(buf.str, wstr, needed); in my_wcstombs()
|
/freebsd/contrib/mandoc/ |
H A D | term.c | 926 term_setwidth(struct termp *p, const char *wstr) in term_setwidth() argument 933 if (NULL != wstr) { in term_setwidth() 934 switch (*wstr) { in term_setwidth() 937 wstr++; in term_setwidth() 941 wstr++; in term_setwidth() 946 if (a2roffsu(wstr, &su, SCALE_MAX) != NULL) in term_setwidth()
|
H A D | tbl.h | 54 char *wstr; /* Min width represented as a string. */ member
|
H A D | tbl_layout.c | 150 free(cp->wstr); in mods() 151 cp->wstr = mandoc_strndup(p + *pos, sz); in mods()
|
H A D | tbl.c | 121 free(cp->wstr); in tbl_free()
|
H A D | out.c | 163 if (dp->layout->wstr != NULL && in tblcalc() 165 a2roffsu(dp->layout->wstr, &su, SCALE_EN) in tblcalc()
|
/freebsd/contrib/googletest/googletest/include/gtest/ |
H A D | gtest-message.h | 212 Message& operator<<(const ::std::wstring& wstr);
|
/freebsd/contrib/bsddialog/lib/ |
H A D | formbox.c | 338 static char* alloc_wstomb(wchar_t *wstr) in alloc_wstomb() argument 344 len = wcslen(wstr); in alloc_wstomb() 346 wctomb(mbch, wstr[i]); in alloc_wstomb() 352 wcstombs(mbstr, wstr, nbytes); in alloc_wstomb()
|
/freebsd/crypto/openssl/engines/ |
H A D | e_capi.c | 1119 static char *wide_to_asc(LPCWSTR wstr) in wide_to_asc() argument 1125 if (!wstr) in wide_to_asc() 1128 len_1 = wcslen(wstr) + 1; in wide_to_asc() 1136 sz = WideCharToMultiByte(CP_ACP, 0, wstr, len_0, NULL, 0, NULL, NULL); in wide_to_asc() 1146 if (!WideCharToMultiByte(CP_ACP, 0, wstr, len_0, str, sz, NULL, NULL)) { in wide_to_asc()
|
/freebsd/contrib/googletest/googletest/src/ |
H A D | gtest.cc | 1262 static void StreamWideCharsToMessage(const wchar_t* wstr, size_t length, in StreamWideCharsToMessage() argument 1265 if (wstr[i] != L'\0') { in StreamWideCharsToMessage() 1266 *msg << WideStringToUtf8(wstr + i, static_cast<int>(length - i)); in StreamWideCharsToMessage() 1267 while (i != length && wstr[i] != L'\0') i++; in StreamWideCharsToMessage() 1319 Message& Message::operator<<(const ::std::wstring& wstr) { in operator <<() argument 1320 internal::StreamWideCharsToMessage(wstr.c_str(), wstr.length(), this); in operator <<()
|
/freebsd/contrib/googletest/googletest/test/ |
H A D | gtest_unittest.cc | 5241 wchar_t* wstr = nullptr; in TEST() local 5242 EXPECT_STREQ("(null)", (Message() << wstr).GetString().c_str()); in TEST() 5250 wstr = const_cast<wchar_t*>(const_wstr); in TEST() 5251 EXPECT_STREQ("abc\xe8\x84\x99", (Message() << wstr).GetString().c_str()); in TEST()
|
/freebsd/contrib/ncurses/ncurses/ |
H A D | llib-lncursestw | 3337 const wchar_t *wstr, 3346 wchar_t *wstr, 3353 wchar_t *wstr)
|
H A D | llib-lncursesw | 3328 const wchar_t *wstr, 3337 wchar_t *wstr, 3344 wchar_t *wstr)
|
/freebsd/contrib/bsnmp/tests/ |
H A D | catch.hpp | 1665 static std::string convert(const std::wstring& wstr); 14826 std::string StringMaker<std::wstring>::convert(const std::wstring& wstr) { in convert() argument 14828 s.reserve(wstr.size()); in convert() 14829 for (auto c : wstr) { in convert()
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | locale | 114 byte_string to_bytes(const wide_string& wstr);
|