Searched refs:hent (Results 1 – 2 of 2) sorted by relevance
/system/netd/resolv/ |
D | sethostent.cpp | 67 struct hostent *hp, hent; in _hf_gethtbyname2() local 87 hent.h_name = NULL; in _hf_gethtbyname2() 88 hent.h_addrtype = 0; in _hf_gethtbyname2() 89 hent.h_length = 0; in _hf_gethtbyname2() 114 hent.h_addrtype = hp->h_addrtype; in _hf_gethtbyname2() 115 hent.h_length = hp->h_length; in _hf_gethtbyname2() 117 HENT_SCOPY(hent.h_name, hp->h_name, ptr, len); in _hf_gethtbyname2() 145 hp->h_addrtype = hent.h_addrtype; in _hf_gethtbyname2() 146 hp->h_length = hent.h_length; in _hf_gethtbyname2() 161 HENT_SCOPY(hp->h_name, hent.h_name, ptr, len); in _hf_gethtbyname2()
|
D | gethnamaddr.cpp | 145 res_state res, struct hostent* hent, char* buf, size_t buflen, in getanswer() argument 166 hent->h_name = NULL; in getanswer() 204 hent->h_name = bp; in getanswer() 207 qname = hent->h_name; in getanswer() 209 hent->h_addr_list = hap = addr_ptrs; in getanswer() 257 hent->h_name = bp; in getanswer() 303 hent->h_name = bp; in getanswer() 317 if (strcasecmp(hent->h_name, bp) != 0) { in getanswer() 318 LOG(DEBUG) << __func__ << ": asked for \"" << hent->h_name << "\", got \"" << bp in getanswer() 323 if (n != hent->h_length) { in getanswer() [all …]
|