Searched refs:Trim (Results 1 – 5 of 5) sorted by relevance
24 TEST(StringUtilsTest, Trim) { in TEST() argument25 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()
76 std::string_view key = Trim(line.substr(0, pos)); in ParseLine()77 std::string_view value = Trim(line.substr(pos + 1)); in ParseLine()
28 std::string_view Trim(std::string_view s);
30 std::string_view Trim(std::string_view s) { in Trim() function
173 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()