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

/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/llvm/lib/Support/Windows/
H A DProcess.inc154 if (windows::UTF16ToUTF8(Buf.data(), Size, Res))
173 if (std::error_code ec = windows::UTF16ToUTF8(Arg, wcslen(Arg), ArgString))
196 if (std::error_code ec = windows::UTF16ToUTF8(Arg, wcslen(Arg), Dir))
211 ec = windows::UTF16ToUTF8(FileData.cFileName, wcslen(FileData.cFileName),
H A DWindowsSupport.h180 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.inc46 using llvm::sys::windows::UTF16ToUTF8;
138 if (UTF16ToUTF8(PathName.data(), PathName.size(), PathNameUTF8))
182 return UTF16ToUTF8(cur_path.begin(), cur_path.size(), result);
618 UTF16ToUTF8(FirstFind.cFileName, ::wcslen(FirstFind.cFileName),
657 UTF16ToUTF8(FindData.cFileName, ::wcslen(FindData.cFileName),
764 bool ok = !UTF16ToUTF8(path, ::wcslen(path), result);
801 return !windows::UTF16ToUTF8(Buf.data(), Size, Res);
891 std::error_code UTF16ToUTF8(const wchar_t *utf16, size_t utf16_len,
/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/libchrome/base/
H A Dcommand_line.cc425 << UTF16ToUTF8(command_line);
H A Dvalues.cc266 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_);
/external/libchrome/base/files/
H A Dfile_path.cc624 return FilePath(UTF16ToUTF8(utf16));

Completed in 322 milliseconds