OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mutex_buf
(Results
1 - 4
of
4
) 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
53
static MUTEX_TYPE *
mutex_buf
= NULL;
variable
58
MUTEX_LOCK(
mutex_buf
[n]);
60
MUTEX_UNLOCK(
mutex_buf
[n]);
72
mutex_buf
= malloc(CRYPTO_num_locks() * sizeof(MUTEX_TYPE));
73
if(!
mutex_buf
)
76
MUTEX_SETUP(
mutex_buf
[i]);
86
if(!
mutex_buf
)
91
MUTEX_CLEANUP(
mutex_buf
[i]);
92
free(
mutex_buf
);
93
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
...]
Completed in 3958 milliseconds