Lines Matching refs:it
76 int asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it)
78 int *sel = offset2ptr(*pval, it->utype);
87 const ASN1_ITEM *it)
90 sel = offset2ptr(*pval, it->utype);
97 * Do reference counting. The value 'op' decides what to do. if it is +1
103 int asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it)
107 if ((it->itype != ASN1_ITYPE_SEQUENCE)
108 && (it->itype != ASN1_ITYPE_NDEF_SEQUENCE))
110 aux = it->funcs;
120 fprintf(stderr, "%s: Reference Count: %d\n", it->sname, *lck);
124 fprintf(stderr, "%s, bad reference count\n", it->sname);
129 static ASN1_ENCODING *asn1_get_enc_ptr(ASN1_VALUE **pval, const ASN1_ITEM *it)
134 aux = it->funcs;
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);
165 const ASN1_ITEM *it)
168 enc = asn1_get_enc_ptr(pval, it);
185 const ASN1_ITEM *it)
188 enc = asn1_get_enc_ptr(pval, it);
216 * ASN1_TEMPLATE in the table and return it.
244 * Convert type to a long: NB: don't check for NID_undef here because it