ParseIPLiteralToNumber 314 chrome/browser/devtools/adb_client_socket.cc if (!net::ParseIPLiteralToNumber(host_, &ip_number)) { ParseIPLiteralToNumber 381 chrome/browser/devtools/adb_client_socket_browsertest.cc net::ParseIPLiteralToNumber("127.0.0.1", &address); ParseIPLiteralToNumber 480 chrome/browser/devtools/android_device.cc net::ParseIPLiteralToNumber(kLocalhost, &ip_number); ParseIPLiteralToNumber 728 chrome/browser/extensions/api/cast_channel/cast_socket.cc if (!net::ParseIPLiteralToNumber(ip_address_str, &ip_address)) ParseIPLiteralToNumber 138 chrome/browser/extensions/api/dial/dial_service.cc && net::ParseIPLiteralToNumber(state->ip_address(), &bind_ip_address) ParseIPLiteralToNumber 388 chrome/browser/extensions/api/dial/dial_service.cc bool success = net::ParseIPLiteralToNumber(kDialRequestAddress, &address); ParseIPLiteralToNumber 47 chrome/browser/extensions/api/dial/dial_service_unittest.cc CHECK(net::ParseIPLiteralToNumber("0.0.0.0", &mock_ip_)); ParseIPLiteralToNumber 105 chrome/browser/media/wv_test_license_server_config.cc net::ParseIPLiteralToNumber("127.0.0.1", &address); ParseIPLiteralToNumber 32 chrome/browser/net/dns_probe_runner.cc using net::ParseIPLiteralToNumber; ParseIPLiteralToNumber 23 chrome/browser/net/dns_probe_service.cc using net::ParseIPLiteralToNumber; ParseIPLiteralToNumber 42 chrome/browser/net/dns_probe_service.cc bool rv = ParseIPLiteralToNumber(dns_ip_literal, &dns_ip_number); ParseIPLiteralToNumber 17 chrome/browser/net/dns_probe_test_util.cc using net::ParseIPLiteralToNumber; ParseIPLiteralToNumber 25 chrome/browser/net/dns_probe_test_util.cc ParseIPLiteralToNumber("192.168.1.1", &dns_ip); ParseIPLiteralToNumber 193 chrome/browser/safe_browsing/client_side_detection_service.cc if (!net::ParseIPLiteralToNumber(ip_address, &ip_number)) { ParseIPLiteralToNumber 793 chrome/browser/safe_browsing/safe_browsing_database.cc if (!net::ParseIPLiteralToNumber(ip_address, &ip_number)) { ParseIPLiteralToNumber 34 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc EXPECT_TRUE(net::ParseIPLiteralToNumber(ip_prefix, &ip_number)); ParseIPLiteralToNumber 416 chrome/renderer/extensions/cast_streaming_native_handler.cc if (!net::ParseIPLiteralToNumber(destination->address, &ip)) { ParseIPLiteralToNumber 321 chrome/test/chromedriver/net/adb_client_socket.cc net::ParseIPLiteralToNumber(kLocalhost, &ip_number); ParseIPLiteralToNumber 367 chrome/test/chromedriver/net/adb_client_socket.cc if (!net::ParseIPLiteralToNumber(host_, &ip_number)) { ParseIPLiteralToNumber 75 chrome/test/chromedriver/net/websocket.cc if (!net::ParseIPLiteralToNumber(url_.HostNoBrackets(), &address)) { ParseIPLiteralToNumber 115 cloud_print/gcp20/prototype/dns_sd_server.cc bool success = net::ParseIPLiteralToNumber("0.0.0.0", &local_ip_any); ParseIPLiteralToNumber 119 cloud_print/gcp20/prototype/dns_sd_server.cc success = net::ParseIPLiteralToNumber(kDefaultIpAddressMulticast, ParseIPLiteralToNumber 190 content/browser/devtools/tethering_handler.cc if (!net::ParseIPLiteralToNumber(kLocalhost, &ip_number)) ParseIPLiteralToNumber 209 content/browser/renderer_host/p2p/socket_host_test_utils.cc EXPECT_TRUE(net::ParseIPLiteralToNumber(ip_str, &ip)); ParseIPLiteralToNumber 110 extensions/browser/api/socket/socket.cc if (!net::ParseIPLiteralToNumber(ip_address_str, &ip_number)) ParseIPLiteralToNumber 122 extensions/browser/api/socket/socket.cc if (!net::ParseIPLiteralToNumber(ip_address_str, &ip_number)) ParseIPLiteralToNumber 244 extensions/browser/api/socket/udp_socket.cc if (!net::ParseIPLiteralToNumber(address, &ip)) ParseIPLiteralToNumber 261 extensions/browser/api/socket/udp_socket.cc if (!net::ParseIPLiteralToNumber(address, &ip)) ParseIPLiteralToNumber 78 google_apis/gcm/base/socket_stream_unittest.cc net::ParseIPLiteralToNumber("127.0.0.1", &ip_number); ParseIPLiteralToNumber 160 google_apis/gcm/engine/connection_handler_impl_unittest.cc net::ParseIPLiteralToNumber("127.0.0.1", &ip_number); ParseIPLiteralToNumber 160 jingle/glue/chrome_async_socket_unittest.cc EXPECT_TRUE(net::ParseIPLiteralToNumber("127.0.0.1", &resolved_addr)); ParseIPLiteralToNumber 213 media/cast/test/receiver.cc if (!net::ParseIPLiteralToNumber(remote_ip_address, &remote_ip_number)) { ParseIPLiteralToNumber 218 media/cast/test/receiver.cc if (!net::ParseIPLiteralToNumber(local_ip_address, &local_ip_number)) { ParseIPLiteralToNumber 370 media/cast/test/sender.cc CHECK(net::ParseIPLiteralToNumber(ip_str, &ip_number)); ParseIPLiteralToNumber 32 media/cast/test/utility/udp_proxy_main.cc CHECK(net::ParseIPLiteralToNumber(argv[2], &remote_ip_number)); ParseIPLiteralToNumber 33 media/cast/test/utility/udp_proxy_main.cc CHECK(net::ParseIPLiteralToNumber("0.0.0.0", &local_ip_number)); ParseIPLiteralToNumber 60 media/cast/transport/transport/udp_transport_unittest.cc net::ParseIPLiteralToNumber("127.0.0.1", &local_addr_number); ParseIPLiteralToNumber 61 media/cast/transport/transport/udp_transport_unittest.cc net::ParseIPLiteralToNumber("0.0.0.0", &empty_addr_number); ParseIPLiteralToNumber 126 net/base/address_list_unittest.cc ASSERT_TRUE(ParseIPLiteralToNumber(tests[i].ip_address, &ip_number)); ParseIPLiteralToNumber 39 net/base/ip_endpoint_unittest.cc EXPECT_TRUE(ParseIPLiteralToNumber(tests[index].host, ParseIPLiteralToNumber 20 net/base/ip_pattern_unittest.cc EXPECT_TRUE(ParseIPLiteralToNumber(address_text, &address)); ParseIPLiteralToNumber 27 net/base/ip_pattern_unittest.cc EXPECT_TRUE(ParseIPLiteralToNumber("1.2.3.4", &ipv4_address1)); ParseIPLiteralToNumber 29 net/base/ip_pattern_unittest.cc EXPECT_TRUE(ParseIPLiteralToNumber("1:2:3:4:5:6:7:8", &ipv6_address1)); ParseIPLiteralToNumber 1490 net/base/net_util.cc if (!ParseIPLiteralToNumber(hostname.substr(host_info.out_host.begin, ParseIPLiteralToNumber 2092 net/base/net_util.cc if (!ParseIPLiteralToNumber(parts[0], ip_number)) ParseIPLiteralToNumber 2167 net/base/net_util.cc if (ParseIPLiteralToNumber(host, &ip_number)) { ParseIPLiteralToNumber 454 net/base/net_util.h NET_EXPORT_PRIVATE bool ParseIPLiteralToNumber(const std::string& ip_literal, ParseIPLiteralToNumber 3085 net/base/net_util_unittest.cc EXPECT_TRUE(ParseIPLiteralToNumber("192.168.0.1", &number)); ParseIPLiteralToNumber 3087 net/base/net_util_unittest.cc EXPECT_TRUE(ParseIPLiteralToNumber("1:abcd::3:4:ff", &number)); ParseIPLiteralToNumber 3095 net/base/net_util_unittest.cc EXPECT_FALSE(ParseIPLiteralToNumber("bad value", &number)); ParseIPLiteralToNumber 3096 net/base/net_util_unittest.cc EXPECT_FALSE(ParseIPLiteralToNumber("bad:value", &number)); ParseIPLiteralToNumber 3097 net/base/net_util_unittest.cc EXPECT_FALSE(ParseIPLiteralToNumber(std::string(), &number)); ParseIPLiteralToNumber 3098 net/base/net_util_unittest.cc EXPECT_FALSE(ParseIPLiteralToNumber("192.168.0.1:30", &number)); ParseIPLiteralToNumber 3099 net/base/net_util_unittest.cc EXPECT_FALSE(ParseIPLiteralToNumber(" 192.168.0.1 ", &number)); ParseIPLiteralToNumber 3100 net/base/net_util_unittest.cc EXPECT_FALSE(ParseIPLiteralToNumber("[::1]", &number)); ParseIPLiteralToNumber 3106 net/base/net_util_unittest.cc EXPECT_TRUE(ParseIPLiteralToNumber("192.168.0.1", &number)); ParseIPLiteralToNumber 3114 net/base/net_util_unittest.cc EXPECT_TRUE(ParseIPLiteralToNumber("1:abcd::3:4:ff", &number)); ParseIPLiteralToNumber 3122 net/base/net_util_unittest.cc EXPECT_TRUE(ParseIPLiteralToNumber("192.168.0.1", &ipv4_number)); ParseIPLiteralToNumber 3135 net/base/net_util_unittest.cc EXPECT_TRUE(ParseIPLiteralToNumber("192.168.0.1", &ipv4_number)); ParseIPLiteralToNumber 3139 net/base/net_util_unittest.cc EXPECT_TRUE(ParseIPLiteralToNumber("::1", &ipv4_number)); ParseIPLiteralToNumber 3143 net/base/net_util_unittest.cc EXPECT_TRUE(ParseIPLiteralToNumber("::ffff:0101:1", &ipv4mapped_number)); ParseIPLiteralToNumber 3149 net/base/net_util_unittest.cc EXPECT_TRUE(ParseIPLiteralToNumber("::ffff:0101:1", &ipv4mapped_number)); ParseIPLiteralToNumber 3151 net/base/net_util_unittest.cc EXPECT_TRUE(ParseIPLiteralToNumber("1.1.0.1", &expected)); ParseIPLiteralToNumber 3262 net/base/net_util_unittest.cc EXPECT_TRUE(ParseIPLiteralToNumber(tests[i].ip_literal, &ip_number)); ParseIPLiteralToNumber 26 net/dns/address_sorter_posix_unittest.cc CHECK(ParseIPLiteralToNumber(str, &addr)); ParseIPLiteralToNumber 27 net/dns/address_sorter_unittest.cc CHECK(ParseIPLiteralToNumber(str, &addr)); ParseIPLiteralToNumber 182 net/dns/dns_config_service_posix.cc bool parsed1 = ParseIPLiteralToNumber(dns1_string, &dns1_number); ParseIPLiteralToNumber 183 net/dns/dns_config_service_posix.cc bool parsed2 = ParseIPLiteralToNumber(dns2_string, &dns2_number); ParseIPLiteralToNumber 100 net/dns/dns_config_service_posix_unittest.cc ParseIPLiteralToNumber(kNameserversIPv4[i], &ip); ParseIPLiteralToNumber 109 net/dns/dns_config_service_posix_unittest.cc ParseIPLiteralToNumber(kNameserversIPv6[i], &ip); ParseIPLiteralToNumber 48 net/dns/dns_config_service_unittest.cc bool parsed = ParseIPLiteralToNumber(*it, &address); ParseIPLiteralToNumber 163 net/dns/dns_config_service_unittest.cc CHECK(ParseIPLiteralToNumber("1.2.3.4", &ip)); ParseIPLiteralToNumber 104 net/dns/dns_config_service_win_unittest.cc CHECK(ParseIPLiteralToNumber(info.dns_server_addresses[j], &ip)); ParseIPLiteralToNumber 183 net/dns/dns_config_service_win_unittest.cc ASSERT_TRUE(ParseIPLiteralToNumber(t.expected_nameservers[j], &ip)); ParseIPLiteralToNumber 124 net/dns/dns_hosts.cc if (ParseIPLiteralToNumber(parser.token().as_string(), &new_ip)) { ParseIPLiteralToNumber 58 net/dns/dns_hosts_unittest.cc ASSERT_TRUE(ParseIPLiteralToNumber(entries[i].ip, &ip)); ParseIPLiteralToNumber 119 net/dns/dns_session_unittest.cc bool rv = ParseIPLiteralToNumber("192.168.1.0", &dns_ip); ParseIPLiteralToNumber 57 net/dns/dns_transaction.cc return ParseIPLiteralToNumber(hostname, &ip); ParseIPLiteralToNumber 335 net/dns/dns_transaction_unittest.cc bool rv = ParseIPLiteralToNumber("192.168.1.0", &dns_ip); ParseIPLiteralToNumber 2030 net/dns/host_resolver_impl.cc if (!ParseIPLiteralToNumber(key.hostname, &ip_number)) ParseIPLiteralToNumber 184 net/dns/host_resolver_impl_unittest.cc bool rv = ParseIPLiteralToNumber(address, &ip); ParseIPLiteralToNumber 1299 net/dns/host_resolver_impl_unittest.cc bool rv = ParseIPLiteralToNumber("192.168.1.0", &dns_ip); ParseIPLiteralToNumber 1539 net/dns/host_resolver_impl_unittest.cc ASSERT_TRUE(ParseIPLiteralToNumber("127.0.0.1", &local_ipv4)); ParseIPLiteralToNumber 1540 net/dns/host_resolver_impl_unittest.cc ASSERT_TRUE(ParseIPLiteralToNumber("::1", &local_ipv6)); ParseIPLiteralToNumber 1732 net/dns/host_resolver_impl_unittest.cc ASSERT_TRUE(ParseIPLiteralToNumber("127.0.0.1", &local_ipv4)); ParseIPLiteralToNumber 1733 net/dns/host_resolver_impl_unittest.cc ASSERT_TRUE(ParseIPLiteralToNumber("::1", &local_ipv6)); ParseIPLiteralToNumber 20 net/dns/mdns_client.cc bool success = ParseIPLiteralToNumber(address, ParseIPLiteralToNumber 46 net/dns/mock_host_resolver.cc if (!ParseIPLiteralToNumber(addresses[index], &ip_number)) { ParseIPLiteralToNumber 156 net/dns/mock_host_resolver.cc if (ParseIPLiteralToNumber(info.hostname(), &ip)) { ParseIPLiteralToNumber 280 net/dns/mock_host_resolver.cc DCHECK(!ParseIPLiteralToNumber(host_pattern, &ip_number)); ParseIPLiteralToNumber 10830 net/http/http_network_transaction_unittest.cc ASSERT_TRUE(ParseIPLiteralToNumber("127.0.0.1", &ip)); ParseIPLiteralToNumber 10933 net/http/http_network_transaction_unittest.cc ASSERT_TRUE(ParseIPLiteralToNumber("127.0.0.1", &ip)); ParseIPLiteralToNumber 11079 net/http/http_network_transaction_unittest.cc ASSERT_TRUE(ParseIPLiteralToNumber("127.0.0.1", &ip)); ParseIPLiteralToNumber 11483 net/http/http_network_transaction_unittest.cc ASSERT_TRUE(ParseIPLiteralToNumber(ip_addr, &ip)); ParseIPLiteralToNumber 106 net/proxy/proxy_bypass_rules.cc if (!ParseIPLiteralToNumber(url.HostNoBrackets(), &ip_number)) ParseIPLiteralToNumber 288 net/proxy/proxy_resolver_v8.cc if (!ParseIPLiteralToNumber(str_tok.token(), &ip_num)) ParseIPLiteralToNumber 321 net/proxy/proxy_resolver_v8.cc if (!ParseIPLiteralToNumber(ip_address, &address)) ParseIPLiteralToNumber 215 net/quic/crypto/quic_crypto_server_config_test.cc CHECK(ParseIPLiteralToNumber("192.0.2.33", &ip)); ParseIPLiteralToNumber 217 net/quic/crypto/quic_crypto_server_config_test.cc CHECK(ParseIPLiteralToNumber("2001:db8:0::42", &ip)); ParseIPLiteralToNumber 20 net/quic/quic_address_mismatch_test.cc ASSERT_TRUE(ParseIPLiteralToNumber("1.2.3.4", &ip4_1)); ParseIPLiteralToNumber 21 net/quic/quic_address_mismatch_test.cc ASSERT_TRUE(ParseIPLiteralToNumber("5.6.7.8", &ip4_2)); ParseIPLiteralToNumber 22 net/quic/quic_address_mismatch_test.cc ASSERT_TRUE(ParseIPLiteralToNumber("1234::1", &ip6_1)); ParseIPLiteralToNumber 23 net/quic/quic_address_mismatch_test.cc ASSERT_TRUE(ParseIPLiteralToNumber("1234::2", &ip6_2)); ParseIPLiteralToNumber 133 net/quic/quic_end_to_end_unittest.cc CHECK(net::ParseIPLiteralToNumber("127.0.0.1", &ip)); ParseIPLiteralToNumber 136 net/quic/quic_http_stream_test.cc CHECK(ParseIPLiteralToNumber("192.0.2.33", &ip)); ParseIPLiteralToNumber 16 net/quic/quic_socket_address_coder_test.cc ASSERT_TRUE(ParseIPLiteralToNumber("4.31.198.44", &ip)); ParseIPLiteralToNumber 25 net/quic/quic_socket_address_coder_test.cc ASSERT_TRUE(ParseIPLiteralToNumber("2001:700:300:1800::f", &ip)); ParseIPLiteralToNumber 105 net/quic/quic_socket_address_coder_test.cc ASSERT_TRUE(ParseIPLiteralToNumber(test_case[i].ip_literal, &ip)); ParseIPLiteralToNumber 462 net/quic/test_tools/quic_test_utils.cc CHECK(ParseIPLiteralToNumber("127.0.0.1", &addr)); ParseIPLiteralToNumber 130 net/socket/socket_test_util.cc CHECK(ParseIPLiteralToNumber("192.0.2.33", &ip)); ParseIPLiteralToNumber 136 net/socket/socket_test_util.cc CHECK(ParseIPLiteralToNumber("192.0.2.33", &ip)); ParseIPLiteralToNumber 712 net/socket/socket_test_util.cc CHECK(ParseIPLiteralToNumber("192.0.2.33", &ip)); ParseIPLiteralToNumber 745 net/socket/socket_test_util.cc bool rv = ParseIPLiteralToNumber("192.0.2.33", &ip); ParseIPLiteralToNumber 1186 net/socket/socket_test_util.cc bool rv = ParseIPLiteralToNumber("192.0.2.33", &ip); ParseIPLiteralToNumber 1530 net/socket/socket_test_util.cc bool rv = ParseIPLiteralToNumber("192.0.2.33", &ip); ParseIPLiteralToNumber 26 net/socket/tcp_client_socket_unittest.cc ASSERT_TRUE(ParseIPLiteralToNumber("127.0.0.1", &lo_address)); ParseIPLiteralToNumber 64 net/socket/tcp_client_socket_unittest.cc ASSERT_TRUE(ParseIPLiteralToNumber("72.14.213.105", &external_ip)); ParseIPLiteralToNumber 69 net/socket/tcp_client_socket_unittest.cc ASSERT_TRUE(ParseIPLiteralToNumber("127.0.0.1", &lo_address)); ParseIPLiteralToNumber 86 net/socket/tcp_client_socket_unittest.cc ASSERT_TRUE(ParseIPLiteralToNumber("::1", &ipv6_lo_ip)); ParseIPLiteralToNumber 100 net/socket/tcp_client_socket_unittest.cc ASSERT_TRUE(ParseIPLiteralToNumber("127.0.0.1", &ipv4_lo_ip)); ParseIPLiteralToNumber 55 net/socket/tcp_server_socket_unittest.cc bool rv = ParseIPLiteralToNumber(ip_str, &ip_number); ParseIPLiteralToNumber 61 net/socket/tcp_socket_unittest.cc bool rv = ParseIPLiteralToNumber(ip_str, &ip_number); ParseIPLiteralToNumber 77 net/socket/transport_client_socket_pool_unittest.cc CHECK(ParseIPLiteralToNumber("1.1.1.1", &number)); ParseIPLiteralToNumber 83 net/socket/transport_client_socket_pool_unittest.cc CHECK(ParseIPLiteralToNumber("1:abcd::3:4:ff", &number)); ParseIPLiteralToNumber 506 net/socket/transport_client_socket_pool_unittest.cc ASSERT_TRUE(ParseIPLiteralToNumber("192.168.1.1", &ip_number)); ParseIPLiteralToNumber 508 net/socket/transport_client_socket_pool_unittest.cc ASSERT_TRUE(ParseIPLiteralToNumber("192.168.1.2", &ip_number)); ParseIPLiteralToNumber 510 net/socket/transport_client_socket_pool_unittest.cc ASSERT_TRUE(ParseIPLiteralToNumber("2001:4860:b006::64", &ip_number)); ParseIPLiteralToNumber 512 net/socket/transport_client_socket_pool_unittest.cc ASSERT_TRUE(ParseIPLiteralToNumber("2001:4860:b006::66", &ip_number)); ParseIPLiteralToNumber 53 net/tools/gdig/gdig.cc if (!net::ParseIPLiteralToNumber(ip, &ip_number)) ParseIPLiteralToNumber 151 net/tools/quic/end_to_end_test.cc CHECK(net::ParseIPLiteralToNumber("127.0.0.1", &ip)); ParseIPLiteralToNumber 333 net/tools/quic/end_to_end_test.cc CHECK(net::ParseIPLiteralToNumber("::1", &ip)); ParseIPLiteralToNumber 867 net/tools/quic/end_to_end_test.cc CHECK(net::ParseIPLiteralToNumber("127.0.0.2", &ip)); ParseIPLiteralToNumber 138 net/tools/quic/quic_client.cc CHECK(net::ParseIPLiteralToNumber("0.0.0.0", &any4)); ParseIPLiteralToNumber 142 net/tools/quic/quic_client.cc CHECK(net::ParseIPLiteralToNumber("::", &any6)); ParseIPLiteralToNumber 80 net/tools/quic/quic_client_bin.cc CHECK(net::ParseIPLiteralToNumber(FLAGS_address, &addr)); ParseIPLiteralToNumber 148 net/tools/quic/quic_dispatcher_test.cc CHECK(net::ParseIPLiteralToNumber("0.0.0.0", &any4)); ParseIPLiteralToNumber 59 net/tools/quic/quic_server_bin.cc CHECK(net::ParseIPLiteralToNumber("::", &ip)); ParseIPLiteralToNumber 122 net/udp/udp_socket_unittest.cc bool rv = ParseIPLiteralToNumber(ip_str, &ip_number); ParseIPLiteralToNumber 447 net/udp/udp_socket_unittest.cc ParseIPLiteralToNumber(tests[i].remote_address, &ip_number); ParseIPLiteralToNumber 449 net/udp/udp_socket_unittest.cc ParseIPLiteralToNumber(tests[i].local_address, &ip_number); ParseIPLiteralToNumber 545 net/udp/udp_socket_unittest.cc EXPECT_TRUE(ParseIPLiteralToNumber(kGroup, &group_ip)); ParseIPLiteralToNumber 472 net/websockets/websocket_job_test.cc ParseIPLiteralToNumber("127.0.0.1", &ip); ParseIPLiteralToNumber 1093 net/websockets/websocket_job_test.cc ParseIPLiteralToNumber("127.0.0.1", &ip); ParseIPLiteralToNumber 308 net/websockets/websocket_throttle_test.cc ParseIPLiteralToNumber("127.0.0.1", &localhost);