Lines Matching refs:NULL

18     if (ret == NULL)  in DSO_new_method()
19 return NULL; in DSO_new_method()
21 if (ret->meth_data == NULL) { in DSO_new_method()
25 return NULL; in DSO_new_method()
31 return NULL; in DSO_new_method()
34 if ((ret->meth->init != NULL) && !ret->meth->init(ret)) { in DSO_new_method()
36 ret = NULL; in DSO_new_method()
44 return DSO_new_method(NULL); in DSO_new()
51 if (dso == NULL) in DSO_free()
63 if ((dso->meth->dso_unload != NULL) && !dso->meth->dso_unload(dso)) { in DSO_free()
69 if ((dso->meth->finish != NULL) && !dso->meth->finish(dso)) { in DSO_free()
84 return ((dso == NULL) ? 0 : dso->flags); in DSO_flags()
91 if (dso == NULL) { in DSO_up_ref()
109 if (dso == NULL) { in DSO_load()
111 if (ret == NULL) { in DSO_load()
117 if (DSO_ctrl(ret, DSO_CTRL_SET_FLAGS, flags, NULL) < 0) { in DSO_load()
124 if (ret->filename != NULL) { in DSO_load()
132 if (filename != NULL) in DSO_load()
138 if (filename == NULL) { in DSO_load()
142 if (ret->meth->dso_load == NULL) { in DSO_load()
155 return NULL; in DSO_load()
160 DSO_FUNC_TYPE ret = NULL; in DSO_bind_func()
162 if ((dso == NULL) || (symname == NULL)) { in DSO_bind_func()
164 return NULL; in DSO_bind_func()
166 if (dso->meth->dso_bind_func == NULL) { in DSO_bind_func()
168 return NULL; in DSO_bind_func()
170 if ((ret = dso->meth->dso_bind_func(dso, symname)) == NULL) { in DSO_bind_func()
172 return NULL; in DSO_bind_func()
189 if (dso == NULL) { in DSO_ctrl()
209 if ((dso->meth == NULL) || (dso->meth->dso_ctrl == NULL)) { in DSO_ctrl()
218 if (dso == NULL) { in DSO_get_filename()
220 return NULL; in DSO_get_filename()
229 if ((dso == NULL) || (filename == NULL)) { in DSO_set_filename()
239 if (copied == NULL) in DSO_set_filename()
248 char *result = NULL; in DSO_merge()
250 if (dso == NULL || filespec1 == NULL) { in DSO_merge()
252 return NULL; in DSO_merge()
255 if (dso->merger != NULL) in DSO_merge()
257 else if (dso->meth->dso_merger != NULL) in DSO_merge()
265 char *result = NULL; in DSO_convert_filename()
267 if (dso == NULL) { in DSO_convert_filename()
269 return NULL; in DSO_convert_filename()
271 if (filename == NULL) in DSO_convert_filename()
273 if (filename == NULL) { in DSO_convert_filename()
275 return NULL; in DSO_convert_filename()
278 if (dso->name_converter != NULL) in DSO_convert_filename()
280 else if (dso->meth->dso_name_converter != NULL) in DSO_convert_filename()
283 if (result == NULL) { in DSO_convert_filename()
285 if (result == NULL) in DSO_convert_filename()
286 return NULL; in DSO_convert_filename()
295 if (meth->pathbyaddr == NULL) { in DSO_pathbyaddr()
304 DSO *ret = NULL; in DSO_dsobyaddr()
305 char *filename = NULL; in DSO_dsobyaddr()
306 int len = DSO_pathbyaddr(addr, NULL, 0); in DSO_dsobyaddr()
309 return NULL; in DSO_dsobyaddr()
312 if (filename != NULL in DSO_dsobyaddr()
314 ret = DSO_load(NULL, filename, NULL, flags); in DSO_dsobyaddr()
324 if (meth->globallookup == NULL) { in DSO_global_lookup()
326 return NULL; in DSO_global_lookup()