/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
D | readlink.c | 30 char *wstr = "this is a test\n"; in readlink_0100() local 36 int size = fwrite(wstr, sizeof(char), strlen(wstr), fptr); in readlink_0100() 37 EXPECT_EQ("readlink_0100", size, strlen(wstr)); in readlink_0100() 46 wstr = NULL; in readlink_0100() 63 char *wstr = "this is a test\n"; in readlink_0200() local 69 int size = fwrite(wstr, sizeof(char), strlen(wstr), fptr); in readlink_0200() 70 EXPECT_EQ("readlink_0200", size, strlen(wstr)); in readlink_0200() 79 wstr = NULL; in readlink_0200()
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkStrUtil.cpp | 57 LPCWSTR wstr; member 59 WStr (LPCWSTR wstr_) : wstr(wstr_) {} in WStr() 62 std::ostream& operator<< (std::ostream& str, const WStr& wstr) in operator <<() argument 64 int len = WideCharToMultiByte(CP_UTF8, 0, wstr.wstr, -1, NULL, 0, 0, 0); in operator <<() 70 WideCharToMultiByte(CP_UTF8, 0, wstr.wstr, -1, &result[0], len, 0, 0); in operator <<()
|
/third_party/openssl/apps/ |
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()
|
/third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
D | swscanf.c | 30 wchar_t wstr[] = L"swscanf 123"; in swscanf_0100() local 33 int result = swscanf(wstr, L"%ls %d", tmp, &i); in swscanf_0100() 54 wchar_t wstr[] = L"swscanf 123"; in swscanf_0200() local 58 int result = swscanf(wstr, L"%ls %ls", tmp1, tmp2); in swscanf_0200() 78 wchar_t wstr[] = L"swscanf 123"; in swscanf_0300() local 80 int result = swscanf(wstr, L"%d %d", &i, &j); in swscanf_0300()
|
D | getc_unlocked.c | 31 const char *wstr = "a"; in getc_unlocked_0100() local 32 fwrite(wstr, sizeof(char), strlen(wstr), fptr); in getc_unlocked_0100()
|
/third_party/boost/libs/spirit/test/karma/ |
D | lit.cpp | 71 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/ |
D | cef_zip_archive.cc | 23 std::wstring wstr = str; in ToLower() local 24 std::transform(wstr.begin(), wstr.end(), wstr.begin(), towlower); in ToLower() 25 return wstr; in ToLower()
|
/third_party/boost/libs/log/src/ |
D | code_conversion.cpp | 243 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/flutter/skia/third_party/externals/sdl/src/video/winrt/ |
D | SDL_winrtmessagebox.cpp | 40 wchar_t * wstr = WIN_UTF8ToString(str); variable 41 String ^ rtstr = ref new String(wstr); 42 SDL_free(wstr);
|
/third_party/cef/libcef/common/ |
D | app_manager.cc | 101 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/dynamic_bitset/test/ |
D | dyn_bitset_unit_tests4.cpp | 288 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/python/Python/ |
D | fileutils.c | 384 decode_ascii(const char *arg, wchar_t **wstr, size_t *wlen, in decode_ascii() argument 430 *wstr = res; in decode_ascii() 436 decode_current_locale(const char* arg, wchar_t **wstr, size_t *wlen, in decode_current_locale() argument 473 *wstr = res; in decode_current_locale() 539 *wstr = res; in decode_current_locale() 555 return decode_ascii(arg, wstr, wlen, reason, errors); in decode_current_locale() 583 _Py_DecodeLocaleEx(const char* arg, wchar_t **wstr, size_t *wlen, in _Py_DecodeLocaleEx() argument 589 return _Py_DecodeUTF8Ex(arg, strlen(arg), wstr, wlen, reason, in _Py_DecodeLocaleEx() 592 return decode_current_locale(arg, wstr, wlen, reason, errors); in _Py_DecodeLocaleEx() 597 return _Py_DecodeUTF8Ex(arg, strlen(arg), wstr, wlen, reason, in _Py_DecodeLocaleEx() [all …]
|
D | traceback.c | 686 wchar_t *wstr = NULL; in _Py_DumpASCII() local 695 wstr = ((PyASCIIObject *)text)->wstr; in _Py_DumpASCII() 696 if (wstr == NULL) in _Py_DumpASCII() 744 ch = wstr[i]; in _Py_DumpASCII()
|
/third_party/gstreamer/gstplugins_bad/sys/directsound/ |
D | gstdirectsounddevice.c | 70 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_good/sys/directsound/ |
D | gstdirectsounddevice.c | 70 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/flutter/engine/flutter/fml/platform/win/ |
D | wstring_conversion.h | 31 inline std::string WideStringToString(const std::wstring& wstr) { in WideStringToString() argument 33 return converter.to_bytes(wstr); in WideStringToString()
|
/third_party/boost/boost/pending/ |
D | stringtok.hpp | 68 inline bool isws(char c, char const* const wstr) in isws() argument 71 return (strchr(wstr, c) != NULL); in isws()
|
/third_party/python/Modules/ |
D | _cursesmodule.c | 363 PyObject **bytes, wchar_t **wstr) in PyCurses_ConvertToString() argument 368 assert (wstr != NULL); in PyCurses_ConvertToString() 370 *wstr = PyUnicode_AsWideCharString(obj, NULL); in PyCurses_ConvertToString() 371 if (*wstr == NULL) in PyCurses_ConvertToString() 375 assert (wstr == NULL); in PyCurses_ConvertToString() 749 wchar_t wstr[2]; in _curses_window_addch_impl() local 755 type = PyCurses_ConvertToCchar_t(self, ch, &cch, wstr); in _curses_window_addch_impl() 758 wstr[1] = L'\0'; in _curses_window_addch_impl() 759 setcchar(&wcval, wstr, attr, PAIR_NUMBER(attr), NULL); in _curses_window_addch_impl() 821 wchar_t *wstr = NULL; in _curses_window_addstr_impl() local [all …]
|
/third_party/cef/libcef_dll/base/ |
D | cef_logging.cc | 259 std::ostream& operator<<(std::ostream& out, const wchar_t* wstr) { in operator <<() argument 260 std::wstring tmp_str(wstr); in operator <<() 263 cef_string_wide_to_utf8(wstr, tmp_str.size(), &str); in operator <<()
|
/third_party/gstreamer/gstplugins_good/gst/rtp/ |
D | gstrtpvrawpay.c | 144 gchar *wstr, *hstr; in gst_rtp_vraw_pay_setcaps() local 231 wstr = g_strdup_printf ("%d", GST_VIDEO_INFO_WIDTH (&info)); in gst_rtp_vraw_pay_setcaps() 238 wstr, "height", G_TYPE_STRING, hstr, "colorimetry", G_TYPE_STRING, in gst_rtp_vraw_pay_setcaps() 243 wstr, "height", G_TYPE_STRING, hstr, "colorimetry", G_TYPE_STRING, in gst_rtp_vraw_pay_setcaps() 246 g_free (wstr); in gst_rtp_vraw_pay_setcaps()
|
/third_party/python/Include/cpython/ |
D | unicodeobject.h | 218 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/protobuf/src/google/protobuf/io/ |
D | io_win32.cc | 449 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/ |
D | util_formatting_ostream.cpp | 428 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/python/Include/internal/ |
D | pycore_fileutils.h | 18 wchar_t **wstr,
|
/third_party/boost/libs/lexical_cast/test/ |
D | lexical_cast_integral_types_test.cpp | 387 std::wstring wstr = to_str<wchar_t>(t); in test_conversion_from_to_integral_for_locale() local 390 str.reserve(wstr.size()); in test_conversion_from_to_integral_for_locale() 391 for (std::size_t i = 0; i < wstr.size(); ++i) { in test_conversion_from_to_integral_for_locale() 392 str.push_back(static_cast<char>(wstr[i])); in test_conversion_from_to_integral_for_locale()
|