Searched refs:UTF16ToUTF8 (Results 1 - 25 of 28) sorted by relevance

12

/external/libchrome/base/strings/
H A Dnullable_string16.cc14 return value.is_null() ? out << "(null)" : out << UTF16ToUTF8(value.string());
H A Dutf_string_conversions.h40 BASE_EXPORT bool UTF16ToUTF8(const char16* src, size_t src_len,
42 BASE_EXPORT std::string UTF16ToUTF8(StringPiece16 utf16);
H A Dutf_string_conversions.cc172 bool UTF16ToUTF8(const char16* src, size_t src_len, std::string* output) { function in namespace:base
182 std::string UTF16ToUTF8(StringPiece16 utf16) { function in namespace:base
190 UTF16ToUTF8(utf16.data(), utf16.length(), &ret);
205 bool UTF16ToUTF8(const char16* src, size_t src_len, std::string* output) { function in namespace:base
209 std::string UTF16ToUTF8(StringPiece16 utf16) { function in namespace:base
227 DCHECK(IsStringASCII(utf16)) << UTF16ToUTF8(utf16);
H A Dstring16.cc71 return out << UTF16ToUTF8(str);
H A Dutf_string_conversions_unittest.cc206 const std::string& converted = UTF16ToUTF8(multistring16);
H A Dstring_piece_unittest.cc666 UTF16ToUTF8(
/external/google-breakpad/src/common/
H A Dstring_conversion.h64 string UTF16ToUTF8(const vector<uint16_t> &in, bool swap);
H A Dstring_conversion.cc121 string UTF16ToUTF8(const vector<uint16_t> &in, bool swap) { function in namespace:google_breakpad
/external/libmojo/mojo/public/cpp/bindings/lib/
H A Dstring_traits_string16.cc15 return new std::string(base::UTF16ToUTF8(input));
/external/libmojo/base/android/
H A Djni_string.cc44 UTF16ToUTF8(chars, length, result);
/external/libmojo/mojo/common/
H A Dcommon_type_converters.cc34 base::UTF16ToUTF8(input));
/external/llvm/lib/Support/Windows/
H A DProcess.inc156 if (windows::UTF16ToUTF8(Buf.data(), Size, Res))
175 if (std::error_code ec = windows::UTF16ToUTF8(Arg, wcslen(Arg), ArgString))
198 if (std::error_code ec = windows::UTF16ToUTF8(Arg, wcslen(Arg), Dir))
216 ec = windows::UTF16ToUTF8(FileData.cFileName, wcslen(FileData.cFileName),
H A DWindowsSupport.h221 std::error_code UTF16ToUTF8(const wchar_t *utf16, size_t utf16_len,
H A DProgram.inc101 windows::UTF16ToUTF8(U16Result.data(), U16Result.size(), U8Result))
H A DPath.inc47 using llvm::sys::windows::UTF16ToUTF8;
139 if (UTF16ToUTF8(PathName.data(), PathName.size(), PathNameUTF8))
206 return UTF16ToUTF8(cur_path.begin(), cur_path.size(), result);
663 UTF16ToUTF8(FirstFind.cFileName, ::wcslen(FirstFind.cFileName),
702 UTF16ToUTF8(FindData.cFileName, ::wcslen(FindData.cFileName),
750 if (!UTF16ToUTF8(RealPathUTF16, CountChars, RealPathUTF8))
850 return windows::UTF16ToUTF8(TempPath.data(), CharCount, ResultPath);
862 bool ok = !UTF16ToUTF8(path, ::wcslen(path), result);
899 return !windows::UTF16ToUTF8(Buf.data(), Size, Res);
989 std::error_code UTF16ToUTF8(cons
[all...]
/external/fmtlib/fmt/
H A Dformat.cc326 FMT_FUNC internal::UTF16ToUTF8::UTF16ToUTF8(WStringRef s) { function in class:fmt::internal::UTF16ToUTF8
333 FMT_FUNC int internal::UTF16ToUTF8::convert(WStringRef s) {
371 UTF16ToUTF8 utf8_message;
/external/vboot_reference/cgpt/
H A Dcgpt.h131 int UTF16ToUTF8(const uint16_t *utf16, unsigned int maxinput,
H A Dcgpt_show.c104 UTF16ToUTF8(entry->name, sizeof(entry->name) / sizeof(entry->name[0]),
199 UTF16ToUTF8(entry->name, sizeof(entry->name) / sizeof(entry->name[0]),
H A Dcgpt_find.c132 if (CGPT_OK != UTF16ToUTF8(entry->name,
H A Dcgpt_common.c439 int UTF16ToUTF8(const uint16_t *utf16, unsigned int maxinput, function
/external/swiftshader/third_party/LLVM/lib/Support/Windows/
H A DPathV2.inc69 error_code UTF16ToUTF8(const wchar_t *utf16, size_t utf16_len,
601 if (error_code ec = UTF16ToUTF8(random_path_utf16.begin(),
631 if (error_code ec = UTF16ToUTF8(random_path_utf16.begin(),
732 if (error_code ec = UTF16ToUTF8(FirstFind.cFileName,
771 if (error_code ec = UTF16ToUTF8(FindData.cFileName,
/external/fmtlib/test/
H A Dutil-test.cc768 TEST(UtilTest, UTF16ToUTF8) {
770 fmt::internal::UTF16ToUTF8 u(L"\x0451\x0436\x0438\x043A");
799 check_utf_conversion_error<fmt::internal::UTF16ToUTF8, wchar_t>(
811 fmt::internal::UTF16ToUTF8 u;
867 fmt::internal::UTF16ToUTF8 utf8_message(message);
893 fmt::internal::UTF16ToUTF8 utf8_message(message);
/external/libchrome/base/
H A Dcommand_line.cc433 << UTF16ToUTF8(command_line);
H A Dvalues.cc250 value_(UTF16ToUTF8(in_value)) {
/external/google-breakpad/src/processor/
H A Dminidump.cc232 static string* UTF16ToUTF8(const vector<uint16_t>& in, function in namespace:google_breakpad
252 BPLOG(ERROR) << "UTF16ToUTF8 found low surrogate " <<
259 BPLOG(ERROR) << "UTF16ToUTF8 found high surrogate " <<
266 BPLOG(ERROR) << "UTF16ToUTF8 found high surrogate " <<
295 BPLOG(ERROR) << "UTF16ToUTF8 cannot represent high value " <<
338 scoped_ptr<string> temp(UTF16ToUTF8(utf16_vector, swap));
1946 // UTF16ToUTF8 expects a vector<uint16_t>, so create a temporary one
1954 scoped_ptr<string> new_file(UTF16ToUTF8(string_utf16, false));
4534 return UTF16ToUTF8(string_utf16, swap_);

Completed in 443 milliseconds

12