Searched refs:starts_with (Results 1 – 4 of 4) sorted by relevance
63 const base::StringPiece& starts_with) { in StartsWithIgnoreCase()64 if (text.size() < starts_with.size()) in StartsWithIgnoreCase()66 return EqualIgnoreCase(text.substr(0, starts_with.size()), starts_with); in StartsWithIgnoreCase()
431 ASSERT_TRUE(a.starts_with(a)); in TEST()432 ASSERT_TRUE(a.starts_with("foo")); in TEST()433 ASSERT_TRUE(a.starts_with(e)); in TEST()434 ASSERT_TRUE(b.starts_with(s1)); in TEST()435 ASSERT_TRUE(b.starts_with(b)); in TEST()436 ASSERT_TRUE(b.starts_with(e)); in TEST()437 ASSERT_TRUE(e.starts_with("")); in TEST()438 ASSERT_TRUE(!a.starts_with(b)); in TEST()439 ASSERT_TRUE(!b.starts_with(a)); in TEST()440 ASSERT_TRUE(!e.starts_with(a)); in TEST()[all …]
104 bool starts_with(const StringPiece& x) const { in starts_with() function
73 def remove_log_files(self, folder, starts_with): argument76 if file.startswith(starts_with):