/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 197 bool UTF8ToUTF16(const char* src, size_t src_len, string16* output) { in UTF8ToUTF16() function 201 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 | 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 | 205 argv_vector.push_back(UTF8ToUTF16(argv[i])); in InitUsingArgvForTesting()
|
D | logging.cc | 490 MessageBoxW(nullptr, base::UTF8ToUTF16(str).c_str(), L"Fatal error", in DisplayDebugMessageInDialog()
|
/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/public/cpp/bindings/lib/ |
D | string_traits_string16.cc | 39 return base::UTF8ToUTF16(input.storage(), input.size(), output); in Read()
|
/external/libmojo/mojo/common/ |
D | common_type_converters.cc | 39 return base::UTF8ToUTF16(input.To<base::StringPiece>()); in Convert()
|
/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()
|
/external/fmtlib/test/ |
D | util-test.cc | 775 TEST(UtilTest, UTF8ToUTF16) { in TEST() argument 777 fmt::internal::UTF8ToUTF16 u(s.c_str()); in TEST() 805 check_utf_conversion_error<fmt::internal::UTF8ToUTF16, char>(message); in TEST() 806 check_utf_conversion_error<fmt::internal::UTF8ToUTF16, char>( in TEST()
|
/external/fmtlib/fmt/ |
D | format.cc | 309 FMT_FUNC internal::UTF8ToUTF16::UTF8ToUTF16(StringRef s) { in UTF8ToUTF16() function in fmt::internal::UTF8ToUTF16
|
/external/libchrome/base/json/ |
D | json_parser.cc | 151 *out_value = UTF8ToUTF16(string_piece_); in GetAsString()
|
/external/libchrome/base/files/ |
D | file_path.cc | 608 return UTF8ToUTF16(value()); in AsUTF16Unsafe()
|