Lines Matching refs:pval

29 int ossl_asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it)
31 int *sel = offset2ptr(*pval, it->utype);
36 int ossl_asn1_get_choice_selector_const(const ASN1_VALUE **pval,
39 int *sel = offset2ptr(*pval, it->utype);
48 int ossl_asn1_set_choice_selector(ASN1_VALUE **pval, int value,
53 sel = offset2ptr(*pval, it->utype);
68 int ossl_asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it)
81 lck = offset2ptr(*pval, aux->ref_offset);
82 lock = offset2ptr(*pval, aux->ref_lock);
112 static ASN1_ENCODING *asn1_get_enc_ptr(ASN1_VALUE **pval, const ASN1_ITEM *it)
116 if (pval == NULL || *pval == NULL)
121 return offset2ptr(*pval, aux->enc_offset);
124 static const ASN1_ENCODING *asn1_get_const_enc_ptr(const ASN1_VALUE **pval,
129 if (pval == NULL || *pval == NULL)
134 return offset2ptr(*pval, aux->enc_offset);
137 void ossl_asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it)
139 ASN1_ENCODING *enc = asn1_get_enc_ptr(pval, it);
148 void ossl_asn1_enc_free(ASN1_VALUE **pval, const ASN1_ITEM *it)
150 ASN1_ENCODING *enc = asn1_get_enc_ptr(pval, it);
160 int ossl_asn1_enc_save(ASN1_VALUE **pval, const unsigned char *in, int inlen,
163 ASN1_ENCODING *enc = asn1_get_enc_ptr(pval, it);
182 int ossl_asn1_enc_restore(int *len, unsigned char **out, const ASN1_VALUE **pval,
185 const ASN1_ENCODING *enc = asn1_get_const_enc_ptr(pval, it);
199 ASN1_VALUE **ossl_asn1_get_field_ptr(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt)
201 ASN1_VALUE **pvaltmp = offset2ptr(*pval, tt->offset);
211 const ASN1_VALUE **ossl_asn1_get_const_field_ptr(const ASN1_VALUE **pval,
214 return offset2ptr(*pval, tt->offset);