Searched refs:StartsWith (Results 1 – 4 of 4) sorted by relevance
/system/core/base/ |
D | strings_test.cpp | 125 ASSERT_FALSE(android::base::StartsWith("", "foo")); in TEST() 126 ASSERT_TRUE(android::base::StartsWith("", "")); in TEST() 130 ASSERT_TRUE(android::base::StartsWith("foo", "")); in TEST() 131 ASSERT_TRUE(android::base::StartsWith("foo", "f")); in TEST() 132 ASSERT_TRUE(android::base::StartsWith("foo", "fo")); in TEST() 133 ASSERT_TRUE(android::base::StartsWith("foo", "foo")); in TEST() 137 ASSERT_FALSE(android::base::StartsWith("foo", "foobar")); in TEST() 141 ASSERT_FALSE(android::base::StartsWith("foobar", "oba")); in TEST() 142 ASSERT_FALSE(android::base::StartsWith("foobar", "bar")); in TEST()
|
D | strings.cpp | 102 bool StartsWith(const std::string& s, const char* prefix) { in StartsWith() function
|
D | logging.cpp | 152 if (spec.size() == 3 && StartsWith(spec, "*:")) { in InitLogging()
|
/system/core/base/include/base/ |
D | strings.h | 42 bool StartsWith(const std::string& s, const char* prefix);
|