Home | History | Annotate | Download | only in android-base

Lines Matching refs:utf8

23 // Bring in prototypes for standard APIs so that we can import them into the utf8 namespace.
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);
49 bool UTF8ToWide(const char* utf8, const size_t size, std::wstring* utf16);
53 bool UTF8ToWide(const char* utf8, std::wstring* utf16);
57 bool UTF8ToWide(const std::string& utf8, std::wstring* utf16);
70 bool UTF8PathToWindowsLongPath(const char* utf8, std::wstring* utf16);
73 // The functions in the utf8 namespace take UTF-8 strings. For Windows, these
80 // using namespace android::base::utf8;
83 // int fd = open(name, ...); // Calls android::base::utf8::open().
85 // unlink(name); // Calls android::base::utf8::unlink().
88 namespace utf8 {
102 } // namespace utf8