Home
last modified time | relevance | path

Searched refs:UTF16ToUTF8 (Results 1 - 25 of 27) sorted by relevance

12

/third_party/gn/src/base/strings/
H A Dutf_string_conversions.cc171 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()
H A Dutf_string_conversions.h17 bool UTF16ToUTF8(const char16_t* src, size_t src_len, std::string* output);
18 std::string UTF16ToUTF8(std::u16string_view utf16);
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/
H A Dtest_platform_v8.cc13 std::string UTF16ToUTF8(span<uint16_t> in) { in UTF16ToUTF8() function
14 return v8_inspector::UTF16ToUTF8(in.data(), in.size()); in UTF16ToUTF8()
H A Dtest_platform.h20 std::string UTF16ToUTF8(span<uint16_t> in);
H A Djson_test.cc339 log_ << "string16: " << UTF16ToUTF8(chars) << "\n";
406 // We've seen an implementation of UTF16ToUTF8 which would replace the DEL in TEST_F()
411 EXPECT_EQ(json, UTF16ToUTF8(SpanFrom(utf16))); in TEST_F()
H A Dcbor_test.cc372 std::string utf8_decoded = UTF16ToUTF8(SpanFrom(decoded)); in TEST()
526 std::string utf8_decoded = UTF16ToUTF8(SpanFrom(decoded)); in TEST()
/third_party/node/tools/inspector_protocol/encoding/
H A Dencoding_test_helper.h21 std::string UTF16ToUTF8(span<uint16_t> in) { in UTF16ToUTF8() function
22 return v8_inspector::UTF16ToUTF8(in.data(), in.size()); in UTF16ToUTF8()
H A Dencoding_test.cc417 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";
/third_party/gn/src/base/files/
H A Dfile_util_win.cc312 << UTF16ToUTF8(dir.value()); in CreateAndOpenTemporaryFileInDir()
370 DLOG(WARNING) << "CreateDirectory(" << UTF16ToUTF8(full_path.value()) in CreateDirectoryAndGetError()
410 << UTF16ToUTF8(full_path.value()) << ", last error is " in CreateDirectoryAndGetError()
596 << UTF16ToUTF8(filename.value()); in WriteFile()
607 DPLOG(WARNING) << "writing file " << UTF16ToUTF8(filename.value()) in WriteFile()
612 << UTF16ToUTF8(filename.value()) << " expected " << size; in WriteFile()
H A Dfile_path.cc580 return UTF16ToUTF8(value()); in As8Bit()
/third_party/skia/modules/skunicode/src/
H A DSkUnicode.cpp41 int utf8Units = SkUTF::UTF16ToUTF8(nullptr, 0, (uint16_t*)utf16, utf16Units); in convertUtf16ToUtf8()
47 SkDEBUGCODE(int dstLen =) SkUTF::UTF16ToUTF8(utf8.data(), utf8Units, (uint16_t*)utf16, utf16Units); in convertUtf16ToUtf8()
/third_party/node/deps/v8/src/inspector/
H A Dv8-string-conversions.h15 std::string UTF16ToUTF8(const uint16_t* stringStart, size_t length);
H A Dstring-16.cc237 return UTF16ToUTF8(m_impl.data(), m_impl.size()); in utf8()
H A Dv8-string-conversions.cc344 std::string UTF16ToUTF8(const UChar* stringStart, size_t length) { in UTF16ToUTF8() function
/third_party/skia/src/utils/
H A DSkUTF.h78 SK_SPI int UTF16ToUTF8(char dst[], int dstCapacity, const uint16_t src[], size_t srcLength);
H A DSkUTF.cpp287 int SkUTF::UTF16ToUTF8(char dst[], int dstCapacity, const uint16_t src[], size_t srcLength) { in UTF16ToUTF8() function in SkUTF
/third_party/gn/src/gn/
H A Dfile_writer.cc36 file_path_ = base::UTF16ToUTF8(path); in Create()
H A Dgn_main.cc28 out_args.push_back(base::UTF16ToUTF8(arg)); in GetArgs()
H A Dcommands.cc353 return base::UTF16ToUTF8(in); in ToUTF8()
H A Dninja_build_writer.cc135 return base::UTF16ToUTF8(cmdline.GetCommandLineString()); in GetSelfInvocationCommand()
H A Dfilesystem_utils.cc219 return base::UTF16ToUTF8(str); in FilePathToUTF8()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DConvertUTF.h295 std::error_code UTF16ToUTF8(const wchar_t *utf16, size_t utf16_len,
/third_party/gn/src/base/
H A Dcommand_line.cc190 return UTF16ToUTF8(input); in StringTypeToUTF8()
482 << UTF16ToUTF8(command_line); in ParseFromString()
H A Denvironment.cc70 *result = UTF16ToUTF8(value.get()); in GetVarImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
H A DWindowsSupport.h255 std::error_code UTF16ToUTF8(const wchar_t *utf16, size_t utf16_len,

Completed in 23 milliseconds

12