Searched refs:hbuf (Results 1 – 2 of 2) sorted by relevance
/bionic/libc/dns/net/ |
D | gethnamaddr.c | 568 android_read_hostent(FILE* proxy, struct hostent* hp, char* hbuf, size_t hbuflen, int *he) in android_read_hostent() argument 587 char *ptr = hbuf; in android_read_hostent() 588 char *hbuf_end = hbuf + hbuflen; in android_read_hostent() 679 char hbuf[MAXHOSTNAMELEN]; in gethostbyname_internal_real() local 714 hbuf, sizeof(hbuf)))) in gethostbyname_internal_real() 791 gethostbyname_internal(const char *name, int af, res_state res, struct hostent *hp, char *hbuf, in gethostbyname_internal() argument 798 return gethostbyname_internal_real(name, af, res, hp, hbuf, hbuflen, errorp); in gethostbyname_internal() 817 struct hostent* result = android_read_hostent(proxy, hp, hbuf, hbuflen, errorp); in gethostbyname_internal() 894 struct hostent *hp, char *hbuf, size_t hbuflen, int *he, in android_gethostbyaddrfornetcontext_proxy_internal() argument 900 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 | 1296 char hbuf[NI_MAXHOST]; in Aerror() local 1300 if (getnameinfo(address, (socklen_t)alen, hbuf, sizeof(hbuf), in Aerror() 1302 strncpy(hbuf, "?", sizeof(hbuf) - 1); in Aerror() 1303 hbuf[sizeof(hbuf) - 1] = '\0'; in Aerror() 1308 string, hbuf, sbuf, strerror(error)); in Aerror()
|