Home
last modified time | relevance | path

Searched refs:UTF16ToUTF8 (Results 1 – 25 of 36) sorted by relevance

12

/external/libchrome/base/strings/
Dutf_string_conversions.cc172 bool UTF16ToUTF8(const char16* src, size_t src_len, std::string* output) { in UTF16ToUTF8() function
182 std::string UTF16ToUTF8(StringPiece16 utf16) { in UTF16ToUTF8() function
186 UTF16ToUTF8(utf16.data(), utf16.length(), &ret); in UTF16ToUTF8()
201 bool UTF16ToUTF8(const char16* src, size_t src_len, std::string* output) { in UTF16ToUTF8() function
205 std::string UTF16ToUTF8(StringPiece16 utf16) { in UTF16ToUTF8() function
223 DCHECK(IsStringASCII(utf16)) << UTF16ToUTF8(utf16); in UTF16ToASCII()
Dutf_string_conversions.h40 BASE_EXPORT bool UTF16ToUTF8(const char16* src, size_t src_len,
42 BASE_EXPORT std::string UTF16ToUTF8(StringPiece16 utf16);
Dnullable_string16.cc14 return value.is_null() ? out << "(null)" : out << UTF16ToUTF8(value.string()); in operator <<()
Dstring16.cc71 return out << UTF16ToUTF8(str); in operator <<()
Dutf_string_conversions_unittest.cc206 const std::string& converted = UTF16ToUTF8(multistring16); in TEST()
/external/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
DPath.inc47 using llvm::sys::windows::UTF16ToUTF8;
139 if (UTF16ToUTF8(PathName.data(), PathName.size(), PathNameUTF8))
200 return UTF16ToUTF8(cur_path.begin(), cur_path.size(), result);
657 UTF16ToUTF8(FirstFind.cFileName, ::wcslen(FirstFind.cFileName),
696 UTF16ToUTF8(FindData.cFileName, ::wcslen(FindData.cFileName),
744 if (!UTF16ToUTF8(RealPathUTF16, CountChars, RealPathUTF8))
844 return windows::UTF16ToUTF8(TempPath.data(), CharCount, ResultPath);
855 bool ok = !UTF16ToUTF8(path, ::wcslen(path), result);
881 return !windows::UTF16ToUTF8(Buf.data(), Size, Res);
971 std::error_code UTF16ToUTF8(const wchar_t *utf16, size_t utf16_len,
DProcess.inc144 if (windows::UTF16ToUTF8(Buf.data(), Size, Res))
163 if (std::error_code ec = windows::UTF16ToUTF8(Arg, wcslen(Arg), ArgString))
186 if (std::error_code ec = windows::UTF16ToUTF8(Arg, wcslen(Arg), Dir))
204 ec = windows::UTF16ToUTF8(FileData.cFileName, wcslen(FileData.cFileName),
DWindowsSupport.h255 std::error_code UTF16ToUTF8(const wchar_t *utf16, size_t utf16_len,
DSignals.inc606 using llvm::sys::windows::UTF16ToUTF8;
635 if (UTF16ToUTF8(ExpandBuffer.data(), ExpandBufferSize - 1, ResultDirectory))
/external/google-breakpad/src/common/
Dstring_conversion.h64 string UTF16ToUTF8(const vector<uint16_t> &in, bool swap);
Dstring_conversion.cc121 string UTF16ToUTF8(const vector<uint16_t> &in, bool swap) { in UTF16ToUTF8() function
/external/llvm/lib/Support/Windows/
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(const wchar_t *utf16, size_t utf16_len,
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),
DWindowsSupport.h221 std::error_code UTF16ToUTF8(const wchar_t *utf16, size_t utf16_len,
DSignals.inc605 using llvm::sys::windows::UTF16ToUTF8;
634 if (UTF16ToUTF8(ExpandBuffer.data(), ExpandBufferSize - 1, ResultDirectory))
/external/libmojo/mojo/public/cpp/bindings/lib/
Dstring_traits_string16.cc15 return new std::string(base::UTF16ToUTF8(input)); in SetUpContext()
/external/swiftshader/third_party/LLVM/lib/Support/Windows/
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/vboot_reference/cgpt/
Dcgpt_show.c104 UTF16ToUTF8(entry->name, sizeof(entry->name) / sizeof(entry->name[0]), in EntryDetails()
199 UTF16ToUTF8(entry->name, sizeof(entry->name) / sizeof(entry->name[0]), in GptShow()
Dcgpt.h131 int UTF16ToUTF8(const uint16_t *utf16, unsigned int maxinput,
Dcgpt_find.c132 if (CGPT_OK != UTF16ToUTF8(entry->name, in gpt_search()
/external/libmojo/base/android/
Djni_string.cc44 UTF16ToUTF8(chars, length, result); in ConvertJavaStringToUTF8()
/external/libchrome/base/
Dcommand_line.cc441 << UTF16ToUTF8(command_line); in ParseFromString()
Dvalues.cc158 string_value_.Init(UTF16ToUTF8(in_string)); in Value()
162 string_value_.Init(UTF16ToUTF8(in_string)); in Value()
/external/google-breakpad/src/processor/
Dminidump.cc232 static string* UTF16ToUTF8(const vector<uint16_t>& in, in UTF16ToUTF8() function
338 scoped_ptr<string> temp(UTF16ToUTF8(utf16_vector, swap)); in ConvertUTF16BufferToUTF8String()
1954 scoped_ptr<string> new_file(UTF16ToUTF8(string_utf16, false)); in debug_file()
4534 return UTF16ToUTF8(string_utf16, swap_); in ReadString()
/external/libchrome/base/files/
Dfile_path.cc633 return FilePath(UTF16ToUTF8(utf16)); in FromUTF16Unsafe()

12