Lines Matching refs:it
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, const ASN1_ITEM *it)
89 sel = offset2ptr(*pval, it->utype);
96 * if it is +1 then the count is incremented. If op is 0 count is
101 int asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it)
105 if ((it->itype != ASN1_ITYPE_SEQUENCE)
106 && (it->itype != ASN1_ITYPE_NDEF_SEQUENCE))
108 aux = it->funcs;
119 fprintf(stderr, "%s: Reference Count: %d\n", it->sname, *lck);
123 fprintf(stderr, "%s, bad reference count\n", it->sname);
128 static ASN1_ENCODING *asn1_get_enc_ptr(ASN1_VALUE **pval, const ASN1_ITEM *it)
133 aux = it->funcs;
139 void asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it)
142 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);
166 const ASN1_ITEM *it)
169 enc = asn1_get_enc_ptr(pval, it);
186 const ASN1_ITEM *it)
189 enc = asn1_get_enc_ptr(pval, it);
217 * the relevant ASN1_TEMPLATE in the table and return it.
246 * NB: don't check for NID_undef here because it