Home
last modified time | relevance | path

Searched refs:addrlist (Results 1 – 21 of 21) sorted by relevance

/external/chromium/net/base/
Dhost_resolver_impl_unittest.cc91 AddressList* addrlist, in Resolve() argument
99 host_resolver_flags, addrlist, os_error); in Resolve()
138 AddressList* addrlist, in Resolve() argument
149 addrlist, os_error); in Resolve()
207 const AddressList& addrlist() const { in addrlist() function in net::__anoneae596fa0111::ResolveRequest
259 AddressList addrlist; in TEST_F() local
271 int err = host_resolver->Resolve(info, &addrlist, NULL, NULL, log.bound()); in TEST_F()
283 const struct addrinfo* ainfo = addrlist.head(); in TEST_F()
294 AddressList addrlist; in TEST_F() local
306 int err = host_resolver->Resolve(info, &addrlist, &callback_, NULL, in TEST_F()
[all …]
Daddress_list_unittest.cc22 AddressList* addrlist) { in CreateAddressList() argument
29 addrlist, NULL); in CreateAddressList()
31 addrlist->SetPort(port); in CreateAddressList()
35 void CreateLongAddressList(AddressList* addrlist, int port) { in CreateLongAddressList() argument
36 EXPECT_EQ(0, CreateAddressList("192.168.1.1", port, addrlist)); in CreateLongAddressList()
39 addrlist->Append(second_list.head()); in CreateLongAddressList()
43 AddressList addrlist; in TEST() local
44 EXPECT_EQ(0, CreateAddressList("192.168.1.1", 81, &addrlist)); in TEST()
45 EXPECT_EQ(81, addrlist.GetPort()); in TEST()
47 addrlist.SetPort(83); in TEST()
[all …]
Dhost_cache.cc15 const AddressList& addrlist, in Entry() argument
17 : error(error), addrlist(addrlist), expiration(expiration) { in Entry()
55 const AddressList& addrlist, in Set() argument
67 Entry* ptr = new Entry(error, addrlist, expiration); in Set()
78 entry->addrlist = addrlist; in Set()
Dmock_host_resolver.cc33 AddressList* addrlist) { in CreateIPAddressList() argument
34 *addrlist = AddressList(); in CreateIPAddressList()
48 if (!addrlist->head()) in CreateIPAddressList()
49 addrlist->Copy(result.head(), false); in CreateIPAddressList()
51 addrlist->Append(result.head()); in CreateIPAddressList()
226 AddressList* addrlist, in Resolve() argument
256 addrlist, os_error); in Resolve()
260 addrlist); in Resolve()
268 host_resolver_flags, addrlist, os_error); in Resolve()
286 AddressList* addrlist, in Resolve() argument
[all …]
Dhost_resolver_proc.cc74 AddressList* addrlist, in ResolveUsingPrevious() argument
78 addrlist, os_error); in ResolveUsingPrevious()
83 addrlist, os_error); in ResolveUsingPrevious()
123 AddressList* addrlist, in SystemHostResolverProc() argument
263 addrlist->Adopt(ai); in SystemHostResolverProc()
Dhost_resolver_proc.h36 AddressList* addrlist,
48 AddressList* addrlist,
89 AddressList* addrlist,
Dhost_cache.h26 Entry(int error, const AddressList& addrlist, base::TimeTicks expiration);
30 AddressList addrlist; member
94 const AddressList& addrlist,
Dhost_resolver_impl.cc283 void OnComplete(int error, const AddressList& addrlist) { in OnComplete() argument
285 addresses_->SetFrom(addrlist, port()); in OnComplete()
1025 addresses->SetFrom(cache_entry->addrlist, info.port()); in Resolve()
1048 AddressList addrlist; in Resolve() local
1052 key.host_resolver_flags, &addrlist, &os_error); in Resolve()
1054 addrlist.SetPort(info.port()); in Resolve()
1055 *addresses = addrlist; in Resolve()
1060 cache_->Set(key, error, addrlist, base::TimeTicks::Now()); in Resolve()
1204 const AddressList& addrlist) { in OnJobComplete() argument
1209 cache_->Set(job->key(), net_error, addrlist, base::TimeTicks::Now()); in OnJobComplete()
[all …]
Dmock_host_resolver.h142 AddressList* addrlist,
165 AddressList* addrlist,
Dhost_resolver_impl.h158 const AddressList& addrlist);
166 const AddressList& addrlist);
/external/chromium/net/socket/
Dtransport_client_socket_pool_unittest.cc50 MockClientSocket(const AddressList& addrlist) in MockClientSocket() argument
52 addrlist_(addrlist) {} in MockClientSocket()
109 MockFailingClientSocket(const AddressList& addrlist) : addrlist_(addrlist) {} in MockFailingClientSocket() argument
164 const AddressList& addrlist, in MockPendingClientSocket() argument
173 addrlist_(addrlist) {} in MockPendingClientSocket()
410 AddressList addrlist; in TEST() local
414 addrlist.Copy(addrlist_v4_1.head(), true); in TEST()
415 addrlist.Append(addrlist_v4_2.head()); in TEST()
416 TransportConnectJob::MakeAddrListStartWithIPv4(&addrlist); in TEST()
417 ai = addrlist.head(); in TEST()
[all …]
Dtransport_client_socket_pool.cc33 bool AddressListStartsWithIPv6AndHasAnIPv4Addr(const AddressList& addrlist) { in AddressListStartsWithIPv6AndHasAnIPv4Addr() argument
34 const struct addrinfo* ai = addrlist.head(); in AddressListStartsWithIPv6AndHasAnIPv4Addr()
48 bool AddressListOnlyContainsIPv6Addresses(const AddressList& addrlist) { in AddressListOnlyContainsIPv6Addresses() argument
49 DCHECK(addrlist.head()); in AddressListOnlyContainsIPv6Addresses()
50 for (const struct addrinfo* ai = addrlist.head(); ai; ai = ai->ai_next) { in AddressListOnlyContainsIPv6Addresses()
155 void TransportConnectJob::MakeAddrListStartWithIPv4(AddressList* addrlist) { in MakeAddrListStartWithIPv4() argument
156 if (addrlist->head()->ai_family != AF_INET6) in MakeAddrListStartWithIPv4()
159 for (const struct addrinfo* ai = addrlist->head(); ai; ai = ai->ai_next) { in MakeAddrListStartWithIPv4()
168 struct addrinfo* head = CreateCopyOfAddrinfo(addrlist->head(), true); in MakeAddrListStartWithIPv4()
182 addrlist->Copy(head, true); in MakeAddrListStartWithIPv4()
Dtransport_client_socket_pool.h86 static void MakeAddrListStartWithIPv4(AddressList* addrlist);
/external/ipsec-tools/src/racoon/
Disakmp_cfg.c1878 char addrlist[IP_MAX * MAXNS + MAXNS]; local
1879 char *splitlist = addrlist;
1960 isakmp_cfg_iplist_to_str(addrlist, iph1->mode_cfg->dns4_index,
1964 addrlist[0] = '\0';
1971 if (script_env_append(envp, envc, "INTERNAL_DNS4_LIST", addrlist) != 0) {
1987 isakmp_cfg_iplist_to_str(addrlist, iph1->mode_cfg->wins4_index,
1991 addrlist[0] = '\0';
2000 "INTERNAL_WINS4_LIST", addrlist) != 0) {
2027 splitlist = addrlist;
2028 splitlist_cidr = addrlist;
[all …]
/external/chromium/chrome/browser/
Dintranet_redirect_detector.cc171 net::AddressList* addrlist, in Resolve() argument
181 ResolveUsingPrevious(host, address_family, host_resolver_flags, addrlist, in Resolve()
Dintranet_redirect_detector.h99 net::AddressList* addrlist,
/external/chromium/chrome/common/net/
Draw_host_resolver_proc.cc19 net::AddressList* addrlist, in Resolve() argument
Draw_host_resolver_proc.h30 net::AddressList* addrlist,
/external/chromium/net/proxy/
Dproxy_resolver_js_bindings.cc246 *address_list = entry->addrlist; in DnsResolveHelper()
/external/chromium/chrome/browser/ui/webui/
Dnet_internals_ui.cc994 const struct addrinfo* current_address = entry->addrlist.head(); in OnGetHostResolverInfo()
/external/chromium/net/http/
Dhttp_network_transaction_unittest.cc5807 AddressList addrlist; in BypassHostCacheOnRefreshHelper() local
5809 HostResolver::RequestInfo(HostPortPair("www.google.com", 80)), &addrlist, in BypassHostCacheOnRefreshHelper()
5817 HostResolver::RequestInfo(HostPortPair("www.google.com", 80)), &addrlist, in BypassHostCacheOnRefreshHelper()