/external/chromium-libpac/src/ |
net_util.cc | 27 IPAddressNumber* ip_number) { 38 ip_number->resize(size); 40 (*ip_number)[i] = buf[i]; 59 IPAddressNumber* ip_number, 75 if (!ParseIPLiteralToNumber(parts[0], ip_number)) 83 number_of_bits > static_cast<int>(ip_number->size() * 8)) 90 bool IPNumberMatchesPrefix(const IPAddressNumber& ip_number, 98 if (ip_number.size() != ip_prefix.size()) { 99 if (ip_number.size() == 4) { 100 return IPNumberMatchesPrefix(ConvertIPv4NumberToIPv6Number(ip_number), [all...] |
net_util.h | 34 // Returns true on success and fills |ip_number| with the numeric value. 36 IPAddressNumber* ip_number); 40 // |*ip_number| with the numeric value of the IP address and sets 49 IPAddressNumber* ip_number, 62 bool IPNumberMatchesPrefix(const IPAddressNumber& ip_number,
|
/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/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/chrome/browser/safe_browsing/ |
client_side_detection_service.cc | 185 net::IPAddressNumber ip_number; local 186 if (!net::ParseIPLiteralToNumber(ip_address, &ip_number)) { 195 if (net::IPNumberMatchesPrefix(ip_number, it->first, it->second)) { 204 net::IPAddressNumber ip_number; local 205 if (!net::ParseIPLiteralToNumber(ip_address, &ip_number)) { 209 if (ip_number.size() == net::kIPv4AddressSize) { 210 ip_number = net::ConvertIPv4NumberToIPv6Number(ip_number); 212 if (ip_number.size() != net::kIPv6AddressSize) { 219 DCHECK_EQ(mask.size(), ip_number.size()) 624 net::IPAddressNumber ip_number; local [all...] |
/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/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);
|
net_util.cc | [all...] |
net_util.h | 439 // Returns true on success and fills |ip_number| with the numeric value. 441 IPAddressNumber* ip_number); 458 // |*ip_number| with the numeric value of the IP address and sets 467 IPAddressNumber* ip_number, 480 NET_EXPORT_PRIVATE bool IPNumberMatchesPrefix(const IPAddressNumber& ip_number,
|
/external/chromium/net/base/ |
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));
|
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);
|
net_util.h | 408 // Returns true on success and fills |ip_number| with the numeric value. 410 IPAddressNumber* ip_number); 419 // |*ip_number| with the numeric value of the IP address and sets 428 IPAddressNumber* ip_number, 441 bool IPNumberMatchesPrefix(const IPAddressNumber& ip_number,
|
net_util.cc | [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 | 300 net::IPAddressNumber ip_number; 301 net::ParseIPLiteralToNumber(kLocalhost, &ip_number); 308 net::AddressList::CreateFromIPAddress(ip_number, tcp_port); 340 net::IPAddressNumber ip_number; local 341 if (!net::ParseIPLiteralToNumber(host_, &ip_number)) { 347 net::AddressList::CreateFromIPAddress(ip_number, port_);
|
/external/chromium_org/chrome/test/chromedriver/net/ |
adb_client_socket.cc | 321 net::IPAddressNumber ip_number; 322 net::ParseIPLiteralToNumber(kLocalhost, &ip_number); 329 net::AddressList::CreateFromIPAddress(ip_number, tcp_port); 367 net::IPAddressNumber ip_number; local 368 if (!net::ParseIPLiteralToNumber(host_, &ip_number)) { 374 net::AddressList::CreateFromIPAddress(ip_number, port_);
|
/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/net/proxy/ |
proxy_bypass_rules.cc | 103 IPAddressNumber ip_number; 104 if (!ParseIPLiteralToNumber(url.HostNoBrackets(), &ip_number)) 108 return IPNumberMatchesPrefix(ip_number, ip_prefix_,
|
/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/net/proxy/ |
proxy_bypass_rules.cc | 105 IPAddressNumber ip_number; 106 if (!ParseIPLiteralToNumber(url.HostNoBrackets(), &ip_number)) 110 return IPNumberMatchesPrefix(ip_number, ip_prefix_,
|
/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);
|
transport_client_socket_pool_unittest.cc | 491 IPAddressNumber ip_number; local 492 ASSERT_TRUE(ParseIPLiteralToNumber("192.168.1.1", &ip_number)); 493 IPEndPoint addrlist_v4_1(ip_number, 80); 494 ASSERT_TRUE(ParseIPLiteralToNumber("192.168.1.2", &ip_number)); 495 IPEndPoint addrlist_v4_2(ip_number, 80); 496 ASSERT_TRUE(ParseIPLiteralToNumber("2001:4860:b006::64", &ip_number)); 497 IPEndPoint addrlist_v6_1(ip_number, 80); 498 ASSERT_TRUE(ParseIPLiteralToNumber("2001:4860:b006::66", &ip_number)); 499 IPEndPoint addrlist_v6_2(ip_number, 80); [all...] |
/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)); 276 IPAddressNumber ip_number; local 277 DCHECK(!ParseIPLiteralToNumber(host_pattern, &ip_number));
|
/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);
|