OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mutex_buf
(Results
1 - 5
of
5
) sorted by null
/external/curl/lib/vtls/
polarssl_threadlock.c
48
static POLARSSL_MUTEX_T *
mutex_buf
= NULL;
variable
55
mutex_buf
= malloc(NUMT * sizeof(POLARSSL_MUTEX_T));
56
if(!
mutex_buf
)
61
ret = pthread_mutex_init(&
mutex_buf
[i], NULL);
67
mutex_buf
[i] = CreateMutex(0, FALSE, 0);
68
if(
mutex_buf
[i] == 0)
81
if(!
mutex_buf
)
86
ret = pthread_mutex_destroy(&
mutex_buf
[i]);
92
ret = CloseHandle(
mutex_buf
[i]);
97
free(
mutex_buf
);
[
all
...]
/external/curl/docs/examples/
opensslthreadlock.c
51
static MUTEX_TYPE *
mutex_buf
= NULL;
variable
57
MUTEX_LOCK(
mutex_buf
[n]);
59
MUTEX_UNLOCK(
mutex_buf
[n]);
71
mutex_buf
= malloc(CRYPTO_num_locks( ) * sizeof(MUTEX_TYPE));
72
if (!
mutex_buf
)
75
MUTEX_SETUP(
mutex_buf
[i]);
85
if (!
mutex_buf
)
90
MUTEX_CLEANUP(
mutex_buf
[i]);
91
free(
mutex_buf
);
92
mutex_buf
= NULL
[
all
...]
/external/libvncserver/libvncclient/
tls_openssl.c
64
static MUTEX_TYPE *
mutex_buf
= NULL;
variable
73
MUTEX_LOCK(
mutex_buf
[n]);
75
MUTEX_UNLOCK(
mutex_buf
[n]);
149
mutex_buf
= malloc(CRYPTO_num_locks() * sizeof(MUTEX_TYPE));
150
if (
mutex_buf
== NULL) {
156
MUTEX_INIT(
mutex_buf
[i]);
597
if (
mutex_buf
!= NULL) {
606
MUTEX_FREE(
mutex_buf
[i]);
607
free(
mutex_buf
);
608
mutex_buf
= NULL
[
all
...]
/external/webrtc/webrtc/base/
openssladapter.cc
183
static MUTEX_TYPE*
mutex_buf
= NULL;
member in namespace:rtc
187
MUTEX_LOCK(
mutex_buf
[n]);
189
MUTEX_UNLOCK(
mutex_buf
[n]);
245
mutex_buf
= new MUTEX_TYPE[CRYPTO_num_locks()];
246
if (!
mutex_buf
)
249
MUTEX_SETUP(
mutex_buf
[i]);
264
if (!
mutex_buf
)
272
MUTEX_CLEANUP(
mutex_buf
[i]);
273
delete []
mutex_buf
;
274
mutex_buf
= NULL
[
all
...]
/external/conscrypt/src/main/native/
org_conscrypt_NativeCrypto.cpp
2235
static MUTEX_TYPE*
mutex_buf
= nullptr;
variable
[
all
...]
Completed in 290 milliseconds