Searched refs:h_length (Results 1 – 4 of 4) sorted by relevance
/bionic/libc/dns/net/ |
D | sethostent.c | 166 hent.h_length = 0; /* XXX: gcc */ in _hf_gethtbyname2() 170 info->hp->h_length = 0; in _hf_gethtbyname2() 191 hent.h_length = hp->h_length; in _hf_gethtbyname2() 207 HENT_COPY(addr_ptrs[num], hp->h_addr_list[0], hp->h_length, ptr, in _hf_gethtbyname2() 224 hp->h_length = hent.h_length; in _hf_gethtbyname2() 230 HENT_COPY(hp->h_addr_list[i], addr_ptrs[i], hp->h_length, ptr, in _hf_gethtbyname2() 261 info->hp->h_length = va_arg(ap, int); in _hf_gethtbyaddr() 272 if (!memcmp(hp->h_addr_list[0], addr, (size_t)hp->h_length)) in _hf_gethtbyaddr()
|
D | gethnamaddr.c | 423 if (n != hent->h_length) { in getanswer() 633 hp->h_length = ntohl(size); in android_read_hostent() 706 hp->h_length = (int)size; in gethostbyname_internal_real() 996 if (hent->h_length != 0 && hent->h_length != len) in netbsd_gethostent_r() 1015 hent->h_length = len; in netbsd_gethostent_r() 1020 HENT_COPY(hent->h_addr_list[0], &host_addr, hent->h_length, buf, in netbsd_gethostent_r() 1071 if (hp->h_addrtype != AF_INET || hp->h_length != NS_INADDRSZ) in map_v4v6_hostent() 1074 hp->h_length = NS_IN6ADDRSZ; in map_v4v6_hostent() 1153 info->hp->h_length = NS_INADDRSZ; in _dns_gethtbyname() 1157 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()
|