Searched refs:wide_input (Results 1 – 2 of 2) sorted by relevance
/external/chromium/base/ |
D | string_util_unittest.cc | 551 std::wstring wide_input = ASCIIToWide(cases[i].input); in TEST() local 552 EXPECT_EQ(cases[i].output, StringToInt(WideToUTF16Hack(wide_input))); in TEST() 553 EXPECT_EQ(cases[i].success, StringToInt(WideToUTF16Hack(wide_input), in TEST() 567 std::wstring wide_input = ASCIIToWide(input_string); in TEST() local 568 EXPECT_FALSE(StringToInt(WideToUTF16Hack(wide_input), &output)); in TEST() 616 std::wstring wide_input = ASCIIToWide(cases[i].input); in TEST() local 617 EXPECT_EQ(cases[i].output, StringToInt64(WideToUTF16Hack(wide_input))); in TEST() 618 EXPECT_EQ(cases[i].success, StringToInt64(WideToUTF16Hack(wide_input), in TEST() 632 std::wstring wide_input = ASCIIToWide(input_string); in TEST() local 633 EXPECT_FALSE(StringToInt64(WideToUTF16Hack(wide_input), &output)); in TEST() [all …]
|
/external/chromium/googleurl/src/ |
D | url_canon_unittest.cc | 316 string16 wide_input(ConvertUTF8ToUTF16(scheme_cases[i].input)); in TEST() local 317 in_comp.len = static_cast<int>(wide_input.length()); in TEST() 318 success = url_canon::CanonicalizeScheme(wide_input.c_str(), in_comp, in TEST() 821 string16 wide_input(ConvertUTF8ToUTF16(user_info_cases[i].input)); in TEST() local 822 success = url_canon::CanonicalizeUserInfo(wide_input.c_str(), in TEST() 824 wide_input.c_str(), in TEST() 880 string16 wide_input(ConvertUTF8ToUTF16(port_cases[i].input)); in TEST() local 881 success = url_canon::CanonicalizePort(wide_input.c_str(), in_comp, in TEST()
|