• Home
  • Raw
  • Download

Lines Matching refs:NULL

144     _DIAGASSERT(answer != NULL);  in getanswer()
145 _DIAGASSERT(qname != NULL); in getanswer()
148 hent->h_name = NULL; in getanswer()
162 return NULL; /* XXX should be abort(); */ in getanswer()
194 *hap = NULL; in getanswer()
352 *hap = NULL; in getanswer()
365 return NULL; in getanswer()
385 return NULL; in getanswer()
432 if ((isxdigit((uint8_t)name[0]) && strchr(name, ':') != NULL) || name[0] == ':') { in resolv_gethostbyname()
462 hp->h_aliases[0] = NULL; in resolv_gethostbyname()
469 hp->h_addr_list[1] = NULL; in resolv_gethostbyname()
484 _DIAGASSERT(addr != NULL); in resolv_gethostbyaddr()
539 if (hf == NULL) { in netbsd_gethostent_r()
542 return NULL; in netbsd_gethostent_r()
544 char* p = NULL; in netbsd_gethostent_r()
548 if ((p = (char*) malloc(line_buf_size)) == NULL) { in netbsd_gethostent_r()
555 return NULL; in netbsd_gethostent_r()
580 if ((cp = strpbrk(name = cp, " \t")) != NULL) *cp++ = '\0'; in netbsd_gethostent_r()
587 if ((cp = strpbrk(cp, " \t")) != NULL) *cp++ = '\0'; in netbsd_gethostent_r()
597 hent->h_addr_list[1] = NULL; in netbsd_gethostent_r()
606 hent->h_aliases[anum] = NULL; in netbsd_gethostent_r()
614 return NULL; in netbsd_gethostent_r()
620 _DIAGASSERT(hp != NULL); in convert_v4v6_hostent()
621 _DIAGASSERT(bpp != NULL); in convert_v4v6_hostent()
622 _DIAGASSERT(ep != NULL); in convert_v4v6_hostent()
631 *ap = NULL; in convert_v4v6_hostent()
681 if (hp == NULL) return herrnoToAiErrno(he); in dns_gethtbyname()
743 if (hp == NULL) return herrnoToAiErrno(he); in dns_gethtbyaddr()
749 hp->h_addr_list[1] = NULL; in dns_gethtbyaddr()