Home
last modified time | relevance | path

Searched refs:addr_ptrs (Results 1 – 2 of 2) sorted by relevance

/system/netd/resolv/
Dsethostent.cpp71 char* addr_ptrs[MAXADDRS]; in _hf_gethtbyname2() local
127 HENT_COPY(addr_ptrs[num], hp->h_addr_list[0], hp->h_length, ptr, len); in _hf_gethtbyname2()
152 HENT_COPY(hp->h_addr_list[i], addr_ptrs[i], hp->h_length, ptr, len); in _hf_gethtbyname2()
Dgethnamaddr.cpp157 char* addr_ptrs[MAXADDRS]; in getanswer() local
209 hent->h_addr_list = hap = addr_ptrs; in getanswer()
350 if (hap >= &addr_ptrs[MAXADDRS - 1]) { in getanswer()
374 if (res->nsort && haveanswer > 1 && qtype == T_A) addrsort(addr_ptrs, haveanswer, res); in getanswer()
398 n = (int) (hap - addr_ptrs); in getanswer()
402 memcpy(bp, addr_ptrs, qlen); in getanswer()