Lines Matching refs:StartsWith
208 ASSERT_FALSE(android::base::StartsWith("", "foo")); in TEST()
209 ASSERT_TRUE(android::base::StartsWith("", "")); in TEST()
218 ASSERT_TRUE(android::base::StartsWith("foo", "")); in TEST()
219 ASSERT_TRUE(android::base::StartsWith("foo", "f")); in TEST()
220 ASSERT_TRUE(android::base::StartsWith("foo", "fo")); in TEST()
221 ASSERT_TRUE(android::base::StartsWith("foo", "foo")); in TEST()
243 ASSERT_FALSE(android::base::StartsWith("foo", "foobar")); in TEST()
252 ASSERT_FALSE(android::base::StartsWith("foobar", "oba")); in TEST()
253 ASSERT_FALSE(android::base::StartsWith("foobar", "bar")); in TEST()
264 ASSERT_FALSE(android::base::StartsWith("", 'f')); in TEST()
265 ASSERT_TRUE(android::base::StartsWith("foo", 'f')); in TEST()
266 ASSERT_FALSE(android::base::StartsWith("foo", 'o')); in TEST()
325 ASSERT_TRUE(android::base::StartsWith("hello", std::string{"hell"})); in TEST()
326 ASSERT_FALSE(android::base::StartsWith("goodbye", std::string{"hell"})); in TEST()