Home
last modified time | relevance | path

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

123

/external/google-breakpad/src/common/
Dstring_conversion_unittest.cc40 using google_breakpad::UTF16ToUTF8;
61 TEST(StringConversionTest, UTF16ToUTF8) { in TEST() argument
63 EXPECT_EQ("aßc", UTF16ToUTF8(in, false)); in TEST()
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/libchrome/base/i18n/
Dnumber_formatting_unittest.cc43 UTF16ToUTF8(FormatNumber(cases[i].number))); in TEST()
47 UTF16ToUTF8(FormatNumber(cases[i].number))); in TEST()
89 UTF16ToUTF8(FormatDouble(cases[i].number, cases[i].frac_digits))); in TEST()
93 UTF16ToUTF8(FormatDouble(cases[i].number, cases[i].frac_digits))); in TEST()
/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.h40 BASE_EXPORT bool UTF16ToUTF8(const char16* src, size_t src_len,
42 BASE_EXPORT std::string UTF16ToUTF8(StringPiece16 utf16);
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()
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/libchrome/components/policy/core/common/
Dpreg_parser.cc151 *value = base::UTF16ToUTF8(utf16_str); in DecodePRegStringValue()
239 const std::string name = base::UTF16ToUTF8(key_name_component); in HandleRecord()
251 std::string value_name(base::UTF16ToUTF8(value)); in HandleRecord()
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/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),
/external/skia/src/utils/
DSkUTF.h78 SK_SPI int UTF16ToUTF8(char dst[], int dstCapacity, const uint16_t src[], size_t srcLength);
/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),
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DProcess.inc139 if (windows::UTF16ToUTF8(Buf.data(), Size, Res))
184 EC = windows::UTF16ToUTF8(FileData.cFileName, wcslen(FileData.cFileName),
221 std::error_code EC = windows::UTF16ToUTF8(ModuleName, Length, Filename);
237 EC = windows::UTF16ToUTF8(CmdW, wcslen(CmdW), Cmd);
/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()
/external/llvm-project/llvm/lib/Support/Windows/
DProcess.inc145 if (windows::UTF16ToUTF8(Buf.data(), Size, Res))
190 EC = windows::UTF16ToUTF8(FileData.cFileName, wcslen(FileData.cFileName),
227 std::error_code EC = windows::UTF16ToUTF8(ModuleName, Length, Filename);
244 EC = windows::UTF16ToUTF8(CmdW, wcslen(CmdW), Cmd);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DConvertUTF.h295 std::error_code UTF16ToUTF8(const wchar_t *utf16, size_t utf16_len,
/external/llvm-project/llvm/include/llvm/Support/
DConvertUTF.h295 std::error_code UTF16ToUTF8(const wchar_t *utf16, size_t utf16_len,

123