Lines Matching refs:NULL

56     if (ret == NULL)  in BIO_ADDR_new()
57 return NULL; in BIO_ADDR_new()
70 if (dst == NULL || src == NULL) in BIO_ADDR_copy()
83 BIO_ADDR *ret = NULL; in BIO_ADDR_dup()
85 if (ap != NULL) { in BIO_ADDR_dup()
87 if (ret != NULL && !BIO_ADDR_copy(ret, ap)) { in BIO_ADDR_dup()
89 ret = NULL; in BIO_ADDR_dup()
173 const void *addrptr = NULL; in BIO_ADDR_rawaddress()
192 if (addrptr == NULL) in BIO_ADDR_rawaddress()
195 if (p != NULL) { in BIO_ADDR_rawaddress()
198 if (l != NULL) in BIO_ADDR_rawaddress()
270 if (hostname != NULL) in addr_strings()
272 if (service != NULL) in addr_strings()
276 if (hostname != NULL) in addr_strings()
278 if (service != NULL) { in addr_strings()
285 if ((hostname != NULL && *hostname == NULL) in addr_strings()
286 || (service != NULL && *service == NULL)) { in addr_strings()
287 if (hostname != NULL) { in addr_strings()
289 *hostname = NULL; in addr_strings()
291 if (service != NULL) { in addr_strings()
293 *service = NULL; in addr_strings()
303 char *hostname = NULL; in BIO_ADDR_hostname_string()
305 if (addr_strings(ap, numeric, &hostname, NULL)) in BIO_ADDR_hostname_string()
308 return NULL; in BIO_ADDR_hostname_string()
313 char *service = NULL; in BIO_ADDR_service_string()
315 if (addr_strings(ap, numeric, NULL, &service)) in BIO_ADDR_service_string()
318 return NULL; in BIO_ADDR_service_string()
327 return NULL; in BIO_ADDR_path_string()
380 if (bai != NULL) in BIO_ADDRINFO_next()
382 return NULL; in BIO_ADDRINFO_next()
387 if (bai != NULL) in BIO_ADDRINFO_family()
394 if (bai != NULL) in BIO_ADDRINFO_socktype()
401 if (bai != NULL) { in BIO_ADDRINFO_protocol()
428 if (bai != NULL) in BIO_ADDRINFO_sockaddr_size()
439 if (bai != NULL) in BIO_ADDRINFO_sockaddr()
441 return NULL; in BIO_ADDRINFO_sockaddr()
446 if (bai != NULL) in BIO_ADDRINFO_address()
448 return NULL; in BIO_ADDRINFO_address()
453 if (bai == NULL) in BIO_ADDRINFO_free()
471 while (bai != NULL) { in BIO_ADDRINFO_free()
507 const char *h = NULL; size_t hl = 0; in BIO_parse_hostserv()
508 const char *p = NULL; size_t pl = 0; in BIO_parse_hostserv()
511 if ((p = strchr(hostserv, ']')) == NULL) in BIO_parse_hostserv()
517 p = NULL; in BIO_parse_hostserv()
541 if (p != NULL) { in BIO_parse_hostserv()
555 if (p != NULL && strchr(p, ':')) in BIO_parse_hostserv()
558 if (h != NULL && host != NULL) { in BIO_parse_hostserv()
561 *host = NULL; in BIO_parse_hostserv()
564 if (*host == NULL) in BIO_parse_hostserv()
568 if (p != NULL && service != NULL) { in BIO_parse_hostserv()
571 *service = NULL; in BIO_parse_hostserv()
574 if (*service == NULL) in BIO_parse_hostserv()
602 if ((*bai = OPENSSL_zalloc(sizeof(**bai))) == NULL) in addrinfo_wrap()
622 if (addr != NULL) { in addrinfo_wrap()
627 (*bai)->bai_next = NULL; in addrinfo_wrap()
628 if ((*bai)->bai_addr == NULL) { in addrinfo_wrap()
630 *bai = NULL; in addrinfo_wrap()
639 return bio_lookup_lock != NULL; in DEFINE_RUN_ONCE_STATIC()
718 if (host != NULL && family == AF_UNSPEC) in BIO_lookup_ex()
778 (char *)&he_fallback_address, NULL in BIO_lookup_ex()
783 (char *)&he_fallback_address, NULL in BIO_lookup_ex()
787 NULL, NULL, AF_INET, sizeof(he_fallback_address), in BIO_lookup_ex()
797 struct servent se_fallback = { NULL, NULL, NULL, 0 }; in BIO_lookup_ex()
799 struct servent se_fallback = { NULL, NULL, 0, NULL }; in BIO_lookup_ex()
812 if (host == NULL) { in BIO_lookup_ex()
823 assert("We forgot to handle a lookup type!" == NULL); in BIO_lookup_ex()
831 if (he == NULL) { in BIO_lookup_ex()
861 if (service == NULL) { in BIO_lookup_ex()
863 se_fallback.s_proto = NULL; in BIO_lookup_ex()
866 char *endp = NULL; in BIO_lookup_ex()
877 char *proto = NULL; in BIO_lookup_ex()
899 if (se == NULL) { in BIO_lookup_ex()
910 *res = NULL; in BIO_lookup_ex()
927 BIO_ADDRINFO *tmp_bai = NULL; in BIO_lookup_ex()
931 for (addrlistp = he->h_addr_list; *addrlistp != NULL; in BIO_lookup_ex()
946 *res = NULL; in BIO_lookup_ex()