Searched defs:addresses (Results 1 - 25 of 37) sorted by relevance

12

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
H A DFakeDns.java30 private List<InetAddress> addresses = Collections.emptyList(); field in class:FakeDns
32 /** Sets the addresses to be returned by this fake DNS service. */
33 public FakeDns addresses(List<InetAddress> addresses) { argument
34 this.addresses = new ArrayList<>(addresses);
40 this.addresses = Collections.emptyList();
45 return addresses.get(index);
50 if (addresses.isEmpty()) throw new UnknownHostException();
51 return addresses;
[all...]
/external/webrtc/webrtc/base/
H A Dnethelpers.h44 const std::vector<IPAddress>& addresses() const { return addresses_; } function in class:rtc::AsyncResolver
H A Dnethelpers.cc26 std::vector<IPAddress>* addresses) {
32 if (!addresses) {
35 addresses->clear();
50 addresses->push_back(ip);
25 ResolveHostname(const std::string& hostname, int family, std::vector<IPAddress>* addresses) argument
H A Dnetwork.cc128 // Link-local addresses require scope id to be bound successfully.
151 // These addresses are used as the targets to find out the default local address
243 // AddressList in this map will track IP addresses for all Networks
261 const std::vector<InterfaceAddress>& addresses = network->GetIPs(); local
263 for (const InterfaceAddress& address : addresses) {
294 // This network exists in the map already. Reset its IP addresses.
854 // Sets the addresses of this network. Returns true if the address set changed.
858 // of 2-3 addresses per network.
/external/libunwind/tests/
H A DGtest-trace.c53 void *addresses[3][128]; variable
75 addresses[0][depth] = (void *) ip;
88 printf ("\t #%-3d ip=%p\n", i, addresses[0][i]);
93 n = backtrace (addresses[1], 128);
97 printf ("\t #%-3d ip=%p\n", i, addresses[1][i]);
102 m = unw_backtrace (addresses[2], 128);
106 printf ("\t #%-3d ip=%p\n", i, addresses[2][i]);
122 /* Allow one in difference in comparison, trace returns adjusted addresses. */
123 if (labs((unw_word_t) addresses[1][i] - (unw_word_t) addresses[
[all...]
/external/tensorflow/tensorflow/core/platform/cloud/
H A Dgcs_dns_cache.cc65 // TODO(saeta): Blacklist failing IP addresses.
82 const std::vector<string>& addresses = addresses_[i]; local
83 if (!addresses.empty()) {
85 SelectRandomItemUniform(&random_, addresses);
89 LOG(WARNING) << "No IP addresses available for " << name;
136 // vector of IP addresses (in textual form).
156 // Don't immediately re-resolve the addresses.
/external/webrtc/webrtc/p2p/base/
H A Dtestturnserver.h30 explicit TestTurnRedirector(const std::vector<rtc::SocketAddress>& addresses) argument
31 : alternate_server_addresses_(addresses),
H A Dstunport.h78 set_server_addresses(const ServerAddresses& addresses) { argument
79 server_addresses_ = addresses;
162 // addresses, as opposed to rtc::AsyncResolverInterface, which can only
H A Dport_unittest.cc65 // Magic value of 30 is from RFC3484, for IPv4 addresses.
591 // Acquire addresses.
793 // Acquire addresses.
1457 SocketAddress addresses[4] = {SocketAddress("192.168.1.3", 0), local
1465 ports[i].reset(CreateUdpPort(addresses[i], &factory));
1468 ports[i].reset(CreateTcpPort(addresses[i], &factory));
1471 socket->SignalAddressReady(socket, addresses[i]);
1527 SocketAddress addresses[4] = {SocketAddress("2001:db8::1", 0), local
1534 ports[i].reset(CreateUdpPort(addresses[i], &factory));
1536 socket->SignalAddressReady(socket, addresses[
[all...]
/external/autotest/client/common_lib/cros/network/
H A Dinterface.py121 def addresses(self): member in class:Interface
122 """@return the addresses (MAC, IP) associated with interface."""
144 addresses = {}
151 if address_type not in addresses:
152 addresses[address_type] = []
153 addresses[address_type].append(address_value)
154 return addresses
216 # No valid interface has no addresses at all.
217 return bool(self.addresses)
276 return self.addresses
[all...]
/external/mesa3d/src/gallium/state_trackers/clover/util/
H A Dfunctional.hpp221 struct addresses { struct in namespace:clover
/external/perf_data_converter/src/
H A Dbuilder.cc211 const RepeatedField<uint64> addresses = sample.location_id(); local
213 for (uint64 address : addresses) {
/external/python/cpython3/Lib/email/
H A Dheaderregistry.py109 def __init__(self, display_name=None, addresses=None):
113 list of addresses (see Address) terminated by a semi-colon. The Group
121 the addresses list.
125 self._addresses = tuple(addresses) if addresses else tuple()
132 def addresses(self): member in class:Group
136 return "{}(display_name={!r}, addresses={!r}".format(
138 self.display_name, self.addresses)
141 if self.display_name is None and len(self.addresses)==1:
142 return str(self.addresses[
370 def addresses(self): member in class:AddressHeader
[all...]
H A D_header_value_parser.py671 def addresses(self): member in class:AddressList
2298 a list of addresses (a group). This is why the returned Address object has
2330 to skip invalid addresses to parse additional valid ones.
/external/deqp/framework/qphelper/
H A DqpCrashHandler.c323 void* addresses[32]; local
367 numInBatch = CaptureStackBackTrace(batchStart, DE_LENGTH_OF_ARRAY(addresses), addresses, NULL);
371 BOOL symInfoOk = SymFromAddr(process, (DWORD64)addresses[curFrame], 0, symInfo);
373 writeInfoFormat(writeInfo, userPtr, " %2d: %p %s%s\n", globalFrameNdx++, addresses[curFrame],
381 if (numInBatch == 0 || numInBatch < DE_LENGTH_OF_ARRAY(addresses))
/external/syslinux/core/lwip/src/netif/ppp/
H A Dauth.c111 /* List of addresses which the peer may use. */
112 static struct wordlist *addresses[NUM_PPP]; variable in typeref:struct:wordlist
115 /* Wordlist giving addresses which the peer may use
1002 * acceptable, and iff so, set the list of acceptable IP addresses
1135 * set_allowed_addrs() - set the list of allowed addresses.
1140 if (addresses[unit] != NULL) {
1141 free_wordlist(addresses[unit]);
1143 addresses[unit] = addrs;
1179 return ip_addr_check(addr, addresses[unit]);
1191 return !ppp_settings.auth_required; /* no addresses authorize
[all...]
/external/ipsec-tools/
H A Dsetup.c126 do_plog(LLV_WARNING, "Found multiple addresses. Use the first one.\n");
233 char addresses[sizeof(struct sockaddr_storage) * 2]; member in struct:__anon8889
263 memcpy(policy.addresses, local, size);
264 memcpy(&policy.addresses[size], remote, size);
296 memcpy(policy.addresses, remote, size);
297 memcpy(&policy.addresses[size], local, size);
/external/libpcap/pcap/
H A Dpcap.h222 struct pcap_addr *addresses; member in struct:pcap_if
/external/google-breakpad/src/tools/linux/md2core/
H A Dminidump-2-core.cc629 char addresses[18]; local
630 memcpy(addresses, range.data(), 17);
631 addresses[17] = '\000';
632 if (strspn(addresses, "0123456789abcdef-") == 17) {
/external/webrtc/webrtc/test/channel_transport/
H A Dudp_socket2_win.cc983 PNETWORK_ADDRESS_LIST addresses = local
985 for(LONG i = 0; i < addresses->AddressCount ; i++)
987 // Only look at TCP/IP addresses.
988 if(addresses->Address[i].AddressType != NDIS_PROTOCOL_ID_TCP_IP)
994 (NETWORK_ADDRESS_IP*)&(addresses->Address[i].Address);
/external/libevent/test/
H A Dregress_dns.c84 void *addresses, void *arg)
104 struct in6_addr *in6_addrs = addresses;
121 struct in_addr *in_addrs = addresses;
135 TT_BLATHER(("%s ", *(char **)addresses));
292 void *addresses, void *arg)
314 struct in_addr *in_addrs = addresses;
325 struct in6_addr *in6_addrs = addresses;
338 char **addrs = addresses;
477 generic_dns_callback(int result, char type, int count, int ttl, void *addresses, argument
492 len = strlen(addresses)
83 dns_gethostbyname_cb(int result, char type, int count, int ttl, void *addresses, void *arg) argument
291 dns_server_gethostbyname_cb(int result, char type, int count, int ttl, void *addresses, void *arg) argument
[all...]
/external/ppp/pppd/
H A Dauth.c135 /* List of addresses which the peer may use. */
136 static struct permitted_ip *addresses[NUM_PPP]; variable in typeref:struct:permitted_ip
138 /* Wordlist giving addresses which the peer may use
1493 * acceptable, and iff so, set the list of acceptable IP addresses
1830 * set_allowed_addrs() - set the list of allowed addresses.
1850 if (addresses[unit] != NULL)
1851 free(addresses[unit]);
1852 addresses[unit] = NULL;
1858 * Count the number of IP addresses given.
1874 /* "-" means no addresses authorize
[all...]
/external/webrtc/webrtc/modules/audio_device/mac/
H A Daudio_device_mac.cc2084 const AudioObjectPropertyAddress addresses[],
2089 ptrThis->implObjectListenerProc(objectId, numberAddresses, addresses);
2098 const AudioObjectPropertyAddress addresses[]) {
2103 if (addresses[i].mSelector == kAudioHardwarePropertyDevices) {
2105 } else if (addresses[i].mSelector == kAudioDevicePropertyStreamFormat) {
2106 HandleStreamFormatChange(objectId, addresses[i]);
2107 } else if (addresses[i].mSelector == kAudioDevicePropertyDataSource) {
2108 HandleDataSourceChange(objectId, addresses[i]);
2109 } else if (addresses[i].mSelector == kAudioDeviceProcessorOverload) {
2110 HandleProcessorOverload(addresses[
2081 objectListenerProc( AudioObjectID objectId, UInt32 numberAddresses, const AudioObjectPropertyAddress addresses[], void* clientData) argument
2095 implObjectListenerProc( const AudioObjectID objectId, const UInt32 numberAddresses, const AudioObjectPropertyAddress addresses[]) argument
[all...]
/external/v8/src/
H A Dlog.cc678 std::vector<base::OS::SharedLibraryAddress> addresses = local
680 for (size_t i = 0; i < addresses.size(); ++i) {
682 SharedLibraryEvent(addresses[i].library_path, addresses[i].start,
683 addresses[i].end, addresses[i].aslr_slide));
/external/dexmaker/lib/
H A Dlibcore-dex-2.jar ... java.lang.Object { final int[] typeIndexes final int[] addresses final int catchAllAddress final int offset public void " href= ...

Completed in 2029 milliseconds

12