Lines Matching refs:NULL

81     {0, NULL},
137 {0, NULL},
146 static CRYPTO_RWLOCK *err_string_lock = NULL;
157 static LHASH_OF(ERR_STRING_DATA) *int_error_hash = NULL;
190 ERR_STRING_DATA *p = NULL; in int_err_get_item()
193 return NULL; in int_err_get_item()
205 if (state == NULL) in OSSL_ERR_STATE_free()
215 if (!OPENSSL_init_crypto(OPENSSL_INIT_BASE_ONLY, NULL)) in DEFINE_RUN_ONCE_STATIC()
218 if (err_string_lock == NULL) in DEFINE_RUN_ONCE_STATIC()
223 if (int_error_hash == NULL) { in DEFINE_RUN_ONCE_STATIC()
225 err_string_lock = NULL; in DEFINE_RUN_ONCE_STATIC()
237 err_string_lock = NULL; in err_cleanup()
240 int_error_hash = NULL; in err_cleanup()
340 if (es == NULL) in ERR_clear_error()
351 return get_error_values(EV_POP, NULL, NULL, NULL, NULL, NULL); in ERR_get_error()
364 return get_error_values(EV_POP, file, line, NULL, NULL, NULL); in ERR_get_error_line()
370 return get_error_values(EV_POP, file, line, NULL, data, flags); in ERR_get_error_line_data()
376 return get_error_values(EV_PEEK, NULL, NULL, NULL, NULL, NULL); in ERR_peek_error()
381 return get_error_values(EV_PEEK, file, line, NULL, NULL, NULL); in ERR_peek_error_line()
386 return get_error_values(EV_PEEK, NULL, NULL, func, NULL, NULL); in ERR_peek_error_func()
391 return get_error_values(EV_PEEK, NULL, NULL, NULL, data, flags); in ERR_peek_error_data()
405 return get_error_values(EV_PEEK, file, line, NULL, data, flags); in ERR_peek_error_line_data()
411 return get_error_values(EV_PEEK_LAST, NULL, NULL, NULL, NULL, NULL); in ERR_peek_last_error()
416 return get_error_values(EV_PEEK_LAST, file, line, NULL, NULL, NULL); in ERR_peek_last_error_line()
421 return get_error_values(EV_PEEK_LAST, NULL, NULL, func, NULL, NULL); in ERR_peek_last_error_func()
426 return get_error_values(EV_PEEK_LAST, NULL, NULL, NULL, data, flags); in ERR_peek_last_error_data()
440 return get_error_values(EV_PEEK_LAST, file, line, NULL, data, flags); in ERR_peek_last_error_line_data()
454 if (es == NULL) in get_error_values()
492 if (file != NULL) { in get_error_values()
494 if (*file == NULL) in get_error_values()
497 if (line != NULL) in get_error_values()
499 if (func != NULL) { in get_error_values()
501 if (*func == NULL) in get_error_values()
504 if (flags != NULL) in get_error_values()
506 if (data == NULL) { in get_error_values()
512 if (*data == NULL) { in get_error_values()
514 if (flags != NULL) in get_error_values()
525 const char *ls, *rs = NULL; in ossl_err_string_int()
533 if (ls == NULL) { in ossl_err_string_int()
553 if (rs == NULL) { in ossl_err_string_int()
580 if (ret == NULL) in ERR_error_string()
593 return NULL; in ERR_lib_error_string()
599 return ((p == NULL) ? NULL : p->string); in ERR_lib_error_string()
601 return NULL; in ERR_lib_error_string()
608 return NULL; in ERR_func_error_string()
615 ERR_STRING_DATA d, *p = NULL; in ERR_reason_error_string()
619 return NULL; in ERR_reason_error_string()
628 return NULL; in ERR_reason_error_string()
634 if (p == NULL) { in ERR_reason_error_string()
638 return ((p == NULL) ? NULL : p->string); in ERR_reason_error_string()
640 return NULL; in ERR_reason_error_string()
647 if (state == NULL) in err_delete_thread_state()
650 CRYPTO_THREAD_set_local(&err_thread_local, NULL); in err_delete_thread_state()
669 return CRYPTO_THREAD_init_local(&err_thread_local, NULL); in DEFINE_RUN_ONCE_STATIC()
677 if (!OPENSSL_init_crypto(OPENSSL_INIT_BASE_ONLY, NULL)) in ossl_err_get_state_int()
678 return NULL; in ossl_err_get_state_int()
681 return NULL; in ossl_err_get_state_int()
685 return NULL; in ossl_err_get_state_int()
687 if (state == NULL) { in ossl_err_get_state_int()
689 return NULL; in ossl_err_get_state_int()
692 if (state == NULL) { in ossl_err_get_state_int()
693 CRYPTO_THREAD_set_local(&err_thread_local, NULL); in ossl_err_get_state_int()
694 return NULL; in ossl_err_get_state_int()
697 if (!ossl_init_thread_start(NULL, NULL, err_delete_thread_state) in ossl_err_get_state_int()
700 CRYPTO_THREAD_set_local(&err_thread_local, NULL); in ossl_err_get_state_int()
701 return NULL; in ossl_err_get_state_int()
705 OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL); in ossl_err_get_state_int()
740 if (!OPENSSL_init_crypto(OPENSSL_INIT_BASE_ONLY, NULL)) in err_shelve_state()
784 if (es == NULL) in err_set_error_data_int()
829 if (es == NULL) in ERR_add_error_vdata()
838 && ossl_assert(es->err_data[i] != NULL)) { in ERR_add_error_vdata()
849 es->err_data[i] = NULL; in ERR_add_error_vdata()
851 } else if ((str = OPENSSL_malloc(size = 81)) == NULL) { in ERR_add_error_vdata()
860 if (arg == NULL) in ERR_add_error_vdata()
868 if (p == NULL) { in ERR_add_error_vdata()
886 if (es == NULL) in err_clear_last_constant_time()