/external/chromium/net/socket/ |
tcp_server_socket_unittest.cc | 37 IPAddressNumber ip_number; local 38 bool rv = ParseIPLiteralToNumber(ip_str, &ip_number); 41 *address = IPEndPoint(ip_number, port);
|
transport_client_socket_pool_unittest.cc | 400 IPAddressNumber ip_number; local 401 ASSERT_TRUE(ParseIPLiteralToNumber("192.168.1.1", &ip_number)); 402 AddressList addrlist_v4_1(ip_number, 80, false); 403 ASSERT_TRUE(ParseIPLiteralToNumber("192.168.1.2", &ip_number)); 404 AddressList addrlist_v4_2(ip_number, 80, false); 405 ASSERT_TRUE(ParseIPLiteralToNumber("2001:4860:b006::64", &ip_number)); 406 AddressList addrlist_v6_1(ip_number, 80, false); 407 ASSERT_TRUE(ParseIPLiteralToNumber("2001:4860:b006::66", &ip_number)); 408 AddressList addrlist_v6_2(ip_number, 80, false); [all...] |
/external/chromium_org/chrome/browser/extensions/api/socket/ |
socket.cc | 111 net::IPAddressNumber ip_number; local 112 if (!net::ParseIPLiteralToNumber(ip_address_str, &ip_number)) 115 *ip_end_point = net::IPEndPoint(ip_number, port); 123 net::IPAddressNumber ip_number; local 124 if (!net::ParseIPLiteralToNumber(ip_address_str, &ip_number)) 127 *address_list = net::AddressList::CreateFromIPAddress(ip_number, port);
|
/external/chromium_org/net/base/ |
address_list_unittest.cc | 125 IPAddressNumber ip_number; local 126 ASSERT_TRUE(ParseIPLiteralToNumber(tests[i].ip_address, &ip_number)); 127 ip_list.push_back(ip_number);
|
/external/chromium/net/base/ |
address_list_unittest.cc | 200 IPAddressNumber ip_number; local 201 ParseIPLiteralToNumber(tests[i].ip_address, &ip_number); 202 AddressList test_list(ip_number, 80, true);
|
mock_host_resolver.cc | 38 IPAddressNumber ip_number; local 39 if (!ParseIPLiteralToNumber(addresses[index], &ip_number)) { 44 AddressList result(ip_number, -1, false); 181 IPAddressNumber ip_number; local 182 DCHECK(!ParseIPLiteralToNumber(host_pattern, &ip_number));
|
host_resolver_impl.cc | 995 IPAddressNumber ip_number; local 996 if (ParseIPLiteralToNumber(info.hostname(), &ip_number)) { 1004 if (ip_number.size() == 16 && ipv6_disabled) { 1007 AddressList result(ip_number, info.port(), [all...] |
net_util_unittest.cc | 2214 IPAddressNumber ip_number; local 2225 IPAddressNumber ip_number; local 2300 IPAddressNumber ip_number; local [all...] |
/external/chromium/net/udp/ |
udp_socket_unittest.cc | 118 IPAddressNumber ip_number; local 119 bool rv = ParseIPLiteralToNumber(ip_str, &ip_number); 122 *address = IPEndPoint(ip_number, port); 237 net::IPAddressNumber ip_number; local 238 net::ParseIPLiteralToNumber(tests[i].remote_address, &ip_number); 239 net::IPEndPoint remote_address(ip_number, 80); 240 net::ParseIPLiteralToNumber(tests[i].local_address, &ip_number); 241 net::IPEndPoint local_address(ip_number, 80);
|
/external/chromium_org/net/socket/ |
tcp_server_socket_unittest.cc | 54 IPAddressNumber ip_number; local 55 bool rv = ParseIPLiteralToNumber(ip_str, &ip_number); 58 *address = IPEndPoint(ip_number, port);
|
tcp_socket_unittest.cc | 60 IPAddressNumber ip_number; local 61 bool rv = ParseIPLiteralToNumber(ip_str, &ip_number); 64 *address = IPEndPoint(ip_number, port);
|
transport_client_socket_pool_unittest.cc | 505 IPAddressNumber ip_number; local 506 ASSERT_TRUE(ParseIPLiteralToNumber("192.168.1.1", &ip_number)); 507 IPEndPoint addrlist_v4_1(ip_number, 80); 508 ASSERT_TRUE(ParseIPLiteralToNumber("192.168.1.2", &ip_number)); 509 IPEndPoint addrlist_v4_2(ip_number, 80); 510 ASSERT_TRUE(ParseIPLiteralToNumber("2001:4860:b006::64", &ip_number)); 511 IPEndPoint addrlist_v6_1(ip_number, 80); 512 ASSERT_TRUE(ParseIPLiteralToNumber("2001:4860:b006::66", &ip_number)); 513 IPEndPoint addrlist_v6_2(ip_number, 80); [all...] |
/external/chromium/chrome/browser/safe_browsing/ |
client_side_detection_service.cc | 134 net::IPAddressNumber ip_number; local 135 if (!net::ParseIPLiteralToNumber(ip_address, &ip_number)) { 144 if (net::IPNumberMatchesPrefix(ip_number, it->first, it->second)) { 439 net::IPAddressNumber ip_number; local 441 if (net::ParseCIDRBlock(kPrivateNetworks[i], &ip_number, &prefix_length)) { 442 private_networks_.push_back(std::make_pair(ip_number, prefix_length));
|
/external/chromium_org/chrome/browser/devtools/ |
adb_client_socket.cc | 299 net::IPAddressNumber ip_number; 300 net::ParseIPLiteralToNumber(kLocalhost, &ip_number); 307 net::AddressList::CreateFromIPAddress(ip_number, tcp_port); 339 net::IPAddressNumber ip_number; local 340 if (!net::ParseIPLiteralToNumber(host_, &ip_number)) { 346 net::AddressList::CreateFromIPAddress(ip_number, port_);
|
/external/chromium_org/chrome/test/chromedriver/net/ |
adb_client_socket.cc | 320 net::IPAddressNumber ip_number; 321 net::ParseIPLiteralToNumber(kLocalhost, &ip_number); 328 net::AddressList::CreateFromIPAddress(ip_number, tcp_port); 366 net::IPAddressNumber ip_number; local 367 if (!net::ParseIPLiteralToNumber(host_, &ip_number)) { 373 net::AddressList::CreateFromIPAddress(ip_number, port_);
|
/external/chromium_org/content/browser/devtools/ |
tethering_handler.cc | 189 net::IPAddressNumber ip_number; local 190 if (!net::ParseIPLiteralToNumber(kLocalhost, &ip_number)) 193 net::IPEndPoint end_point(ip_number, port);
|
/external/chromium_org/google_apis/gcm/base/ |
socket_stream_unittest.cc | 77 net::IPAddressNumber ip_number; local 78 net::ParseIPLiteralToNumber("127.0.0.1", &ip_number); 79 address_list_ = net::AddressList::CreateFromIPAddress(ip_number, 5228);
|
/external/chromium_org/google_apis/gcm/engine/ |
connection_handler_impl_unittest.cc | 154 net::IPAddressNumber ip_number; local 155 net::ParseIPLiteralToNumber("127.0.0.1", &ip_number); 156 address_list_ = net::AddressList::CreateFromIPAddress(ip_number, kMCSPort);
|
/external/chromium_org/media/cast/test/transport/ |
transport.cc | 28 net::IPAddressNumber ip_number; local 29 bool rv = net::ParseIPLiteralToNumber(ip_str, &ip_number); 32 *address = net::IPEndPoint(ip_number, port);
|
/external/chromium_org/net/dns/ |
mock_host_resolver.cc | 45 IPAddressNumber ip_number; local 46 if (!ParseIPLiteralToNumber(addresses[index], &ip_number)) { 50 addrlist->push_back(IPEndPoint(ip_number, -1)); 279 IPAddressNumber ip_number; local 280 DCHECK(!ParseIPLiteralToNumber(host_pattern, &ip_number));
|
/external/chromium_org/net/udp/ |
udp_socket_unittest.cc | 121 IPAddressNumber ip_number; local 122 bool rv = ParseIPLiteralToNumber(ip_str, &ip_number); 125 *address = IPEndPoint(ip_number, port); 446 IPAddressNumber ip_number; local 447 ParseIPLiteralToNumber(tests[i].remote_address, &ip_number); 448 IPEndPoint remote_address(ip_number, 80); 449 ParseIPLiteralToNumber(tests[i].local_address, &ip_number); 450 IPEndPoint local_address(ip_number, 80);
|
/external/chromium_org/chrome/browser/safe_browsing/ |
client_side_detection_service.cc | 192 net::IPAddressNumber ip_number; local 193 if (!net::ParseIPLiteralToNumber(ip_address, &ip_number)) { 202 if (net::IPNumberMatchesPrefix(ip_number, it->first, it->second)) { 619 net::IPAddressNumber ip_number; local 621 if (net::ParseCIDRBlock(kPrivateNetworks[i], &ip_number, &prefix_length)) { 622 private_networks_.push_back(std::make_pair(ip_number, prefix_length));
|
safe_browsing_database_unittest.cc | 42 net::IPAddressNumber ip_number; local 43 EXPECT_TRUE(net::ParseIPLiteralToNumber(ip_prefix, &ip_number)); 44 EXPECT_EQ(net::kIPv6AddressSize, ip_number.size()); 46 net::IPAddressToPackedString(ip_number)); [all...] |
safe_browsing_database.cc | 817 net::IPAddressNumber ip_number; local 818 if (!net::ParseIPLiteralToNumber(ip_address, &ip_number)) { 822 if (ip_number.size() == net::kIPv4AddressSize) { 823 ip_number = net::ConvertIPv4NumberToIPv6Number(ip_number); 825 if (ip_number.size() != net::kIPv6AddressSize) { 836 DCHECK_EQ(mask.size(), ip_number.size()); 839 subnet[i] = ip_number[i] & mask[i]; [all...] |
/external/chromium_org/net/tools/gdig/ |
gdig.cc | 51 net::IPAddressNumber ip_number; local 52 if (!net::ParseIPLiteralToNumber(ip, &ip_number)) 55 *ip_end_point = net::IPEndPoint(ip_number, port);
|