Home
last modified time | relevance | path

Searched refs:ends_with (Results 1 – 10 of 10) sorted by relevance

/external/webrtc/webrtc/base/
Dstringutils_unittest.cc100 EXPECT_TRUE(ends_with("foobar", "bar")); in TEST()
101 EXPECT_TRUE(ends_with("foobar", "foobar")); in TEST()
102 EXPECT_TRUE(ends_with("foobar", "")); in TEST()
103 EXPECT_TRUE(ends_with("", "")); in TEST()
104 EXPECT_FALSE(ends_with("foobar", "foo")); in TEST()
105 EXPECT_FALSE(ends_with("foobar", "foobarbaz")); in TEST()
106 EXPECT_FALSE(ends_with("", "f")); in TEST()
Dstringutils.cc108 bool ends_with(const char *s1, const char *s2) { in ends_with() function
Dstringutils.h311 bool ends_with(const char *s1, const char *s2);
/external/libweave/third_party/chromium/base/strings/
Dstring_piece_unittest.cc553 ASSERT_TRUE(a.ends_with(a)); in TEST()
554 ASSERT_TRUE(a.ends_with("bar")); in TEST()
555 ASSERT_TRUE(a.ends_with(e)); in TEST()
556 ASSERT_TRUE(b.ends_with(s1)); in TEST()
557 ASSERT_TRUE(b.ends_with(b)); in TEST()
558 ASSERT_TRUE(b.ends_with(e)); in TEST()
559 ASSERT_TRUE(e.ends_with("")); in TEST()
560 ASSERT_TRUE(!a.ends_with(b)); in TEST()
561 ASSERT_TRUE(!b.ends_with(a)); in TEST()
562 ASSERT_TRUE(!e.ends_with(a)); in TEST()
[all …]
Dstring_piece.h210 bool ends_with(const BasicStringPiece& x) const { in ends_with() function
/external/libchrome/base/strings/
Dstring_piece_unittest.cc564 ASSERT_TRUE(a.ends_with(a)); in TEST()
565 ASSERT_TRUE(a.ends_with("bar")); in TEST()
566 ASSERT_TRUE(a.ends_with(e)); in TEST()
567 ASSERT_TRUE(b.ends_with(s1)); in TEST()
568 ASSERT_TRUE(b.ends_with(b)); in TEST()
569 ASSERT_TRUE(b.ends_with(e)); in TEST()
570 ASSERT_TRUE(e.ends_with("")); in TEST()
571 ASSERT_TRUE(!a.ends_with(b)); in TEST()
572 ASSERT_TRUE(!b.ends_with(a)); in TEST()
573 ASSERT_TRUE(!e.ends_with(a)); in TEST()
[all …]
Dstring_piece.h291 bool ends_with(const BasicStringPiece& x) const { in ends_with() function
/external/libchrome/base/
Dvlog.cc98 if (module.ends_with(kInlSuffix)) in GetModule()
/external/regex-re2/re2/
Dstringpiece.h110 bool ends_with(const StringPiece& x) const { in ends_with() function
/external/webrtc/webrtc/libjingle/xmpp/
Dxmppclient.cc90 rtc::ends_with(server_name.c_str(), in IsTestServer()