Lines Matching refs:NULL
80 if (p != NULL && node != NULL) in sa_doall()
86 if (p != NULL && p[n] != NULL) { in sa_doall()
92 } else if (leaf != NULL) { in sa_doall()
112 if (sa != NULL) { in ossl_sa_free()
113 sa_doall(sa, &sa_free_node, NULL, NULL); in ossl_sa_free()
120 sa_doall(sa, &sa_free_node, &sa_free_leaf, NULL); in ossl_sa_free_leaves()
139 if (sa != NULL) in ossl_sa_doall()
140 sa_doall(sa, NULL, &trampoline, &tramp); in ossl_sa_doall()
147 if (sa != NULL) in ossl_sa_doall_arg()
148 sa_doall(sa, NULL, leaf, arg); in ossl_sa_doall_arg()
153 return sa == NULL ? 0 : sa->nelem; in ossl_sa_num()
159 void **p, *r = NULL; in ossl_sa_get()
161 if (sa == NULL || sa->nelem == 0) in ossl_sa_get()
162 return NULL; in ossl_sa_get()
166 for (level = sa->levels - 1; p != NULL && level > 0; level--) in ossl_sa_get()
169 r = p == NULL ? NULL : p[n & SA_BLOCK_MASK]; in ossl_sa_get()
185 if (sa == NULL) in ossl_sa_set()
194 if (p == NULL) in ossl_sa_set()
205 if (p[i] == NULL && (p[i] = alloc_node()) == NULL) in ossl_sa_set()
210 if (val == NULL && *p != NULL) in ossl_sa_set()
212 else if (val != NULL && *p == NULL) in ossl_sa_set()