Searched refs:StartsWith (Results 1 – 5 of 5) sorted by relevance
/development/vndk/tools/header-checker/src/utils/ |
D | string_utils_test.cpp | 33 TEST(StringUtilsTest, StartsWith) { in TEST() argument 34 EXPECT_TRUE(StartsWith("abcd", "ab")); in TEST() 35 EXPECT_TRUE(StartsWith("a", "a")); in TEST() 36 EXPECT_TRUE(StartsWith("a", "")); in TEST() 37 EXPECT_TRUE(StartsWith("", "")); in TEST() 39 EXPECT_FALSE(StartsWith("ab", "abcd")); in TEST() 40 EXPECT_FALSE(StartsWith("", "ab")); in TEST()
|
D | string_utils.h | 30 bool StartsWith(std::string_view s, std::string_view prefix);
|
D | string_utils.cpp | 43 bool StartsWith(std::string_view s, std::string_view prefix) { in StartsWith() function
|
/development/vndk/tools/header-checker/src/repr/symbol/ |
D | version_script_parser.cpp | 98 if (utils::StartsWith(tag, "introduced=")) { in ParseSymbolTags() 112 if (utils::StartsWith(tag, introduced_arch_tag_)) { in ParseSymbolTags() 234 if (utils::StartsWith(line, "local:")) { in ParseVersionBlock() 238 if (utils::StartsWith(line, "global:")) { in ParseVersionBlock()
|
D | exported_symbol_set.cpp | 30 return utils::StartsWith(name, "_Z"); in IsCppSymbol()
|