Searched refs:ParseSubstring (Results 1 – 3 of 3) sorted by relevance
/system/connectivity/shill/vpn/ |
D | openvpn_management_server_unittest.cc | 150 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 …]
|
D | openvpn_management_server.cc | 257 string OpenVPNManagementServer::ParseSubstring(const string& message, in ParseSubstring() function in shill::OpenVPNManagementServer 277 return ParseSubstring(message, "'", "'"); in ParsePasswordTag() 283 return ParseSubstring(message, "['", "']"); in ParsePasswordFailedReason()
|
D | openvpn_management_server.h | 129 static std::string ParseSubstring(const std::string& message,
|