Home
last modified time | relevance | path

Searched refs:ASCIIToUTF16 (Results 1 – 13 of 13) sorted by relevance

/external/libchrome/base/strings/
Dstring_util_unittest.cc242 output = ASCIIToUTF16(" This is a test \r\n"); in TEST()
244 EXPECT_EQ(ASCIIToUTF16("This is a test"), output); in TEST()
247 output = ASCIIToUTF16(" \r\n"); in TEST()
480 string16 utf16 = ASCIIToUTF16(char_cases[i]); in TEST()
493 EXPECT_EQ(empty16, ASCIIToUTF16(empty)); in TEST()
499 string16 string16_with_nul = ASCIIToUTF16(string_with_nul); in TEST()
518 EXPECT_EQ(ASCIIToUTF16("cc2"), ToLowerASCII(ASCIIToUTF16("Cc2"))); in TEST()
531 EXPECT_EQ(ASCIIToUTF16("CC2"), ToUpperASCII(ASCIIToUTF16("Cc2"))); in TEST()
545 EXPECT_TRUE(LowerCaseEqualsASCII(ASCIIToUTF16(lowercase_cases[i].src_a), in TEST()
582 EXPECT_EQ(ASCIIToUTF16(cases[i].expected), in TEST()
[all …]
Dnullable_string16_unittest.cc18 NullableString16 a(ASCIIToUTF16("hello"), false); in TEST()
19 NullableString16 b(ASCIIToUTF16("hello"), false); in TEST()
24 NullableString16 a(ASCIIToUTF16("hello"), false); in TEST()
25 NullableString16 b(ASCIIToUTF16("world"), false); in TEST()
30 NullableString16 a(ASCIIToUTF16("hello"), false); in TEST()
Dstring16_unittest.cc23 << string16(ASCIIToUTF16("Hello, world")) << "'"; in TEST()
Dutf_string_conversions.h46 BASE_EXPORT string16 ASCIIToUTF16(StringPiece ascii);
Dutf_string_conversions.cc221 string16 ASCIIToUTF16(StringPiece ascii) { in ASCIIToUTF16() function
Dstring_piece_unittest.cc31 return ASCIIToUTF16(input); in as_string()
34 return ASCIIToUTF16(input); in as_string()
648 string16 fifth(ASCIIToUTF16("123")); in TEST()
Dstring_util.cc697 return ASCIIToUTF16(buf); in FormatBytesUnlocalized()
/external/libchrome/base/
Dnative_library_posix.cc54 return ASCIIToUTF16("lib") + name + ASCIIToUTF16(".so"); in GetNativeLibraryName()
Dvalues_unittest.cc147 scoped_ptr<Value> utf16_value(new StringValue(ASCIIToUTF16("utf16"))); in TEST()
153 string16 utf16 = ASCIIToUTF16("http://google.com"); in TEST()
159 ASSERT_EQ(ASCIIToUTF16("narrow"), utf16); in TEST()
166 ASSERT_EQ(ASCIIToUTF16("utf16"), utf16); in TEST()
413 new StringValue(ASCIIToUTF16("hello16"))); in TEST()
486 ASSERT_EQ(ASCIIToUTF16("hello"), copy_string16_value); in TEST()
496 ASSERT_EQ(ASCIIToUTF16("hello16"), copy_string16_value); in TEST()
562 dv.SetString("d2", ASCIIToUTF16("http://google.com")); in TEST()
631 new StringValue(ASCIIToUTF16("hello16"))); in TEST()
Dcommand_line.cc327 StringType combined_switch_string(ASCIIToUTF16(switch_key)); in AppendSwitchNative()
350 AppendSwitchNative(switch_string, ASCIIToUTF16(value_string)); in AppendSwitchASCII()
Dpickle_unittest.cc35 const string16 teststring16(ASCIIToUTF16("Hello, world"));
/external/libchrome/base/files/
Dfile_path.cc424 return InsertBeforeExtension(ASCIIToUTF16(suffix)); in InsertBeforeExtensionASCII()
527 return Append(ASCIIToUTF16(component)); in AppendASCII()
/external/libchrome/base/json/
Djson_value_serializer_unittest.cc371 ASSERT_EQ(ASCIIToUTF16("go"), test_value); in TEST()