Home
last modified time | relevance | path

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

/external/chromium_org/third_party/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/chromium_org/tools/clang/plugins/
DChromeClassTester.cpp30 bool ends_with(const std::string& one, const std::string& two) { in ends_with() function
90 if (ends_with(base_name, "Matcher")) in CheckTag()
140 if (ends_with(filename, ".cc") || ends_with(filename, ".cpp") || in InImplementationFile()
141 ends_with(filename, ".mm")) { in InImplementationFile()
263 if (ends_with(filename, ".pb.h")) { in InBannedDirectory()
/external/chromium_org/base/strings/
Dstring_piece_unittest.cc562 ASSERT_TRUE(a.ends_with(a)); in TEST()
563 ASSERT_TRUE(a.ends_with("bar")); in TEST()
564 ASSERT_TRUE(a.ends_with(e)); in TEST()
565 ASSERT_TRUE(b.ends_with(s1)); in TEST()
566 ASSERT_TRUE(b.ends_with(b)); in TEST()
567 ASSERT_TRUE(b.ends_with(e)); in TEST()
568 ASSERT_TRUE(e.ends_with("")); in TEST()
569 ASSERT_TRUE(!a.ends_with(b)); in TEST()
570 ASSERT_TRUE(!b.ends_with(a)); in TEST()
571 ASSERT_TRUE(!e.ends_with(a)); in TEST()
[all …]
Dstring_piece.h280 bool ends_with(const BasicStringPiece& x) const { in ends_with() function
/external/chromium_org/base/
Dos_compat_android.cc125 if (!base::StringPiece(path, path_len).ends_with(kSuffix)) { in mkdtemp()
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/chromium_org/third_party/re2/re2/
Dstringpiece.h113 bool ends_with(const StringPiece& x) const { in ends_with() function
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/strings/
Dstring_piece.h119 bool ends_with(const StringPiece& x) const { in ends_with() function
/external/linux-tools-perf/perf-3.12.0/tools/perf/
Dbuiltin-script.c919 static const char *ends_with(const char *str, const char *suffix) in ends_with() function
982 str = (char *)ends_with(script_root, suffix); in get_script_root()
1215 return ends_with(script_path, "top") == NULL ? false : true; in is_top_script()
/external/chromium_org/chrome/browser/
Dio_thread.cc1274 return quic_trial_group.ends_with(kQuicFieldTrialPacingSuffix); in ShouldEnableQuicPacing()
1359 return quic_trial_group.ends_with( in ShouldEnableQuicTimeBasedLossDetection()
1412 if (!length_str.ends_with(kQuicFieldTrialPacketLengthSuffix)) { in GetQuicMaxPacketLength()
/external/chromium_org/third_party/libjingle/source/talk/xmpp/
Dxmppclient.cc107 rtc::ends_with(server_name.c_str(), in IsTestServer()
/external/chromium_org/net/cert/
Dx509_certificate.cc651 reference_host.ends_with(pattern_end)) in VerifyHostname()
/external/chromium_org/ppapi/native_client/tools/browser_tester/browserdata/
Dnacltest.js445 function ends_with(s, suffix) { function