Lines Matching full:str2
1050 string str2("OABOCDOOEOO");
1052 EXPECT_FALSE(m0.Matches(str2 + string(1, '\0')));
1054 str1[3] = str2[3] = '\0';
1056 EXPECT_TRUE(m1.Matches(str2));
1059 str2[0] = str2[6] = str2[7] = str2[10] = '\0';
1061 str1[9] = str2[9] = '\0';
1062 EXPECT_FALSE(m2.Matches(str2));
1065 EXPECT_TRUE(m3.Matches(str2));
1067 EXPECT_FALSE(m3.Matches(str2 + "x"));
1068 str2.append(1, '\0');
1069 EXPECT_FALSE(m3.Matches(str2));
1070 EXPECT_FALSE(m3.Matches(string(str2, 0, 9)));
1443 ::std::wstring str2(L"OABOCDOOEOO");
1445 EXPECT_FALSE(m0.Matches(str2 + ::std::wstring(1, L'\0')));
1447 str1[3] = str2[3] = L'\0';
1449 EXPECT_TRUE(m1.Matches(str2));
1452 str2[0] = str2[6] = str2[7] = str2[10] = L'\0';
1454 str1[9] = str2[9] = L'\0';
1455 EXPECT_FALSE(m2.Matches(str2));
1458 EXPECT_TRUE(m3.Matches(str2));
1460 EXPECT_FALSE(m3.Matches(str2 + L"x"));
1461 str2.append(1, L'\0');
1462 EXPECT_FALSE(m3.Matches(str2));
1463 EXPECT_FALSE(m3.Matches(::std::wstring(str2, 0, 9)));
1634 ::wstring str2(L"OABOCDOOEOO");
1636 EXPECT_FALSE(m0.Matches(str2 + ::wstring(1, L'\0')));
1638 str1[3] = str2[3] = L'\0';
1640 EXPECT_TRUE(m1.Matches(str2));
1643 str2[0] = str2[6] = str2[7] = str2[10] = L'\0';
1645 str1[9] = str2[9] = L'\0';
1646 EXPECT_FALSE(m2.Matches(str2));
1649 EXPECT_TRUE(m3.Matches(str2));
1651 EXPECT_FALSE(m3.Matches(str2 + L"x"));
1652 str2.append(1, L'\0');
1653 EXPECT_FALSE(m3.Matches(str2));
1654 EXPECT_FALSE(m3.Matches(::wstring(str2, 0, 9)));