Home
last modified time | relevance | path

Searched refs:mbedtls_threading_mutex_t (Results 1 – 25 of 30) sorted by relevance

12

/aosp_15_r20/external/openthread/third_party/mbedtls/repo/library/
H A Dthreading.c53 static void threading_mutex_init_pthread(mbedtls_threading_mutex_t *mutex) in threading_mutex_init_pthread()
68 static void threading_mutex_free_pthread(mbedtls_threading_mutex_t *mutex) in threading_mutex_free_pthread()
77 static int threading_mutex_lock_pthread(mbedtls_threading_mutex_t *mutex) in threading_mutex_lock_pthread()
90 static int threading_mutex_unlock_pthread(mbedtls_threading_mutex_t *mutex) in threading_mutex_unlock_pthread()
103 void (*mbedtls_mutex_init)(mbedtls_threading_mutex_t *) = threading_mutex_init_pthread;
104 void (*mbedtls_mutex_free)(mbedtls_threading_mutex_t *) = threading_mutex_free_pthread;
105 int (*mbedtls_mutex_lock)(mbedtls_threading_mutex_t *) = threading_mutex_lock_pthread;
106 int (*mbedtls_mutex_unlock)(mbedtls_threading_mutex_t *) = threading_mutex_unlock_pthread;
116 static int threading_mutex_fail(mbedtls_threading_mutex_t *mutex) in threading_mutex_fail()
121 static void threading_mutex_dummy(mbedtls_threading_mutex_t *mutex) in threading_mutex_dummy()
[all …]
/aosp_15_r20/external/mbedtls/library/
H A Dthreading.c53 static void threading_mutex_init_pthread(mbedtls_threading_mutex_t *mutex) in threading_mutex_init_pthread()
68 static void threading_mutex_free_pthread(mbedtls_threading_mutex_t *mutex) in threading_mutex_free_pthread()
78 static int threading_mutex_lock_pthread(mbedtls_threading_mutex_t *mutex) in threading_mutex_lock_pthread()
91 static int threading_mutex_unlock_pthread(mbedtls_threading_mutex_t *mutex) in threading_mutex_unlock_pthread()
104 void (*mbedtls_mutex_init)(mbedtls_threading_mutex_t *) = threading_mutex_init_pthread;
105 void (*mbedtls_mutex_free)(mbedtls_threading_mutex_t *) = threading_mutex_free_pthread;
106 int (*mbedtls_mutex_lock)(mbedtls_threading_mutex_t *) = threading_mutex_lock_pthread;
107 int (*mbedtls_mutex_unlock)(mbedtls_threading_mutex_t *) = threading_mutex_unlock_pthread;
117 static int threading_mutex_fail(mbedtls_threading_mutex_t *mutex) in threading_mutex_fail()
122 static void threading_mutex_dummy(mbedtls_threading_mutex_t *mutex) in threading_mutex_dummy()
[all …]
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/include/mbedtls/
H A Dthreading.h29 typedef struct mbedtls_threading_mutex_t { struct
39 } mbedtls_threading_mutex_t; typedef
64 void mbedtls_threading_set_alt(void (*mutex_init)(mbedtls_threading_mutex_t *),
65 void (*mutex_free)(mbedtls_threading_mutex_t *),
66 int (*mutex_lock)(mbedtls_threading_mutex_t *),
67 int (*mutex_unlock)(mbedtls_threading_mutex_t *));
81 extern void (*mbedtls_mutex_init)(mbedtls_threading_mutex_t *mutex);
82 extern void (*mbedtls_mutex_free)(mbedtls_threading_mutex_t *mutex);
83 extern int (*mbedtls_mutex_lock)(mbedtls_threading_mutex_t *mutex);
84 extern int (*mbedtls_mutex_unlock)(mbedtls_threading_mutex_t *mutex);
[all …]
H A Dssl_cookie.h59 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex);
H A Dssl_cache.h72 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex); /*!< mutex */
H A Dssl_ticket.h82 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex);
H A Dhmac_drbg.h100 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex);
H A Dentropy.h113 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex); /*!< mutex */
H A Dctr_drbg.h214 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex);
H A Drsa.h120 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex); /*!< Thread-safety mutex. */
/aosp_15_r20/external/mbedtls/include/mbedtls/
H A Dthreading.h29 typedef struct mbedtls_threading_mutex_t { struct
35 } mbedtls_threading_mutex_t; typedef
60 void mbedtls_threading_set_alt(void (*mutex_init)(mbedtls_threading_mutex_t *),
61 void (*mutex_free)(mbedtls_threading_mutex_t *),
62 int (*mutex_lock)(mbedtls_threading_mutex_t *),
63 int (*mutex_unlock)(mbedtls_threading_mutex_t *));
77 extern void (*mbedtls_mutex_init)(mbedtls_threading_mutex_t *mutex);
78 extern void (*mbedtls_mutex_free)(mbedtls_threading_mutex_t *mutex);
79 extern int (*mbedtls_mutex_lock)(mbedtls_threading_mutex_t *mutex);
80 extern int (*mbedtls_mutex_unlock)(mbedtls_threading_mutex_t *mutex);
[all …]
H A Dssl_cookie.h59 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex);
H A Dssl_cache.h72 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex); /*!< mutex */
H A Dssl_ticket.h78 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex);
H A Dhmac_drbg.h100 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex);
H A Dentropy.h113 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex); /*!< mutex */
H A Dctr_drbg.h196 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex);
H A Drsa.h120 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex); /*!< Thread-safety mutex. */
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/src/
H A Dthreading_helpers.c139 void (*init)(mbedtls_threading_mutex_t *);
140 void (*free)(mbedtls_threading_mutex_t *);
141 int (*lock)(mbedtls_threading_mutex_t *);
142 int (*unlock)(mbedtls_threading_mutex_t *);
162 mbedtls_threading_mutex_t mbedtls_test_mutex_mutex;
173 static void mbedtls_test_mutex_usage_error(mbedtls_threading_mutex_t *mutex, in mbedtls_test_mutex_usage_error()
186 static int mbedtls_test_mutex_can_test(mbedtls_threading_mutex_t *mutex) in mbedtls_test_mutex_can_test()
201 static void mbedtls_test_wrap_mutex_init(mbedtls_threading_mutex_t *mutex) in mbedtls_test_wrap_mutex_init()
215 static void mbedtls_test_wrap_mutex_free(mbedtls_threading_mutex_t *mutex) in mbedtls_test_wrap_mutex_free()
243 static int mbedtls_test_wrap_mutex_lock(mbedtls_threading_mutex_t *mutex) in mbedtls_test_wrap_mutex_lock()
[all …]
H A Dhelpers.c33 mbedtls_threading_mutex_t mbedtls_test_info_mutex;
306 mbedtls_threading_mutex_t *mbedtls_test_get_info_mutex(void) in mbedtls_test_get_info_mutex()
/aosp_15_r20/external/mbedtls/tests/src/
H A Dthreading_helpers.c73 void (*init)(mbedtls_threading_mutex_t *);
74 void (*free)(mbedtls_threading_mutex_t *);
75 int (*lock)(mbedtls_threading_mutex_t *);
76 int (*unlock)(mbedtls_threading_mutex_t *);
87 static void mbedtls_test_mutex_usage_error(mbedtls_threading_mutex_t *mutex, in mbedtls_test_mutex_usage_error()
101 static void mbedtls_test_wrap_mutex_init(mbedtls_threading_mutex_t *mutex) in mbedtls_test_wrap_mutex_init()
109 static void mbedtls_test_wrap_mutex_free(mbedtls_threading_mutex_t *mutex) in mbedtls_test_wrap_mutex_free()
132 static int mbedtls_test_wrap_mutex_lock(mbedtls_threading_mutex_t *mutex) in mbedtls_test_wrap_mutex_lock()
154 static int mbedtls_test_wrap_mutex_unlock(mbedtls_threading_mutex_t *mutex) in mbedtls_test_wrap_mutex_unlock()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/programs/test/
H A Dmetatest.c261 mbedtls_threading_mutex_t mutex; in mutex_lock_not_initialized()
277 mbedtls_threading_mutex_t mutex; in mutex_unlock_not_initialized()
293 mbedtls_threading_mutex_t mutex; in mutex_free_not_initialized()
307 mbedtls_threading_mutex_t mutex; in mutex_double_init()
322 mbedtls_threading_mutex_t mutex; in mutex_double_free()
337 mbedtls_threading_mutex_t mutex; in mutex_leak()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/include/alt-dummy/
H A Dthreading_alt.h10 typedef struct mbedtls_threading_mutex_t { struct
12 } mbedtls_threading_mutex_t; typedef
/aosp_15_r20/external/mbedtls/tests/include/alt-dummy/
H A Dthreading_alt.h10 typedef struct mbedtls_threading_mutex_t { struct
12 } mbedtls_threading_mutex_t; typedef
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/include/test/
H A Dhelpers.h257 mbedtls_threading_mutex_t *mbedtls_test_get_info_mutex(void);

12