Home
last modified time | relevance | path

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

12

/external/libchrome/base/strings/
Dold_utf_string_conversions.cc207 bool UTF16ToUTF8(const char16* src, size_t src_len, std::string* output) { in UTF16ToUTF8() function
217 std::string UTF16ToUTF8(StringPiece16 utf16) { in UTF16ToUTF8() function
221 UTF16ToUTF8(utf16.data(), utf16.length(), &ret); in UTF16ToUTF8()
236 bool UTF16ToUTF8(const char16* src, size_t src_len, std::string* output) { in UTF16ToUTF8() function
240 std::string UTF16ToUTF8(StringPiece16 utf16) { in UTF16ToUTF8() function
258 DCHECK(IsStringASCII(utf16)) << UTF16ToUTF8(utf16); in UTF16ToASCII()
Dutf_string_conversions.cc217 bool UTF16ToUTF8(const char16* src, size_t src_len, std::string* output) { in UTF16ToUTF8() function
221 std::string UTF16ToUTF8(StringPiece16 utf16) { in UTF16ToUTF8() function
225 UTF16ToUTF8(utf16.data(), utf16.length(), &ret); in UTF16ToUTF8()
300 return UTF16ToUTF8(src, src_len, output); in WideToUTF8()
304 return UTF16ToUTF8(wide); in WideToUTF8()
329 DCHECK(IsStringASCII(utf16)) << UTF16ToUTF8(utf16); in UTF16ToASCII()
Dutf_string_conversions_fuzzer.cc31 base::UTF16ToUTF8(string_piece_input16); in LLVMFuzzerTestOneInput()
32 base::UTF16ToUTF8(reinterpret_cast<const base::char16*>(data), size / 2, in LLVMFuzzerTestOneInput()
Dutf_string_conversions.h40 BASE_EXPORT bool UTF16ToUTF8(const char16* src, size_t src_len,
42 BASE_EXPORT std::string UTF16ToUTF8(StringPiece16 utf16);
Dold_utf_string_conversions.h49 BASE_EXPORT bool UTF16ToUTF8(const char16* src,
52 BASE_EXPORT std::string UTF16ToUTF8(StringPiece16 utf16);
Dutf_string_conversions_regression_fuzzer.cc47 bool new_res = base::UTF16ToUTF8(src, src_len, &new_out); in UTF16ToCheck()
50 bool old_res = base_old::UTF16ToUTF8(src, src_len, &old_out); in UTF16ToCheck()
Dstring16.cc73 return out << UTF16ToUTF8(str); in operator <<()
Dutf_string_conversions_unittest.cc206 const std::string& converted = UTF16ToUTF8(multistring16); in TEST()
/external/v8/src/inspector/
Dv8-string-conversions.h14 std::string UTF16ToUTF8(const uint16_t* stringStart, size_t length);
/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/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,
/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,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Windows/
DProcess.inc138 if (windows::UTF16ToUTF8(Buf.data(), Size, Res))
156 if (std::error_code ec = windows::UTF16ToUTF8(Arg, wcslen(Arg), ArgString))
179 if (std::error_code ec = windows::UTF16ToUTF8(Arg, wcslen(Arg), Dir))
197 ec = windows::UTF16ToUTF8(FileData.cFileName, wcslen(FileData.cFileName),
234 std::error_code EC = windows::UTF16ToUTF8(ModuleName, Length, Filename);
DPath.inc50 using llvm::sys::windows::UTF16ToUTF8;
147 if (UTF16ToUTF8(PathName.data(), PathName.size(), PathNameUTF8))
212 return UTF16ToUTF8(cur_path.begin(), cur_path.size(), result);
385 return UTF16ToUTF8(Data, CountChars, RealPath);
945 UTF16ToUTF8(FirstFind.cFileName, ::wcslen(FirstFind.cFileName),
985 UTF16ToUTF8(FindData.cFileName, ::wcslen(FindData.cFileName),
1262 bool ok = !UTF16ToUTF8(path, ::wcslen(path), result);
1288 return !windows::UTF16ToUTF8(Buf.data(), Size, Res);
1393 std::error_code UTF16ToUTF8(const wchar_t *utf16, size_t utf16_len,
/external/libchrome/components/policy/core/common/
Dregistry_dict.cc254 const std::string name = base::UTF16ToUTF8(it.Name()); in ReadRegistry()
259 new base::Value(base::UTF16ToUTF8(it.Value())))); in ReadRegistry()
291 std::string name(base::UTF16ToUTF8(it.Name())); in ReadRegistry()
/external/libchrome/base/android/
Djni_string.cc44 UTF16ToUTF8(chars, length, result); in ConvertJavaStringToUTF8()
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DConvertUTF.h296 std::error_code UTF16ToUTF8(const wchar_t *utf16, size_t utf16_len,

12