Searched refs:h_length (Results 1 – 22 of 22) sorted by relevance
/external/libpcap/Win32/Src/ |
D | getaddrinfo.c | 612 apbuf = (char *)malloc(hp->h_length * naddrs); 623 memcpy(&apbuf[i * hp->h_length], hp->h_addr_list[i], 624 hp->h_length); 625 aplist[i] = &apbuf[i * hp->h_length]; 938 if ((ap = (char *)malloc(hp->h_length)) == NULL) { 942 memcpy(ap, hp->h_addr_list[0], hp->h_length);
|
/external/mdnsresponder/mDNSPosix/ |
D | nss_mdns.c | 867 result->hostent->h_length = 4; in mdns_lookup_name() 873 result->hostent->h_length = 16; in mdns_lookup_name() 951 result->hostent->h_length = addr_len; in mdns_lookup_addr() 1274 if (len != result->hostent->h_length) in add_address_to_buffer() 1278 result->hostent->h_length, in add_address_to_buffer() 1315 if (len != result->hostent->h_length) in contains_address() 1319 result->hostent->h_length, in contains_address()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_network.c | 122 memcpy((char *)&sa.sin_addr,host->h_addr_list[0],host->h_length); in u_socket_connect()
|
/external/c-ares/ |
D | ares_parse_ns_reply.c | 168 hostent->h_length = sizeof( struct in_addr ); in ares_parse_ns_reply()
|
D | ares_gethostbyname.c | 284 hostent.h_length = (int)sizeof(struct in_addr); in fake_hostent() 289 hostent.h_length = (int)sizeof(struct ares_in6_addr); in fake_hostent()
|
D | ares__get_hostent.c | 223 hostent->h_length = (int)addrlen; in ares__get_hostent()
|
D | ares_parse_ptr_reply.c | 193 hostent->h_length = addrlen; in ares_parse_ptr_reply()
|
D | ares_parse_a_reply.c | 240 hostent->h_length = sizeof(struct in_addr); in ares_parse_a_reply()
|
D | ares_parse_aaaa_reply.c | 238 hostent->h_length = sizeof(struct ares_in6_addr); in ares_parse_aaaa_reply()
|
/external/xmlrpcpp/src/ |
D | XmlRpcSocket.cpp | 158 memcpy(&saddr.sin_addr, hp->h_addr, hp->h_length); in connect()
|
/external/libxml2/ |
D | nanohttp.c | 1172 if ((unsigned int) h->h_length > sizeof(ia)) { in xmlNanoHTTPConnectHost() 1176 memcpy (&ia, h->h_addr_list[i], h->h_length); in xmlNanoHTTPConnectHost() 1184 if ((unsigned int) h->h_length > sizeof(ia6)) { in xmlNanoHTTPConnectHost() 1188 memcpy (&ia6, h->h_addr_list[i], h->h_length); in xmlNanoHTTPConnectHost()
|
D | nanoftp.c | 940 if ((unsigned int) hp->h_length > in xmlNanoFTPConnect() 951 hp->h_addr_list[0], hp->h_length); in xmlNanoFTPConnect()
|
/external/wpa_supplicant_8/src/common/ |
D | wpa_ctrl.c | 400 os_memcpy(&ctrl->dest.sin6_addr, h->h_addr, h->h_length); in wpa_ctrl_open() 403 os_memcpy(&ctrl->dest.sin_addr.s_addr, h->h_addr, h->h_length); in wpa_ctrl_open()
|
/external/libevent/ |
D | evutil.c | 1004 if (ent->h_length != sizeof(sin.sin_addr)) { in addrinfo_from_hostent() 1015 if (ent->h_length != sizeof(sin6.sin6_addr)) { in addrinfo_from_hostent() 1023 memcpy(addrp, ent->h_addr_list[i], ent->h_length); in addrinfo_from_hostent() 1360 if (ent->h_length == 0) in evutil_getaddrinfo()
|
/external/skia/experimental/Networking/ |
D | SkSockets.cpp | 320 server->h_length); in SkTCPClient()
|
/external/curl/lib/ |
D | curl_addrinfo.c | 435 h->h_length = (short)addrsize; in Curl_ip2addr()
|
/external/netperf/src/ |
D | nettest_xti.c | 581 hp->h_length); in send_xti_tcp_stream() 1792 hp->h_length); in send_xti_tcp_rr() 2515 hp->h_length); in send_xti_udp_stream() 3511 hp->h_length); in send_xti_udp_rr() 5073 hp->h_length); in send_xti_tcp_conn_rr()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_platform_limits_posix.h | 649 int h_length; member
|
D | sanitizer_platform_limits_posix.cc | 1002 CHECK_SIZE_AND_OFFSET(hostent, h_length);
|
D | sanitizer_common_interceptors.inc | 2032 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, *p, h->h_length);
|
/external/iptables/libxtables/ |
D | xtables.c | 1339 host->h_length != sizeof(struct in_addr)) in host_to_ipaddr()
|
/external/iputils/ |
D | RELNOTES | 565 - do not trust h_length returned by system resolver.
|