Searched refs:IPFromString (Results 1 – 8 of 8) sorted by relevance
/external/webrtc/webrtc/base/ |
D | win32_unittest.cc | 67 ASSERT_TRUE(IPFromString("2a00:8a00:a000:1190:0000:0001:000:252", &ipv6)); in TEST_F() 71 ASSERT_TRUE(IPFromString("0:0:0:0:0:0:0:1", &ipv6)); in TEST_F() 75 ASSERT_TRUE(IPFromString("fe80:0:0:0:2aa:ff:fe9a:4ca2", &ipv6)); in TEST_F() 79 ASSERT_TRUE(IPFromString("2a00:8a00:a000:1190:0000:0001:000:00", &ipv6)); in TEST_F() 83 ASSERT_TRUE(IPFromString("0:0:000:1190:0000:0001:000:00", &ipv6)); in TEST_F() 87 ASSERT_TRUE(IPFromString("0:1:000:1190:0000:0001:000:01", &ipv6)); in TEST_F() 91 ASSERT_TRUE(IPFromString("1234:5678:abcd:1234:5678:abcd:1234:5678", &ipv6)); in TEST_F()
|
D | ipaddress_unittest.cc | 133 if (IPFromString(kIPv4BrokenString1, &addr)) { in BrokenIPStringFails() 141 return IPFromString(mask, &addr) && in CheckMaskCount() 149 if (!IPFromString(mask, &addr)) { in TryInvalidMaskCount() 159 IPFromString(initial, &addr); in CheckTruncateIP() 160 IPFromString(expected_result, &expected); in CheckTruncateIP() 446 EXPECT_TRUE(IPFromString(kIPv4AnyAddrString, &addr)); in TEST() 451 EXPECT_TRUE(IPFromString(kIPv4LoopbackAddrString, &addr)); in TEST() 456 EXPECT_TRUE(IPFromString(kIPv4RFC1918AddrString, &addr)); in TEST() 461 EXPECT_TRUE(IPFromString(kIPv4PublicAddrString, &addr)); in TEST() 466 EXPECT_TRUE(IPFromString(kIPv6AnyAddrString, &addr)); in TEST() [all …]
|
D | network_unittest.cc | 106 IPFromString(ip_string, &ip); in CreateIpv6Addr() 337 EXPECT_TRUE(IPFromString("abcd::1234:5678:abcd:ef12", &ip)); in SetupNetworks() 338 EXPECT_TRUE(IPFromString("abcd::", &prefix)); in SetupNetworks() 343 EXPECT_TRUE(IPFromString("abcd::5678:abcd:ef12:3456", &ip)); in SetupNetworks() 348 EXPECT_TRUE(IPFromString("2401:fa00:4:1000:be30:5bff:fee5:c3", &ip)); in SetupNetworks() 353 EXPECT_TRUE(IPFromString("2400:4030:1:2c00:be30:abcd:efab:cdef", &ip)); in SetupNetworks() 399 EXPECT_TRUE(IPFromString("2401:fa01:4:1000:be30:faa:fee:faa", &ip)); in TEST_F() 472 EXPECT_TRUE(IPFromString("2401:fa01:4:1000:be30:faa:fee:faa", &ip)); in TEST_F() 480 EXPECT_TRUE(IPFromString("2401:fa01:4:1000:be30:f00:f00:f00", &changed_ip)); in TEST_F() 515 EXPECT_TRUE(IPFromString("2401:fa00:4:1000:be30:5bff:fee5:c6", &ip)); in TEST_F() [all …]
|
D | ipaddress.h | 152 bool IPFromString(const std::string& str, IPAddress* out); 153 bool IPFromString(const std::string& str, int flags,
|
D | ipaddress.cc | 253 bool IPFromString(const std::string& str, IPAddress* out) { in IPFromString() function 271 bool IPFromString(const std::string& str, int flags, in IPFromString() function 274 if (!IPFromString(str, &ip)) { in IPFromString()
|
D | socketaddress.cc | 105 literal_ = IPFromString(hostname, &ip_); in SetIP()
|
D | virtualsocket_unittest.cc | 847 IPFromString("2401:fa00:4:1000:be30:5bff:fee5:c3", &ipv6_default_addr)); in TEST_F()
|
/external/webrtc/webrtc/examples/turnserver/ |
D | turnserver_main.cc | 58 if (!IPFromString(argv[2], &ext_addr)) { in main()
|