Lines Matching refs:StartsWith
146 ASSERT_FALSE(android::base::StartsWith("", "foo")); in TEST()
147 ASSERT_TRUE(android::base::StartsWith("", "")); in TEST()
156 ASSERT_TRUE(android::base::StartsWith("foo", "")); in TEST()
157 ASSERT_TRUE(android::base::StartsWith("foo", "f")); in TEST()
158 ASSERT_TRUE(android::base::StartsWith("foo", "fo")); in TEST()
159 ASSERT_TRUE(android::base::StartsWith("foo", "foo")); in TEST()
181 ASSERT_FALSE(android::base::StartsWith("foo", "foobar")); in TEST()
190 ASSERT_FALSE(android::base::StartsWith("foobar", "oba")); in TEST()
191 ASSERT_FALSE(android::base::StartsWith("foobar", "bar")); in TEST()
202 ASSERT_FALSE(android::base::StartsWith("", 'f')); in TEST()
203 ASSERT_TRUE(android::base::StartsWith("foo", 'f')); in TEST()
204 ASSERT_FALSE(android::base::StartsWith("foo", 'o')); in TEST()
263 ASSERT_TRUE(android::base::StartsWith("hello", std::string{"hell"})); in TEST()
264 ASSERT_FALSE(android::base::StartsWith("goodbye", std::string{"hell"})); in TEST()