Lines Matching refs:hc
371 static struct hostcache *hc = (struct hostcache *)NULL;
388 if (af != hc[i].af)
391 if (ia[j] != hc[i].a[j])
395 return(hc[i].name);
446 if (!hc)
447 hc = (struct hostcache *)malloc(len);
449 hc = (struct hostcache *)realloc((MALLOC_P *)hc, len);
450 if (!hc) {
455 hc[hcx].af = af;
457 hc[hcx].a[i] = ia[i];
459 hc[hcx++].name = np;