Lines Matching refs:wide
32 std::wstring wide; in TEST() local
40 EXPECT_FALSE(android::base::UTF8ToWide("before\xa2" "after", &wide)); in TEST()
52 EXPECT_EQ(0U, wide.find(L"before")); in TEST()
54 EXPECT_EQ(wide.length() - (arraysize(after_wide) - 1), wide.find(after_wide)); in TEST()
125 std::wostringstream wide; in TEST() local
126 wide << UTF8ToWide(utf8.str()); in TEST()
128 EXPECT_EQ(kConvertRoundtripCases[i], wide.str()); in TEST()
144 const wchar_t* wide; in TEST() member
182 std::wstring expected(convert_cases[i].wide); in TEST()
419 std::wstring wide; in TEST() local
420 EXPECT_TRUE(UTF8PathToWindowsLongPath(utf8.c_str(), &wide)); in TEST()
422 EXPECT_EQ(std::string::npos, wide.find(LR"(\\?\)")); in TEST()
431 std::wstring wide; in TEST() local
432 EXPECT_TRUE(UTF8PathToWindowsLongPath(utf8.c_str(), &wide)); in TEST()
434 EXPECT_EQ(0U, wide.find(LR"(\\?\)")); in TEST()
435 EXPECT_EQ(std::string::npos, wide.find(L"/")); in TEST()
444 std::wstring wide; in TEST() local
445 EXPECT_TRUE(UTF8PathToWindowsLongPath(utf8.c_str(), &wide)); in TEST()
447 EXPECT_EQ(0U, wide.find(LR"(\\?\)")); in TEST()
448 EXPECT_EQ(std::string::npos, wide.find(L"/")); in TEST()