Lines Matching refs:dest3
901 const String dest3 = std::string(src3, sizeof(src3));
902 EXPECT_EQ(sizeof(src3), dest3.length());
903 EXPECT_EQ('a', dest3.c_str()[0]);
904 EXPECT_EQ('\0', dest3.c_str()[1]);
905 EXPECT_EQ('b', dest3.c_str()[2]);
921 const std::string dest3 = src3;
922 EXPECT_EQ(std::string("x\0y", 3), dest3);
942 const String dest3 = ::string(src3, sizeof(src3));
943 EXPECT_EQ(sizeof(src3), dest3.length());
944 EXPECT_EQ('x', dest3.c_str()[0]);
945 EXPECT_EQ('\0', dest3.c_str()[1]);
946 EXPECT_EQ('y', dest3.c_str()[2]);
961 const ::string dest3 = src3;
962 EXPECT_EQ(::string("x\0y", 3), dest3);