Home
last modified time | relevance | path

Searched refs:utf8str (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/platform/windows/
Dwide_char.cc24 std::wstring Utf8ToWideChar(const std::string& utf8str) { in Utf8ToWideChar() argument
25 int size_required = MultiByteToWideChar(CP_UTF8, 0, utf8str.c_str(), in Utf8ToWideChar()
26 (int)utf8str.size(), NULL, 0); in Utf8ToWideChar()
28 MultiByteToWideChar(CP_UTF8, 0, utf8str.c_str(), (int)utf8str.size(), in Utf8ToWideChar()
Dwide_char.h23 std::wstring Utf8ToWideChar(const std::string& utf8str);
/external/flac/src/share/win_utf8_io/
Dwin_utf8_io.c64 char *utf8str; in utf8_from_wchar() local
71 if ((utf8str = (char *)malloc(len)) == NULL) in utf8_from_wchar()
73 if (WideCharToMultiByte(CP_UTF8, 0, wstr, -1, utf8str, len, NULL, NULL) == 0) { in utf8_from_wchar()
74 free(utf8str); in utf8_from_wchar()
75 utf8str = NULL; in utf8_from_wchar()
78 return utf8str; in utf8_from_wchar()