Lines Matching refs:tt
70 static void asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt);
91 const ASN1_TEMPLATE *tt = NULL; in asn1_item_ex_combine_new() local
196 for (i = 0, tt = it->templates; i < it->tcount; tt++, i++) in asn1_item_ex_combine_new()
198 pseqval = asn1_get_field_ptr(pval, tt); in asn1_item_ex_combine_new()
199 if (!ASN1_template_new(pseqval, tt)) in asn1_item_ex_combine_new()
265 int ASN1_template_new(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) in ASN1_template_new() argument
267 const ASN1_ITEM *it = ASN1_ITEM_ptr(tt->item); in ASN1_template_new()
269 if (tt->flags & ASN1_TFLG_OPTIONAL) in ASN1_template_new()
271 asn1_template_clear(pval, tt); in ASN1_template_new()
276 if (tt->flags & ASN1_TFLG_ADB_MASK) in ASN1_template_new()
282 if (tt->field_name) in ASN1_template_new()
283 CRYPTO_push_info(tt->field_name); in ASN1_template_new()
286 if (tt->flags & ASN1_TFLG_SK_MASK) in ASN1_template_new()
301 ret = asn1_item_ex_combine_new(pval, it, tt->flags & ASN1_TFLG_COMBINE); in ASN1_template_new()
310 static void asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) in asn1_template_clear() argument
313 if (tt->flags & (ASN1_TFLG_ADB_MASK|ASN1_TFLG_SK_MASK)) in asn1_template_clear()
316 asn1_item_clear(pval, ASN1_ITEM_ptr(tt->item)); in asn1_template_clear()