Home
last modified time | relevance | path

Searched refs:wstr (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/ncurses/ncurses/widechar/
H A Dlib_inwstr.c46 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 Dlib_ins_wch.c104 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()
123 for (cp = wstr; (*cp != L'\0') && ((cp - wstr) < n); cp++) { in wins_nwstr()
/freebsd/crypto/openssl/apps/lib/
H A Dwin32_init.c58 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 Dcurses.wide236 #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)))
/freebsd/usr.bin/sort/
H A Dbwstring.h48 struct wstr { struct
64 struct wstr wdata; argument
/freebsd/contrib/libedit/TEST/
H A Dwtc1.c37 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 Dterm.c869 term_setwidth(struct termp *p, const char *wstr) in term_setwidth() argument
876 if (NULL != wstr) { in term_setwidth()
877 switch (*wstr) { in term_setwidth()
880 wstr++; in term_setwidth()
884 wstr++; in term_setwidth()
889 if (a2roffsu(wstr, &su, SCALE_MAX) != NULL) in term_setwidth()
H A Dtbl.h54 char *wstr; /* Min width represented as a string. */ member
H A Dtbl_layout.c150 free(cp->wstr); in mods()
151 cp->wstr = mandoc_strndup(p + *pos, sz); in mods()
H A Dtbl.c121 free(cp->wstr); in tbl_free()
H A Dout.c163 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 Dgtest-message.h213 Message& operator<<(const ::std::wstring& wstr);
/freebsd/contrib/bsddialog/lib/
H A Dformbox.c338 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 De_capi.c1119 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 Dgtest.cc1236 static void StreamWideCharsToMessage(const wchar_t* wstr, size_t length, in StreamWideCharsToMessage() argument
1239 if (wstr[i] != L'\0') { in StreamWideCharsToMessage()
1240 *msg << WideStringToUtf8(wstr + i, static_cast<int>(length - i)); in StreamWideCharsToMessage()
1241 while (i != length && wstr[i] != L'\0') i++; in StreamWideCharsToMessage()
1293 Message& Message::operator<<(const ::std::wstring& wstr) { in operator <<() argument
1294 internal::StreamWideCharsToMessage(wstr.c_str(), wstr.length(), this); in operator <<()
/freebsd/contrib/googletest/googletest/test/
H A Dgtest_unittest.cc5237 wchar_t* wstr = nullptr; in TEST() local
5238 EXPECT_STREQ("(null)", (Message() << wstr).GetString().c_str()); in TEST()
5246 wstr = const_cast<wchar_t*>(const_wstr); in TEST()
5247 EXPECT_STREQ("abc\xe8\x84\x99", (Message() << wstr).GetString().c_str()); in TEST()
/freebsd/contrib/ncurses/ncurses/
H A Dllib-lncursestw3325 const wchar_t *wstr,
3334 wchar_t *wstr,
3341 wchar_t *wstr)
H A Dllib-lncursesw3316 const wchar_t *wstr,
3325 wchar_t *wstr,
3332 wchar_t *wstr)
/freebsd/contrib/bsnmp/tests/
H A Dcatch.hpp1665 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 Dlocale114 byte_string to_bytes(const wide_string& wstr);