/third_party/gn/src/base/strings/ |
D | utf_string_conversions.cc | 171 bool UTF16ToUTF8(const char16_t* src, size_t src_len, std::string* output) { in UTF16ToUTF8() function 175 std::string UTF16ToUTF8(std::u16string_view utf16) { in UTF16ToUTF8() function 179 UTF16ToUTF8(utf16.data(), utf16.length(), &ret); in UTF16ToUTF8() 191 DCHECK(IsStringASCII(utf16)) << UTF16ToUTF8(utf16); in UTF16ToASCII()
|
D | utf_string_conversions.h | 17 bool UTF16ToUTF8(const char16_t* src, size_t src_len, std::string* output); 18 std::string UTF16ToUTF8(std::u16string_view utf16);
|
/third_party/node/tools/inspector_protocol/encoding/ |
D | encoding_test_helper.h | 21 std::string UTF16ToUTF8(span<uint16_t> in) { in UTF16ToUTF8() function 22 return v8_inspector::UTF16ToUTF8(in.data(), in.size()); in UTF16ToUTF8()
|
D | encoding_test.cc | 417 std::string utf8_decoded = UTF16ToUTF8(SpanFrom(decoded)); in TEST() 571 std::string utf8_decoded = UTF16ToUTF8(SpanFrom(decoded)); in TEST() 1503 log_ << "string16: " << UTF16ToUTF8(chars) << "\n"; in HandleString16()
|
/third_party/gn/src/base/files/ |
D | file_util_win.cc | 326 DLOG(WARNING) << "CreateDirectory(" << UTF16ToUTF8(full_path.value()) in CreateDirectoryAndGetError() 367 << UTF16ToUTF8(full_path.value()) << ", last error is " in CreateDirectoryAndGetError() 553 << UTF16ToUTF8(filename.value()); in WriteFile() 564 DPLOG(WARNING) << "writing file " << UTF16ToUTF8(filename.value()) in WriteFile() 569 << UTF16ToUTF8(filename.value()) << " expected " << size; in WriteFile()
|
D | file_path.cc | 579 return UTF16ToUTF8(value()); in As8Bit()
|
/third_party/skia/third_party/externals/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),
|
D | WindowsSupport.h | 255 std::error_code UTF16ToUTF8(const wchar_t *utf16, size_t utf16_len,
|
/third_party/skia/src/utils/ |
D | SkUTF.h | 78 SK_SPI int UTF16ToUTF8(char dst[], int dstCapacity, const uint16_t src[], size_t srcLength);
|
D | SkUTF.cpp | 287 int SkUTF::UTF16ToUTF8(char dst[], int dstCapacity, const uint16_t src[], size_t srcLength) { in UTF16ToUTF8() function in SkUTF
|
/third_party/gn/src/gn/ |
D | gn_main.cc | 28 out_args.push_back(base::UTF16ToUTF8(arg)); in GetArgs()
|
D | file_writer.cc | 33 file_path_ = base::UTF16ToUTF8(file_path.value()); in Create()
|
D | ninja_build_writer.cc | 134 return base::UTF16ToUTF8(cmdline.GetCommandLineString()); in GetSelfInvocationCommand()
|
/third_party/skia/modules/skunicode/include/ |
D | SkUnicode.h | 142 int utf8Units = SkUTF::UTF16ToUTF8(nullptr, 0, (uint16_t*)utf16, utf16Units); in convertUtf16ToUtf8() 148 …SkDEBUGCODE(int dstLen =) SkUTF::UTF16ToUTF8(utf8.data(), utf8Units, (uint16_t*)utf16, utf16Units); in convertUtf16ToUtf8()
|
/third_party/cef/libcef/browser/ |
D | iothread_state.cc | 64 base::UTF16ToUTF8(base::i18n::ToLower(base::UTF8ToUTF16(domain_name))); in RegisterSchemeHandlerFactory()
|
/third_party/skia/third_party/externals/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);
|
D | Path.inc | 49 using llvm::sys::windows::UTF16ToUTF8; 146 if (UTF16ToUTF8(PathName.data(), PathName.size(), PathNameUTF8)) 211 return UTF16ToUTF8(cur_path.begin(), cur_path.size(), result); 390 return UTF16ToUTF8(Data, CountChars, RealPath); 986 UTF16ToUTF8(FirstFind.cFileName, ::wcslen(FirstFind.cFileName), 1028 UTF16ToUTF8(FindData.cFileName, ::wcslen(FindData.cFileName), 1359 bool ok = !UTF16ToUTF8(path, ::wcslen(path), result); 1381 return !windows::UTF16ToUTF8(Buf.data(), Size, Res); 1486 std::error_code UTF16ToUTF8(const wchar_t *utf16, size_t utf16_len,
|
/third_party/skia/third_party/externals/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,
|
/third_party/gn/src/base/ |
D | environment.cc | 70 *result = UTF16ToUTF8(value.get()); in GetVarImpl()
|
D | command_line.cc | 439 << UTF16ToUTF8(command_line); in ParseFromString()
|
/third_party/cef/libcef/common/ |
D | string_types_impl.cc | 246 bool ret = base::UTF16ToUTF8( in cef_string_utf16_to_utf8()
|
/third_party/node/tools/inspector_protocol/lib/ |
D | base_string_adapter_cc.template | 191 base::UTF16ToUTF8(reinterpret_cast<const base::char16*>(data), length, &utf8);
|
/third_party/cef/libcef/browser/extensions/ |
D | extension_function_details.cc | 433 std::make_unique<std::string>(base::UTF16ToUTF8(contents->GetTitle())); in CreateTabObject()
|
/third_party/cef/libcef/browser/native/ |
D | file_dialog_runner_mac.mm | 225 path = path.ReplaceExtension(base::UTF16ToUTF8(filter[0]));
|