/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
|
/external/v8/tools/clang/plugins/ |
D | ChromeClassTester.cpp | 28 bool ends_with(const std::string& one, const std::string& two) { in ends_with() function 69 if (ends_with(base_name, "Matcher")) in CheckTag() 119 if (ends_with(filename, ".pb.h")) { in InBannedDirectory() 222 if (ends_with(filename, ".cc") || ends_with(filename, ".cpp") || in InImplementationFile() 223 ends_with(filename, ".mm")) { in InImplementationFile()
|
/external/python/cpython3/Lib/test/ |
D | test_module.py | 212 ends_with = "__init__.py'>" 215 self.assertEqual(r[-len(ends_with):], ends_with, 216 '{!r} does not end with {!r}'.format(r, ends_with))
|
/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 …]
|
/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 …]
|
/external/tensorflow/tensorflow/examples/label_image/ |
D | main.cc | 140 if (tensorflow::StringPiece(file_name).ends_with(".png")) { in ReadTensorFromImageFile() 143 } else if (tensorflow::StringPiece(file_name).ends_with(".gif")) { in ReadTensorFromImageFile() 148 } else if (tensorflow::StringPiece(file_name).ends_with(".bmp")) { in ReadTensorFromImageFile()
|
/external/tensorflow/tensorflow/stream_executor/lib/ |
D | str_util.h | 32 if (str.ends_with(suffix)) { in StripSuffixString()
|
/external/tensorflow/tensorflow/examples/multibox_detector/ |
D | main.cc | 87 if (tensorflow::StringPiece(file_name).ends_with(".png")) { in ReadTensorFromImageFile() 90 } else if (tensorflow::StringPiece(file_name).ends_with(".gif")) { in ReadTensorFromImageFile() 134 CHECK(tensorflow::StringPiece(file_path).ends_with(".png")) in SaveImage()
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | transform_graph_test.cc | 117 if (name.ends_with("expect_removed")) { in TestConstantFolding() 120 if (name.ends_with("expect_remains")) { in TestConstantFolding()
|
/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/libchrome/base/ |
D | os_compat_android.cc | 126 if (!base::StringPiece(path, path_len).ends_with(kSuffix)) { in mkdtemp()
|
D | vlog.cc | 98 if (module.ends_with(kInlSuffix)) in GetModule()
|
/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 589 bool ends_with(basic_string_view __s) const _NOEXCEPT 593 bool ends_with(value_type __c) const _NOEXCEPT 597 bool ends_with(const value_type* __s) const _NOEXCEPT 598 { return ends_with(basic_string_view(__s)); }
|
/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/python/cpython2/Lib/plat-mac/lib-scriptpackages/SystemEvents/ |
D | Standard_Suite.py | 518 class ends_with(aetools.NComparison): class 577 'ends' : ends_with,
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | util.cc | 247 if (sp.ends_with("B") || // Ends in 'B', ignoring case in HumanReadableNumOps() 248 sp.ends_with("b")) { in HumanReadableNumOps()
|
/external/tensorflow/tensorflow/compiler/aot/ |
D | tfcompile_main.cc | 58 if (StringPiece(fname).ends_with(".pbtxt")) { in ReadProtoFile()
|
/external/tensorflow/tensorflow/core/framework/ |
D | types.cc | 117 if (sp.ends_with("_ref")) { in DataTypeFromString()
|