Lines Matching refs:pval
76 int asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it) { in asn1_get_choice_selector() argument
77 int *sel = offset2ptr(*pval, it->utype); in asn1_get_choice_selector()
82 int asn1_set_choice_selector(ASN1_VALUE **pval, int value, in asn1_set_choice_selector() argument
85 sel = offset2ptr(*pval, it->utype); in asn1_set_choice_selector()
91 static CRYPTO_refcount_t *asn1_get_references(ASN1_VALUE **pval, in asn1_get_references() argument
101 return offset2ptr(*pval, aux->ref_offset); in asn1_get_references()
104 void asn1_refcount_set_one(ASN1_VALUE **pval, const ASN1_ITEM *it) { in asn1_refcount_set_one() argument
105 CRYPTO_refcount_t *references = asn1_get_references(pval, it); in asn1_refcount_set_one()
111 int asn1_refcount_dec_and_test_zero(ASN1_VALUE **pval, const ASN1_ITEM *it) { in asn1_refcount_dec_and_test_zero() argument
112 CRYPTO_refcount_t *references = asn1_get_references(pval, it); in asn1_refcount_dec_and_test_zero()
119 static ASN1_ENCODING *asn1_get_enc_ptr(ASN1_VALUE **pval, const ASN1_ITEM *it) { in asn1_get_enc_ptr() argument
121 if (!pval || !*pval) { in asn1_get_enc_ptr()
128 return offset2ptr(*pval, aux->enc_offset); in asn1_get_enc_ptr()
131 void asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it) { in asn1_enc_init() argument
133 enc = asn1_get_enc_ptr(pval, it); in asn1_enc_init()
141 void asn1_enc_free(ASN1_VALUE **pval, const ASN1_ITEM *it) { in asn1_enc_free() argument
143 enc = asn1_get_enc_ptr(pval, it); in asn1_enc_free()
154 int asn1_enc_save(ASN1_VALUE **pval, const unsigned char *in, int inlen, in asn1_enc_save() argument
157 enc = asn1_get_enc_ptr(pval, it); in asn1_enc_save()
176 int asn1_enc_restore(int *len, unsigned char **out, ASN1_VALUE **pval, in asn1_enc_restore() argument
179 enc = asn1_get_enc_ptr(pval, it); in asn1_enc_restore()
194 ASN1_VALUE **asn1_get_field_ptr(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) { in asn1_get_field_ptr() argument
197 return pval; in asn1_get_field_ptr()
199 pvaltmp = offset2ptr(*pval, tt->offset); in asn1_get_field_ptr()
207 const ASN1_TEMPLATE *asn1_do_adb(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt, in asn1_do_adb() argument
222 sfld = offset2ptr(*pval, adb->offset); in asn1_do_adb()