Home
last modified time | relevance | path

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

12

/third_party/openssl/apps/
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()
/third_party/mingw-w64/mingw-w64-crt/stdio/
Dmingw_vfscanf.c310 wchar_t *wstr = NULL; in __mingw_sformat() local
676 if ((wstr = (wchar_t *) *pstr) == NULL) in __mingw_sformat()
684 wstr = (wchar_t *) get_va_nth (argp, npos); in __mingw_sformat()
686 wstr = va_arg (arg, wchar_t *); in __mingw_sformat()
687 if (!wstr) in __mingw_sformat()
702 && wstr == ((wchar_t *) *pstr + str_sz)) in __mingw_sformat()
706 while ((wstr = (wchar_t *) realloc (*pstr, new_sz * sizeof (wchar_t))) == NULL in __mingw_sformat()
709 if (!wstr) in __mingw_sformat()
714 *pstr = (char *) wstr; in __mingw_sformat()
715 wstr += str_sz; in __mingw_sformat()
[all …]
Dmingw_wvfscanf.c319 wchar_t *wstr = NULL, *wbuf = NULL; in __mingw_swformat() local
664 if ((wstr = (wchar_t *) *pstr) == NULL) in __mingw_swformat()
667 if ((wstr = (wchar_t *) *pstr) != NULL) in __mingw_swformat()
676 wstr = (wchar_t *) get_va_nth (argp, npos); in __mingw_swformat()
678 wstr = va_arg (arg, wchar_t *); in __mingw_swformat()
679 if (!wstr) in __mingw_swformat()
692 && wstr == ((wchar_t *) *pstr + str_sz)) in __mingw_swformat()
695 while ((wstr = (wchar_t *) realloc (*pstr, in __mingw_swformat()
699 if (!wstr) in __mingw_swformat()
704 *pstr = (char *) wstr; in __mingw_swformat()
[all …]
/third_party/boost/libs/spirit/test/karma/
Dlit.cpp71 std::basic_string<wchar_t> wstr(L"abc"); in main() local
72 BOOST_TEST(test(L"abc", lit(wstr))); in main()
73 BOOST_TEST(!test(L"abcd", lit(wstr))); in main()
75 BOOST_TEST(test(L"abc", string, wstr)); in main()
76 BOOST_TEST(!test(L"abcd", string, wstr)); in main()
78 BOOST_TEST(test(L"abc", wstr)); in main()
79 BOOST_TEST(!test(L"abcd", wstr)); in main()
/third_party/cef/libcef_dll/wrapper/
Dcef_zip_archive.cc24 std::wstring wstr = str; in ToLower() local
25 std::transform(wstr.begin(), wstr.end(), wstr.begin(), towlower); in ToLower()
26 return wstr; in ToLower()
/third_party/flutter/skia/third_party/externals/sdl/src/video/winrt/
DSDL_winrtmessagebox.cpp40 wchar_t * wstr = WIN_UTF8ToString(str); variable
41 String ^ rtstr = ref new String(wstr);
42 SDL_free(wstr);
/third_party/cef/libcef/common/
Dapp_manager.cc101 const std::wstring wstr = module.value(); in GetResourceDllName() local
102 size_t count = std::min(static_cast<size_t>(MAX_PATH), wstr.size()); in GetResourceDllName()
103 wcsncpy(file_path, wstr.c_str(), count); in GetResourceDllName()
/third_party/boost/libs/log/src/
Dcode_conversion.cpp243 std::wstring wstr; in utf8_to_utf16() local
244 wstr.resize(len); in utf8_to_utf16()
246 …:CP_UTF8_, boost::winapi::MB_ERR_INVALID_CHARS_, str, static_cast< int >(utf8_len), &wstr[0], len); in utf8_to_utf16()
249 return wstr; in utf8_to_utf16()
259 std::string utf16_to_utf8(const wchar_t* wstr) in utf16_to_utf8() argument
261 std::size_t utf16_len = std::wcslen(wstr); in utf16_to_utf8()
273 …int len = boost::winapi::WideCharToMultiByte(boost::winapi::CP_UTF8_, flags, wstr, static_cast< in… in utf16_to_utf8()
279 …len = boost::winapi::WideCharToMultiByte(boost::winapi::CP_UTF8_, flags, wstr, static_cast< int >(… in utf16_to_utf8()
/third_party/boost/libs/dynamic_bitset/test/
Ddyn_bitset_unit_tests4.cpp288 std::wstring wstr = widen_string(strings[si]); in run_test_cases() local
292 of << wstr; in run_test_cases()
298 Tests::stream_extractor(b, f, wstr); in run_test_cases()
303 std::wstring wstr = widen_string(strings[si]); in run_test_cases() local
305 std::wistringstream wstream(wstr); in run_test_cases()
308 Tests::stream_extractor(b, wstream, wstr); in run_test_cases()
/third_party/flutter/engine/flutter/fml/platform/win/
Dwstring_conversion.h31 inline std::string WideStringToString(const std::wstring& wstr) { in WideStringToString() argument
33 return converter.to_bytes(wstr); in WideStringToString()
/third_party/boost/boost/pending/
Dstringtok.hpp68 inline bool isws(char c, char const* const wstr) in isws() argument
71 return (strchr(wstr, c) != NULL); in isws()
/third_party/gstreamer/gstplugins_good/sys/directsound/
Dgstdirectsounddevice.c70 gunichar2 *wstr = NULL; in guid_to_string() local
73 if (StringFromCLSID (guid, &wstr) == S_OK) { in guid_to_string()
74 str = g_utf16_to_utf8 (wstr, -1, NULL, NULL, NULL); in guid_to_string()
75 CoTaskMemFree (wstr); in guid_to_string()
/third_party/gstreamer/gstplugins_bad/sys/directsound/
Dgstdirectsounddevice.c70 gunichar2 *wstr = NULL; in guid_to_string() local
73 if (StringFromCLSID (guid, &wstr) == S_OK) { in guid_to_string()
74 str = g_utf16_to_utf8 (wstr, -1, NULL, NULL, NULL); in guid_to_string()
75 CoTaskMemFree (wstr); in guid_to_string()
/third_party/python/Modules/
D_cursesmodule.c340 PyObject **bytes, wchar_t **wstr) in PyCurses_ConvertToString() argument
345 assert (wstr != NULL); in PyCurses_ConvertToString()
347 *wstr = PyUnicode_AsWideCharString(obj, NULL); in PyCurses_ConvertToString()
348 if (*wstr == NULL) in PyCurses_ConvertToString()
352 assert (wstr == NULL); in PyCurses_ConvertToString()
600 wchar_t wstr[2]; in _curses_window_addch_impl() local
606 type = PyCurses_ConvertToCchar_t(self, ch, &cch, wstr); in _curses_window_addch_impl()
609 wstr[1] = L'\0'; in _curses_window_addch_impl()
610 setcchar(&wcval, wstr, attr, PAIR_NUMBER(attr), NULL); in _curses_window_addch_impl()
672 wchar_t *wstr = NULL; in _curses_window_addstr_impl() local
[all …]
/third_party/python/Python/
Dfileutils.c317 decode_ascii(const char *arg, wchar_t **wstr, size_t *wlen, in decode_ascii() argument
363 *wstr = res; in decode_ascii()
369 decode_current_locale(const char* arg, wchar_t **wstr, size_t *wlen, in decode_current_locale() argument
416 *wstr = res; in decode_current_locale()
490 *wstr = res; in decode_current_locale()
506 return decode_ascii(arg, wstr, wlen, reason, errors); in decode_current_locale()
534 _Py_DecodeLocaleEx(const char* arg, wchar_t **wstr, size_t *wlen, in _Py_DecodeLocaleEx() argument
540 return _Py_DecodeUTF8Ex(arg, strlen(arg), wstr, wlen, reason, in _Py_DecodeLocaleEx()
543 return decode_current_locale(arg, wstr, wlen, reason, errors); in _Py_DecodeLocaleEx()
548 return _Py_DecodeUTF8Ex(arg, strlen(arg), wstr, wlen, reason, in _Py_DecodeLocaleEx()
[all …]
Dtraceback.c688 wchar_t *wstr = NULL; in _Py_DumpASCII() local
697 wstr = ((PyASCIIObject *)text)->wstr; in _Py_DumpASCII()
698 if (wstr == NULL) in _Py_DumpASCII()
726 ch = wstr[i]; in _Py_DumpASCII()
/third_party/cef/libcef_dll/base/
Dcef_logging.cc258 std::ostream& operator<<(std::ostream& out, const wchar_t* wstr) { in operator <<() argument
259 std::wstring tmp_str(wstr); in operator <<()
262 cef_string_wide_to_utf8(wstr, tmp_str.size(), &str); in operator <<()
/third_party/googletest/googletest/include/gtest/
Dgtest-message.h187 Message& operator <<(const ::std::wstring& wstr);
193 Message& operator <<(const ::wstring& wstr);
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtpvrawpay.c141 gchar *wstr, *hstr; in gst_rtp_vraw_pay_setcaps() local
228 wstr = g_strdup_printf ("%d", GST_VIDEO_INFO_WIDTH (&info)); in gst_rtp_vraw_pay_setcaps()
235 wstr, "height", G_TYPE_STRING, hstr, "colorimetry", G_TYPE_STRING, in gst_rtp_vraw_pay_setcaps()
240 wstr, "height", G_TYPE_STRING, hstr, "colorimetry", G_TYPE_STRING, in gst_rtp_vraw_pay_setcaps()
243 g_free (wstr); in gst_rtp_vraw_pay_setcaps()
/third_party/python/Include/cpython/
Dunicodeobject.h218 wchar_t *wstr; /* wchar_t representation (null-terminated) */ member
260 (((PyASCIIObject *)(op))->wstr) ? \
263 assert(((PyASCIIObject *)(op))->wstr), \
278 (((PyASCIIObject *)(op))->wstr) ? (((PyASCIIObject *)(op))->wstr) : \
/third_party/python/Include/internal/
Dpycore_fileutils.h18 wchar_t **wstr,
/third_party/protobuf/src/google/protobuf/io/
Dio_win32.cc449 std::unique_ptr<WCHAR[]> wstr(new WCHAR[size]); in mbs_to_wcs() local
451 inUtf8 ? CP_UTF8 : CP_ACP, 0, s, -1, wstr.get(), size + 1); in mbs_to_wcs()
452 out->assign(wstr.get()); in mbs_to_wcs()
/third_party/boost/libs/log/test/run/
Dutil_formatting_ostream.cpp428 StringT wstr = StringT(wide_chars); in test_narrowing_code_conversion() local
429 strm_fmt << wstr; in test_narrowing_code_conversion()
439 const StringT wstr = StringT(wide_chars); in test_narrowing_code_conversion() local
440 strm_fmt << wstr; in test_narrowing_code_conversion()
/third_party/boringssl/src/third_party/googletest/include/gtest/
Dgtest-message.h179 Message& operator <<(const ::std::wstring& wstr);
/third_party/python/PC/
Dwinreg.c643 wchar_t *wstr; in Py2Reg() local
649 wstr = PyUnicode_AsUnicodeAndSize(t, &len); in Py2Reg()
650 if (wstr == NULL) in Py2Reg()
668 wchar_t *wstr; in Py2Reg() local
672 wstr = PyUnicode_AsUnicodeAndSize(t, &len); in Py2Reg()
673 assert(wstr); in Py2Reg()
674 wcscpy(P, wstr); in Py2Reg()

12