Searched refs:hbuf (Results 1 – 2 of 2) sorted by relevance
/bionic/libc/dns/net/ |
D | gethnamaddr.c | 569 android_read_hostent(FILE* proxy, struct hostent* hp, char* hbuf, size_t hbuflen, int *he) in android_read_hostent() argument 588 char *ptr = hbuf; in android_read_hostent() 589 char *hbuf_end = hbuf + hbuflen; in android_read_hostent() 680 char hbuf[MAXHOSTNAMELEN]; in gethostbyname_internal_real() local 715 hbuf, sizeof(hbuf)))) in gethostbyname_internal_real() 792 gethostbyname_internal(const char *name, int af, res_state res, struct hostent *hp, char *hbuf, in gethostbyname_internal() argument 799 return gethostbyname_internal_real(name, af, res, hp, hbuf, hbuflen, errorp); in gethostbyname_internal() 818 struct hostent* result = android_read_hostent(proxy, hp, hbuf, hbuflen, errorp); in gethostbyname_internal() 895 struct hostent *hp, char *hbuf, size_t hbuflen, int *he, in android_gethostbyaddrfornetcontext_proxy_internal() argument 901 return android_gethostbyaddrfornetcontext_real(addr,len, af, hp, hbuf, hbuflen, he, netcontext); in android_gethostbyaddrfornetcontext_proxy_internal() [all …]
|
/bionic/libc/dns/resolv/ |
D | res_send.c | 1297 char hbuf[NI_MAXHOST]; in Aerror() local 1301 if (getnameinfo(address, (socklen_t)alen, hbuf, sizeof(hbuf), in Aerror() 1303 strncpy(hbuf, "?", sizeof(hbuf) - 1); in Aerror() 1304 hbuf[sizeof(hbuf) - 1] = '\0'; in Aerror() 1309 string, hbuf, sbuf, strerror(error)); in Aerror()
|