Home
last modified time | relevance | path

Searched refs:UTF8ToUTF16 (Results 1 – 25 of 35) sorted by relevance

12

/third_party/gn/src/base/
Denvironment.cc61 reinterpret_cast<LPCWSTR>(UTF8ToUTF16(variable_name).c_str()), nullptr, in GetVarImpl()
68 reinterpret_cast<LPCWSTR>(UTF8ToUTF16(variable_name).c_str()), in GetVarImpl()
89 reinterpret_cast<LPCWSTR>(UTF8ToUTF16(variable_name).c_str()), in SetVarImpl()
90 reinterpret_cast<LPCWSTR>(UTF8ToUTF16(new_value).c_str())); in SetVarImpl()
101 reinterpret_cast<LPCWSTR>(UTF8ToUTF16(variable_name).c_str()), nullptr); in UnSetVarImpl()
Dcommand_line.cc202 argv_vector.push_back(UTF8ToUTF16(argv[i])); in InitUsingArgvForTesting()
386 AppendArgNative(UTF8ToUTF16(value)); in AppendArg()
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/
Dtest_platform_v8.cc17 std::vector<uint16_t> UTF8ToUTF16(span<uint8_t> in) { in UTF8ToUTF16() function
18 std::basic_string<uint16_t> utf16 = v8_inspector::UTF8ToUTF16( in UTF8ToUTF16()
Dtest_platform.h22 std::vector<uint16_t> UTF8ToUTF16(span<uint8_t> in);
Djson_test.cc31 writer->HandleString16(SpanFrom(UTF8ToUTF16(SpanFrom(utf8)))); in WriteUTF8AsUTF16()
410 std::vector<uint16_t> utf16 = UTF8ToUTF16(SpanFrom(json)); in TEST_F()
480 UTF8ToUTF16(SpanFrom("{\"space\": \"�� \\uD83C\\uDF19.\"}")); in TEST_F()
/third_party/node/tools/inspector_protocol/encoding/
Dencoding_test_helper.h25 std::vector<uint16_t> UTF8ToUTF16(span<uint8_t> in) { in UTF8ToUTF16() function
26 std::basic_string<uint16_t> utf16 = v8_inspector::UTF8ToUTF16( in UTF8ToUTF16()
/third_party/gn/src/base/strings/
Dutf_string_conversions.h15 bool UTF8ToUTF16(const char* src, size_t src_len, std::u16string* output);
16 std::u16string UTF8ToUTF16(std::string_view utf8);
Dutf_string_conversions.cc159 bool UTF8ToUTF16(const char* src, size_t src_len, std::u16string* output) { in UTF8ToUTF16() function
163 std::u16string UTF8ToUTF16(std::string_view utf8) { in UTF8ToUTF16() function
167 UTF8ToUTF16(utf8.data(), utf8.size(), &ret); in UTF8ToUTF16()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DProgram.inc52 if (std::error_code EC = windows::UTF8ToUTF16(P, TmpPath))
60 if (std::error_code EC = windows::UTF8ToUTF16(Name, U16Name))
73 if (std::error_code EC = windows::UTF8ToUTF16(Ext, U16Ext))
83 windows::UTF8ToUTF16(Twine(Name + Ext).str(), U16NameExt))
151 if (windows::UTF8ToUTF16(fname, fnameUnicode))
202 if (std::error_code ec = windows::UTF8ToUTF16(E, EnvString)) {
274 if (std::error_code ec = windows::UTF8ToUTF16(Command, CommandUtf16)) {
483 if ((EC = windows::UTF8ToUTF16(Contents, ArgsUTF16)))
494 if ((EC = windows::UTF8ToUTF16(Contents, ArgsUTF16)))
DProcess.inc117 if (windows::UTF8ToUTF16(Name, NameUTF16))
162 EC = windows::UTF8ToUTF16(Arg, ArgW);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
DProgram.inc52 if (std::error_code EC = windows::UTF8ToUTF16(P, TmpPath))
60 if (std::error_code EC = windows::UTF8ToUTF16(Name, U16Name))
73 if (std::error_code EC = windows::UTF8ToUTF16(Ext, U16Ext))
83 windows::UTF8ToUTF16(Twine(Name + Ext).str(), U16NameExt))
131 if (windows::UTF8ToUTF16(fname, fnameUnicode))
283 if (std::error_code ec = windows::UTF8ToUTF16(envp[i], EnvString)) {
355 if (std::error_code ec = windows::UTF8ToUTF16(command.get(), CommandUtf16)) {
508 if ((EC = windows::UTF8ToUTF16(Contents, ArgsUTF16)))
519 if ((EC = windows::UTF8ToUTF16(Contents, ArgsUTF16)))
DWindowsSupport.h254 std::error_code UTF8ToUTF16(StringRef utf8, SmallVectorImpl<wchar_t> &utf16);
DPath.inc46 using llvm::sys::windows::UTF8ToUTF16;
110 return UTF8ToUTF16(FullPath, Path16);
114 return UTF8ToUTF16(Path8Str, Path16);
915 std::error_code UTF8ToUTF16(llvm::StringRef utf8,
/third_party/skia/modules/skunicode/src/
DSkUnicode.cpp59 int utf16Units = SkUTF::UTF8ToUTF16(nullptr, 0, utf8, utf8Units); in convertUtf8ToUtf16()
66 SkDEBUGCODE(int dstLen =) SkUTF::UTF8ToUTF16(utf16.data(), utf16Units, utf8, utf8Units); in convertUtf8ToUtf16()
DSkUnicode_icu_bidi.cpp67 int utf16Units = SkUTF::UTF8ToUTF16(nullptr, 0, utf8, utf8Units); in makeBidiIterator()
73 SkDEBUGCODE(int dstLen =) SkUTF::UTF8ToUTF16(utf16.get(), utf16Units, utf8, utf8Units); in makeBidiIterator()
/third_party/node/deps/v8/src/inspector/
Dv8-string-conversions.h14 std::basic_string<uint16_t> UTF8ToUTF16(const char* stringStart, size_t length);
Dv8-string-conversions.cc387 std::basic_string<UChar> UTF8ToUTF16(const char* stringStart, size_t length) { in UTF8ToUTF16() function
Dstring-16.cc216 return String16(UTF8ToUTF16(stringStart, length)); in fromUTF8()
/third_party/skia/src/utils/
DSkUTF.h72 SK_SPI int UTF8ToUTF16(uint16_t dst[], int dstCapacity, const char src[], size_t srcByteLength);
DSkUTF.cpp255 int SkUTF::UTF8ToUTF16(uint16_t dst[], int dstCapacity, const char src[], size_t srcByteLength) { in UTF8ToUTF16() function in SkUTF
/third_party/gn/src/gn/
Dexec_process_unittest.cc34 args.push_back(base::UTF8ToUTF16(command)); in ExecPython()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DConvertUTF.h292 std::error_code UTF8ToUTF16(StringRef utf8, SmallVectorImpl<wchar_t> &utf16);
/third_party/skia/modules/skshaper/src/
DSkShaper_coretext.cpp164 auto utf16Size = SkUTF::UTF8ToUTF16(nullptr, 0, utf8, size); in setUTF8()
/third_party/skia/third_party/externals/zlib/google/
Dzip_internal.cc59 base::string16 filename16 = base::UTF8ToUTF16(filename); in ZipOpenFunc()
Dzip_reader.cc105 if (!base::UTF8ToUTF16(file_name_in_zip.data(), file_name_in_zip.size(), in EntryInfo()

12