Lines Matching full:endswith
328 return EndsWith(str, suffix); in runEndsWith()
332 return EndsWith(std::string(str), suffix); in runEndsWith()
334 return EndsWith(std::string(str), std::string(suffix)); in runEndsWith()
339 ASSERT_FALSE(EndsWith("foo", "bar")); in runTest()
340 ASSERT_FALSE(EndsWith("", "bar")); in runTest()
341 ASSERT_FALSE(EndsWith("foo", "foobar")); in runTest()
343 ASSERT_TRUE(EndsWith("foobar", "bar")); in runTest()
344 ASSERT_TRUE(EndsWith("foobar", "")); in runTest()
345 ASSERT_TRUE(EndsWith("bar", "bar")); in runTest()
346 ASSERT_TRUE(EndsWith("", "")); in runTest()
353 // Test that EndsWith works correctly for const char * arguments.
360 // Test that EndsWith works correctly for std::string and const char * arguments.
367 // Test that EndsWith works correctly for std::string arguments.