OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SplitPortFromHost
(Results
1 - 3
of
3
) sorted by null
/system/connectivity/shill/vpn/
openvpn_driver_unittest.cc
565
TEST_F(OpenVPNDriverTest,
SplitPortFromHost
) {
567
EXPECT_FALSE(OpenVPNDriver::
SplitPortFromHost
("", nullptr, nullptr));
568
EXPECT_FALSE(OpenVPNDriver::
SplitPortFromHost
("", &name, &port));
569
EXPECT_FALSE(OpenVPNDriver::
SplitPortFromHost
("v.com", &name, &port));
570
EXPECT_FALSE(OpenVPNDriver::
SplitPortFromHost
("v.com:", &name, &port));
571
EXPECT_FALSE(OpenVPNDriver::
SplitPortFromHost
(":1234", &name, &port));
572
EXPECT_FALSE(OpenVPNDriver::
SplitPortFromHost
("v.com:f:1234", &name, &port));
573
EXPECT_FALSE(OpenVPNDriver::
SplitPortFromHost
("v.com:x", &name, &port));
574
EXPECT_FALSE(OpenVPNDriver::
SplitPortFromHost
("v.com:-1", &name, &port));
575
EXPECT_FALSE(OpenVPNDriver::
SplitPortFromHost
("v.com:+1", &name, &port))
[
all
...]
openvpn_driver.h
164
FRIEND_TEST(OpenVPNDriverTest,
SplitPortFromHost
);
201
static bool
SplitPortFromHost
(const std::string& host,
openvpn_driver.cc
584
bool OpenVPNDriver::
SplitPortFromHost
(
624
if (
SplitPortFromHost
(vpnhost, &host_name, &host_port)) {
[
all
...]
Completed in 281 milliseconds