Home
last modified time | relevance | path

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

12

/third_party/musl/libc-test/src/functionalext/supplement/unistd/
Dreadlink.c30 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/
DvkStrUtil.cpp57 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/lib/
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/musl/libc-test/src/functionalext/supplement/stdio/
Dswscanf.c30 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()
Dgetc_unlocked.c31 const char *wstr = "a"; in getc_unlocked_0100() local
32 fwrite(wstr, sizeof(char), strlen(wstr), fptr); in getc_unlocked_0100()
/third_party/cef/libcef_dll/wrapper/
Dcef_zip_archive.cc23 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/python/Python/
Dfileutils.c384 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 …]
Dtraceback.c686 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()
Dinitconfig.c1156 wchar_t *wstr = PyUnicode_AsWideCharString(item, NULL); in config_dict_get_wstr() local
1157 if (wstr == NULL) { in config_dict_get_wstr()
1160 status = PyConfig_SetString(config, result, wstr); in config_dict_get_wstr()
1161 PyMem_Free(wstr); in config_dict_get_wstr()
1197 wchar_t *wstr = PyUnicode_AsWideCharString(item, NULL); in config_dict_get_wstrlist() local
1198 if (wstr == NULL) { in config_dict_get_wstrlist()
1201 PyStatus status = PyWideStringList_Append(&wstrlist, wstr); in config_dict_get_wstrlist()
1202 PyMem_Free(wstr); in config_dict_get_wstrlist()
1643 config_wstr_to_int(const wchar_t *wstr, int *result) in config_wstr_to_int() argument
1645 const wchar_t *endptr = wstr; in config_wstr_to_int()
[all …]
/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/python/Modules/
D_cursesmodule.c363 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/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/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()
Dgstdirectsoundsrc.c379 gunichar2 *wstr; in string_to_guid() local
382 wstr = g_utf8_to_utf16 (str, -1, NULL, NULL, NULL); in string_to_guid()
383 if (!wstr) in string_to_guid()
387 ret = CLSIDFromString ((LPOLESTR) wstr, out); in string_to_guid()
388 g_free (wstr); in string_to_guid()
/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()
Dgstdirectsoundsink.c404 gunichar2 *wstr; in string_to_guid() local
407 wstr = g_utf8_to_utf16 (str, -1, NULL, NULL, NULL); in string_to_guid()
408 if (!wstr) in string_to_guid()
412 ret = CLSIDFromString ((LPOLESTR) wstr, out); in string_to_guid()
413 g_free (wstr); in string_to_guid()
/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/cef/libcef_dll/base/
Dcef_logging.cc259 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/
Dgstrtpvrawpay.c144 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()
Dgstrtptheorapay.c362 gchar *wstr, *hstr, *configuration; in gst_rtp_theora_pay_finish_headers() local
544 wstr = g_strdup_printf ("%d", rtptheorapay->width); in gst_rtp_theora_pay_finish_headers()
550 sampling, "width", G_TYPE_STRING, wstr, "height", G_TYPE_STRING, in gst_rtp_theora_pay_finish_headers()
556 g_free (wstr); in gst_rtp_theora_pay_finish_headers()
/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/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/cef/include/base/
Dcef_logging.h702 std::ostream& operator<<(std::ostream& out, const wchar_t* wstr);
703 inline std::ostream& operator<<(std::ostream& out, const std::wstring& wstr) {
704 return out << wstr.c_str();
/third_party/python/Include/internal/
Dpycore_fileutils.h18 wchar_t **wstr,
/third_party/cef/libcef/browser/
Dxml_reader_impl.cc102 CefString wstr = std::string(str); in xmlCharToString() local
107 return wstr; in xmlCharToString()

12