Home
last modified time | relevance | path

Searched refs:ParseSubstring (Results 1 – 3 of 3) sorted by relevance

/system/connectivity/shill/vpn/
Dopenvpn_management_server_unittest.cc150 static string ParseSubstring( in ParseSubstring() function in shill::OpenVPNManagementServerTest
152 return OpenVPNManagementServer::ParseSubstring(message, start, end); in ParseSubstring()
380 TEST_F(OpenVPNManagementServerTest, ParseSubstring) { in TEST_F() argument
381 EXPECT_EQ("", ParseSubstring("", "'", "'")); in TEST_F()
382 EXPECT_EQ("", ParseSubstring(" ", "'", "'")); in TEST_F()
383 EXPECT_EQ("", ParseSubstring("'", "'", "'")); in TEST_F()
384 EXPECT_EQ("", ParseSubstring("''", "'", "'")); in TEST_F()
385 EXPECT_EQ("", ParseSubstring("] [", "[", "]")); in TEST_F()
386 EXPECT_EQ("", ParseSubstring("[]", "[", "]")); in TEST_F()
387 EXPECT_EQ("bar", ParseSubstring("foo['bar']zoo", "['", "']")); in TEST_F()
[all …]
Dopenvpn_management_server.cc257 string OpenVPNManagementServer::ParseSubstring(const string& message, in ParseSubstring() function in shill::OpenVPNManagementServer
277 return ParseSubstring(message, "'", "'"); in ParsePasswordTag()
283 return ParseSubstring(message, "['", "']"); in ParsePasswordFailedReason()
Dopenvpn_management_server.h129 static std::string ParseSubstring(const std::string& message,