Home
last modified time | relevance | path

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

12

/external/libchrome/base/strings/
Dpattern_unittest.cc38 EXPECT_TRUE(MatchPattern(UTF8ToUTF16("www.google.com"), in TEST()
39 UTF8ToUTF16("*.com"))); in TEST()
40 EXPECT_TRUE(MatchPattern(UTF8ToUTF16("Hello*1234"), in TEST()
41 UTF8ToUTF16("He??o\\*1*"))); in TEST()
46 EXPECT_TRUE(MatchPattern(UTF8ToUTF16("Hello"), in TEST()
47 UTF8ToUTF16("He********************************o"))); in TEST()
Dstring_number_conversions_unittest.cc57 EXPECT_EQ(IntToString16(test->num), UTF8ToUTF16(test->sexpected)); in TEST()
59 EXPECT_EQ(UintToString16(test->num), UTF8ToUTF16(test->uexpected)); in TEST()
64 EXPECT_EQ(Int64ToString16(test->num), UTF8ToUTF16(test->sexpected)); in TEST()
66 EXPECT_EQ(Uint64ToString16(test->num), UTF8ToUTF16(test->uexpected)); in TEST()
145 string16 utf16_input = UTF8ToUTF16(cases[i].input); in TEST()
160 string16 utf16_input = UTF8ToUTF16(input_string); in TEST()
210 string16 utf16_input = UTF8ToUTF16(cases[i].input); in TEST()
225 string16 utf16_input = UTF8ToUTF16(input_string); in TEST()
280 string16 utf16_input = UTF8ToUTF16(cases[i].input); in TEST()
295 string16 utf16_input = UTF8ToUTF16(input_string); in TEST()
[all …]
Dutf_string_conversions.cc149 bool UTF8ToUTF16(const char* src, size_t src_len, string16* output) { in UTF8ToUTF16() function
159 string16 UTF8ToUTF16(StringPiece utf8) { in UTF8ToUTF16() function
193 bool UTF8ToUTF16(const char* src, size_t src_len, string16* output) { in UTF8ToUTF16() function
197 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);
/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/
Dstl_util_unittest.cc346 {UTF8ToUTF16("abc"), UTF8ToUTF16("bc")}, in TEST()
347 {UTF8ToUTF16("abca"), UTF8ToUTF16("bc")}, in TEST()
350 const base::string16 letters = UTF8ToUTF16("ab"); in TEST()
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()
Dcommand_line.cc209 argv_vector.push_back(UTF8ToUTF16(argv[i])); in InitUsingArgvForTesting()
Dlogging.cc495 MessageBoxW(nullptr, base::UTF8ToUTF16(str).c_str(), L"Fatal error", in DisplayDebugMessageInDialog()
/external/libmojo/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/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);
DPath.inc46 using llvm::sys::windows::UTF8ToUTF16;
110 return UTF8ToUTF16(FullPath, Path16);
114 return UTF8ToUTF16(Path8Str, Path16);
933 std::error_code UTF8ToUTF16(llvm::StringRef utf8,
DDynamicLibrary.inc77 if (std::error_code ec = windows::UTF8ToUTF16(filename, filenameUnicode)) {
/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);
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,
/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/libmojo/mojo/edk/embedder/
Dnamed_platform_handle.h33 : name(base::UTF8ToUTF16(name)) {}
/external/libmojo/mojo/public/cpp/bindings/lib/
Dstring_traits_string16.cc39 return base::UTF8ToUTF16(input.storage(), input.size(), output); in Read()
/external/ImageMagick/coders/
Demf.c179 static size_t UTF8ToUTF16(const unsigned char *utf8,wchar_t *utf16) in UTF8ToUTF16() function
270 length=UTF8ToUTF16(source,(wchar_t *) NULL); in ConvertUTF8ToUTF16()
290 length=UTF8ToUTF16(source,utf16); in ConvertUTF8ToUTF16()
/external/vboot_reference/cgpt/
Dcgpt.h141 int UTF8ToUTF16(const uint8_t *utf8, uint16_t *utf16, unsigned int maxoutput);
Dcgpt_add.c89 if (CGPT_OK != UTF8ToUTF16((uint8_t *)params->label, entry->name, in GptSetEntryAttributes()

12