Searched refs:ansi_length (Results 1 – 1 of 1) sorted by relevance
/freebsd/contrib/googletest/googletest/src/ |
H A D | gtest.cc | 1233 const int ansi_length = WideCharToMultiByte(CP_ACP, 0, utf16_str, -1, nullptr, in Utf16ToAnsi() local 1235 char* ansi = new char[ansi_length + 1]; in Utf16ToAnsi() 1236 WideCharToMultiByte(CP_ACP, 0, utf16_str, -1, ansi, ansi_length, nullptr, in Utf16ToAnsi() 1238 ansi[ansi_length] = 0; in Utf16ToAnsi()
|