/external/libcxx/test/std/strings/string.view/string.view.template/ |
D | ends_with.ptr.pass.cpp | 34 LIBCPP_ASSERT_NOEXCEPT(sv0.ends_with("")); in main() 36 assert ( sv0.ends_with("")); in main() 37 assert (!sv0.ends_with("e")); in main() 39 assert ( sv1.ends_with("")); in main() 40 assert ( sv1.ends_with("e")); in main() 41 assert (!sv1.ends_with("de")); in main() 42 assert (!sv1.ends_with("cde")); in main() 43 assert (!sv1.ends_with("bcde")); in main() 44 assert (!sv1.ends_with("abcde")); in main() 45 assert (!sv1.ends_with("def")); in main() [all …]
|
D | ends_with.string_view.pass.cpp | 34 ASSERT_NOEXCEPT(sv0.ends_with(sv0)); in main() 36 assert ( sv0.ends_with(sv0)); in main() 37 assert (!sv0.ends_with(sv1)); in main() 39 assert ( sv1.ends_with(sv0)); in main() 40 assert ( sv1.ends_with(sv1)); in main() 41 assert (!sv1.ends_with(sv2)); in main() 42 assert (!sv1.ends_with(sv3)); in main() 43 assert (!sv1.ends_with(sv4)); in main() 44 assert (!sv1.ends_with(sv5)); in main() 45 assert (!sv1.ends_with(svNot)); in main() [all …]
|
D | ends_with.char.pass.cpp | 28 ASSERT_NOEXCEPT(sv1.ends_with('e')); in main() 30 assert (!sv1.ends_with('e')); in main() 31 assert (!sv1.ends_with('x')); in main() 32 assert ( sv2.ends_with('e')); in main() 33 assert (!sv2.ends_with('x')); in main() 41 static_assert (!sv1.ends_with('e'), "" ); in main() 42 static_assert (!sv1.ends_with('x'), "" ); in main() 43 static_assert ( sv2.ends_with('e'), "" ); in main() 44 static_assert (!sv2.ends_with('x'), "" ); in main()
|
/external/libcxx/test/std/strings/basic.string/string.ends_with/ |
D | ends_with.ptr.pass.cpp | 34 LIBCPP_ASSERT_NOEXCEPT(s0.ends_with("")); in main() 36 assert ( s0.ends_with("")); in main() 37 assert (!s0.ends_with("e")); in main() 39 assert ( s1.ends_with("")); in main() 40 assert ( s1.ends_with("e")); in main() 41 assert (!s1.ends_with("de")); in main() 42 assert (!s1.ends_with("cde")); in main() 43 assert (!s1.ends_with("bcde")); in main() 44 assert (!s1.ends_with("abcde")); in main() 45 assert (!s1.ends_with("def")); in main() [all …]
|
D | ends_with.string_view.pass.cpp | 43 ASSERT_NOEXCEPT(s0.ends_with(sv0)); in main() 45 assert ( s0.ends_with(sv0)); in main() 46 assert (!s0.ends_with(sv1)); in main() 48 assert ( s1.ends_with(sv0)); in main() 49 assert ( s1.ends_with(sv1)); in main() 50 assert (!s1.ends_with(sv2)); in main() 51 assert (!s1.ends_with(sv3)); in main() 52 assert (!s1.ends_with(sv4)); in main() 53 assert (!s1.ends_with(sv5)); in main() 54 assert (!s1.ends_with(svNot)); in main() [all …]
|
D | ends_with.char.pass.cpp | 27 ASSERT_NOEXCEPT(s1.ends_with('e')); in main() 29 assert (!s1.ends_with('e')); in main() 30 assert (!s1.ends_with('x')); in main() 31 assert ( s2.ends_with('e')); in main() 32 assert (!s2.ends_with('x')); in main()
|
/external/webrtc/webrtc/base/ |
D | stringutils_unittest.cc | 100 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()
|
D | stringutils.cc | 108 bool ends_with(const char *s1, const char *s2) { in ends_with() function
|
D | stringutils.h | 311 bool ends_with(const char *s1, const char *s2);
|
/external/v8/tools/clang/plugins/ |
D | ChromeClassTester.cpp | 29 bool ends_with(const std::string& one, const std::string& two) { in ends_with() function 67 if (!options_.check_gmock_objects && ends_with(base_name, "Matcher")) in CheckTag() 148 if (ends_with(filename, ".cc") || ends_with(filename, ".cpp") || in InImplementationFile() 149 ends_with(filename, ".mm")) { in InImplementationFile()
|
/external/libchrome/base/strings/ |
D | string_piece_unittest.cc | 572 ASSERT_TRUE(a.ends_with(a)); in TEST() 573 ASSERT_TRUE(a.ends_with("bar")); in TEST() 574 ASSERT_TRUE(a.ends_with(e)); in TEST() 575 ASSERT_TRUE(b.ends_with(s1)); in TEST() 576 ASSERT_TRUE(b.ends_with(b)); in TEST() 577 ASSERT_TRUE(b.ends_with(e)); in TEST() 578 ASSERT_TRUE(e.ends_with("")); in TEST() 579 ASSERT_TRUE(!a.ends_with(b)); in TEST() 580 ASSERT_TRUE(!b.ends_with(a)); in TEST() 581 ASSERT_TRUE(!e.ends_with(a)); in TEST() [all …]
|
D | string_piece.h | 304 constexpr bool ends_with(BasicStringPiece x) const noexcept { in ends_with() function
|
/external/grpc-grpc/test/cpp/util/ |
D | string_ref_test.cc | 145 EXPECT_TRUE(s1.ends_with(s1)); in TEST_F() 146 EXPECT_FALSE(s1.ends_with(s2)); in TEST_F() 147 EXPECT_FALSE(s2.ends_with(s1)); in TEST_F() 148 EXPECT_FALSE(s2.ends_with(s3)); in TEST_F() 149 EXPECT_TRUE(s3.ends_with(s2)); in TEST_F()
|
/external/protobuf/src/google/protobuf/stubs/ |
D | stringpiece_unittest.cc | 619 EXPECT_TRUE(a.ends_with(a)); in TEST() 620 EXPECT_TRUE(a.ends_with("bar")); in TEST() 621 EXPECT_TRUE(a.ends_with(e)); in TEST() 622 EXPECT_TRUE(b.ends_with(s1)); in TEST() 623 EXPECT_TRUE(b.ends_with(b)); in TEST() 624 EXPECT_TRUE(b.ends_with(e)); in TEST() 625 EXPECT_TRUE(e.ends_with("")); in TEST() 626 EXPECT_TRUE(!a.ends_with(b)); in TEST() 627 EXPECT_TRUE(!b.ends_with(a)); in TEST() 628 EXPECT_TRUE(!e.ends_with(a)); in TEST() [all …]
|
D | stringpiece.cc | 83 if (ends_with(x)) { in ConsumeFromEnd()
|
D | stringpiece.h | 335 bool ends_with(StringPiece x) const { in ends_with() function
|
/external/python/cpython3/Lib/test/ |
D | test_module.py | 263 ends_with = "__init__.py'>" 266 self.assertEqual(r[-len(ends_with):], ends_with, 267 '{!r} does not end with {!r}'.format(r, ends_with))
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | datapiece.cc | 332 StringPiece src_no_padding(src, 0, src.ends_with("=") in DecodeBase64() 346 StringPiece src_no_padding(src, 0, src.ends_with("=") in DecodeBase64()
|
/external/libcxx/include/ |
D | string_view | 149 constexpr bool ends_with(basic_string_view s) const noexcept; // C++2a 150 constexpr bool ends_with(charT c) const noexcept; // C++2a 151 constexpr bool ends_with(const charT* s) const; // C++2a 592 bool ends_with(basic_string_view __s) const _NOEXCEPT 596 bool ends_with(value_type __c) const _NOEXCEPT 600 bool ends_with(const value_type* __s) const _NOEXCEPT 601 { return ends_with(basic_string_view(__s)); }
|
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/SystemEvents/ |
D | Standard_Suite.py | 518 class ends_with(aetools.NComparison): class 577 'ends' : ends_with,
|
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/Terminal/ |
D | Standard_Suite.py | 518 class ends_with(aetools.NComparison): class 577 'ends' : ends_with,
|
/external/libchrome/base/ |
D | vlog.cc | 98 if (module.ends_with(kInlSuffix)) in GetModule()
|
/external/grpc-grpc/include/grpcpp/impl/codegen/ |
D | string_ref.h | 106 bool ends_with(string_ref x) const { in ends_with() function
|
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/StdSuites/ |
D | Standard_Suite.py | 650 class ends_with(aetools.NComparison): class 731 'ends' : ends_with,
|
/external/webrtc/webrtc/libjingle/xmpp/ |
D | xmppclient.cc | 90 rtc::ends_with(server_name.c_str(), in IsTestServer()
|