Searched refs:ParsePortRange (Results 1 – 4 of 4) sorted by relevance
/external/chromium_org/remoting/protocol/ |
D | network_settings_unittest.cc | 12 TEST(ParsePortRange, Basic) { in TEST() argument 16 EXPECT_TRUE(NetworkSettings::ParsePortRange("1-65535", &min, &max)); in TEST() 20 EXPECT_TRUE(NetworkSettings::ParsePortRange(" 1 - 65535 ", &min, &max)); in TEST() 24 EXPECT_TRUE(NetworkSettings::ParsePortRange("12400-12400", &min, &max)); in TEST() 29 EXPECT_FALSE(NetworkSettings::ParsePortRange("", &min, &max)); in TEST() 30 EXPECT_FALSE(NetworkSettings::ParsePortRange("-65535", &min, &max)); in TEST() 31 EXPECT_FALSE(NetworkSettings::ParsePortRange("1-", &min, &max)); in TEST() 32 EXPECT_FALSE(NetworkSettings::ParsePortRange("-", &min, &max)); in TEST() 33 EXPECT_FALSE(NetworkSettings::ParsePortRange("-1-65535", &min, &max)); in TEST() 34 EXPECT_FALSE(NetworkSettings::ParsePortRange("1--65535", &min, &max)); in TEST() [all …]
|
D | network_settings.h | 61 static bool ParsePortRange(const std::string& port_range,
|
D | network_settings.cc | 17 bool NetworkSettings::ParsePortRange(const std::string& port_range, in ParsePortRange() function in remoting::protocol::NetworkSettings
|
/external/chromium_org/remoting/host/ |
D | remoting_me2me_host.cc | 1072 !NetworkSettings::ParsePortRange(udp_port_range, &min_udp_port, in OnUdpPortPolicyUpdate()
|