Lines Matching refs:NULL

41 	if (mapper->curpathname != NULL) {
43 mapper->curpathname = NULL;
45 if (mapper->curoptions != NULL) {
47 mapper->curoptions = NULL;
49 if (mapper->dldesc != NULL) {
53 if (finalize != NULL)
57 mapper->dldesc = NULL;
65 char *pathname = NULL;
68 if (name == NULL)
69 return (NULL);
71 if (dir == NULL)
76 * the "/" and the terminating NULL when computing the total length.
81 if (pathname == NULL)
82 return (NULL);
97 if (map->dldesc == NULL)
115 KMF_MAPPER_RECORD *map = NULL;
116 char *dir = NULL;
117 char *name = NULL;
118 char *opts = NULL;
119 char *path = NULL;
120 char *tmppath = NULL;
121 char *old_curpathname = NULL;
122 char *old_curoptions = NULL;
124 if (handle == NULL)
136 if (path != NULL) {
138 if (name != NULL || dir != NULL)
141 if (tmppath == NULL)
144 } else if (name != NULL) {
147 * If we were given name but the returned path is still NULL,
150 if (tmppath == NULL)
153 } else if (dir != NULL || opts != NULL) {
156 } else if (map->pathname != NULL) {
158 if (tmppath == NULL)
161 } else if (map->mapname != NULL) {
164 * If we were given name but the returned path is still NULL,
167 if (tmppath == NULL)
185 * already NULL and need not to be freed.
187 if (map->dldesc == NULL) {
189 if (opts != NULL) {
191 if (map->curoptions == NULL) {
193 map->curpathname = NULL;
197 map->curoptions = NULL;
201 map->curpathname = NULL;
202 if (map->curoptions != NULL) {
204 map->curoptions = NULL;
216 if (map->curpathname != NULL &&
220 if (map->curoptions != NULL && opts == NULL) {
221 map->curoptions = NULL;
223 } else if (map->curoptions == NULL && opts != NULL) {
224 if ((map->curoptions = strdup(opts)) == NULL)
228 if ((map->curoptions = strdup(opts)) == NULL)
235 old_curoptions = NULL;
239 if (old_curoptions != NULL)
248 old_curoptions = NULL;
249 old_curpathname = NULL;
251 if (opts != NULL) {
253 if (map->curoptions == NULL)
259 * ignores the dldesc since it is NULL. Do not free
272 if (initialize != NULL)
288 if (tmppath != NULL)
298 if (handle == NULL)
309 KMF_MAPPER_RECORD *map = NULL;
312 if (handle == NULL)
316 if (map->dldesc == NULL)
321 if (cert2name == NULL)
328 * If mapped_name is non-NULL the caller is later expected to free its Data
335 KMF_MAPPER_RECORD *map = NULL;
339 if (handle == NULL)
344 if (map->curpathname == NULL || map->dldesc == NULL)
349 if (cert2name == NULL)
362 KMF_HANDLE *h = NULL;
363 KMF_MAPPER_RECORD *map = NULL;
366 if (handle == NULL || errstr == NULL)
372 if (map->curpathname == NULL || map->dldesc == NULL)
377 if (err2string == NULL)