Searched refs:ends_with (Results 1 – 2 of 2) sorted by relevance
443 ASSERT_TRUE(a.ends_with(a)); in TEST()444 ASSERT_TRUE(a.ends_with("bar")); in TEST()445 ASSERT_TRUE(a.ends_with(e)); in TEST()446 ASSERT_TRUE(b.ends_with(s1)); in TEST()447 ASSERT_TRUE(b.ends_with(b)); in TEST()448 ASSERT_TRUE(b.ends_with(e)); in TEST()449 ASSERT_TRUE(e.ends_with("")); in TEST()450 ASSERT_TRUE(!a.ends_with(b)); in TEST()451 ASSERT_TRUE(!b.ends_with(a)); in TEST()452 ASSERT_TRUE(!e.ends_with(a)); in TEST()[all …]
110 bool ends_with(const StringPiece& x) const { in ends_with() function