Lines Matching refs:NULL

54 static GLOBAL_TEVENT_REGISTER *glob_tevent_reg = NULL;
61 if (glob_tevent_reg == NULL) in DEFINE_RUN_ONCE_STATIC()
66 if (glob_tevent_reg->skhands == NULL || glob_tevent_reg->lock == NULL) { in DEFINE_RUN_ONCE_STATIC()
70 glob_tevent_reg = NULL; in DEFINE_RUN_ONCE_STATIC()
80 return NULL; in get_global_tevent_register()
99 if (hands == NULL) { in init_get_thread_local()
101 if ((hands = OPENSSL_zalloc(sizeof(*hands))) == NULL) in init_get_thread_local()
102 return NULL; in init_get_thread_local()
106 return NULL; in init_get_thread_local()
111 CRYPTO_THREAD_set_local(local, NULL); in init_get_thread_local()
113 return NULL; in init_get_thread_local()
118 CRYPTO_THREAD_set_local(local, NULL); in init_get_thread_local()
160 if (gtr == NULL) in init_thread_push_handlers()
177 if (gtr == NULL) in init_thread_remove_handlers()
197 init_thread_stop(NULL, (THREAD_EVENT_HANDLER **)hands); in init_thread_destructor()
213 init_thread_deregister(NULL, 1); in ossl_cleanup_thread()
234 init_thread_stop(NULL, hands); in OPENSSL_thread_stop()
263 THREAD_EVENT_HANDLER **hands = NULL; in ossl_thread_event_ctx_new()
266 if (tlocal == NULL) in ossl_thread_event_ctx_new()
267 return NULL; in ossl_thread_event_ctx_new()
269 if (!CRYPTO_THREAD_init_local(tlocal, NULL)) in ossl_thread_event_ctx_new()
273 if (hands == NULL) in ossl_thread_event_ctx_new()
295 return NULL; in ossl_thread_event_ctx_new()
315 if (local == NULL) in ossl_ctx_thread_stop()
326 THREAD_EVENT_HANDLER *curr, *prev = NULL, *tmp; in init_thread_stop()
332 if (hands == NULL) in init_thread_stop()
337 if (gtr == NULL) in init_thread_stop()
345 while (curr != NULL) { in init_thread_stop()
346 if (arg != NULL && curr->arg != arg) { in init_thread_stop()
352 if (prev == NULL) in init_thread_stop()
393 if (hands == NULL) in ossl_init_thread_start()
397 if (*hands == NULL) { in ossl_init_thread_start()
409 if (hand == NULL) in ossl_init_thread_start()
430 if (gtr == NULL) in init_thread_deregister()
436 glob_tevent_reg = NULL; in init_thread_deregister()
441 THREAD_EVENT_HANDLER *curr = NULL, *prev = NULL, *tmp; in init_thread_deregister()
443 if (hands == NULL) { in init_thread_deregister()
449 while (curr != NULL) { in init_thread_deregister()
451 if (prev != NULL) in init_thread_deregister()