Home | History | Annotate | Download | only in asn1

Lines Matching refs:pval

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