Lines Matching refs:it
52 void *ASN1_item_dup(const ASN1_ITEM *it, const void *x)
65 if (it->itype == ASN1_ITYPE_SEQUENCE || it->itype == ASN1_ITYPE_CHOICE
66 || it->itype == ASN1_ITYPE_NDEF_SEQUENCE) {
67 const ASN1_AUX *aux = it->funcs;
73 if (!asn1_cb(ASN1_OP_DUP_PRE, (ASN1_VALUE **)&x, it, NULL)
74 || !asn1_cb(ASN1_OP_GET0_LIBCTX, (ASN1_VALUE **)&x, it, &libctx)
75 || !asn1_cb(ASN1_OP_GET0_PROPQ, (ASN1_VALUE **)&x, it, &propq))
79 i = ASN1_item_i2d(x, &b, it);
85 ret = ASN1_item_d2i_ex(NULL, &p, i, it, libctx, propq);
89 && !asn1_cb(ASN1_OP_DUP_POST, &ret, it, (void *)x))
95 ERR_raise_data(ERR_LIB_ASN1, ASN1_R_AUX_ERROR, "Type=%s", it->sname);