Searched refs:UTF8ToWide (Results 1 - 6 of 6) sorted by relevance
/system/core/base/include/android-base/ |
H A D | utf8.h | 47 bool UTF8ToWide(const char* utf8, const size_t size, std::wstring* utf16); 51 bool UTF8ToWide(const char* utf8, std::wstring* utf16); 55 bool UTF8ToWide(const std::string& utf8, std::wstring* utf16);
|
/system/core/base/ |
H A D | utf8.cpp | 130 bool UTF8ToWide(const char* utf8, const size_t size, std::wstring* utf16) { function in namespace:android::base 145 bool UTF8ToWide(const char* utf8, std::wstring* utf16) { function in namespace:android::base 147 return UTF8ToWide(utf8, strlen(utf8), utf16); 150 bool UTF8ToWide(const std::string& utf8, std::wstring* utf16) { function in namespace:android::base 153 return UTF8ToWide(utf8.c_str(), utf8.length(), utf16); 161 if (!UTF8ToWide(name, &name_utf16)) { 178 if (!UTF8ToWide(name, &name_utf16)) {
|
H A D | utf8_test.cpp | 35 EXPECT_FALSE(android::base::UTF8ToWide("before\xa2" "after", &wide)); 39 // Even if an invalid character is encountered, UTF8ToWide() should still do 44 // specific replacement character that UTF8ToWide() may replace the invalid 64 // UTF8ToWide() and WideToUTF8() that don't return success/failure, so these are 70 static std::wstring UTF8ToWide(const std::string& utf8) { function in namespace:android::base 72 EXPECT_TRUE(UTF8ToWide(utf8, &utf16)); 121 wide << UTF8ToWide(utf8.str()); 133 EXPECT_EQ(wempty, UTF8ToWide(empty)); 169 const bool success = UTF8ToWide(convert_cases[i].utf8, 174 // that because our implementation of UTF8ToWide() doe [all...] |
/system/core/adb/sysdeps/win32/ |
H A D | stat.cpp | 42 if (!android::base::UTF8ToWide(path, &path_wide)) {
|
/system/core/adb/ |
H A D | sysdeps_win32.cpp | 125 if (!android::base::UTF8ToWide(fn, &fn_wide)) 411 if (!android::base::UTF8ToWide(path, &path_wide)) { 455 if (!android::base::UTF8ToWide(path, &path_wide)) { 996 // requirements >= WinXP SP2, switch to android::base::UTF8ToWide() + GetAddrInfoW(). 2229 // android::base::UTF8ToWide() which converts from UTF-8 to UTF-16. This is used to 2286 if (!android::base::UTF8ToWide(path, &path_wide)) { 2304 if (!android::base::UTF8ToWide(path, &path_wide)) { 2359 if (!android::base::UTF8ToWide(path, &wpath)) { 2378 if (!android::base::UTF8ToWide(path, &path_wide)) { 2388 if (!android::base::UTF8ToWide(pat [all...] |
H A D | Android.mk | 32 # if (!android::base::UTF8ToWide(path_utf8, &path_wide)) { /* error handling */ }
|
Completed in 495 milliseconds