Home | History | Annotate | Download | only in asn1

Lines Matching refs:pval

77 int asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it) {
78 int *sel = offset2ptr(*pval, it->utype);
83 int asn1_set_choice_selector(ASN1_VALUE **pval, int value,
86 sel = offset2ptr(*pval, it->utype);
92 static CRYPTO_refcount_t *asn1_get_references(ASN1_VALUE **pval,
102 return offset2ptr(*pval, aux->ref_offset);
105 void asn1_refcount_set_one(ASN1_VALUE **pval, const ASN1_ITEM *it) {
106 CRYPTO_refcount_t *references = asn1_get_references(pval, it);
112 int asn1_refcount_dec_and_test_zero(ASN1_VALUE **pval, const ASN1_ITEM *it) {
113 CRYPTO_refcount_t *references = asn1_get_references(pval, it);
120 static ASN1_ENCODING *asn1_get_enc_ptr(ASN1_VALUE **pval, const ASN1_ITEM *it) {
122 if (!pval || !*pval) {
129 return offset2ptr(*pval, aux->enc_offset);
132 void asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it) {
134 enc = asn1_get_enc_ptr(pval, it);
144 void asn1_enc_free(ASN1_VALUE **pval, const ASN1_ITEM *it) {
146 enc = asn1_get_enc_ptr(pval, it);
159 int asn1_enc_save(ASN1_VALUE **pval, const unsigned char *in, int inlen,
162 enc = asn1_get_enc_ptr(pval, it);
190 int asn1_enc_restore(int *len, unsigned char **out, ASN1_VALUE **pval,
193 enc = asn1_get_enc_ptr(pval, it);
208 ASN1_VALUE **asn1_get_field_ptr(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) {
211 return pval;
213 pvaltmp = offset2ptr(*pval, tt->offset);
221 const ASN1_TEMPLATE *asn1_do_adb(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt,
236 sfld = offset2ptr(*pval, adb->offset);