/external/libchrome/base/strings/ |
D | pattern_unittest.cc | 38 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()
|
D | string_number_conversions_unittest.cc | 57 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 …]
|
D | utf_string_conversions.cc | 149 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
|
D | utf_string_conversions.h | 38 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/ |
D | PathV2.inc | 44 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/libmojo/base/android/ |
D | jni_string_unittest.cc | 24 const string16 kSimpleString = UTF8ToUTF16("SimpleTest16"); in TEST() 40 const string16 kEmptyString = UTF8ToUTF16(""); in TEST()
|
D | jni_string.cc | 74 env, UTF8ToUTF16(str))); in ConvertUTF8ToJavaString()
|
/external/libchrome/base/ |
D | stl_util_unittest.cc | 346 {UTF8ToUTF16("abc"), UTF8ToUTF16("bc")}, in TEST() 347 {UTF8ToUTF16("abca"), UTF8ToUTF16("bc")}, in TEST() 350 const base::string16 letters = UTF8ToUTF16("ab"); in TEST()
|
D | command_line_unittest.cc | 206 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()
|
D | command_line.cc | 209 argv_vector.push_back(UTF8ToUTF16(argv[i])); in InitUsingArgvForTesting()
|
D | logging.cc | 495 MessageBoxW(nullptr, base::UTF8ToUTF16(str).c_str(), L"Fatal error", in DisplayDebugMessageInDialog()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/Windows/ |
D | Program.inc | 52 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)))
|
D | WindowsSupport.h | 254 std::error_code UTF8ToUTF16(StringRef utf8, SmallVectorImpl<wchar_t> &utf16);
|
D | Path.inc | 46 using llvm::sys::windows::UTF8ToUTF16; 110 return UTF8ToUTF16(FullPath, Path16); 114 return UTF8ToUTF16(Path8Str, Path16); 915 std::error_code UTF8ToUTF16(llvm::StringRef utf8,
|
/external/llvm/lib/Support/Windows/ |
D | Program.inc | 52 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)))
|
D | WindowsSupport.h | 220 std::error_code UTF8ToUTF16(StringRef utf8, SmallVectorImpl<wchar_t> &utf16);
|
D | DynamicLibrary.inc | 77 if (std::error_code ec = windows::UTF8ToUTF16(filename, filenameUnicode)) {
|
D | Path.inc | 46 using llvm::sys::windows::UTF8ToUTF16; 110 return UTF8ToUTF16(FullPath, Path16); 114 return UTF8ToUTF16(Path8Str, Path16); 933 std::error_code UTF8ToUTF16(llvm::StringRef utf8,
|
/external/google-breakpad/src/common/ |
D | string_conversion.h | 47 void UTF8ToUTF16(const char *in, vector<uint16_t> *out);
|
D | string_conversion.cc | 41 void UTF8ToUTF16(const char *in, vector<uint16_t> *out) { in UTF8ToUTF16() function
|
/external/libmojo/mojo/edk/embedder/ |
D | named_platform_handle.h | 33 : name(base::UTF8ToUTF16(name)) {}
|
/external/libmojo/mojo/public/cpp/bindings/lib/ |
D | string_traits_string16.cc | 39 return base::UTF8ToUTF16(input.storage(), input.size(), output); in Read()
|
/external/ImageMagick/coders/ |
D | emf.c | 179 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/ |
D | cgpt.h | 141 int UTF8ToUTF16(const uint8_t *utf8, uint16_t *utf16, unsigned int maxoutput);
|
D | cgpt_add.c | 89 if (CGPT_OK != UTF8ToUTF16((uint8_t *)params->label, entry->name, in GptSetEntryAttributes()
|