Lines Matching refs:str_w
42 wchar_t *str_w = NULL;
48 str_w = malloc(str_w_len * sizeof(wchar_t));
49 if(str_w) {
50 if(MultiByteToWideChar(CP_UTF8, 0, str_utf8, -1, str_w,
52 Curl_safefree(str_w);
58 return str_w;
61 char *Curl_convert_wchar_to_UTF8(const wchar_t *str_w)
65 if(str_w) {
66 int str_utf8_len = WideCharToMultiByte(CP_UTF8, 0, str_w, -1, NULL,
71 if(WideCharToMultiByte(CP_UTF8, 0, str_w, -1, str_utf8, str_utf8_len,