Lines Matching refs:pval

29 int ossl_asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it)  in ossl_asn1_get_choice_selector()  argument
31 int *sel = offset2ptr(*pval, it->utype); in ossl_asn1_get_choice_selector()
36 int ossl_asn1_get_choice_selector_const(const ASN1_VALUE **pval, in ossl_asn1_get_choice_selector_const() argument
39 int *sel = offset2ptr(*pval, it->utype); in ossl_asn1_get_choice_selector_const()
48 int ossl_asn1_set_choice_selector(ASN1_VALUE **pval, int value, in ossl_asn1_set_choice_selector() argument
53 sel = offset2ptr(*pval, it->utype); in ossl_asn1_set_choice_selector()
68 int ossl_asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it) in ossl_asn1_do_lock() argument
81 lock = offset2ptr(*pval, aux->ref_lock); in ossl_asn1_do_lock()
82 refcnt = offset2ptr(*pval, aux->ref_offset); in ossl_asn1_do_lock()
116 static ASN1_ENCODING *asn1_get_enc_ptr(ASN1_VALUE **pval, const ASN1_ITEM *it) in asn1_get_enc_ptr() argument
120 if (pval == NULL || *pval == NULL) in asn1_get_enc_ptr()
125 return offset2ptr(*pval, aux->enc_offset); in asn1_get_enc_ptr()
128 static const ASN1_ENCODING *asn1_get_const_enc_ptr(const ASN1_VALUE **pval, in asn1_get_const_enc_ptr() argument
133 if (pval == NULL || *pval == NULL) in asn1_get_const_enc_ptr()
138 return offset2ptr(*pval, aux->enc_offset); in asn1_get_const_enc_ptr()
141 void ossl_asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it) in ossl_asn1_enc_init() argument
143 ASN1_ENCODING *enc = asn1_get_enc_ptr(pval, it); in ossl_asn1_enc_init()
152 void ossl_asn1_enc_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in ossl_asn1_enc_free() argument
154 ASN1_ENCODING *enc = asn1_get_enc_ptr(pval, it); in ossl_asn1_enc_free()
164 int ossl_asn1_enc_save(ASN1_VALUE **pval, const unsigned char *in, int inlen, in ossl_asn1_enc_save() argument
167 ASN1_ENCODING *enc = asn1_get_enc_ptr(pval, it); in ossl_asn1_enc_save()
184 int ossl_asn1_enc_restore(int *len, unsigned char **out, const ASN1_VALUE **pval, in ossl_asn1_enc_restore() argument
187 const ASN1_ENCODING *enc = asn1_get_const_enc_ptr(pval, it); in ossl_asn1_enc_restore()
201 ASN1_VALUE **ossl_asn1_get_field_ptr(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) in ossl_asn1_get_field_ptr() argument
203 ASN1_VALUE **pvaltmp = offset2ptr(*pval, tt->offset); in ossl_asn1_get_field_ptr()
213 const ASN1_VALUE **ossl_asn1_get_const_field_ptr(const ASN1_VALUE **pval, in ossl_asn1_get_const_field_ptr() argument
216 return offset2ptr(*pval, tt->offset); in ossl_asn1_get_const_field_ptr()