Home
last modified time | relevance | path

Searched refs:convertToUtf8 (Results 1 – 6 of 6) sorted by relevance

/hardware/google/aemu/base/
DWin32UnicodeString_unittest.cpp73 TEST(Win32UnicodeString, convertToUtf8) { in TEST() argument
86 std::string str1 = Win32UnicodeString::convertToUtf8(kData[n].utf16); in TEST()
90 std::string str2 = Win32UnicodeString::convertToUtf8( in TEST()
96 int len = Win32UnicodeString::convertToUtf8(out, sizeof(out), in TEST()
101 len = Win32UnicodeString::convertToUtf8(out, sizeof(out), in TEST()
109 len = Win32UnicodeString::convertToUtf8(out, 1, in TEST()
114 len = Win32UnicodeString::convertToUtf8(nullptr, 0, in TEST()
118 len = Win32UnicodeString::convertToUtf8(nullptr, 0, in TEST()
DWin32UnicodeString.cpp89 return convertToUtf8(mStr, mSize); in toString()
154 std::string Win32UnicodeString::convertToUtf8(const wchar_t* str, int len) { in convertToUtf8() function in android::base::Win32UnicodeString
159 convertToUtf8(&result[0], utf8Len, str, len); in convertToUtf8()
212 int Win32UnicodeString::convertToUtf8(char* outStr, int outLen, in convertToUtf8() function in android::base::Win32UnicodeString
DSystem.cpp155 return Win32UnicodeString::convertToUtf8(value); in getEnvironmentVariable()
/hardware/google/aemu/base/include/aemu/base/system/
DWin32UnicodeString.h106 static std::string convertToUtf8(const wchar_t* str, int len = -1);
142 static int convertToUtf8(char* outStr, int outLen,
/hardware/google/gfxstream/host/gl/gl-host-common/opengl/
DNativeGpuInfo_windows.cpp160 gpu->version = Win32UnicodeString::convertToUtf8(strVal, strLen); in load_gpu_registry_info()
176 Win32UnicodeString::convertToUtf8(ptr, len)); in load_gpu_registry_info()
317 gpu.model = Win32UnicodeString::convertToUtf8(device.DeviceString); in getGpuInfoListNative()
319 Win32UnicodeString::convertToUtf8(device.DeviceID), gpus); in getGpuInfoListNative()
324 if (startsWith(Win32UnicodeString::convertToUtf8(device.DeviceKey), in getGpuInfoListNative()
/hardware/google/aemu/base/testing/
Dfile_io.cpp175 auto narrowCwd = Win32UnicodeString::convertToUtf8(wideCwd.get()); in getcwd()
179 int written = Win32UnicodeString::convertToUtf8(buffer, in getcwd()