Home
last modified time | relevance | path

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

12

/external/libchrome/base/strings/
Dpattern_unittest.cc40 EXPECT_TRUE(MatchPattern(UTF8ToUTF16("www.google.com"), in TEST()
41 UTF8ToUTF16("*.com"))); in TEST()
42 EXPECT_TRUE(MatchPattern(UTF8ToUTF16("Hello*1234"), in TEST()
43 UTF8ToUTF16("He??o\\*1*"))); in TEST()
Dstring_number_conversions_unittest.cc57 EXPECT_EQ(NumberToString16(test.num), UTF8ToUTF16(test.sexpected)); in TEST()
60 UTF8ToUTF16(test.uexpected)); in TEST()
65 EXPECT_EQ(NumberToString16(test.num), UTF8ToUTF16(test.sexpected)); in TEST()
68 UTF8ToUTF16(test.uexpected)); in TEST()
147 string16 utf16_input = UTF8ToUTF16(cases[i].input); in TEST()
162 string16 utf16_input = UTF8ToUTF16(input_string); in TEST()
212 string16 utf16_input = UTF8ToUTF16(cases[i].input); in TEST()
227 string16 utf16_input = UTF8ToUTF16(input_string); in TEST()
282 string16 utf16_input = UTF8ToUTF16(cases[i].input); in TEST()
297 string16 utf16_input = UTF8ToUTF16(input_string); in TEST()
[all …]
Dold_utf_string_conversions.cc184 bool UTF8ToUTF16(const char* src, size_t src_len, string16* output) { in UTF8ToUTF16() function
194 string16 UTF8ToUTF16(StringPiece utf8) { in UTF8ToUTF16() function
228 bool UTF8ToUTF16(const char* src, size_t src_len, string16* output) { in UTF8ToUTF16() function
232 string16 UTF8ToUTF16(StringPiece utf8) { in UTF8ToUTF16() function
Dutf_string_conversions.h38 BASE_EXPORT bool UTF8ToUTF16(const char* src, size_t src_len, string16* output);
39 BASE_EXPORT string16 UTF8ToUTF16(StringPiece utf8);
Dutf_string_conversions_fuzzer.cc20 base::UTF8ToUTF16(string_piece_input); in LLVMFuzzerTestOneInput()
21 base::UTF8ToUTF16(reinterpret_cast<const char*>(data), size, in LLVMFuzzerTestOneInput()
Dold_utf_string_conversions.h47 BASE_EXPORT bool UTF8ToUTF16(const char* src, size_t src_len, string16* output);
48 BASE_EXPORT string16 UTF8ToUTF16(StringPiece utf8);
Dutf_string_conversions_regression_fuzzer.cc18 bool new_res = base::UTF8ToUTF16(src, src_len, &new_out); in UTF8ToCheck()
21 bool old_res = base_old::UTF8ToUTF16(src, src_len, &old_out); in UTF8ToCheck()
Dutf_string_conversions.cc205 bool UTF8ToUTF16(const char* src, size_t src_len, string16* output) { in UTF8ToUTF16() function
209 string16 UTF8ToUTF16(StringPiece utf8) { in UTF8ToUTF16() function
213 UTF8ToUTF16(utf8.data(), utf8.size(), &ret); in UTF8ToUTF16()
/external/swiftshader/third_party/LLVM/lib/Support/Windows/
DPathV2.inc44 error_code UTF8ToUTF16(StringRef utf8, SmallVectorImpl<wchar_t> &utf16) {
192 if (error_code ec = UTF8ToUTF16(f, wide_from)) return ec;
193 if (error_code ec = UTF8ToUTF16(t, wide_to)) return ec;
209 if (error_code ec = UTF8ToUTF16(path.toStringRef(path_storage),
235 if (error_code ec = UTF8ToUTF16(f, wide_from)) return ec;
236 if (error_code ec = UTF8ToUTF16(t, wide_to)) return ec;
258 if (error_code ec = UTF8ToUTF16(f, wide_from)) return ec;
259 if (error_code ec = UTF8ToUTF16(t, wide_to)) return ec;
275 if (error_code ec = UTF8ToUTF16(path.toStringRef(path_storage),
310 if (error_code ec = UTF8ToUTF16(f, wide_from)) return ec;
[all …]
/external/libchrome/base/android/
Djni_string_unittest.cc24 const string16 kSimpleString = UTF8ToUTF16("SimpleTest16"); in TEST()
40 const string16 kEmptyString = UTF8ToUTF16(""); in TEST()
Djni_string.cc74 env, UTF8ToUTF16(str))); in ConvertUTF8ToJavaString()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Windows/
DProgram.inc53 if (std::error_code EC = windows::UTF8ToUTF16(P, TmpPath))
61 if (std::error_code EC = windows::UTF8ToUTF16(Name, U16Name))
74 if (std::error_code EC = windows::UTF8ToUTF16(Ext, U16Ext))
84 windows::UTF8ToUTF16(Twine(Name + Ext).str(), U16NameExt))
133 if (windows::UTF8ToUTF16(fname, fnameUnicode))
184 if (std::error_code ec = windows::UTF8ToUTF16(E, EnvString)) {
256 if (std::error_code ec = windows::UTF8ToUTF16(Command, CommandUtf16)) {
465 if ((EC = windows::UTF8ToUTF16(Contents, ArgsUTF16)))
476 if ((EC = windows::UTF8ToUTF16(Contents, ArgsUTF16)))
/external/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);
/external/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))
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.h220 std::error_code UTF8ToUTF16(StringRef utf8, SmallVectorImpl<wchar_t> &utf16);
/external/libchrome/base/
Dcommand_line_unittest.cc206 CommandLine::StringType expected_first_arg(UTF8ToUTF16(kFirstArgName)); in TEST()
207 CommandLine::StringType expected_second_arg(UTF8ToUTF16(kSecondArgName)); in TEST()
208 CommandLine::StringType expected_third_arg(UTF8ToUTF16(kThirdArgName)); in TEST()
209 CommandLine::StringType expected_fourth_arg(UTF8ToUTF16(kFourthArgName)); in TEST()
210 CommandLine::StringType expected_fifth_arg(UTF8ToUTF16(kFifthArgName)); in TEST()
Dstl_util_unittest.cc507 {UTF8ToUTF16("abc"), UTF8ToUTF16("bc")}, in TEST()
508 {UTF8ToUTF16("abca"), UTF8ToUTF16("bc")}, in TEST()
511 const base::string16 letters = UTF8ToUTF16("ab"); in TEST()
/external/google-breakpad/src/common/
Dstring_conversion.h47 void UTF8ToUTF16(const char *in, vector<uint16_t> *out);
Dstring_conversion.cc41 void UTF8ToUTF16(const char *in, vector<uint16_t> *out) { in UTF8ToUTF16() function
/external/libchrome/mojo/public/cpp/platform/
Dnamed_platform_channel.cc32 return base::UTF8ToUTF16(name); in ServerNameFromUTF8()
Dnamed_platform_channel_win.cc33 return base::UTF8ToUTF16( in GenerateRandomServerName()
/external/ImageMagick/coders/
Demf.c180 static size_t UTF8ToUTF16(const unsigned char *utf8,wchar_t *utf16) in UTF8ToUTF16() function
271 length=UTF8ToUTF16(source,(wchar_t *) NULL); in ConvertUTF8ToUTF16()
291 length=UTF8ToUTF16(source,utf16); in ConvertUTF8ToUTF16()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DConvertUTF.h293 std::error_code UTF8ToUTF16(StringRef utf8, SmallVectorImpl<wchar_t> &utf16);
/external/vboot_reference/cgpt/
Dcgpt.h141 int UTF8ToUTF16(const uint8_t *utf8, uint16_t *utf16, unsigned int maxoutput);

12