Home
last modified time | relevance | path

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

/netbsd-src/crypto/external/bsd/openssl/dist/crypto/asn1/
H A Dtasn_utl.c23 #define offset2ptr(addr, offset) (void *)(((char *) addr) + offset) macro
31 int *sel = offset2ptr(*pval, it->utype); in ossl_asn1_get_choice_selector()
39 int *sel = offset2ptr(*pval, it->utype); in ossl_asn1_get_choice_selector_const()
53 sel = offset2ptr(*pval, it->utype); in ossl_asn1_set_choice_selector()
81 lck = offset2ptr(*pval, aux->ref_offset); in ossl_asn1_do_lock()
82 lock = offset2ptr(*pval, aux->ref_lock); in ossl_asn1_do_lock()
121 return offset2ptr(*pval, aux->enc_offset); in asn1_get_enc_ptr()
134 return offset2ptr(*pval, aux->enc_offset); in asn1_get_const_enc_ptr()
201 ASN1_VALUE **pvaltmp = offset2ptr(*pval, tt->offset); in ossl_asn1_get_field_ptr()
214 return offset2ptr(*pval, tt->offset); in ossl_asn1_get_const_field_ptr()
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/asn1/
H A Dtasn_utl.c23 #define offset2ptr(addr, offset) (void *)(((char *) addr) + offset) macro
31 int *sel = offset2ptr(*pval, it->utype); in asn1_get_choice_selector()
43 sel = offset2ptr(*pval, it->utype); in asn1_set_choice_selector()
71 lck = offset2ptr(*pval, aux->ref_offset); in asn1_do_lock()
72 lock = offset2ptr(*pval, aux->ref_lock); in asn1_do_lock()
112 return offset2ptr(*pval, aux->enc_offset); in asn1_get_enc_ptr()
178 pvaltmp = offset2ptr(*pval, tt->offset); in asn1_get_field_ptr()
206 sfld = offset2ptr(*pval, adb->offset); in asn1_do_adb()