Home
last modified time | relevance | path

Searched refs:_STACK (Results 1 – 6 of 6) sorted by relevance

/external/boringssl/src/include/openssl/
Dstack.h109 } _STACK; typedef
121 OPENSSL_EXPORT _STACK *sk_new(stack_cmp_func comp);
125 OPENSSL_EXPORT _STACK *sk_new_null(void);
128 OPENSSL_EXPORT size_t sk_num(const _STACK *sk);
132 OPENSSL_EXPORT void sk_zero(_STACK *sk);
136 OPENSSL_EXPORT void *sk_value(const _STACK *sk, size_t i);
140 OPENSSL_EXPORT void *sk_set(_STACK *sk, size_t i, void *p);
144 OPENSSL_EXPORT void sk_free(_STACK *sk);
148 OPENSSL_EXPORT void sk_pop_free(_STACK *sk, void (*free_func)(void *));
153 OPENSSL_EXPORT size_t sk_insert(_STACK *sk, void *p, size_t where);
[all …]
/external/boringssl/src/crypto/stack/
Dstack.c70 _STACK *sk_new(stack_cmp_func comp) { in sk_new()
71 _STACK *ret; in sk_new()
73 ret = OPENSSL_malloc(sizeof(_STACK)); in sk_new()
77 OPENSSL_memset(ret, 0, sizeof(_STACK)); in sk_new()
96 _STACK *sk_new_null(void) { return sk_new(NULL); } in sk_new_null()
98 size_t sk_num(const _STACK *sk) { in sk_num()
105 void sk_zero(_STACK *sk) { in sk_zero()
114 void *sk_value(const _STACK *sk, size_t i) { in sk_value()
121 void *sk_set(_STACK *sk, size_t i, void *value) { in sk_set()
128 void sk_free(_STACK *sk) { in sk_free()
[all …]
/external/wpa_supplicant_8/src/utils/
Dhttp_curl.c429 sk_num(CHECKED_CAST(_STACK *, STACK_OF(LogotypeInfo) *, (st)))
431 sk_value(CHECKED_CAST(_STACK *, const STACK_OF(LogotypeInfo) *, (st)), (i))
433 sk_num(CHECKED_CAST(_STACK *, STACK_OF(LogotypeImage) *, (st)))
435 sk_value(CHECKED_CAST(_STACK *, const STACK_OF(LogotypeImage) *, (st)), (i))
437 sk_num(CHECKED_CAST(_STACK *, STACK_OF(LogotypeAudio) *, (st)))
439 sk_value(CHECK_CAST(_STACK *, const STACK_OF(LogotypeAudio) *, (st)), (i))
441 sk_num(CHECKED_CAST(_STACK *, STACK_OF(HashAlgAndValue) *, (st)))
443 sk_value(CHECKED_CAST(_STACK *, const STACK_OF(HashAlgAndValue) *, (st)), (i))
445 sk_num(CHECKED_CAST(_STACK *, STACK_OF(ASN1_IA5STRING) *, (st)))
447 sk_value(CHECKED_CAST(_STACK *, const STACK_OF(ASN1_IA5STRING) *, (st)), (i))
/external/wpa_supplicant_8/src/crypto/
Dtls_openssl_ocsp.c220 sk_num(CHECKED_CAST(_STACK *, STACK_OF(SingleResponse) *, sk))
224 sk_value(CHECKED_CAST(_STACK *, STACK_OF(SingleResponse) *, sk), (i)))
/external/wpa_supplicant_8/hs20/client/
Dest.c339 num = sk_num(CHECKED_CAST(_STACK *, STACK_OF(AttrOrOID) *, in add_csrattrs()
343 CHECKED_CAST(_STACK *, const STACK_OF(AttrOrOID) *, in add_csrattrs()
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc5131 size_t size = sk_num(reinterpret_cast<_STACK*>(stack)); in PKCS7_to_ItemArray()
5135 T* item = reinterpret_cast<T*>(sk_value(reinterpret_cast<_STACK*>(stack), i)); in PKCS7_to_ItemArray()