Searched refs:addr_ptrs (Results 1 – 2 of 2) sorted by relevance
/bionic/libc/dns/net/ |
D | sethostent.c | 149 char *addr_ptrs[MAXADDRS]; in _hf_gethtbyname2() local 210 HENT_COPY(addr_ptrs[num], hp->h_addr_list[0], hp->h_length, ptr, in _hf_gethtbyname2() 233 HENT_COPY(hp->h_addr_list[i], addr_ptrs[i], hp->h_length, ptr, in _hf_gethtbyname2()
|
D | gethnamaddr.c | 232 char *addr_ptrs[MAXADDRS]; in getanswer() local 288 hent->h_addr_list = hap = addr_ptrs; in getanswer() 452 if (hap >= &addr_ptrs[MAXADDRS - 1]) { in getanswer() 481 addrsort(addr_ptrs, haveanswer, res); in getanswer() 510 n = (int)(hap - addr_ptrs); in getanswer() 515 memcpy(bp, addr_ptrs, qlen); in getanswer() 636 char *addr_ptrs[MAXADDRS]; in android_read_hostent() local 637 char **addr_p = &addr_ptrs[0]; in android_read_hostent() 650 if (addr_p < &addr_ptrs[MAXADDRS - 1]) { in android_read_hostent() 659 int addrs_len = ((int)(addr_p - addr_ptrs) + 1) * sizeof(*hp->h_addr_list); in android_read_hostent() [all …]
|