Lines Matching refs:hp
265 struct hostent *hp = NULL; in getdomnames() local
288 hp = res_getipnodebyaddr(a->contents, a->length, in getdomnames()
292 if (hp != NULL) { in getdomnames()
295 if (strcasecmp(cfhost, hp->h_name) == 0) { in getdomnames()
296 res_freehostent(hp); in getdomnames()
297 hp = NULL; in getdomnames()
305 if (strcasecmp(*(tpp-1), hp->h_name) == 0) { in getdomnames()
312 res_freehostent(hp); in getdomnames()
313 hp = NULL; in getdomnames()
322 npp[n] = strdup(hp->h_name); in getdomnames()
330 res_freehostent(hp); in getdomnames()
331 hp = NULL; in getdomnames()
353 if (hp) { in getdomnames()
354 res_freehostent(hp); in getdomnames()
355 hp = NULL; in getdomnames()