Lines Matching defs:hp
138 android_gethostbyaddr_proxy(struct hostent* hp, const void *addr, socklen_t addrLen, int addrFamily) {
210 if (fread(hp->h_name, name_len, 1, proxy) != 1) {
240 struct hostent *hp;
384 hp = (hostnamelen > 0) ? &android_proxy_hostent : NULL;
386 hp = gethostbyaddr(addr, afd->a_addrlen, afd->a_af);
389 hp = gethostbyaddr(addr, afd->a_addrlen, afd->a_af);
392 if (hp) {
400 p = strchr(hp->h_name, '.');
405 if (strlen(hp->h_name) + 1 > (size_t)hostlen) {
408 strlcpy(host, hp->h_name, hostlen);