Searched refs:SetAddressAndPrefixFromString (Results 1 – 7 of 7) sorted by relevance
172 TEST_F(IPAddressTest, SetAddressAndPrefixFromString) { in TEST_F() argument176 EXPECT_FALSE(address.SetAddressAndPrefixFromString("")); in TEST_F()177 EXPECT_FALSE(address.SetAddressAndPrefixFromString(kString1)); in TEST_F()178 EXPECT_FALSE(address.SetAddressAndPrefixFromString(kString1 + "/")); in TEST_F()179 EXPECT_FALSE(address.SetAddressAndPrefixFromString(kString1 + "/10x")); in TEST_F()180 EXPECT_FALSE(address.SetAddressAndPrefixFromString(kString2 + "/10")); in TEST_F()181 EXPECT_TRUE(address.SetAddressAndPrefixFromString(kString1 + "/0")); in TEST_F()183 EXPECT_TRUE(address.SetAddressAndPrefixFromString(kString1 + "/32")); in TEST_F()185 EXPECT_FALSE(address.SetAddressAndPrefixFromString(kString1 + "/33")); in TEST_F()186 EXPECT_FALSE(address.SetAddressAndPrefixFromString(kString1 + "/-1")); in TEST_F()[all …]
112 bool SetAddressAndPrefixFromString(const std::string& address_string);
213 bool IPAddress::SetAddressAndPrefixFromString(const string& address_string) { in SetAddressAndPrefixFromString() function in shill::IPAddress
247 if (!address.SetAddressAndPrefixFromString(*value)) { in ProcessIPArrayCIDR()353 address.SetAddressAndPrefixFromString(ip_properties_.exclusion_list[0]); in SetParameters()377 ip_address.SetAddressAndPrefixFromString(*value); in SetParameters()
190 if (!trusted_ip.SetAddressAndPrefixFromString(first_excluded_ip)) { in UpdateFromIPConfig()430 if (!entry.dst.SetAddressAndPrefixFromString(*excluded_ip) || in PinPendingRoutes()
369 EXPECT_TRUE(address1.SetAddressAndPrefixFromString(kExcludeAddress1)); in TEST_F()370 EXPECT_TRUE(address2.SetAddressAndPrefixFromString(kExcludeAddress2)); in TEST_F()808 ASSERT_TRUE(trusted_ip.SetAddressAndPrefixFromString(kTrustedIP)); in TEST_F()914 ASSERT_TRUE(trusted_ip.SetAddressAndPrefixFromString( in TEST_F()
294 if (!destination.SetAddressAndPrefixFromString( in ParseClasslessStaticRoutes()