OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ParseSubstring
(Results
1 - 3
of
3
) sorted by null
/system/connectivity/shill/vpn/
openvpn_management_server_unittest.cc
150
static string
ParseSubstring
(
152
return OpenVPNManagementServer::
ParseSubstring
(message, start, end);
380
TEST_F(OpenVPNManagementServerTest,
ParseSubstring
) {
381
EXPECT_EQ("",
ParseSubstring
("", "'", "'"));
382
EXPECT_EQ("",
ParseSubstring
(" ", "'", "'"));
383
EXPECT_EQ("",
ParseSubstring
("'", "'", "'"));
384
EXPECT_EQ("",
ParseSubstring
("''", "'", "'"));
385
EXPECT_EQ("",
ParseSubstring
("] [", "[", "]"));
386
EXPECT_EQ("",
ParseSubstring
("[]", "[", "]"));
387
EXPECT_EQ("bar",
ParseSubstring
("foo['bar']zoo", "['", "']"))
[
all
...]
openvpn_management_server.cc
257
string OpenVPNManagementServer::
ParseSubstring
(const string& message,
277
return
ParseSubstring
(message, "'", "'");
283
return
ParseSubstring
(message, "['", "']");
openvpn_management_server.h
129
static std::string
ParseSubstring
(const std::string& message,
Completed in 78 milliseconds