Searched refs:h_length (Results 1 – 4 of 4) sorted by relevance
/bionic/libc/dns/net/ |
D | sethostent.c | 169 hent.h_length = 0; /* XXX: gcc */ in _hf_gethtbyname2() 173 info->hp->h_length = 0; in _hf_gethtbyname2() 194 hent.h_length = hp->h_length; in _hf_gethtbyname2() 210 HENT_COPY(addr_ptrs[num], hp->h_addr_list[0], hp->h_length, ptr, in _hf_gethtbyname2() 227 hp->h_length = hent.h_length; in _hf_gethtbyname2() 233 HENT_COPY(hp->h_addr_list[i], addr_ptrs[i], hp->h_length, ptr, in _hf_gethtbyname2() 264 info->hp->h_length = va_arg(ap, int); in _hf_gethtbyaddr() 275 if (!memcmp(hp->h_addr_list[0], addr, (size_t)hp->h_length)) in _hf_gethtbyaddr()
|
D | gethnamaddr.c | 424 if (n != hent->h_length) { in getanswer() 634 hp->h_length = ntohl(size); in android_read_hostent() 707 hp->h_length = (int)size; in gethostbyname_internal_real() 997 if (hent->h_length != 0 && hent->h_length != len) in netbsd_gethostent_r() 1016 hent->h_length = len; in netbsd_gethostent_r() 1021 HENT_COPY(hent->h_addr_list[0], &host_addr, hent->h_length, buf, in netbsd_gethostent_r() 1072 if (hp->h_addrtype != AF_INET || hp->h_length != NS_INADDRSZ) in map_v4v6_hostent() 1075 hp->h_length = NS_IN6ADDRSZ; in map_v4v6_hostent() 1154 info->hp->h_length = NS_INADDRSZ; in _dns_gethtbyname() 1158 info->hp->h_length = NS_IN6ADDRSZ; in _dns_gethtbyname() [all …]
|
/bionic/libc/include/ |
D | netdb.h | 85 int h_length; /* length of address */ member
|
/bionic/tests/headers/posix/ |
D | netdb_h.c | 38 STRUCT_MEMBER(struct hostent, int, h_length); in netdb_h()
|