Home
last modified time | relevance | path

Searched refs:CRYPTO_num_locks (Results 1 – 7 of 7) sorted by relevance

/external/curl/docs/examples/
Dopensslthreadlock.c72 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()
Dthreaded-ssl.c74 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()
/external/libvncserver/libvncclient/
Dtls_openssl.c149 mutex_buf = malloc(CRYPTO_num_locks() * sizeof(MUTEX_TYPE)); in InitializeTLS()
155 for (i = 0; i < CRYPTO_num_locks(); i++) in InitializeTLS()
605 for (i = 0; i < CRYPTO_num_locks(); i++) in FreeTLS()
/external/boringssl/src/crypto/
Dthread.c60 int CRYPTO_num_locks(void) { return 1; } in CRYPTO_num_locks() function
/external/boringssl/src/include/openssl/
Dthread.h120 OPENSSL_EXPORT int CRYPTO_num_locks(void);
/external/webrtc/webrtc/base/
Dopenssladapter.cc245 mutex_buf = new MUTEX_TYPE[CRYPTO_num_locks()]; in InitializeSSLThread()
248 for (int i = 0; i < CRYPTO_num_locks(); ++i) in InitializeSSLThread()
271 for (int i = 0; i < CRYPTO_num_locks(); ++i) in CleanupSSL()
/external/python/cpython2/Modules/
D_ssl.c4011 _ssl_locks_count = CRYPTO_num_locks(); in _setup_ssl_threads()