Home | History | Annotate | Download | only in base

Lines Matching defs:s2

53     String s2(s1);
54 EXPECT_EQ(s1.size(), s2.size());
55 EXPECT_STREQ(s1.c_str(), s2.c_str());
80 String s2("foo");
81 EXPECT_FALSE(s2.empty());
204 const char* s2;
226 EXPECT_EQ(comp.expected, s.compare(comp.s2))
228 << comp.s2 << "'";
236 size_t len2 = ::strlen(comp.s2);
237 EXPECT_EQ(comp.expected, s.compare(comp.s2, len2))
239 << comp.s2 << "'";
248 String s2(comp.s2);
249 EXPECT_EQ(comp.expected, s1.compare(s2))
251 << comp.s2 << "'";
259 StringView s2(comp.s2);
260 EXPECT_EQ(comp.expected, s1.compare(s2))
262 << comp.s2 << "'";
270 EXPECT_EQ(!comp.expected, s.equals(comp.s2))
272 << comp.s2 << "'";
280 size_t len2 = ::strlen(comp.s2);
281 EXPECT_EQ(!comp.expected, s.equals(comp.s2, len2))
283 << comp.s2 << "'";
292 String s2(comp.s2);
293 EXPECT_EQ(!comp.expected, s1.equals(s2))
295 << comp.s2 << "'";
303 StringView s2(comp.s2);
304 EXPECT_EQ(!comp.expected, s1.equals(s2))
306 << comp.s2 << "'";
314 EXPECT_EQ(!comp.expected, s == comp.s2)
316 << comp.s2 << "'";
324 String s2(comp.s2);
325 EXPECT_EQ(!comp.expected, s1 == s2)
327 << comp.s2 << "'";
335 StringView s2(comp.s2);
336 EXPECT_EQ(!comp.expected, s1 == s2)
338 << comp.s2 << "'";