Searched refs:CRYPTO_num_locks (Results 1 – 12 of 12) sorted by relevance
72 mutex_buf = malloc(CRYPTO_num_locks() * sizeof(MUTEX_TYPE)); in thread_setup()75 for(i = 0; i < CRYPTO_num_locks(); i++) in thread_setup()90 for(i = 0; i < CRYPTO_num_locks(); i++) in thread_cleanup()
74 lockarray = (pthread_mutex_t *)OPENSSL_malloc(CRYPTO_num_locks() * in init_locks()76 for(i = 0; i<CRYPTO_num_locks(); i++) { in init_locks()89 for(i = 0; i<CRYPTO_num_locks(); i++) in kill_locks()
133 OPENSSL_malloc((size_t)((unsigned long)CRYPTO_num_locks() * in lws_context_init_ssl_library()136 for (n = 0; n < CRYPTO_num_locks(); n++) in lws_context_init_ssl_library()168 for (n = 0; n < CRYPTO_num_locks(); n++) in lws_context_deinit_ssl_library()
85 openssl_mutexes = av_malloc_array(sizeof(pthread_mutex_t), CRYPTO_num_locks()); in ff_openssl_init()91 for (i = 0; i < CRYPTO_num_locks(); i++) in ff_openssl_init()115 for (i = 0; i < CRYPTO_num_locks(); i++) in ff_openssl_deinit()
67 ssl_global_locks = new std::mutex[CRYPTO_num_locks()];
132 num_locks = CRYPTO_num_locks (); in _gst_dtls_init_openssl()
44 mutexes_.resize(::CRYPTO_num_locks());
212 # define CRYPTO_num_locks() (1) macro
174 int num_locks = CRYPTO_num_locks(); in init_openssl()
1164 #define CRYPTO_num_locks BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, CRYPTO_num_locks) macro
12452 *) New function "CRYPTO_num_locks" that returns CRYPTO_NUM_LOCKS.