/external/curl/lib/ |
D | curl_addrinfo.c | 294 DEBUGASSERT((he->h_name != NULL) && (he->h_addr_list != NULL)); in Curl_he2ai() 296 for(i = 0; (curr = he->h_addr_list[i]) != NULL; i++) { in Curl_he2ai() 383 char *h_addr_list[2]; member 450 h->h_addr_list = &buf->h_addr_list[0]; in Curl_ip2addr() 451 h->h_addr_list[0] = addrentry; in Curl_ip2addr() 452 h->h_addr_list[1] = NULL; /* terminate list of entries */ in Curl_ip2addr()
|
/external/ltp/testcases/network/multicast/mc_gethost/ |
D | mc_gethost.c | 93 if (host->h_addr_list && *host->h_addr_list) { in main() 95 for (ap = host->h_addr_list; *ap; ap++) { in main()
|
/external/openssh/openbsd-compat/ |
D | fake-rfc2553.c | 210 if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) { in getaddrinfo() 214 for (i = 0; hp->h_addr_list[i]; i++) { in getaddrinfo() 215 struct in_addr *in = (struct in_addr *)hp->h_addr_list[i]; in getaddrinfo()
|
/external/ltp/testcases/network/sockets/ |
D | ltpClient.c | 124 inet_ntoa(*(struct in_addr *)hostEntry->h_addr_list[0])); in main() 130 hostEntry->h_addr_list[0], hostEntry->h_length); in main() 137 hostEntry->h_addr_list[0], hostEntry->h_length); in main() 144 hostEntry->h_addr_list[0], hostEntry->h_length); in main() 236 inet_ntoa(*(struct in_addr *)hostEntry->h_addr_list[0])); in main()
|
D | ltpServer.c | 98 memcpy(&multiCastAddr, hostEntry->h_addr_list[0], hostEntry->h_length); in main()
|
/external/mdnsresponder/mDNSWindows/mdnsNSP/ |
D | mdnsNSP.c | 1565 he->h_addr_list = (char **)( dst - base ); in QueryCopyQuerySetTo() 2022 if ( info->m_host.h_addr_list ) in HostsFileInfoFree() 2024 if ( info->m_host.h_addr_list[0] ) in HostsFileInfoFree() 2026 free( info->m_host.h_addr_list[0] ); in HostsFileInfoFree() 2027 info->m_host.h_addr_list[0] = NULL; in HostsFileInfoFree() 2030 free( info->m_host.h_addr_list ); in HostsFileInfoFree() 2031 info->m_host.h_addr_list = NULL; in HostsFileInfoFree() 2169 (*hInfo)->m_host.h_addr_list = (char**) malloc( sizeof( char**) * 2 ); in HostsFileNext() 2170 require_action( (*hInfo)->m_host.h_addr_list, exit, err = kNoMemoryErr ); in HostsFileNext() 2175 (*hInfo)->m_host.h_addr_list[0] = (char*) malloc( (*hInfo)->m_host.h_length ); in HostsFileNext() [all …]
|
/external/python/cpython2/Modules/ |
D | getaddrinfo.c | 505 if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) { 506 GET_AI(cur, gai_afd, hp->h_addr_list[0], port); 576 (hp->h_addr_list[0] == NULL)) { 581 for (i = 0; (ap = hp->h_addr_list[i]) != NULL; i++) {
|
/external/python/cpython3/Modules/ |
D | getaddrinfo.c | 505 if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) { 506 GET_AI(cur, gai_afd, hp->h_addr_list[0], port); 576 (hp->h_addr_list[0] == NULL)) { 581 for (i = 0; (ap = hp->h_addr_list[i]) != NULL; i++) {
|
/external/libpcap/ |
D | nametoaddr.c | 171 for (p = (bpf_u_int32 **)hp->h_addr_list; *p; ++p) in pcap_nametoaddr() 173 return (bpf_u_int32 **)hp->h_addr_list; in pcap_nametoaddr()
|
/external/libcups/cups/ |
D | http-addrlist.c | 733 for (i = 0; host->h_addr_list[i]; i ++) in httpAddrGetList() 750 memcpy(&(temp->addr.ipv6.sin6_addr), host->h_addr_list[i], in httpAddrGetList() 758 memcpy(&(temp->addr.ipv4.sin_addr), host->h_addr_list[i], in httpAddrGetList()
|
D | http-addr.c | 720 cg->hostent.h_addr_list = cg->ip_ptrs; in httpGetHostByName() 757 cg->hostent.h_addr_list = cg->ip_ptrs; in httpGetHostByName()
|
/external/tensorflow/tensorflow/contrib/ignite/kernels/client/ |
D | ignite_plain_client_unix.cc | 57 addr_list = (in_addr**)he->h_addr_list; in Connect()
|
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/ |
D | grpc_ares_wrapper.cc | 190 for (i = 0; hostent->h_addr_list[i] != nullptr; i++) { in on_hostbyname_done_locked() 202 memcpy(&addr.sin6_addr, hostent->h_addr_list[i - prev_naddr], in on_hostbyname_done_locked() 223 memcpy(&addr.sin_addr, hostent->h_addr_list[i - prev_naddr], in on_hostbyname_done_locked()
|
/external/openssh/ |
D | logintest.c | 120 memcpy((void *)&(sa_in4.sin_addr), (void *)&(he->h_addr_list[0][0]), in testAPI()
|
/external/ltp/testcases/network/rpc/basic_tests/rpc01/ |
D | rpc1.c | 105 host_address = (long)*((int *)hp->h_addr_list[0]); in main()
|
/external/ppp/pppd/plugins/radius/ |
D | config.c | 429 for (paddr = hp->h_addr_list; *paddr; paddr++) in find_match()
|
/external/libxml2/ |
D | nanohttp.c | 1177 for (i = 0; h->h_addr_list[i]; i++) { in xmlNanoHTTPConnectHost() 1184 memcpy (&ia, h->h_addr_list[i], h->h_length); in xmlNanoHTTPConnectHost() 1196 memcpy (&ia6, h->h_addr_list[i], h->h_length); in xmlNanoHTTPConnectHost()
|
/external/toybox/toys/pending/ |
D | route.c | 92 memcpy(&sockin->sin_addr, host->h_addr_list[0], sizeof(struct in_addr)); in get_hostname()
|
/external/oj-libjdwp/src/share/transport/socket/ |
D | socketTransport.c | 236 memcpy(&(sa->sin_addr), hp->h_addr_list[0], hp->h_length); in parseAddress()
|
/external/webrtc/webrtc/base/ |
D | win32socketserver.cc | 685 uint32_t net_ip = *reinterpret_cast<uint32_t*>(pHost->h_addr_list[0]); in OnDnsNotify()
|
/external/iputils/ |
D | rarpd.c | 318 ifa = select_ipaddr(ifindex, &emap.ipaddr, (__u32 **)hp->h_addr_list); in rarp_lookup()
|
/external/ltp/testcases/kernel/syscalls/epoll2/examples/ |
D | epoll-test.c | 763 memcpy(&inadr.s_addr, he->h_addr_list[0], he->h_length); in main()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_platform_limits_posix.h | 674 char **h_addr_list; member
|
/external/libevent/ |
D | evutil.c | 1175 for (i = 0; ent->h_addr_list[i]; ++i) { in addrinfo_from_hostent() 1176 memcpy(addrp, ent->h_addr_list[i], ent->h_length); in addrinfo_from_hostent()
|
/external/ppp/pppd/ |
D | tty.c | 898 host = *(u_int32_t *)(hent->h_addr_list[0]);
|