Searched refs:WideToUTF8 (Results 1 - 6 of 6) sorted by last modified time
/system/core/adb/ |
H A D | adb_utils.cpp | 240 if (!android::base::WideToUTF8(path, &home_str)) { 305 if (!android::base::WideToUTF8(temp_path, &temp_path_utf8)) {
|
H A D | sysdeps_win32.cpp | 2096 // android::base::WideToUTF8() which converts UTF-16 to UTF-8. This is used by the 2136 if (!android::base::WideToUTF8(argv[i], &arg_narrow)) { 2194 if (!android::base::WideToUTF8(went->d_name, &name_utf8)) { 2608 if (!android::base::WideToUTF8(*env, equal - *env, &name_utf8)) { 2616 if (!android::base::WideToUTF8(equal + 1, &value_utf8)) { 2652 const bool narrow_result = android::base::WideToUTF8(wbuf, &buf_utf8);
|
/system/core/base/ |
H A D | errors_windows.cpp | 50 if (!android::base::WideToUTF8(msgbuf, &msg)) {
|
H A D | utf8.cpp | 44 bool WideToUTF8(const wchar_t* utf16, const size_t size, std::string* utf8) { function in namespace:android::base 87 bool WideToUTF8(const wchar_t* utf16, std::string* utf8) { function in namespace:android::base 89 return WideToUTF8(utf16, wcslen(utf16), utf8); 92 bool WideToUTF8(const std::wstring& utf16, std::string* utf8) { function in namespace:android::base 95 return WideToUTF8(utf16.c_str(), utf16.length(), utf8);
|
H A D | utf8_test.cpp | 69 // UTF8ToWide() and WideToUTF8() that don't return success/failure, so these are 81 static std::string WideToUTF8(const std::wstring& utf16) { function in namespace:android::base 83 EXPECT_TRUE(WideToUTF8(utf16, &utf8)); 124 utf8 << WideToUTF8(kConvertRoundtripCases[i]); 137 EXPECT_EQ(empty, WideToUTF8(wempty)); 243 const bool success = WideToUTF8(convert_cases[i].utf16, 248 // that because our implementation of WideToUTF8() does not guarantee to 284 WideToUTF8(convert_cases[i].utf32, 310 return WideToUTF8(utf16); 344 return WideToUTF8(utf1 [all...] |
/system/core/base/include/android-base/ |
H A D | utf8.h | 37 bool WideToUTF8(const wchar_t* utf16, const size_t size, std::string* utf8); 41 bool WideToUTF8(const wchar_t* utf16, std::string* utf8); 45 bool WideToUTF8(const std::wstring& utf16, std::string* utf8);
|
Completed in 95 milliseconds