Home
last modified time | relevance | path

Searched refs:OPENSSL_sk_compfunc (Results 1 – 4 of 4) sorted by relevance

/freebsd/crypto/openssl/include/openssl/
H A Dstack.h25 typedef int (*OPENSSL_sk_compfunc)(const void *, const void *); typedef
34 OPENSSL_STACK *OPENSSL_sk_new(OPENSSL_sk_compfunc cmp);
36 OPENSSL_STACK *OPENSSL_sk_new_reserve(OPENSSL_sk_compfunc c, int n);
54 OPENSSL_sk_compfunc OPENSSL_sk_set_cmp_func(OPENSSL_STACK *sk,
55 OPENSSL_sk_compfunc cmp);
H A Dsafestack.h.in54 …static ossl_unused ossl_inline OPENSSL_sk_compfunc ossl_check_##t1##_compfunc_type(sk_##t1##_compf…
56 return (OPENSSL_sk_compfunc)cmp; \
82 return (STACK_OF(t1) *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); \
90 return (STACK_OF(t1) *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); \
175 …n (sk_##t1##_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); \
H A Dsafestack.h51 …static ossl_unused ossl_inline OPENSSL_sk_compfunc ossl_check_##t1##_compfunc_type(sk_##t1##_compf…
53 return (OPENSSL_sk_compfunc)cmp; \
79 return (STACK_OF(t1) *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); \
87 return (STACK_OF(t1) *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); \
172 …n (sk_##t1##_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); \
/freebsd/crypto/openssl/crypto/stack/
H A Dstack.c29 OPENSSL_sk_compfunc comp;
32 OPENSSL_sk_compfunc OPENSSL_sk_set_cmp_func(OPENSSL_STACK *sk, in OPENSSL_sk_set_cmp_func()
33 OPENSSL_sk_compfunc c) in OPENSSL_sk_set_cmp_func()
35 OPENSSL_sk_compfunc old = sk->comp; in OPENSSL_sk_set_cmp_func()
134 OPENSSL_STACK *OPENSSL_sk_new(OPENSSL_sk_compfunc c) in OPENSSL_sk_new()
226 OPENSSL_STACK *OPENSSL_sk_new_reserve(OPENSSL_sk_compfunc c, int n) in OPENSSL_sk_new_reserve()