Home
last modified time | relevance | path

Searched defs:utf8 (Results 1 – 4 of 4) sorted by relevance

/system/libbase/
Dutf8.cpp44 bool WideToUTF8(const wchar_t* utf16, const size_t size, std::string* utf8) { in WideToUTF8()
87 bool WideToUTF8(const wchar_t* utf16, std::string* utf8) { in WideToUTF8()
92 bool WideToUTF8(const std::wstring& utf16, std::string* utf8) { in WideToUTF8()
99 static bool UTF8ToWideWithFlags(const char* utf8, const size_t size, std::wstring* utf16, in UTF8ToWideWithFlags()
132 bool UTF8ToWide(const char* utf8, const size_t size, std::wstring* utf16) { in UTF8ToWide()
147 bool UTF8ToWide(const char* utf8, std::wstring* utf16) { in UTF8ToWide()
152 bool UTF8ToWide(const std::string& utf8, std::wstring* utf16) { in UTF8ToWide()
162 bool UTF8PathToWindowsLongPath(const char* utf8, std::wstring* utf16) { in UTF8PathToWindowsLongPath()
182 namespace utf8 { namespace
Dutf8_test.cpp75 static std::wstring UTF8ToWide(const std::string& utf8) { in UTF8ToWide()
82 std::string utf8; in WideToUTF8() local
123 std::ostringstream utf8; in TEST() local
143 const char* utf8; in TEST() member
208 const char* utf8; in TEST() member
264 const char* utf8; in TEST() member
347 static std::wstring SysUTF8ToWide(const std::string& utf8) { in SysUTF8ToWide()
417 std::string utf8 = "c:\\mypath\\myfile.txt"; in TEST() local
426 std::string utf8 = "c:\\mypath"; in TEST() local
439 std::string utf8 = "c:/mypath"; in TEST() local
[all …]
/system/tools/aidl/
Daidl_to_cpp.cpp71 const bool utf8 = type.IsUtf8InCpp(); in RawParcelMethod() local
290 bool utf8 = type.IsUtf8InCpp(); in AddHeaders() local
/system/core/libutils/
DUnicode_test.cpp185 static char utf8[] = "\xc4\x00\x00\x00"; in TEST_F() local