Lines Matching refs:NULL
62 *hf = NULL; in endhostent_r()
75 FILE* hf = NULL; in _hf_gethtbyname2()
77 if (hf == NULL) { in _hf_gethtbyname2()
85 if ((ptr = buf = (char*) malloc(len = info->buflen)) == NULL) { in _hf_gethtbyname2()
89 hent.h_name = NULL; in _hf_gethtbyname2()
100 if (hp == NULL) { in _hf_gethtbyname2()
109 for (cp = hp->h_aliases; *cp != NULL; cp++) in _hf_gethtbyname2()
112 if (*cp == NULL) continue; in _hf_gethtbyname2()
161 hp->h_addr_list[num] = NULL; in _hf_gethtbyname2()
168 hp->h_aliases[anum] = NULL; in _hf_gethtbyname2()
183 FILE* hf = NULL; in _hf_gethtbyaddr()
185 if (hf == NULL) { in _hf_gethtbyaddr()
194 while ((hp = netbsd_gethostent_r(hf, info->hp, info->buf, info->buflen, &he)) != NULL) in _hf_gethtbyaddr()
198 if (hp == NULL) { in _hf_gethtbyaddr()