/external/libchrome/base/strings/ |
D | string_util_unittest.cc | 242 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 …]
|
D | strcat_unittest.cc | 21 string16 arg1 = ASCIIToUTF16("1"); 22 string16 arg2 = ASCIIToUTF16("22"); 23 string16 arg3 = ASCIIToUTF16("333"); 25 EXPECT_EQ(ASCIIToUTF16(""), StrCat({string16()})); 26 EXPECT_EQ(ASCIIToUTF16("1"), StrCat({arg1})); 27 EXPECT_EQ(ASCIIToUTF16("122"), StrCat({arg1, arg2})); 28 EXPECT_EQ(ASCIIToUTF16("122333"), StrCat({arg1, arg2, arg3})); 48 string16 arg1 = ASCIIToUTF16("1"); 49 string16 arg2 = ASCIIToUTF16("22"); 50 string16 arg3 = ASCIIToUTF16("333"); [all …]
|
D | nullable_string16_unittest.cc | 18 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()
|
D | string16_unittest.cc | 22 << string16(ASCIIToUTF16("Hello, world")) << "'"; in TEST() 56 string16 str1 = ASCIIToUTF16("hello"); in TEST() 57 string16 str2 = ASCIIToUTF16("world"); in TEST()
|
D | utf_string_conversions.h | 46 BASE_EXPORT string16 ASCIIToUTF16(StringPiece ascii);
|
D | utf_string_conversions_fuzzer.cc | 50 output_string16 = base::ASCIIToUTF16(string_piece_input); in LLVMFuzzerTestOneInput()
|
D | old_utf_string_conversions.h | 56 BASE_EXPORT string16 ASCIIToUTF16(StringPiece ascii);
|
D | old_utf_string_conversions.cc | 252 string16 ASCIIToUTF16(StringPiece ascii) { in ASCIIToUTF16() function
|
D | utf_string_conversions.cc | 323 string16 ASCIIToUTF16(StringPiece ascii) { in ASCIIToUTF16() function
|
D | string_piece_unittest.cc | 31 return ASCIIToUTF16(input); in as_string() 34 return ASCIIToUTF16(input); in as_string() 660 string16 fifth(ASCIIToUTF16("123")); in TEST()
|
D | string_util.cc | 692 return ASCIIToUTF16(buf); in FormatBytesUnlocalized()
|
/external/libchrome/ipc/ |
D | ipc_fuzzing_tests.cc | 296 msg = new MsgClassIS(value, base::ASCIIToUTF16("expect 43")); in TEST_F() 300 msg = new MsgClassSI(base::ASCIIToUTF16("expect 44"), ++value); in TEST_F() 325 msg = new MsgClassSI(base::ASCIIToUTF16("expect one"), 1); in TEST_F() 347 msg->WriteString16(base::ASCIIToUTF16("d")); in TEST_F() 356 msg = new MsgClassIS(3, base::ASCIIToUTF16("expect three")); in TEST_F()
|
D | ipc_message_unittest.cc | 40 base::string16 v3(base::ASCIIToUTF16("hello world")); in TEST()
|
/external/libchrome/mojo/public/cpp/base/ |
D | string16_unittest.cc | 25 base::string16 in = base::ASCIIToUTF16("hello world"); in TEST() 40 base::string16 in = base::ASCIIToUTF16("hello world"); in TEST()
|
/external/libchrome/base/ |
D | values_unittest.cc | 92 string16 str = ASCIIToUTF16("foobar"); in TEST() 99 string16 str = ASCIIToUTF16("foobar"); in TEST() 815 std::unique_ptr<Value> utf16_value(new Value(ASCIIToUTF16("utf16"))); in TEST() 821 string16 utf16 = ASCIIToUTF16("http://google.com"); in TEST() 827 ASSERT_EQ(ASCIIToUTF16("narrow"), utf16); in TEST() 834 ASSERT_EQ(ASCIIToUTF16("utf16"), utf16); in TEST() 936 Value* string16_ptr = dict.SetString("foo.bar", ASCIIToUTF16("baz")); in TEST() 1067 "string16", std::make_unique<Value>(ASCIIToUTF16("hello16"))); in TEST() 1131 ASSERT_EQ(ASCIIToUTF16("hello"), copy_string16_value); in TEST() 1141 ASSERT_EQ(ASCIIToUTF16("hello16"), copy_string16_value); in TEST() [all …]
|
D | command_line.cc | 331 StringType combined_switch_string(ASCIIToUTF16(switch_key)); in AppendSwitchNative() 353 AppendSwitchNative(switch_string, ASCIIToUTF16(value_string)); in AppendSwitchASCII()
|
D | pickle_unittest.cc | 35 const string16 teststring16(ASCIIToUTF16("Hello, world"));
|
/external/libchrome/base/files/ |
D | file_path.cc | 425 return InsertBeforeExtension(ASCIIToUTF16(suffix)); in InsertBeforeExtensionASCII() 528 return Append(ASCIIToUTF16(component)); in AppendASCII()
|
/external/libchrome/base/json/ |
D | json_value_serializer_unittest.cc | 369 ASSERT_EQ(ASCIIToUTF16("go"), test_value); in TEST()
|