Lines Matching refs:hp
238 struct hostent* hp;
241 hp = gethostbyaddr((char*)mAddress, mAddressLen, mAddressFamily);
244 ALOGD("GetHostByAddrHandler::run gethostbyaddr errno: %s hp->h_name = %s, name_len = %d\n",
245 hp ? "success" : strerror(errno),
246 (hp && hp->h_name) ? hp->h_name: "null",
247 (hp && hp->h_name) ? strlen(hp->h_name)+ 1 : 0);
251 if (hp) {
253 hp->h_name ? hp->h_name : "",
254 hp->h_name ? strlen(hp->h_name)+ 1 : 0);