/external/libcxx/test/std/strings/string.view/string.view.template/ |
D | starts_with.ptr.pass.cpp | 34 LIBCPP_ASSERT_NOEXCEPT(sv0.starts_with("")); in main() 36 assert ( sv0.starts_with("")); in main() 37 assert (!sv0.starts_with("a")); in main() 39 assert ( sv1.starts_with("")); in main() 40 assert ( sv1.starts_with("a")); in main() 41 assert (!sv1.starts_with("ab")); in main() 42 assert (!sv1.starts_with("abc")); in main() 43 assert (!sv1.starts_with("abcd")); in main() 44 assert (!sv1.starts_with("abcde")); in main() 45 assert (!sv1.starts_with("def")); in main() [all …]
|
D | starts_with.string_view.pass.cpp | 34 ASSERT_NOEXCEPT(sv0.starts_with(sv0)); in main() 36 assert ( sv0.starts_with(sv0)); in main() 37 assert (!sv0.starts_with(sv1)); in main() 39 assert ( sv1.starts_with(sv0)); in main() 40 assert ( sv1.starts_with(sv1)); in main() 41 assert (!sv1.starts_with(sv2)); in main() 42 assert (!sv1.starts_with(sv3)); in main() 43 assert (!sv1.starts_with(sv4)); in main() 44 assert (!sv1.starts_with(sv5)); in main() 45 assert (!sv1.starts_with(svNot)); in main() [all …]
|
D | starts_with.char.pass.cpp | 28 ASSERT_NOEXCEPT(sv1.starts_with('e')); in main() 30 assert (!sv1.starts_with('a')); in main() 31 assert (!sv1.starts_with('x')); in main() 32 assert ( sv2.starts_with('a')); in main() 33 assert (!sv2.starts_with('x')); in main() 41 static_assert (!sv1.starts_with('a'), "" ); in main() 42 static_assert (!sv1.starts_with('x'), "" ); in main() 43 static_assert ( sv2.starts_with('a'), "" ); in main() 44 static_assert (!sv2.starts_with('x'), "" ); in main()
|
/external/libcxx/test/std/strings/basic.string/string.starts_with/ |
D | starts_with.ptr.pass.cpp | 33 LIBCPP_ASSERT_NOEXCEPT(s0.starts_with("")); in main() 35 assert ( s0.starts_with("")); in main() 36 assert (!s0.starts_with("a")); in main() 38 assert ( s1.starts_with("")); in main() 39 assert ( s1.starts_with("a")); in main() 40 assert (!s1.starts_with("ab")); in main() 41 assert (!s1.starts_with("abc")); in main() 42 assert (!s1.starts_with("abcd")); in main() 43 assert (!s1.starts_with("abcde")); in main() 44 assert (!s1.starts_with("def")); in main() [all …]
|
D | starts_with.string_view.pass.cpp | 43 ASSERT_NOEXCEPT(s0.starts_with(sv0)); in main() 45 assert ( s0.starts_with(sv0)); in main() 46 assert (!s0.starts_with(sv1)); in main() 48 assert ( s1.starts_with(sv0)); in main() 49 assert ( s1.starts_with(sv1)); in main() 50 assert (!s1.starts_with(sv2)); in main() 51 assert (!s1.starts_with(sv3)); in main() 52 assert (!s1.starts_with(sv4)); in main() 53 assert (!s1.starts_with(sv5)); in main() 54 assert (!s1.starts_with(svNot)); in main() [all …]
|
D | starts_with.char.pass.cpp | 27 ASSERT_NOEXCEPT(s1.starts_with('e')); in main() 29 assert (!s1.starts_with('a')); in main() 30 assert (!s1.starts_with('x')); in main() 31 assert ( s2.starts_with('a')); in main() 32 assert (!s2.starts_with('x')); in main()
|
/external/webrtc/webrtc/base/ |
D | stringutils_unittest.cc | 90 EXPECT_TRUE(starts_with("foobar", "foo")); in TEST() 91 EXPECT_TRUE(starts_with("foobar", "foobar")); in TEST() 92 EXPECT_TRUE(starts_with("foobar", "")); in TEST() 93 EXPECT_TRUE(starts_with("", "")); in TEST() 94 EXPECT_FALSE(starts_with("foobar", "bar")); in TEST() 95 EXPECT_FALSE(starts_with("foobar", "foobarbaz")); in TEST() 96 EXPECT_FALSE(starts_with("", "f")); in TEST()
|
D | stringutils.cc | 104 bool starts_with(const char *s1, const char *s2) { in starts_with() function
|
D | stringutils.h | 308 bool starts_with(const char *s1, const char *s2);
|
/external/libchrome/base/strings/ |
D | string_piece_unittest.cc | 560 ASSERT_TRUE(a.starts_with(a)); in TEST() 561 ASSERT_TRUE(a.starts_with("foo")); in TEST() 562 ASSERT_TRUE(a.starts_with(e)); in TEST() 563 ASSERT_TRUE(b.starts_with(s1)); in TEST() 564 ASSERT_TRUE(b.starts_with(b)); in TEST() 565 ASSERT_TRUE(b.starts_with(e)); in TEST() 566 ASSERT_TRUE(e.starts_with("")); in TEST() 567 ASSERT_TRUE(!a.starts_with(b)); in TEST() 568 ASSERT_TRUE(!b.starts_with(a)); in TEST() 569 ASSERT_TRUE(!e.starts_with(a)); in TEST() [all …]
|
/external/grpc-grpc/test/cpp/util/ |
D | string_ref_test.cc | 134 EXPECT_TRUE(s1.starts_with(s1)); in TEST_F() 135 EXPECT_FALSE(s1.starts_with(s2)); in TEST_F() 136 EXPECT_FALSE(s2.starts_with(s1)); in TEST_F() 137 EXPECT_FALSE(s1.starts_with(s3)); in TEST_F() 138 EXPECT_TRUE(s3.starts_with(s1)); in TEST_F()
|
/external/protobuf/src/google/protobuf/stubs/ |
D | stringpiece_unittest.cc | 607 EXPECT_TRUE(a.starts_with(a)); in TEST() 608 EXPECT_TRUE(a.starts_with("foo")); in TEST() 609 EXPECT_TRUE(a.starts_with(e)); in TEST() 610 EXPECT_TRUE(b.starts_with(s1)); in TEST() 611 EXPECT_TRUE(b.starts_with(b)); in TEST() 612 EXPECT_TRUE(b.starts_with(e)); in TEST() 613 EXPECT_TRUE(e.starts_with("")); in TEST() 614 EXPECT_TRUE(!a.starts_with(b)); in TEST() 615 EXPECT_TRUE(!b.starts_with(a)); in TEST() 616 EXPECT_TRUE(!e.starts_with(a)); in TEST() [all …]
|
D | stringpiece.cc | 74 if (starts_with(x)) { in Consume()
|
/external/python/cpython3/Lib/test/ |
D | test_module.py | 262 starts_with = "<module 'unittest' from '" 264 self.assertEqual(r[:len(starts_with)], starts_with, 265 '{!r} does not start with {!r}'.format(r, starts_with))
|
/external/catch2/misc/ |
D | coverage-helper.cpp | 53 bool starts_with(std::string const& str, std::string const& pref) { in starts_with() function 58 assert(starts_with(arg, logfile_prefix) && "Attempting to parse incorrect arg!"); in parse_log_file_arg()
|
/external/webrtc/talk/media/devices/ |
D | yuvframescapturer.h | 61 return rtc::starts_with(device.id.c_str(), kYuvFrameDeviceName); in IsYuvFramesCapturerDevice()
|
D | filevideocapturer.h | 88 return rtc::starts_with(device.id.c_str(), kVideoFileDevicePrefix); in IsFileVideoCapturerDevice()
|
/external/libcxx/include/ |
D | string_view | 146 constexpr bool starts_with(basic_string_view s) const noexcept; // C++2a 147 constexpr bool starts_with(charT c) const noexcept; // C++2a 148 constexpr bool starts_with(const charT* s) const; // C++2a 580 bool starts_with(basic_string_view __s) const _NOEXCEPT 584 bool starts_with(value_type __c) const _NOEXCEPT 588 bool starts_with(const value_type* __s) const _NOEXCEPT 589 { return starts_with(basic_string_view(__s)); }
|
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/Terminal/ |
D | Standard_Suite.py | 520 class starts_with(aetools.NComparison): class 575 'bgwt' : starts_with,
|
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/SystemEvents/ |
D | Standard_Suite.py | 520 class starts_with(aetools.NComparison): class 575 'bgwt' : starts_with,
|
/external/pcre/pcrecpp/include/ |
D | pcre_stringpiece.h | 151 bool starts_with(const StringPiece& x) const { in starts_with() function
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | field_mask_utility.cc | 61 if (segment.starts_with("[\"")) { in AppendPathSegmentToPrefix()
|
/external/grpc-grpc/include/grpcpp/impl/codegen/ |
D | string_ref.h | 102 bool starts_with(string_ref x) const { in starts_with() function
|
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/StdSuites/ |
D | Standard_Suite.py | 652 class starts_with(aetools.NComparison): class 729 'bgwt' : starts_with,
|
/external/libchrome/base/test/ |
D | scoped_feature_list.cc | 39 if (feature_name.starts_with("*")) in GetFeatureName()
|