Home
last modified time | relevance | path

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

/development/vndk/tools/header-checker/src/utils/
Dstring_utils_test.cpp24 TEST(StringUtilsTest, Trim) { in TEST() argument
25 EXPECT_EQ("a b", Trim(" a b ")); in TEST()
26 EXPECT_EQ("a b", Trim(" a b")); in TEST()
27 EXPECT_EQ("a b", Trim("a b ")); in TEST()
28 EXPECT_EQ("a b", Trim("a b")); in TEST()
29 EXPECT_EQ("a b", Trim("\ta b\n")); in TEST()
Dconfig_file.cpp76 std::string_view key = Trim(line.substr(0, pos)); in ParseLine()
77 std::string_view value = Trim(line.substr(pos + 1)); in ParseLine()
Dstring_utils.h28 std::string_view Trim(std::string_view s);
Dstring_utils.cpp30 std::string_view Trim(std::string_view s) { in Trim() function
/development/vndk/tools/header-checker/src/repr/symbol/
Dversion_script_parser.cpp173 std::string symbol(utils::Trim(line.substr(0, pos))); in ParseSymbolLine()
279 std::string version(utils::Trim(line.substr(0, lparen_pos - 1))); in Parse()
295 line = std::string(utils::Trim(line)); in ReadLine()