Searched refs:UTF8ToUTF16 (Results 1 - 23 of 23) sorted by relevance

/external/libchrome/base/strings/
H A Dpattern_unittest.cc38 EXPECT_TRUE(MatchPattern(UTF8ToUTF16("www.google.com"),
39 UTF8ToUTF16("*.com")));
40 EXPECT_TRUE(MatchPattern(UTF8ToUTF16("Hello*1234"),
41 UTF8ToUTF16("He??o\\*1*")));
46 EXPECT_TRUE(MatchPattern(UTF8ToUTF16("Hello"),
47 UTF8ToUTF16("He********************************o")));
H A Dutf_string_conversions.h38 BASE_EXPORT bool UTF8ToUTF16(const char* src, size_t src_len, string16* output);
39 BASE_EXPORT string16 UTF8ToUTF16(StringPiece utf8);
H A Dstring_number_conversions_unittest.cc56 EXPECT_EQ(IntToString16(test->num), UTF8ToUTF16(test->sexpected));
58 EXPECT_EQ(UintToString16(test->num), UTF8ToUTF16(test->uexpected));
63 EXPECT_EQ(Int64ToString16(test->num), UTF8ToUTF16(test->sexpected));
65 EXPECT_EQ(Uint64ToString16(test->num), UTF8ToUTF16(test->uexpected));
144 string16 utf16_input = UTF8ToUTF16(cases[i].input);
159 string16 utf16_input = UTF8ToUTF16(input_string);
208 string16 utf16_input = UTF8ToUTF16(cases[i].input);
223 string16 utf16_input = UTF8ToUTF16(input_string);
278 string16 utf16_input = UTF8ToUTF16(cases[i].input);
293 string16 utf16_input = UTF8ToUTF16(input_strin
[all...]
H A Dutf_string_conversions.cc149 bool UTF8ToUTF16(const char* src, size_t src_len, string16* output) { function in namespace:base
159 string16 UTF8ToUTF16(StringPiece utf8) { function in namespace:base
197 bool UTF8ToUTF16(const char* src, size_t src_len, string16* output) { function in namespace:base
201 string16 UTF8ToUTF16(StringPiece utf8) { function in namespace:base
H A Dstring_piece_unittest.cc667 StringPiece16(UTF8ToUTF16("\xf0\x9d\x84\x9e")).as_string()),
/external/google-breakpad/src/common/
H A Dstring_conversion.h47 void UTF8ToUTF16(const char *in, vector<uint16_t> *out);
H A Dstring_conversion.cc41 void UTF8ToUTF16(const char *in, vector<uint16_t> *out) { function in namespace:google_breakpad
/external/llvm/lib/Support/Windows/
H A 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)))
H A DDynamicLibrary.inc77 if (std::error_code ec = windows::UTF8ToUTF16(filename, filenameUnicode)) {
H A DWindowsSupport.h179 std::error_code UTF8ToUTF16(StringRef utf8, SmallVectorImpl<wchar_t> &utf16);
H A DProcess.inc133 if (windows::UTF8ToUTF16(Name, NameUTF16))
H A DPath.inc45 using llvm::sys::windows::UTF8ToUTF16;
109 return UTF8ToUTF16(FullPath, Path16);
113 return UTF8ToUTF16(Path8Str, Path16);
835 std::error_code UTF8ToUTF16(llvm::StringRef utf8,
/external/libchrome/base/
H A Dcommand_line_unittest.cc205 CommandLine::StringType expected_first_arg(UTF8ToUTF16(kFirstArgName));
206 CommandLine::StringType expected_second_arg(UTF8ToUTF16(kSecondArgName));
207 CommandLine::StringType expected_third_arg(UTF8ToUTF16(kThirdArgName));
208 CommandLine::StringType expected_fourth_arg(UTF8ToUTF16(kFourthArgName));
209 CommandLine::StringType expected_fifth_arg(UTF8ToUTF16(kFifthArgName));
H A Dlogging.cc478 MessageBoxW(nullptr, base::UTF8ToUTF16(str).c_str(), L"Fatal error",
H A Dvalues.cc288 *out_value = UTF8ToUTF16(value_);
/external/vboot_reference/cgpt/
H A Dcgpt.h141 int UTF8ToUTF16(const uint8_t *utf8, uint16_t *utf16, unsigned int maxoutput);
H A Dcgpt_add.c89 if (CGPT_OK != UTF8ToUTF16((uint8_t *)params->label, entry->name,
H A Dcgpt_common.c528 int UTF8ToUTF16(const uint8_t *utf8, uint16_t *utf16, unsigned int maxoutput) function
/external/ImageMagick/coders/
H A Demf.c183 static size_t UTF8ToUTF16(const unsigned char *utf8,wchar_t *utf16)
274 length=UTF8ToUTF16(source,(wchar_t *) NULL);
294 length=UTF8ToUTF16(source,utf16);
179 static size_t UTF8ToUTF16(const unsigned char *utf8,wchar_t *utf16) function
H A Dpdf.c1009 static size_t UTF8ToUTF16(const unsigned char *utf8,wchar_t *utf16)
1097 *length=UTF8ToUTF16(source,(wchar_t *) NULL);
1117 *length=UTF8ToUTF16(source,utf16);
1000 static size_t UTF8ToUTF16(const unsigned char *utf8,wchar_t *utf16) function
/external/libchrome/base/json/
H A Djson_parser.cc147 *out_value = UTF8ToUTF16(string_piece_);
/external/libxml2/
H A Dencoding.c666 * UTF8ToUTF16:
679 UTF8ToUTF16(unsigned char* outb, int *outlen, function
1414 xmlNewCharEncodingHandler("UTF-16", UTF16LEToUTF8, UTF8ToUTF16);
/external/libchrome/base/files/
H A Dfile_path.cc606 return UTF8ToUTF16(value());

Completed in 544 milliseconds