Home
last modified time | relevance | path

Searched refs:length_wc (Results 1 – 2 of 2) sorted by relevance

/dports/graphics/blender/blender-2.91.0/intern/cycles/util/
H A Dutil_string.cpp181 const int length_wc = MultiByteToWideChar(CP_UTF8, 0, str.c_str(), str.length(), NULL, 0); in string_to_wstring() local
182 wstring str_wc(length_wc, 0); in string_to_wstring()
183 MultiByteToWideChar(CP_UTF8, 0, str.c_str(), str.length(), &str_wc[0], length_wc); in string_to_wstring()
197 const int length_wc = MultiByteToWideChar(CP_UTF8, 0, str.c_str(), str.length(), NULL, 0); in string_to_ansi() local
198 wstring str_wc(length_wc, 0); in string_to_ansi()
199 MultiByteToWideChar(CP_UTF8, 0, str.c_str(), str.length(), &str_wc[0], length_wc); in string_to_ansi()
/dports/graphics/blender/blender-2.91.0/extern/mantaflow/preprocessed/fileio/
H A Dioutil.cpp43 const int length_wc = MultiByteToWideChar(CP_UTF8, 0, str, strlen(str), NULL, 0); in stringToWstring() local
44 wstring strWide(length_wc, 0); in stringToWstring()
45 MultiByteToWideChar(CP_UTF8, 0, str, strlen(str), &strWide[0], length_wc); in stringToWstring()