/external/google-breakpad/src/common/ |
D | string_conversion_unittest.cc | 40 using google_breakpad::UTF16ToUTF8; 61 TEST(StringConversionTest, UTF16ToUTF8) { in TEST() argument 63 EXPECT_EQ("aßc", UTF16ToUTF8(in, false)); in TEST()
|
D | string_conversion.h | 64 string UTF16ToUTF8(const vector<uint16_t> &in, bool swap);
|
D | string_conversion.cc | 121 string UTF16ToUTF8(const vector<uint16_t> &in, bool swap) { in UTF16ToUTF8() function
|
/external/libchrome/base/i18n/ |
D | number_formatting_unittest.cc | 43 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/ |
D | old_utf_string_conversions.cc | 207 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()
|
D | utf_string_conversions.cc | 217 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()
|
D | utf_string_conversions.h | 40 BASE_EXPORT bool UTF16ToUTF8(const char16* src, size_t src_len, 42 BASE_EXPORT std::string UTF16ToUTF8(StringPiece16 utf16);
|
D | utf_string_conversions_fuzzer.cc | 31 base::UTF16ToUTF8(string_piece_input16); in LLVMFuzzerTestOneInput() 32 base::UTF16ToUTF8(reinterpret_cast<const base::char16*>(data), size / 2, in LLVMFuzzerTestOneInput()
|
D | old_utf_string_conversions.h | 49 BASE_EXPORT bool UTF16ToUTF8(const char16* src, 52 BASE_EXPORT std::string UTF16ToUTF8(StringPiece16 utf16);
|
D | utf_string_conversions_regression_fuzzer.cc | 47 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()
|
D | string16.cc | 73 return out << UTF16ToUTF8(str); in operator <<()
|
D | utf_string_conversions_unittest.cc | 206 const std::string& converted = UTF16ToUTF8(multistring16); in TEST()
|
/external/libchrome/components/policy/core/common/ |
D | preg_parser.cc | 151 *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()
|
D | registry_dict.cc | 254 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/ |
D | Path.inc | 47 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,
|
D | Process.inc | 144 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/ |
D | SkUTF.h | 78 SK_SPI int UTF16ToUTF8(char dst[], int dstCapacity, const uint16_t src[], size_t srcLength);
|
/external/llvm/lib/Support/Windows/ |
D | Path.inc | 47 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,
|
D | Process.inc | 156 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/ |
D | Process.inc | 139 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/ |
D | jni_string.cc | 44 UTF16ToUTF8(chars, length, result); in ConvertJavaStringToUTF8()
|
/external/vboot_reference/cgpt/ |
D | cgpt_show.c | 104 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/ |
D | Process.inc | 145 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/ |
D | ConvertUTF.h | 295 std::error_code UTF16ToUTF8(const wchar_t *utf16, size_t utf16_len,
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | ConvertUTF.h | 295 std::error_code UTF16ToUTF8(const wchar_t *utf16, size_t utf16_len,
|