/third_party/boost/libs/type_index/examples/ |
D | constexpr14_namespace_check.cpp | 16 constexpr bool starts_with(const char* name, const char (&ns)[N]) noexcept { in starts_with() function 36 constexpr bool starts_with(const char* name, const char (&substr)[N]) noexcept; 45 if (starts_with(name, "class ")) { in in_namespace() 47 } else if (starts_with(name, "struct ")) { in in_namespace() 51 return starts_with(name, ns) && starts_with(name + N - 1, "::"); in in_namespace()
|
/third_party/boost/libs/algorithm/string/test/ |
D | predicate_test.cpp | 36 BOOST_CHECK( starts_with( str1, string("123") ) ); in predicate_test() 37 BOOST_CHECK( !starts_with( str1, string("1234") ) ); in predicate_test() 69 BOOST_CHECK( starts_with( vec1, string("123") ) ); in predicate_test() 75 BOOST_CHECK( !starts_with( str2, string("abcd") ) ); in predicate_test() 81 BOOST_CHECK( starts_with( str2, string("abc") ) ); in predicate_test() 87 BOOST_CHECK( starts_with( str2, string("") ) ); in predicate_test() 93 BOOST_CHECK( starts_with( "123xxx321", "123" ) ); in predicate_test()
|
/third_party/skia/tests/ |
D | SkStringViewTest.cpp | 38 REPORTER_ASSERT(r, !empty.starts_with('x')); in DEF_TEST() 40 REPORTER_ASSERT(r, !empty.starts_with("x")); in DEF_TEST() 42 REPORTER_ASSERT(r, empty.starts_with("")); in DEF_TEST() 51 REPORTER_ASSERT(r, xyz.starts_with('x')); in DEF_TEST() 52 REPORTER_ASSERT(r, !xyz.starts_with('y')); in DEF_TEST() 56 REPORTER_ASSERT(r, xyz.starts_with("")); in DEF_TEST() 58 REPORTER_ASSERT(r, xyz.starts_with("x")); in DEF_TEST() 60 REPORTER_ASSERT(r, !xyz.starts_with("xa")); in DEF_TEST() 62 REPORTER_ASSERT(r, xyz.starts_with("xy")); in DEF_TEST() 64 REPORTER_ASSERT(r, xyz.starts_with("xyz")); in DEF_TEST() [all …]
|
/third_party/boost/libs/utility/test/ |
D | string_ref_test2.cpp | 49 void starts_with ( const char *arg ) { in starts_with() function 56 BOOST_TEST ( sr.starts_with ( foo )); in starts_with() 61 BOOST_TEST ( sr.starts_with ( sr2 )); in starts_with() 68 BOOST_TEST ( sr2.starts_with ( ch )); in starts_with() 69 BOOST_TEST ( !sr2.starts_with ( ++ch )); in starts_with() 70 BOOST_TEST ( sr2.starts_with ( string_ref ())); in starts_with() 312 starts_with ( *p ); in main()
|
D | string_view_test2.cpp | 53 void starts_with ( const char *arg ) { in starts_with() function 60 BOOST_TEST ( sr.starts_with ( foo )); in starts_with() 65 BOOST_TEST ( sr.starts_with ( sr2 )); in starts_with() 72 BOOST_TEST ( sr2.starts_with ( ch )); in starts_with() 73 BOOST_TEST ( !sr2.starts_with ( ++ch )); in starts_with() 74 BOOST_TEST ( sr2.starts_with ( string_view ())); in starts_with() 399 starts_with ( *p ); in main()
|
/third_party/icu/tools/unicodetools/com/ibm/rbm/ |
D | RBReporterScanner.java | 232 String starts_with; field in FileRule 236 FileRule(String name, String starts_with, String ends_with, String contains) { in FileRule() argument 238 this.starts_with = starts_with; in FileRule() 245 …if (starts_with != null && starts_with.length() > 0 && !(source.startsWith(starts_with))) accept =… in applyRule()
|
/third_party/boost/libs/process/test/ |
D | env.cpp | 67 BOOST_CHECK(boost::starts_with(s, "************** empty environment **************")); 140 BOOST_CHECK(boost::algorithm::starts_with(s, "TestString")); 175 BOOST_CHECK(boost::starts_with(s, "some_fictional_path_42;other;next")); 177 BOOST_CHECK(boost::starts_with(s, "some_fictional_path_42:other:next"));
|
D | system_test2.cpp | 62 BOOST_REQUIRE(boost::starts_with(fut.get(), "abc")); 91 BOOST_REQUIRE(boost::starts_with(
|
D | error.cpp | 69 BOOST_CHECK(boost::starts_with(se.what(), "MyMessage")); in BOOST_AUTO_TEST_CASE() 104 BOOST_CHECK(boost::starts_with(se.what(), "MyMessage")); in BOOST_AUTO_TEST_CASE()
|
D | system_test1.cpp | 79 BOOST_CHECK(boost::starts_with(
|
D | async_fut.cpp | 76 BOOST_CHECK(boost::algorithm::starts_with(line, val));
|
D | spawn.cpp | 82 BOOST_CHECK(boost::algorithm::starts_with(line, "abc")); in operator ()()
|
/third_party/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()
|
/third_party/boost/boost/algorithm/string/ |
D | predicate.hpp | 58 inline bool starts_with( in starts_with() function 92 inline bool starts_with( in starts_with() function 96 return ::boost::algorithm::starts_with(Input, Test, is_equal()); in starts_with() 118 return ::boost::algorithm::starts_with(Input, Test, is_iequal(Loc)); in istarts_with() 461 using algorithm::starts_with;
|
/third_party/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 …]
|
/third_party/boost/libs/static_string/test/ |
D | constexpr_tests.hpp | 232 a.starts_with('a'); in testConstantEvaluation() 233 a.starts_with("a"); in testConstantEvaluation() 418 a.starts_with('a'); in testConstantEvaluation() 419 a.starts_with("a"); in testConstantEvaluation() 590 a.starts_with('a'); in testConstantEvaluation() 591 a.starts_with("a"); in testConstantEvaluation()
|
/third_party/boost/libs/format/test/ |
D | format_test2.cpp | 135 BOOST_TEST(boost::starts_with((boost::format("%A") % dbl).str(), "0X")); in main() 136 BOOST_TEST(boost::starts_with((boost::format("%a") % dbl).str(), "0x")); in main() 155 BOOST_TEST(boost::starts_with((boost::format("%Lf") % value).str(), "456")); in main()
|
/third_party/skia/include/private/ |
D | SkSLString.h | 37 bool starts_with(const char prefix[]) const { in starts_with() function 38 return skstd::string_view(data(), size()).starts_with(prefix); in starts_with()
|
/third_party/python/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))
|
/third_party/skia/include/core/ |
D | SkStringView.h | 82 constexpr bool starts_with(string_view s) const { in starts_with() function 89 constexpr bool starts_with(value_type c) const { in starts_with() function
|
/third_party/boost/libs/algorithm/string/example/ |
D | predicate_example.cpp | 28 (starts_with( str1, string("123") )?"true":"false") << endl; in main()
|
/third_party/skia/src/sksl/ |
D | SkSLMangler.cpp | 17 if (baseName.starts_with("_")) { in uniqueName()
|
/third_party/grpc/test/cpp/end2end/ |
D | client_interceptors_end2end_test.cc | 114 found = pair.first.starts_with("testkey") && in Intercept() 115 pair.second.starts_with("testvalue"); in Intercept() 234 found = pair.first.starts_with("testkey") && in Intercept() 235 pair.second.starts_with("testvalue"); in Intercept() 449 found = pair.first.starts_with("testkey") && in Intercept() 450 pair.second.starts_with("testvalue"); in Intercept() 597 found = pair.first.starts_with("testkey") && in Intercept() 598 pair.second.starts_with("testvalue"); in Intercept()
|
D | interceptors_util.cc | 181 if (pair.first.starts_with(key) && pair.second.starts_with(value)) { in CheckMetadata()
|
/third_party/boost/libs/geometry/test/io/wkt/ |
D | wkt.cpp | 127 && boost::starts_with(start, "bad lexical cast")) in test_wrong_wkt() 135 BOOST_CHECK_MESSAGE(boost::starts_with(e, start), " Expected:" in test_wrong_wkt()
|