Searched refs:StartsWithIgnoreCase (Results 1 – 3 of 3) sorted by relevance
/system/libbase/ |
D | strings_test.cpp | 151 ASSERT_FALSE(android::base::StartsWithIgnoreCase("", "foo")); in TEST() 152 ASSERT_TRUE(android::base::StartsWithIgnoreCase("", "")); in TEST() 163 ASSERT_TRUE(android::base::StartsWithIgnoreCase("foo", "")); in TEST() 164 ASSERT_TRUE(android::base::StartsWithIgnoreCase("foo", "f")); in TEST() 165 ASSERT_TRUE(android::base::StartsWithIgnoreCase("foo", "F")); in TEST() 166 ASSERT_TRUE(android::base::StartsWithIgnoreCase("foo", "fo")); in TEST() 167 ASSERT_TRUE(android::base::StartsWithIgnoreCase("foo", "fO")); in TEST() 168 ASSERT_TRUE(android::base::StartsWithIgnoreCase("foo", "Fo")); in TEST() 169 ASSERT_TRUE(android::base::StartsWithIgnoreCase("foo", "FO")); in TEST() 170 ASSERT_TRUE(android::base::StartsWithIgnoreCase("foo", "foo")); in TEST() [all …]
|
D | strings.cpp | 98 bool StartsWithIgnoreCase(std::string_view s, std::string_view prefix) { in StartsWithIgnoreCase() function
|
/system/libbase/include/android-base/ |
D | strings.h | 62 bool StartsWithIgnoreCase(std::string_view s, std::string_view prefix);
|