Home
last modified time | relevance | path

Searched refs:hbuf (Results 1 – 3 of 3) sorted by relevance

/system/netd/resolv/
DResolverController.cpp147 char hbuf[NI_MAXHOST]; in getDnsInfo() local
150 sizeof(res_servers[i]), hbuf, sizeof(hbuf), nullptr, 0, NI_NUMERICHOST); in getDnsInfo()
153 server_str.assign(hbuf); in getDnsInfo()
Dres_send.cpp1167 char hbuf[NI_MAXHOST]; in Aerror() local
1172 if (getnameinfo(address, (socklen_t) alen, hbuf, sizeof(hbuf), sbuf, sizeof(sbuf), in Aerror()
1174 strncpy(hbuf, "?", sizeof(hbuf) - 1); in Aerror()
1175 hbuf[sizeof(hbuf) - 1] = '\0'; in Aerror()
1179 LOG(DEBUG) << __func__ << ": " << string << " ([" << hbuf << "]." << sbuf in Aerror()
Dgethnamaddr.cpp122 static int gethostbyname_internal(const char* name, int af, res_state res, hostent* hp, char* hbuf,
496 static int gethostbyname_internal(const char* name, int af, res_state res, hostent* hp, char* hbuf, in gethostbyname_internal() argument
499 return gethostbyname_internal_real(name, af, res, hp, hbuf, hbuflen); in gethostbyname_internal()
553 const void* addr, socklen_t len, int af, struct hostent* hp, char* hbuf, size_t hbuflen, in android_gethostbyaddrfornetcontext_proxy_internal() argument
555 return android_gethostbyaddrfornetcontext_real(addr, len, af, hp, hbuf, hbuflen, netcontext); in android_gethostbyaddrfornetcontext_proxy_internal()