Home
last modified time | relevance | path

Searched refs:StartsWith (Results 1 – 5 of 5) sorted by relevance

/development/vndk/tools/header-checker/src/utils/
Dstring_utils_test.cpp33 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()
Dstring_utils.h29 bool StartsWith(std::string_view s, std::string_view prefix);
Dstring_utils.cpp41 bool StartsWith(std::string_view s, std::string_view prefix) { in StartsWith() function
/development/vndk/tools/header-checker/src/repr/symbol/
Dversion_script_parser.cpp96 if (utils::StartsWith(tag, "introduced=")) { in ParseSymbolTags()
110 if (utils::StartsWith(tag, introduced_arch_tag_)) { in ParseSymbolTags()
232 if (utils::StartsWith(line, "local:")) { in ParseVersionBlock()
236 if (utils::StartsWith(line, "global:")) { in ParseVersionBlock()
Dexported_symbol_set.cpp30 return utils::StartsWith(name, "_Z"); in IsCppSymbol()