Lines Matching refs:pval
76 int asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it)
78 int *sel = offset2ptr(*pval, it->utype);
86 int asn1_set_choice_selector(ASN1_VALUE **pval, int value,
90 sel = offset2ptr(*pval, it->utype);
103 int asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it)
113 lck = offset2ptr(*pval, aux->ref_offset);
129 static ASN1_ENCODING *asn1_get_enc_ptr(ASN1_VALUE **pval, const ASN1_ITEM *it)
132 if (!pval || !*pval)
137 return offset2ptr(*pval, aux->enc_offset);
140 void asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it)
143 enc = asn1_get_enc_ptr(pval, it);
151 void asn1_enc_free(ASN1_VALUE **pval, const ASN1_ITEM *it)
154 enc = asn1_get_enc_ptr(pval, it);
164 int asn1_enc_save(ASN1_VALUE **pval, const unsigned char *in, int inlen,
168 enc = asn1_get_enc_ptr(pval, it);
184 int asn1_enc_restore(int *len, unsigned char **out, ASN1_VALUE **pval,
188 enc = asn1_get_enc_ptr(pval, it);
201 ASN1_VALUE **asn1_get_field_ptr(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt)
205 return pval;
206 pvaltmp = offset2ptr(*pval, tt->offset);
219 const ASN1_TEMPLATE *asn1_do_adb(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt,
234 sfld = offset2ptr(*pval, adb->offset);