Home
last modified time | relevance | path

Searched refs:ex_data_class (Results 1 – 2 of 2) sorted by relevance

/external/boringssl/src/crypto/
Dex_data.c132 int CRYPTO_get_ex_new_index(CRYPTO_EX_DATA_CLASS *ex_data_class, int *out_index, in CRYPTO_get_ex_new_index() argument
151 CRYPTO_STATIC_MUTEX_lock_write(&ex_data_class->lock); in CRYPTO_get_ex_new_index()
153 if (ex_data_class->meth == NULL) { in CRYPTO_get_ex_new_index()
154 ex_data_class->meth = sk_CRYPTO_EX_DATA_FUNCS_new_null(); in CRYPTO_get_ex_new_index()
157 if (ex_data_class->meth == NULL || in CRYPTO_get_ex_new_index()
158 !sk_CRYPTO_EX_DATA_FUNCS_push(ex_data_class->meth, funcs)) { in CRYPTO_get_ex_new_index()
164 *out_index = sk_CRYPTO_EX_DATA_FUNCS_num(ex_data_class->meth) - 1; in CRYPTO_get_ex_new_index()
168 CRYPTO_STATIC_MUTEX_unlock(&ex_data_class->lock); in CRYPTO_get_ex_new_index()
209 CRYPTO_EX_DATA_CLASS *ex_data_class) { in get_func_pointers() argument
217 CRYPTO_STATIC_MUTEX_lock_read(&ex_data_class->lock); in get_func_pointers()
[all …]
Dinternal.h504 OPENSSL_EXPORT int CRYPTO_get_ex_new_index(CRYPTO_EX_DATA_CLASS *ex_data_class,
522 OPENSSL_EXPORT int CRYPTO_new_ex_data(CRYPTO_EX_DATA_CLASS *ex_data_class,
528 OPENSSL_EXPORT int CRYPTO_dup_ex_data(CRYPTO_EX_DATA_CLASS *ex_data_class,
534 OPENSSL_EXPORT void CRYPTO_free_ex_data(CRYPTO_EX_DATA_CLASS *ex_data_class,