Home
last modified time | relevance | path

Searched refs:ADDRESS_FAMILY_IPV4 (Results 1 – 25 of 50) sorted by relevance

12

/external/chromium_org/net/dns/
Ddns_hosts_unittest.cc38 { "localhost", ADDRESS_FAMILY_IPV4, "127.0.0.1" }, in TEST()
39 { "localhost.localdomain", ADDRESS_FAMILY_IPV4, "127.0.0.1" }, in TEST()
40 { "company", ADDRESS_FAMILY_IPV4, "1.0.0.1" }, in TEST()
47 { "cache1", ADDRESS_FAMILY_IPV4, "127.0.0.1" }, in TEST()
48 { "cache2", ADDRESS_FAMILY_IPV4, "127.0.0.1" }, in TEST()
49 { "cache4", ADDRESS_FAMILY_IPV4, "127.0.0.1" }, in TEST()
50 { "cache5", ADDRESS_FAMILY_IPV4, "127.0.0.2" }, in TEST()
59 ASSERT_EQ(ip.size(), (entries[i].family == ADDRESS_FAMILY_IPV4) ? 4u : 16u); in TEST()
Dhost_cache_unittest.cc189 HostCache::Key key2("foobar.com", ADDRESS_FAMILY_IPV4, 0); in TEST()
221 HostCache::Key key1("foobar.com", ADDRESS_FAMILY_IPV4, 0); in TEST()
222 HostCache::Key key2("foobar.com", ADDRESS_FAMILY_IPV4, in TEST()
224 HostCache::Key key3("foobar.com", ADDRESS_FAMILY_IPV4, in TEST()
318 HostCache::Key("host1", ADDRESS_FAMILY_IPV4, 0), in TEST()
324 HostCache::Key("host1", ADDRESS_FAMILY_IPV4, 0), in TEST()
333 HostCache::Key("host1", ADDRESS_FAMILY_IPV4, 0), in TEST()
339 HostCache::Key("host2", ADDRESS_FAMILY_IPV4, 0), in TEST()
Dmdns_client.cc57 case ADDRESS_FAMILY_IPV4: in GetMDnsIPEndPoint()
74 if (family == ADDRESS_FAMILY_IPV4 || family == ADDRESS_FAMILY_IPV6) { in GetMDnsInterfacesToBind()
Dhost_resolver_impl_unittest.cc122 AddRule(hostname, ADDRESS_FAMILY_IPV4, result); in AddRuleForAllFamilies()
1120 proc_->AddRule("h1", ADDRESS_FAMILY_IPV4, "1.0.0.1"); in TEST_F()
1123 resolver_->SetDefaultAddressFamily(ADDRESS_FAMILY_IPV4); in TEST_F()
1126 CreateRequest("h1", 80, MEDIUM, ADDRESS_FAMILY_IPV4); in TEST_F()
1150 EXPECT_EQ(ADDRESS_FAMILY_IPV4, capture_list[0].address_family); in TEST_F()
1168 proc_->AddRule("h1", ADDRESS_FAMILY_IPV4, "1.0.0.1"); in TEST_F()
1175 CreateRequest("h1", 80, MEDIUM, ADDRESS_FAMILY_IPV4); in TEST_F()
1201 EXPECT_EQ(ADDRESS_FAMILY_IPV4, capture_list[1].address_family); in TEST_F()
1366 resolver_->SetDefaultAddressFamily(ADDRESS_FAMILY_IPV4); in TEST_F()
1400 resolver_->SetDefaultAddressFamily(ADDRESS_FAMILY_IPV4); in TEST_F()
[all …]
Ddns_hosts.cc114 AddressFamily family = ADDRESS_FAMILY_IPV4; in ParseHosts()
127 family = (ip.size() == 4) ? ADDRESS_FAMILY_IPV4 : ADDRESS_FAMILY_IPV6; in ParseHosts()
Daddress_sorter_win.cc61 if (ipe.GetFamily() == ADDRESS_FAMILY_IPV4) { in Job()
168 if (ipe.GetFamily() == ADDRESS_FAMILY_IPV4) { in Sort()
Ddns_config_service_win.cc231 hosts->insert(std::make_pair(DnsHostsKey("localhost", ADDRESS_FAMILY_IPV4), in AddLocalhostEntries()
246 hosts->count(DnsHostsKey(localname, ADDRESS_FAMILY_IPV4)) > 0; in AddLocalhostEntries()
280 if (!have_ipv4 && (ipe.GetFamily() == ADDRESS_FAMILY_IPV4)) { in AddLocalhostEntries()
282 (*hosts)[DnsHostsKey(localname, ADDRESS_FAMILY_IPV4)] = ipe.address(); in AddLocalhostEntries()
Dhost_resolver_impl.cc270 case ADDRESS_FAMILY_IPV4: in IsAllIPv4Loopback()
791 case ADDRESS_FAMILY_IPV4: in RecordPerformanceHistograms()
812 case ADDRESS_FAMILY_IPV4: in RecordPerformanceHistograms()
1029 transaction_a_ = CreateTransaction(ADDRESS_FAMILY_IPV4); in StartA()
1035 DCHECK_NE(ADDRESS_FAMILY_IPV4, key_.address_family); in StartAAAA()
1603 case ADDRESS_FAMILY_IPV4: in OnDnsTaskComplete()
2037 bool ipv6_disabled = (default_address_family_ == ADDRESS_FAMILY_IPV4) && in ResolveAsIP()
2099 if (key.address_family == ADDRESS_FAMILY_IPV4 || in ServeFromHosts()
2102 DnsHostsKey(hostname, ADDRESS_FAMILY_IPV4)); in ServeFromHosts()
2171 effective_address_family = ADDRESS_FAMILY_IPV4; in GetEffectiveKeyForRequest()
Dmock_mdns_socket_factory.cc65 CreateSocket(ADDRESS_FAMILY_IPV4, sockets); in CreateSockets()
Dhost_resolver_proc.cc134 case ADDRESS_FAMILY_IPV4: in SystemHostResolverCall()
/external/chromium/net/base/
Dhost_cache_unittest.cc281 HostCache::Key key2("foobar.com", ADDRESS_FAMILY_IPV4, 0); in TEST()
315 HostCache::Key key1("foobar.com", ADDRESS_FAMILY_IPV4, 0); in TEST()
316 HostCache::Key key2("foobar.com", ADDRESS_FAMILY_IPV4, in TEST()
318 HostCache::Key key3("foobar.com", ADDRESS_FAMILY_IPV4, in TEST()
410 HostCache::Key("host1", ADDRESS_FAMILY_IPV4, 0), in TEST()
416 HostCache::Key("host1", ADDRESS_FAMILY_IPV4, 0), in TEST()
425 HostCache::Key("host1", ADDRESS_FAMILY_IPV4, 0), in TEST()
431 HostCache::Key("host2", ADDRESS_FAMILY_IPV4, 0), in TEST()
Daddress_family.h15 ADDRESS_FAMILY_IPV4, // AF_INET enumerator
Dhost_resolver_impl_unittest.cc1481 host_resolver->SetDefaultAddressFamily(ADDRESS_FAMILY_IPV4); in TEST_F()
1489 CreateResolverRequestForAddressFamily("h1", MEDIUM, ADDRESS_FAMILY_IPV4), in TEST_F()
1522 EXPECT_EQ(ADDRESS_FAMILY_IPV4, capture_list[0].address_family); in TEST_F()
1558 CreateResolverRequestForAddressFamily("h1", MEDIUM, ADDRESS_FAMILY_IPV4), in TEST_F()
1593 EXPECT_EQ(ADDRESS_FAMILY_IPV4, capture_list[1].address_family); in TEST_F()
1615 host_resolver->SetDefaultAddressFamily(ADDRESS_FAMILY_IPV4); in TEST_F()
1626 CreateResolverRequestForAddressFamily("b", MEDIUM, ADDRESS_FAMILY_IPV4), in TEST_F()
1644 EXPECT_EQ(ADDRESS_FAMILY_IPV4, capture_list[0].address_family); in TEST_F()
/external/chromium_org/net/base/
Daddress_family.h14 ADDRESS_FAMILY_IPV4, // AF_INET enumerator
Daddress_list_unittest.cc71 EXPECT_EQ(ADDRESS_FAMILY_IPV4, list[i].GetFamily()); in TEST()
Dnet_log_logger.cc179 net::ADDRESS_FAMILY_IPV4); in GetConstants()
/external/chromium_org/net/socket/
Dtransport_client_socket_pool_unittest.cc115 if (addrlist_.front().GetFamily() == ADDRESS_FAMILY_IPV4) in GetLocalAddress()
268 if (addrlist_.front().GetFamily() == ADDRESS_FAMILY_IPV4) in GetLocalAddress()
523 EXPECT_EQ(ADDRESS_FAMILY_IPV4, addrlist[0].GetFamily()); in TEST()
524 EXPECT_EQ(ADDRESS_FAMILY_IPV4, addrlist[1].GetFamily()); in TEST()
543 EXPECT_EQ(ADDRESS_FAMILY_IPV4, addrlist[0].GetFamily()); in TEST()
544 EXPECT_EQ(ADDRESS_FAMILY_IPV4, addrlist[1].GetFamily()); in TEST()
556 EXPECT_EQ(ADDRESS_FAMILY_IPV4, addrlist[0].GetFamily()); in TEST()
558 EXPECT_EQ(ADDRESS_FAMILY_IPV4, addrlist[2].GetFamily()); in TEST()
569 EXPECT_EQ(ADDRESS_FAMILY_IPV4, addrlist[0].GetFamily()); in TEST()
570 EXPECT_EQ(ADDRESS_FAMILY_IPV4, addrlist[1].GetFamily()); in TEST()
Dtcp_socket_unittest.cc37 ASSERT_EQ(OK, socket_.Open(ADDRESS_FAMILY_IPV4)); in SetUpListenIPv4()
207 int result = connecting_socket.Open(ADDRESS_FAMILY_IPV4); in TEST_F()
Dsocks_client_socket.cc272 host_request_info_.set_address_family(ADDRESS_FAMILY_IPV4); in DoResolveHost()
308 CHECK_EQ(ADDRESS_FAMILY_IPV4, endpoint.GetFamily()); in BuildHandshakeWriteBuffer()
/external/chromium/net/proxy/
Dproxy_resolver_js_bindings_unittest.cc178 "foo", ADDRESS_FAMILY_IPV4, "192.168.1.1"); in TEST()
180 "*", ADDRESS_FAMILY_IPV4, "192.168.1.2"); in TEST()
194 info.set_address_family(ADDRESS_FAMILY_IPV4); in TEST()
/external/chromium/chrome/browser/resources/net_internals/
Ddnsview.js64 var ipv6Disabled = (family == AddressFamily.ADDRESS_FAMILY_IPV4);
/external/chromium/chrome/browser/net/
Dconnection_tester.cc122 impl->SetDefaultAddressFamily(net::ADDRESS_FAMILY_IPV4); in CreateHostResolver()
129 net::ADDRESS_FAMILY_UNSPECIFIED : net::ADDRESS_FAMILY_IPV4; in CreateHostResolver()
/external/chromium_org/chrome/utility/local_discovery/
Dlocal_domain_resolver_unittest.cc103 "myhello.local", net::ADDRESS_FAMILY_IPV4, in TEST_F()
/external/chromium_org/net/proxy/
Dproxy_resolver_v8_tracing_unittest.cc284 "host1", ADDRESS_FAMILY_IPV4, "166.155.144.44"); in TEST_F()
292 "*", ADDRESS_FAMILY_IPV4, "122.133.144.155"); in TEST_F()
999 "host1", ADDRESS_FAMILY_IPV4, "166.155.144.44"); in TEST_F()
1007 "*", ADDRESS_FAMILY_IPV4, "122.133.144.155"); in TEST_F()
/external/chromium_org/chrome/browser/resources/net_internals/
Ddns_view.js95 var ipv6Disabled = (family == AddressFamily.ADDRESS_FAMILY_IPV4);

12